Bug#861262: sphinxsearch needs systemd unit file
Hi, I’m about to upload a new version of the package with a reworked init script (but no systemd unit just yet). Bugs of the original one are no longer applicable, but since I wasn’t yet able to properly test it, this issue may still be there. Could you please test and let me know, and reopen this bug if this issue reoccurs? Thanks! -- Cheers, Andrej
Bug#772370: marked as done (sphinxsearch: bashism in /bin/sh script)
Your message dated Fri, 03 Dec 2021 10:07:01 + with message-id and subject line Bug#772370: fixed in sphinxsearch 2.2.11-5 has caused the Debian Bug report #772370, regarding sphinxsearch: bashism in /bin/sh script to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 772370: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772370 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: sphinxsearch Severity: minor Version: 2.2.5-1 User: debian-rele...@lists.debian.org Usertags: goal-dash Hi, I've ran checkbashisms (from the 'devscripts' package) over the whole archive and I found that your package has a /bin/sh script that uses a "bashism". checkbashisms' output: > possible bashism in ./etc/init.d/sphinxsearch line 107 (unsafe echo with > backslash): > echo "\n" Not using bash (or a Debian Policy compliant shell interpreter that doesn't provide such an extra feature) as /bin/sh is likely to lead to errors or unexpected behaviours. Please be aware that dash is the default /bin/sh. Please closely examine the above output and the script, and determine what the proper severity of the bug is, and adjust it accordingly. If it's important or greater please hurry to get this fixed for jessie. Hints about how to fix bashisms can be found at: https://wiki.ubuntu.com/DashAsBinSh Thanks in advance, Raphael Geissert --- End Message --- --- Begin Message --- Source: sphinxsearch Source-Version: 2.2.11-5 Done: Andrej Shadura We believe that the bug you reported is fixed in the latest version of sphinxsearch, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 772...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Andrej Shadura (supplier of updated sphinxsearch package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Format: 1.8 Date: Fri, 03 Dec 2021 10:41:03 +0100 Source: sphinxsearch Architecture: source Version: 2.2.11-5 Distribution: unstable Urgency: medium Maintainer: Andrej Shadura Changed-By: Andrej Shadura Closes: 656326 772370 861262 871944 939763 Changes: sphinxsearch (2.2.11-5) unstable; urgency=medium . * New maintainer (Closes: #939763). * Add gbp.conf. * Convert copyright file to machine-readable format. * Add exclusions for current and future releases. * Simplify the init script (Closes: #861262, #772370, #656326). * Fix the crontab user (Closes: #656326). * Update the sample/minimal conf files to match installation paths. * Don't install an extra copy of the configuration sample. * debian/copyright: use spaces rather than tabs to start continuation lines. * Set Standards-Version: 4.6.0. * Drop B-D on dh-autoreconf, autotools-dev and adduser. * Enable re2 support. * Move the example.sql to /usr/share/doc (Closes: #871944). Checksums-Sha1: 8bac5c0abc5e0fccd053f8951695c1821d5cada3 1453 sphinxsearch_2.2.11-5.dsc 2f581af4f6e7fd051e4d31a580225d35801126e4 16816 sphinxsearch_2.2.11-5.debian.tar.xz Checksums-Sha256: e02f2339e87ff419ed86ac676ecc178b0c8bbde78fc83b6fe50df9213d331bfa 1453 sphinxsearch_2.2.11-5.dsc 560d216482ef2f96d2f1570abbe112e4984758dc28008155b9b703ef860c7eed 16816 sphinxsearch_2.2.11-5.debian.tar.xz Files: d4b1ac04a5e83c3670219106706feb39 1453 misc optional sphinxsearch_2.2.11-5.dsc 870bc8f3c0b711f7276265e7c336c99c 16816 misc optional sphinxsearch_2.2.11-5.debian.tar.xz -BEGIN PGP SIGNATURE- iHUEARYIAB0WIQSD3NF/RLIsyDZW7aHoRGtKyMdyYQUCYanpSQAKCRDoRGtKyMdy YfyXAP9cLvrBstyzrkWFSGqSuitY5DfxKvQRCd4Lt2LPOhMQnAEA4h5eAJ56U+vr klFVv/KBHCsbPweDegj2TJ6YIS+Fiwg= =QxDx -END PGP SIGNATURE End Message ---
Bug#656326: marked as done (sphinxsearch: reorganizing init script, fixing daemon to be run under non-root account on reload)
Your message dated Fri, 03 Dec 2021 10:07:01 + with message-id and subject line Bug#656326: fixed in sphinxsearch 2.2.11-5 has caused the Debian Bug report #656326, regarding sphinxsearch: reorganizing init script, fixing daemon to be run under non-root account on reload to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 656326: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656326 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: sphinxsearch Version: 2.0.1-2 Severity: minor Current init script consists of repeating parts and have error with reload action - it misses "--chuid sphinxsearch" option to start-stop-daemon. I've reorganized script to make it call functions for start/stop actions. Also, I've changed exit code if template was not found, as init script should exit with 0 status only on successfull start. Patch is included. -- System Information: Debian Release: 6.0.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-openvz-amd64 (SMP w/24 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash --- sphinxsearch-2.0.3/debian/init.d2011-12-01 21:41:08.0 +0400 +++ /home/coolcold/sphinxsearch 2012-01-18 16:01:56.320144034 +0400 @@ -82,7 +82,7 @@ return 0 } -force_stop() { +do_force_stop() { # Forcefully kill the process [ ! -f "$PIDFILE" ] && return if running ; then @@ -101,21 +101,27 @@ rm -f $PIDFILE return 0 } - -case "$1" in - start) -echo -n "Starting $DESC: " - +do_start() { # Check if we have the configuration file if [ ! -f /etc/sphinxsearch/sphinx.conf ]; then echo "\n" echo "Please create an /etc/sphinxsearch/sphinx.conf configuration file." echo "A template is provided as /etc/sphinxsearch/sphinx.conf.sample." -exit 0 +exit 1 fi start-stop-daemon --start --pidfile $PIDFILE --chuid sphinxsearch --exec ${DAEMON} - [ -n "$STARTDELAY" ] && sleep $STARTDELAY +} +do_stop() { +start-stop-daemon --stop --quiet --oknodo --user sphinxsearch --pidfile $PIDFILE \ +--exec $DAEMON +} + +case "$1" in + start) +echo -n "Starting $DESC: " +do_start +[ -n "$STARTDELAY" ] && sleep $STARTDELAY if running ; then echo "$NAME." @@ -125,13 +131,12 @@ ;; stop) echo -n "Stopping $DESC: " -start-stop-daemon --stop --quiet --oknodo --user sphinxsearch --pidfile $PIDFILE \ ---exec $DAEMON +do_stop echo "$NAME." ;; force-stop) echo -n "Forcefully stopping $DESC: " -force_stop +do_force_stop if ! running ; then echo "$NAME." else @@ -140,10 +145,9 @@ ;; restart|reload|force-reload) echo -n "Restarting $DESC: " -start-stop-daemon --stop --quiet --user sphinxsearch --oknodo --pidfile $PIDFILE \ ---exec $DAEMON +do_stop [ -n "$DODTIME" ] && sleep $DODTIME -start-stop-daemon --start --exec ${DAEMON} +do_start echo "$NAME." ;; --- End Message --- --- Begin Message --- Source: sphinxsearch Source-Version: 2.2.11-5 Done: Andrej Shadura We believe that the bug you reported is fixed in the latest version of sphinxsearch, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 656...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Andrej Shadura (supplier of updated sphinxsearch package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Format: 1.8 Date: Fri, 03 Dec 2021 10:41:03 +0100 Source: sphinxsearch Architecture: source Version: 2.2.11-5 Distribution: unstable Urgency: medium Maintainer: Andrej Shadura Changed-By: Andrej Shadura Closes: 656326 772370 861262 871944 939763 Changes: sphinxsearch (2.2.11-5) unstable; urgency=medium . * New maintainer (Closes: #939763). * Add gbp.conf. * Convert copyright file to machine-readable format.
Bug#861262: marked as done (sphinxsearch: service restart on upgrades or otherwise always fails)
Your message dated Fri, 03 Dec 2021 10:07:02 + with message-id and subject line Bug#861262: fixed in sphinxsearch 2.2.11-5 has caused the Debian Bug report #861262, regarding sphinxsearch: service restart on upgrades or otherwise always fails to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 861262: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861262 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: sphinxsearch Version: 2.2.11-1.1 Severity: important Every time something tries to restart sphinxsearch, it fails, leaving the sphinxsearch service in a failed state and the daemon not running. This happens on package upgrades, or restarts for library upgrades, or restarts for config changes, or anything that tries to restart sphinxsearch. It looks like the stop request returns before it is actually stopped, which causes the following start request to fail because the old copy is still running. One thing I notice once it's up and running is that the PID in /var/run/sphinxsearch/searchd.pid is NOT the pid of the top level searchd process, but rather the PID of its immediate child. I'm not sure if there's a "supervisor" process being used here or what. Example flow: $ sudo service sphinxsearch restart Job for sphinxsearch.service failed because the control process exited with error code. See "systemctl status sphinxsearch.service" and "journalctl -xe" for details. $ sudo service sphinxsearch status ● sphinxsearch.service - LSB: Fast standalone full-text SQL search engine Loaded: loaded (/etc/init.d/sphinxsearch; generated; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2017-04-26 11:57:41 EDT; 3s ago Docs: man:systemd-sysv-generator(8) Process: 25416 ExecStop=/etc/init.d/sphinxsearch stop (code=exited, status=0/SUCCESS) Process: 25421 ExecStart=/etc/init.d/sphinxsearch start (code=exited, status=1/FAILURE) Tasks: 0 (limit: 4915) Memory: 4.7M CPU: 9ms CGroup: /system.slice/sphinxsearch.service Apr 26 11:57:41 hostname systemd[1]: Stopping LSB: Fast standalone full-text SQL search engine... Apr 26 11:57:41 hostname sphinxsearch[25416]: Stopping sphinxsearch: sphinxsearch. Apr 26 11:57:41 hostname systemd[1]: Stopped LSB: Fast standalone full-text SQL search engine. Apr 26 11:57:41 hostname systemd[1]: Starting LSB: Fast standalone full-text SQL search engine... Apr 26 11:57:41 hostname sphinxsearch[25421]: Starting sphinxsearch: /usr/bin/searchd already running. Apr 26 11:57:41 hostname systemd[1]: sphinxsearch.service: Control process exited, code=exited status=1 Apr 26 11:57:41 hostname systemd[1]: Failed to start LSB: Fast standalone full-text SQL search engine. Apr 26 11:57:41 hostname systemd[1]: sphinxsearch.service: Unit entered failed state. Apr 26 11:57:41 hostname systemd[1]: sphinxsearch.service: Failed with result 'exit-code'. $ sudo service sphinxsearch restart $ sudo service sphinxsearch status ● sphinxsearch.service - LSB: Fast standalone full-text SQL search engine Loaded: loaded (/etc/init.d/sphinxsearch; generated; vendor preset: enabled) Active: active (running) since Wed 2017-04-26 11:57:55 EDT; 3min 14s ago Docs: man:systemd-sysv-generator(8) Process: 25416 ExecStop=/etc/init.d/sphinxsearch stop (code=exited, status=0/SUCCESS) Process: 25443 ExecStart=/etc/init.d/sphinxsearch start (code=exited, status=0/SUCCESS) Tasks: 8 (limit: 4915) Memory: 11.4M CPU: 225ms CGroup: /system.slice/sphinxsearch.service ├─25447 /usr/bin/searchd └─25448 /usr/bin/searchd Apr 26 11:57:55 hostname sphinxsearch[25443]: Sphinx 2.2.11-id64-release (95ae9a6) Apr 26 11:57:55 hostname sphinxsearch[25443]: Copyright (c) 2001-2016, Andrew Aksyonoff Apr 26 11:57:55 hostname sphinxsearch[25443]: Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com) Apr 26 11:57:55 hostname sphinxsearch[25443]: precaching index 'wiki_main' Apr 26 11:57:55 hostname sphinxsearch[25443]: [249B blob data] Apr 26 11:57:55 hostname sphinxsearch[25443]: [250B blob data] Apr 26 11:57:55 hostname sphinxsearch[25443]: Copyright (c) 2001-2016, Andrew Aksyonoff Apr 26 11:57:55 hostname sphinxsearch[25443]: Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com) Apr 26 11:57:55 hostname sphinxsearch[25443]: sphinxsearch. Apr 26 11:57:55 hostname systemd[1]: Started LSB: Fast standalone full-text SQL search engine. -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: amd
Bug#871944: marked as done (sphinxsearch: example.sql shouldn't be in /etc/sphinxsearch)
Your message dated Fri, 03 Dec 2021 10:07:02 + with message-id and subject line Bug#871944: fixed in sphinxsearch 2.2.11-5 has caused the Debian Bug report #871944, regarding sphinxsearch: example.sql shouldn't be in /etc/sphinxsearch to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 871944: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871944 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: sphinxsearch Version: 2.2.11-1.1 Severity: minor Dear Maintainer, The .sql file might make sense in /usr/share/doc but not in /etc Gr, Olaf -- System Information: Debian Release: 8.9 APT prefers oldstable APT policy: (500, 'oldstable'), (1, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) --- End Message --- --- Begin Message --- Source: sphinxsearch Source-Version: 2.2.11-5 Done: Andrej Shadura We believe that the bug you reported is fixed in the latest version of sphinxsearch, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 871...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Andrej Shadura (supplier of updated sphinxsearch package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Format: 1.8 Date: Fri, 03 Dec 2021 10:41:03 +0100 Source: sphinxsearch Architecture: source Version: 2.2.11-5 Distribution: unstable Urgency: medium Maintainer: Andrej Shadura Changed-By: Andrej Shadura Closes: 656326 772370 861262 871944 939763 Changes: sphinxsearch (2.2.11-5) unstable; urgency=medium . * New maintainer (Closes: #939763). * Add gbp.conf. * Convert copyright file to machine-readable format. * Add exclusions for current and future releases. * Simplify the init script (Closes: #861262, #772370, #656326). * Fix the crontab user (Closes: #656326). * Update the sample/minimal conf files to match installation paths. * Don't install an extra copy of the configuration sample. * debian/copyright: use spaces rather than tabs to start continuation lines. * Set Standards-Version: 4.6.0. * Drop B-D on dh-autoreconf, autotools-dev and adduser. * Enable re2 support. * Move the example.sql to /usr/share/doc (Closes: #871944). Checksums-Sha1: 8bac5c0abc5e0fccd053f8951695c1821d5cada3 1453 sphinxsearch_2.2.11-5.dsc 2f581af4f6e7fd051e4d31a580225d35801126e4 16816 sphinxsearch_2.2.11-5.debian.tar.xz Checksums-Sha256: e02f2339e87ff419ed86ac676ecc178b0c8bbde78fc83b6fe50df9213d331bfa 1453 sphinxsearch_2.2.11-5.dsc 560d216482ef2f96d2f1570abbe112e4984758dc28008155b9b703ef860c7eed 16816 sphinxsearch_2.2.11-5.debian.tar.xz Files: d4b1ac04a5e83c3670219106706feb39 1453 misc optional sphinxsearch_2.2.11-5.dsc 870bc8f3c0b711f7276265e7c336c99c 16816 misc optional sphinxsearch_2.2.11-5.debian.tar.xz -BEGIN PGP SIGNATURE- iHUEARYIAB0WIQSD3NF/RLIsyDZW7aHoRGtKyMdyYQUCYanpSQAKCRDoRGtKyMdy YfyXAP9cLvrBstyzrkWFSGqSuitY5DfxKvQRCd4Lt2LPOhMQnAEA4h5eAJ56U+vr klFVv/KBHCsbPweDegj2TJ6YIS+Fiwg= =QxDx -END PGP SIGNATURE End Message ---
Bug#939763: marked as done (sphinxsearch: Still maintained (same version since stretch)?)
Your message dated Fri, 03 Dec 2021 10:07:02 + with message-id and subject line Bug#939763: fixed in sphinxsearch 2.2.11-5 has caused the Debian Bug report #939763, regarding sphinxsearch: Still maintained (same version since stretch)? to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 939763: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939763 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Source: sphinxsearch Severity: important Hi While checking another issue I noticed that sphinxsearch is at 2.2.11 since stretch and was never updated to as well more recent 3.x version. It has unsafe defaults in sample files with listener listening to 0.0.0.0, cf. #939762. Is sphinxsearch still of use or should it be removed from unstable and not included in bullseye? Regards, Salvatore --- End Message --- --- Begin Message --- Source: sphinxsearch Source-Version: 2.2.11-5 Done: Andrej Shadura We believe that the bug you reported is fixed in the latest version of sphinxsearch, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 939...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Andrej Shadura (supplier of updated sphinxsearch package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Format: 1.8 Date: Fri, 03 Dec 2021 10:41:03 +0100 Source: sphinxsearch Architecture: source Version: 2.2.11-5 Distribution: unstable Urgency: medium Maintainer: Andrej Shadura Changed-By: Andrej Shadura Closes: 656326 772370 861262 871944 939763 Changes: sphinxsearch (2.2.11-5) unstable; urgency=medium . * New maintainer (Closes: #939763). * Add gbp.conf. * Convert copyright file to machine-readable format. * Add exclusions for current and future releases. * Simplify the init script (Closes: #861262, #772370, #656326). * Fix the crontab user (Closes: #656326). * Update the sample/minimal conf files to match installation paths. * Don't install an extra copy of the configuration sample. * debian/copyright: use spaces rather than tabs to start continuation lines. * Set Standards-Version: 4.6.0. * Drop B-D on dh-autoreconf, autotools-dev and adduser. * Enable re2 support. * Move the example.sql to /usr/share/doc (Closes: #871944). Checksums-Sha1: 8bac5c0abc5e0fccd053f8951695c1821d5cada3 1453 sphinxsearch_2.2.11-5.dsc 2f581af4f6e7fd051e4d31a580225d35801126e4 16816 sphinxsearch_2.2.11-5.debian.tar.xz Checksums-Sha256: e02f2339e87ff419ed86ac676ecc178b0c8bbde78fc83b6fe50df9213d331bfa 1453 sphinxsearch_2.2.11-5.dsc 560d216482ef2f96d2f1570abbe112e4984758dc28008155b9b703ef860c7eed 16816 sphinxsearch_2.2.11-5.debian.tar.xz Files: d4b1ac04a5e83c3670219106706feb39 1453 misc optional sphinxsearch_2.2.11-5.dsc 870bc8f3c0b711f7276265e7c336c99c 16816 misc optional sphinxsearch_2.2.11-5.debian.tar.xz -BEGIN PGP SIGNATURE- iHUEARYIAB0WIQSD3NF/RLIsyDZW7aHoRGtKyMdyYQUCYanpSQAKCRDoRGtKyMdy YfyXAP9cLvrBstyzrkWFSGqSuitY5DfxKvQRCd4Lt2LPOhMQnAEA4h5eAJ56U+vr klFVv/KBHCsbPweDegj2TJ6YIS+Fiwg= =QxDx -END PGP SIGNATURE End Message ---
Bug#917137: marked as done (sphinxsearch FTCBFS: mysql_config does not work)
Your message dated Fri, 03 Dec 2021 13:33:51 + with message-id and subject line Bug#917137: fixed in sphinxsearch 2.2.11-6 has caused the Debian Bug report #917137, regarding sphinxsearch FTCBFS: mysql_config does not work to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 917137: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917137 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Source: sphinxsearch Version: 2.2.11-2 Severity: normal Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap Control: block -1 by 917135 sphinxsearch fails to cross build from source, because it fails detecting mysql using mysql_config. During cross compilation, mysql_config does not work at all. For that reason, it should not be used at all. The attached patch looks up mysql using pkg-config, which presently is the standard tools for discovering compiler and linker flags. It makes sphinxsearch cross buildable. Please be aware: * In order to use PKG_CHECK_MODULES, it must not occur in a shell if/else branch. Such branches must be expressed using AS_IF to make the use of AC_REQUIRE work. * mariadb presently lacks a dependency on libssl-dev, but it emits -lssl as linker flag, see #917135. * In order to use the patch, you need to add pkg-config to Build-Depends. I tried writing the patch in a way that is upstreamable as it is useful to other distributions (e.g. yocto). Helmut --- sphinxsearch-2.2.11.orig/acinclude.m4 +++ sphinxsearch-2.2.11/acinclude.m4 @@ -9,10 +9,10 @@ mysqlconfig_locations="mysql_config /usr/bin/mysql_config /usr/local/bin/mysql_config /usr/local/mysql/bin/mysql_config /opt/mysql/bin/mysql_config /usr/pkg/bin/mysql_config" user_mysql_includes= user_mysql_libs= +mysqlconfig_used= # check explicit MySQL root for mysql_config, include, lib -if test [ x$1 != xyes -a x$1 != xno ] -then +AS_IF([test x$1 != xyes -a x$1 != xno],[ mysqlroot=`echo $1 | sed -e 's+/$++'` if test [ -x "$mysqlroot/bin/mysql_config" ] then @@ -41,9 +41,19 @@ else AC_MSG_ERROR([invalid MySQL root directory '$mysqlroot'; neither bin/mysql_config, nor include/ and lib/ were found there]) fi -fi - +],[ + PKG_CHECK_MODULES([MYSQL],[mysqlclient],[ + MYSQL_PKGLIBDIR=`echo $MYSQL_LIBS | sed -e 's/-[[^L]][[^ ]]*//g;s/\s*-L//g;'` + mysqlconfig_used=yes + ],[ + PKG_CHECK_MODULES([MYSQL],[mariadb],[ + MYSQL_PKGLIBDIR=`echo $MYSQL_LIBS | sed -e 's/-[[^L]][[^ ]]*//g;s/\s*-L//g;'` + mysqlconfig_used=yes + ],[]) + ]) +]) +AS_IF([test "x$mysqlconfig_used" = x],[ # try running mysql_config AC_MSG_CHECKING([for mysql_config]) for mysqlconfig in $mysqlconfig_locations @@ -68,11 +78,11 @@ done if test [ -n "$mysqlconfig" ] then - mysqlconfig_used= AC_MSG_RESULT([not found]) else mysqlconfig_used=yes fi +]) # if there's nothing from mysql_config, check well-known include paths --- sphinxsearch-2.2.11.orig/configure.ac +++ sphinxsearch-2.2.11/configure.ac @@ -344,31 +344,30 @@ ) AC_MSG_CHECKING([whether to compile with MySQL support]) -if test x$ac_cv_use_static_mysql != xno -o x$ac_cv_use_mysql != xno -then +AS_IF([test x$ac_cv_use_static_mysql != xno -o x$ac_cv_use_mysql != xno],[ dl_mysql=0 - if test x$ac_cv_use_static_mysql != xno ; then + AS_IF([test x$ac_cv_use_static_mysql != xno],[ AC_MSG_RESULT([static]) AC_CHECK_MYSQL([$ac_cv_use_static_mysql]) MYSQL_LIBS=`echo $MYSQL_LIBS | sed -e "sX-lmysqlclientX\$MYSQL_PKGLIBDIR/libmysqlclient.aXg"` - else - if test x$sph_usedl == xyes ; then + ],[ + AS_IF([test x$sph_usedl == xyes],[ AC_MSG_RESULT([runtime dynamic]) AC_CHECK_MYSQL([$ac_cv_use_mysql]) MYSQL_LIBS="" dl_mysql=1 - else + ],[ AC_MSG_RESULT([dynamic]) AC_CHECK_MYSQL([$ac_cv_use_mysql]) - fi - fi + ]) + ]) AC_DEFINE(USE_MYSQL,1,[Define to 1 if you want to compile with MySQL support]) AC_DEFINE_UNQUOTED(DL_MYSQL,$dl_mysql,[Define to 1 if you want runtime load mysql using dlopen]) AC_SUBST([MYSQL_LIBS]) AC_SUBST([MYSQL_CFLAGS]) -else +],[ AC_MSG_RESULT([no]) -fi +]) AM_CONDITIONAL(USE_MYSQL, test x$ac_cv_use_mysql != xno -o x$ac_cv_use_static_mysql != xno ) dnl --- --- End Message --- --- Begin Message --- Source: sphinxsearch Source-Version: 2.2.11-6 Done: Andrej Shadura We believe that the bug you reported is fixed in the latest version of sphinxsearch, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please
Bug#810149: There is a SVN repository available with a bugfixes dated 2012
Control: found -1 0.4-1 Control: fixed -1 0.5~git20120106.409eb16-1 Integrated all changes from the latest git.
Processed: There is a SVN repository available with a bugfixes dated 2012
Processing control commands: > found -1 0.4-1 Bug #810149 [pngtools] pngtools: There is a SVN repository available with a bugfixes dated 2012 Marked as found in versions pngtools/0.4-1. > fixed -1 0.5~git20120106.409eb16-1 Bug #810149 [pngtools] pngtools: There is a SVN repository available with a bugfixes dated 2012 Marked as fixed in versions pngtools/0.5~git20120106.409eb16-1. -- 810149: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810149 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#810149: marked as done (pngtools: There is a SVN repository available with a bugfixes dated 2012)
Your message dated Fri, 3 Dec 2021 16:54:32 +0100 with message-id and subject line There is a SVN repository available with a bugfixes dated 2012 has caused the Debian Bug report #810149, regarding pngtools: There is a SVN repository available with a bugfixes dated 2012 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 810149: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810149 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: pngtools Severity: wishlist Maybe something to package? http://www.stillhq.com/svn/trunk/pngtools/ Changelog there: 20120106Michael Still mi...@stillhq.com Include patches from gentoo project, thanks! 20081127Michael Still mi...@stillhq.com Release 0.4, including 64 fixes 20020714Michael Still mi...@stillhq.com Added the chunkdesc code -- System Information: Debian Release: stretch/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) --- End Message --- --- Begin Message --- Control: found -1 0.4-1 Control: fixed -1 0.5~git20120106.409eb16-1 Integrated all changes from the latest git.--- End Message ---
Processed: your mail
Processing commands for cont...@bugs.debian.org: > tags 743279 patch Bug #743279 [pngtools] pnginfo returns random numbers as return code. Added tag(s) patch. > End of message, stopping processing here. Please contact me if you need assistance. -- 743279: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743279 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
python-jenkinsapi is marked for autoremoval from testing
python-jenkinsapi 0.3.11-5 is marked for autoremoval from testing on 2021-12-03 It is affected by these RC bugs: 998530: python-jenkinsapi: FTBFS: Unable to create file /sbuild-nonexistent/.cache/pylint/jenkinsapi.views1.stats: [Errno 2] No such file or directory: '/sbuild-nonexistent/.cache/pylint/jenkinsapi.views1.stats' https://bugs.debian.org/998530 This mail is generated by: https://salsa.debian.org/release-team/release-tools/-/blob/master/mailer/mail_autoremovals.pl Autoremoval data is generated by: https://salsa.debian.org/qa/udd/-/blob/master/udd/testing_autoremovals_gatherer.pl