Package Details: searxng-git 1.0.0.r3824.gac430a9ea-1

Git Clone URL: (read-only, click to copy)
Package Base: searxng-git
Description: A privacy-respecting, hackable metasearch engine
Upstream URL:
Licenses: AGPL3
Conflicts: searx, searx-git
Provides: searxng
Submitter: HLFH
Maintainer: HLFH
Last Packager: HLFH
Votes: 8
Popularity: 0.40
First Submitted: 2021-09-29 10:43 (UTC)
Last Updated: 2024-05-06 08:00 (UTC)

Latest Comments

1 2 3 4 5 6 .. 10 Next › Last »

HLFH commented on 2024-05-06 08:01 (UTC) (edited on 2024-05-06 08:06 (UTC) by HLFH)

I have bumped searxng-git, so it can be built against Python 3.12.
I have also bumped python packages that I maintain, and I have flagged out-of-date third-party python packages that have not been bumped.
I also advise to install rebuild-detector to rebuild all required python packages that have not been bumped:

pacman -S rebuild-detector

stef204 commented on 2024-05-05 14:24 (UTC) (edited on 2024-05-05 14:29 (UTC) by stef204)

Thanks. I had rebuilt the AUR deps I found (listed above) but apparently it wasn't enough; or maybe some nested deps inside the "dependency tree", needed rebuilding.
I have now used checkrebuild and just manually rebuilt what was listed there and have been able to upgrade python-httpcore to latest version and searxng-git seems to be working.
Makes sense to use that checkrebuild tool systematically.

krs commented on 2024-05-05 11:50 (UTC)

Just chiming in to say that manually rebuilding everything listed by checkrebuild fixed the issues for me, so thanks for that suggestion @flylightning. And I did not have to downgrade python-httpcore myself. 1.0.5-1 is installed and working fine.

stef204 commented on 2024-05-04 00:28 (UTC) (edited on 2024-05-04 05:36 (UTC) by stef204)

Yes I have rebuilt all AUR packages which are dependencies of searxng-git as far as I can tell. And the rest of the python deps should have been taken care of by "bumps" in official packages. And I have rebuilt searxng-git against these (all of this before posting here.) No joy, unfortunately.
Edit: following your recommendation to downgrade python-httpcore to 0.17.3 did the trick. It now works, thanks. I had downgraded it at first but not that far back. python-httpcore most recent/official version is 1.0.5-1 so something seems amiss either upstream or this package needs a patch?

flylightning commented on 2024-05-03 23:20 (UTC) (edited on 2024-05-03 23:37 (UTC) by flylightning)

@stef204 I do not have any issue, here are just some suggestions. Did you try rebuild all old python packages searxng-git depends on and searxng-git itself that build against old python version 3.11? Maybe try paru --rebuild=tree searxng-git if you use paru as aur helper. Or use checkrebuild and manually rebuild all of them, so they will all build against new python version 3.12. Also see my old suggestions to you here:

I think every time official arch repo bump python version, user should manually rebuild all AUR python packages that build against old python version. Some AUR maintainers will bump pkgrel in PKGBUILD so user don't need to manully rebuild the package one by one and a paru -Syu will rebuild automatically (because pkgrel is increased), e.g.,

HLFH commented on 2024-05-03 11:48 (UTC)

I'll have a look this week-end and will fix it.

stef204 commented on 2024-05-03 11:19 (UTC) (edited on 2024-05-03 11:20 (UTC) by stef204)

no longer starts after recent large python upgrade.
please see this ticket:
any chance you can take a look?

HLFH commented on 2024-04-02 11:21 (UTC)

The package is fixed.

flylightning commented on 2024-03-15 23:20 (UTC) (edited on 2024-03-16 10:12 (UTC) by flylightning)

@HLFH This pull request with this commit deleted these lines which I guess cause README.rst, requirements.txt, and requirements-dev.txt not exist in ${pkgdir}${_site_packages} dir which cause mv "${pkgdir}${_site_packages}"/{README.rst,requirements*,searx} in PKGBUILD here failed. Remove this line mv "${pkgdir}${_site_packages}"/{README.rst,requirements*,searx} will make PKGBUILD work again.

Note: I'm a hobbyist and I'm not familiar with python. I don't understand I workaround the issue with trial and error. There maybe better way to fix the issue, for example, maybe you would like to move readme and requirements files from other places to ${pkgdir}${_site_packages}/searx dir. I note there's a searxng-2024.3.15+e2af3e497-py3.11.egg-info dir in ${pkgdir}${_site_packages} dir which contains some related info files, I'm not sure if it is new or it exist in the past. Myabe you can do sth. with it.

To reproduce the issue of build fail due to mv fail, run this command: git clone && cd searxng-git && makepkg -s. Please make sure you can reproduce the issue before apply the patch. If you can't reproduce the issue, don't apply the patch, because the patch maybe worng and not a real fix and the issue maybe only happen to a few people including me. I guess the reason you can't reproduce the issue maybe related to --rebuild not actually do a clean build by redownlaod and clean rebuild the newest package, because it maybe use old cache of something. For me who use paru as aur helper, I sometimes need to remove dir in ~/.cache/paru/clone to actually redownload and rebuild the package to fix some other issues I met.

Anyway, here's the patch:

From f2db1d1da8dbd0c3f06d0f38838b910b651858b8 Mon Sep 17 00:00:00 2001
From: Xiao Pan <>
Date: Fri, 15 Mar 2024 15:53:25 -0700
Subject: [PATCH] fix: remove failed mv commands to fix PKGBUILD build fail,
 because README.rst, requirements.txt, and requirements-dev.txt do not exsit
 in `${pkgdir}${_site_packages}` dir anymore

This pull request <> with this commit <> deleted these lines <> which I **guess** cause README.rst, requirements.txt, and requirements-dev.txt not exist in  `${pkgdir}${_site_packages}` dir which cause `mv "${pkgdir}${_site_packages}"/{README.rst,requirements*,searx}` in PKGBUILD here <> failed. Remove this line `mv "${pkgdir}${_site_packages}"/{README.rst,requirements*,searx}` will make PKGBUILD work again.
 .SRCINFO | 2 +-
 PKGBUILD | 4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 9158dd8..cdb7569 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = searxng-git
    pkgdesc = A privacy-respecting, hackable metasearch engine
-   pkgver = 1.0.0.r3631.g7c80807bb
+   pkgver = 1.0.0.r3760.ge2af3e497
    pkgrel = 1
    url =
    arch = any
diff --git a/PKGBUILD b/PKGBUILD
index e310de7..908dfdf 100644
@@ -1,7 +1,7 @@
 # Maintainer: HLFH <>

 pkgdesc="A privacy-respecting, hackable metasearch engine"
@@ -69,8 +69,6 @@ package() {
   sed -i "s|GIT_URL =.*|GIT_URL = \"${_giturl}\"|g" searx/
   sed -i "s|GIT_BRANCH =.*|GIT_BRANCH = \"${_gitbranch}\"|g" searx/

-  mv "${pkgdir}${_site_packages}"/{README.rst,requirements*,searx}
   mkdir -p "$pkgdir/etc/searxng"

   install -Dm644 "${srcdir}/searxng.sysusers" "${pkgdir}/usr/lib/sysusers.d/searxng.conf"

vasqs commented on 2024-03-13 19:30 (UTC)

@HLFH I tried rebuilding and got the same error as AlexBocken

mv: cannot stat '/home/vasqs/.cache/pikaur/build/searxng-git/pkg/searxng-git/usr/lib/python3.11/site-packages/README.rst': No such file or directory
mv: cannot stat '/home/vasqs/.cache/pikaur/build/searxng-git/pkg/searxng-git/usr/lib/python3.11/site-packages/requirements*': No such file or directory
==> ERROR: A failure occurred in package().