Your message dated Sat, 10 Sep 2011 15:03:45 +0000
with message-id <e1r2p5t-00069n...@franck.debian.org>
and subject line Bug#626359: fixed in tokyotyrant 1.1.40-4.1
has caused the Debian Bug report #626359,
regarding Fails to build from source (test suite failure due to incorrect exec 
of start-stop-daemon)
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.)


-- 
626359: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626359
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: tokyotyrant
Version: 1.1.40-4
Severity: serious

Hi Örjan/Andreas,

I've tried to rebuild tokyotyrant for Univention Corporate Server, a Debian 
derived distribution based on Debian stable (currently Lenny, our next release 
will be based on Squeeze).

The version of tokyotyrant in Squeeze and sid fails to build from source when
build as non-root (which should be the default):

---
(..)
        LD_LIBRARY_PATH=.  ./tcrmgr out -port 0 /tmp/ttserver-test.sock two; \
        LD_LIBRARY_PATH=.  ./tcrmgr get -port 0 /tmp/ttserver-test.sock three > 
check.out; \
        LD_LIBRARY_PATH=.  ./tcrmgr get -port 0 /tmp/ttserver-test.sock four > 
check.out; \
        LD_LIBRARY_PATH=.  ./tcrmgr get -port 0 /tmp/ttserver-test.sock five > 
check.out; \
        LD_LIBRARY_PATH=.  ./tcrmgr mget -port 0 /tmp/ttserver-test.sock one 
two three four five > check.out; \
        LD_LIBRARY_PATH=.  ./tcrmgr misc -port 0 /tmp/ttserver-test.sock 
putlist six sixth seven seventh; \
        LD_LIBRARY_PATH=.  ./tcrmgr misc -port 0 /tmp/ttserver-test.sock 
outlist six; \
        LD_LIBRARY_PATH=.  ./tcrmgr misc -port 0 /tmp/ttserver-test.sock 
getlist three four five six > check.out; \
        LD_LIBRARY_PATH=.  ./tcrmgr list -port 0 -pv /tmp/ttserver-test.sock > 
check.out; \
        LD_LIBRARY_PATH=.  ./tcrmgr list -port 0 -pv -fm f 
/tmp/ttserver-test.sock > check.out; \
        rm -rf ulog ; mkdir -p ulog
/bin/bash: line 3: start-stop-daemon: command not found
make[1]: *** [check] Error 1
make[1]: Leaving directory `/home/jmm/tokyo/tokyotyrant-1.1.40'
dh_auto_test: make -j1 check returned exit code 2
make: *** [build] Error 29
dpkg-buildpackage: error: debian/rules build gave error exit status 2
---

start-stop-daemon resides under /sbin/ and is not in the standard path
of a regular user. Attached patch absolutises the path, which fixes
the build.

This also affects stable, so you might want to fix it in a point update.

Cheers,
        Moritz
Fix FTBFS since start-stop-daemon resides under /sbin, which isn't in the 
standard path
when building as non-root.

diff -aur tokyotyrant-1.1.40.orig//debian/patches/003-run-service-make-check 
tokyotyrant-1.1.40/debian/patches/003-run-service-make-check
--- tokyotyrant-1.1.40.orig//debian/patches/003-run-service-make-check  
2010-05-16 18:46:23.000000000 +0200
+++ tokyotyrant-1.1.40/debian/patches/003-run-service-make-check        
2011-02-16 14:43:02.000000000 +0100
@@ -71,11 +71,11 @@
 +      if [ $(test_start_stop) -eq 1 ]; then \
 +              $(RUNENV); \
 +              export LD_LIBRARY_PATH; \
-+              start-stop-daemon -v -S -p $(test_pid) -d `pwd` --exec 
`pwd`/ttserver \
++              /sbin/start-stop-daemon -v -S -p $(test_pid) -d `pwd` --exec 
`pwd`/ttserver \
 +                      -- -host $(test_host) -port $(test_port) \
 +                         -ld -dmn -pid $(test_pid) || exit 1; \
 +              \
-+              trap "start-stop-daemon -v -K -R TERM/30/KILL/5 -p $(test_pid) 
&& rm -f $(test_pid)" 0; \
++              trap "/sbin/start-stop-daemon -v -K -R TERM/30/KILL/5 -p 
$(test_pid) && rm -f $(test_pid)" 0; \
 +      fi; \
 +      \
 +      for i in `seq 5`; do \
Nur in tokyotyrant-1.1.40/debian/patches: 003-run-service-make-check~.
diff -aur tokyotyrant-1.1.40.orig//Makefile.in tokyotyrant-1.1.40/Makefile.in
--- tokyotyrant-1.1.40.orig//Makefile.in        2011-02-16 14:42:22.000000000 
+0100
+++ tokyotyrant-1.1.40/Makefile.in      2011-02-16 14:43:19.000000000 +0100
@@ -176,11 +176,11 @@
        if [ $(test_start_stop) -eq 1 ]; then \
                $(RUNENV); \
                export LD_LIBRARY_PATH; \
-               start-stop-daemon -v -S -p $(test_pid) -d `pwd` --exec 
`pwd`/ttserver \
+               /sbin/start-stop-daemon -v -S -p $(test_pid) -d `pwd` --exec 
`pwd`/ttserver \
                        -- -host $(test_host) -port $(test_port) \
                           -ld -dmn -pid $(test_pid) || exit 1; \
                \
-               trap "start-stop-daemon -v -K -R TERM/30/KILL/5 -p $(test_pid) 
&& rm -f $(test_pid)" 0; \
+               trap "/sbin/start-stop-daemon -v -K -R TERM/30/KILL/5 -p 
$(test_pid) && rm -f $(test_pid)" 0; \
        fi; \
        \
        for i in `seq 5`; do \


--- End Message ---
--- Begin Message ---
Source: tokyotyrant
Source-Version: 1.1.40-4.1

We believe that the bug you reported is fixed in the latest version of
tokyotyrant, which is due to be installed in the Debian FTP archive:

libtokyotyrant-dev_1.1.40-4.1_amd64.deb
  to main/t/tokyotyrant/libtokyotyrant-dev_1.1.40-4.1_amd64.deb
libtokyotyrant3_1.1.40-4.1_amd64.deb
  to main/t/tokyotyrant/libtokyotyrant3_1.1.40-4.1_amd64.deb
tokyotyrant-dbg_1.1.40-4.1_amd64.deb
  to main/t/tokyotyrant/tokyotyrant-dbg_1.1.40-4.1_amd64.deb
tokyotyrant-doc_1.1.40-4.1_all.deb
  to main/t/tokyotyrant/tokyotyrant-doc_1.1.40-4.1_all.deb
tokyotyrant-utils_1.1.40-4.1_amd64.deb
  to main/t/tokyotyrant/tokyotyrant-utils_1.1.40-4.1_amd64.deb
tokyotyrant_1.1.40-4.1.debian.tar.gz
  to main/t/tokyotyrant/tokyotyrant_1.1.40-4.1.debian.tar.gz
tokyotyrant_1.1.40-4.1.dsc
  to main/t/tokyotyrant/tokyotyrant_1.1.40-4.1.dsc
tokyotyrant_1.1.40-4.1_amd64.deb
  to main/t/tokyotyrant/tokyotyrant_1.1.40-4.1_amd64.deb



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 626...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ana Beatriz Guerrero Lopez <a...@debian.org> (supplier of updated tokyotyrant 
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...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 10 Sep 2011 16:45:01 +0200
Source: tokyotyrant
Binary: tokyotyrant tokyotyrant-dbg libtokyotyrant3 libtokyotyrant-dev 
tokyotyrant-doc tokyotyrant-utils
Architecture: source amd64 all
Version: 1.1.40-4.1
Distribution: unstable
Urgency: low
Maintainer: Örjan Persson <ora...@fobie.net>
Changed-By: Ana Beatriz Guerrero Lopez <a...@debian.org>
Description: 
 libtokyotyrant-dev - Tokyo Tyrant development files
 libtokyotyrant3 - Tokyo Tyrant runtime libraries
 tokyotyrant - Tokyo Tyrant: network interface to Tokyo Cabinet
 tokyotyrant-dbg - Tokyo Tyrant debugging symbols
 tokyotyrant-doc - Tokyo Tyrant documentation
 tokyotyrant-utils - Tokyo Tyrant utilities
Closes: 615787 626359
Changes: 
 tokyotyrant (1.1.40-4.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Add patch to add all libraries needed to linker commandline.
     Patch by Andreas Moog. (LP: #756048) (Closes: #615787)
   * Fix FTBFS since start-stop-daemon resides under /sbin, and this path isn't
     included in the standard path when building as non-root. This needs to
     update the patch 003-run-service-make-check to add /sbin/
     Patch by Moritz Muehlenhoff. (Closes: #626359)
Checksums-Sha1: 
 854aa4da6c0fa4e36af844c1146f081406b9e392 1973 tokyotyrant_1.1.40-4.1.dsc
 7c61862fca966bdc3eeee2319f55f78efc5a34ca 12087 
tokyotyrant_1.1.40-4.1.debian.tar.gz
 ea3b6178d26fd236f057ffbe1b7902a2ae5b2a0a 70512 tokyotyrant_1.1.40-4.1_amd64.deb
 1256372c12e05a65a985f5f9d7bb162e2787d09b 248372 
tokyotyrant-dbg_1.1.40-4.1_amd64.deb
 bac59f9f267cfd068c0f573311d539e6d8758b18 55562 
libtokyotyrant3_1.1.40-4.1_amd64.deb
 d2f618f71d438d746b9b0d074541becf349fc114 84500 
libtokyotyrant-dev_1.1.40-4.1_amd64.deb
 d13ea13df84aebc4f17ab793830699876c7f3bb4 30818 
tokyotyrant-doc_1.1.40-4.1_all.deb
 58f0b555e32a66bb92a056631997913c583ed4a0 56230 
tokyotyrant-utils_1.1.40-4.1_amd64.deb
Checksums-Sha256: 
 c8a11b054b253db45ca0519ab528661169a2c5e2be66552f2c32b6e826503c19 1973 
tokyotyrant_1.1.40-4.1.dsc
 2317c877f6b29ef14d8d17504451410799721b7a3b1b2e7da37780d5cc95c5d7 12087 
tokyotyrant_1.1.40-4.1.debian.tar.gz
 72aab3ebf0ebdf05113fd2c10f8da0cf75154b80ef9d5a240debc93e99af77fc 70512 
tokyotyrant_1.1.40-4.1_amd64.deb
 dd11daee254577a11a70e79ad7fcb9613ff6aac2a7b71ea49be6c2b1880c5d84 248372 
tokyotyrant-dbg_1.1.40-4.1_amd64.deb
 e64e2f7484f7bd6f5349df9d671574c54fc3de04efe3b37ba7dde2e108d5fa65 55562 
libtokyotyrant3_1.1.40-4.1_amd64.deb
 3fdd9b9f42071a054f927873fe01594bd306e2e43701a11f8e76a2eed4f7aac5 84500 
libtokyotyrant-dev_1.1.40-4.1_amd64.deb
 653a167859ddef6e2aa380cbc9a8cc7f6ce738e6aa9b2c45a1ca813f8f844394 30818 
tokyotyrant-doc_1.1.40-4.1_all.deb
 728fcc0d305e3b1dd3a59442bcc1f564fb4840ba0d79c4e373bc30fc5cf8f11c 56230 
tokyotyrant-utils_1.1.40-4.1_amd64.deb
Files: 
 0a505c89aa11424a19d3e89a20215b25 1973 misc extra tokyotyrant_1.1.40-4.1.dsc
 93bf03c103e240ad3ab36833619b30ac 12087 misc extra 
tokyotyrant_1.1.40-4.1.debian.tar.gz
 16efd500783b7b1ba75b842c4298cc75 70512 misc optional 
tokyotyrant_1.1.40-4.1_amd64.deb
 86a42dc152c7d4b89e7693e30e6cdae4 248372 debug extra 
tokyotyrant-dbg_1.1.40-4.1_amd64.deb
 82caf472e19451ee67e96377cbdc6353 55562 libs extra 
libtokyotyrant3_1.1.40-4.1_amd64.deb
 eb4e3ff60ebbbb0f1d00ce8b2e3d38df 84500 libdevel extra 
libtokyotyrant-dev_1.1.40-4.1_amd64.deb
 93b8c6c9f7ebadb96315efd591206329 30818 doc optional 
tokyotyrant-doc_1.1.40-4.1_all.deb
 484fe0f1df124c129a79f25cc6a7d65e 56230 utils optional 
tokyotyrant-utils_1.1.40-4.1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Signed by Ana Guerrero

iQIcBAEBCAAGBQJOa3isAAoJELNGT4lqoVlI524P/3VAJWFRNypOXqLZ1lYCtWPe
0Hjmka820cMkQBvqa0bwHmPVG696+MykiRE9MAnNox06Dj8rZtTFW3MJlLKmydE5
0vpjuDADqCjCwA+ilgQx+uFSbWDK55aWWWnbckEwjVZ56kivrzUjYYDe4UkI1oBm
qk7cu+N+oo+G/Qa1Ewcchu1T3nkSAm4AdjmX/cw10ijmo8Am+4bVRi8u9QIYR3G2
OZyePSdTXIyLAMY79RoMsAjx7BXH3cPNnQ48jwNcYfVruc9X93146/g7Oleewwyp
x6kpnMGznlDFHBXDedpRVcBInjo5H0A/p+h+zoNPeq3UV1b3w8qr/RhN99rDq8k6
COR/40H0E3TEKwG3NaACUwyRdxmClyRg5U8u6HxxlnR29uE8gqKOh0Kjjnhuzya9
NU4HPUhUBQGICJdCkax2h2XiDcjXydZa6jVggIGvo7br6qbCQReiyS9v4tHMWYPv
zrpZFdA/4f/GpBMTZr3nXEz1NZ64OMes6Oh0FiWBMOJX73XUSh64G6AVeyRqF9M2
OfP8qPXS0p+dNi4LvVOXppWqaDGFVWYaL7N/vw6rw4tDLvWjzGZkQ4Ss+8F83Y2M
OiDcZjWxBNob0HbC1kmCSNK8DcFUZPcWUKzFCRskmYuAADzAj8fn5Rs8b/QCSxlN
YzzMTpkO1/+j9hSS1WqA
=ljeR
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to