Your message dated Tue, 30 Jul 2019 14:38:15 +0000 with message-id <[email protected]> and subject line Bug#932581: fixed in libminini 1.2.a+ds-3 has caused the Debian Bug report #932581, regarding libminini: FTBFS on hppa - PIC and assert issues 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 [email protected] immediately.) -- 932581: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932581 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: libminini Version: 1.2.a+ds-2 Severity: normal Dear Maintainer, The build fails in test1 with a segmentation fault: LD_LIBRARY_PATH=. ./test1 Segmentation fault This is caused by the fact that objects linked into shared libraries need to be compiled with the -fPIC option. This option also needs to be added when linking shared libraries. With this problem fixed, test1 now runs correctly but test2 fails at the following assert: LD_LIBRARY_PATH=. ./test2 test2: minIni.cc:214: char* save_strncpy(char*, const char*, size_t, quote_option): Assertion `dest <= source || dest >= source + maxlen' failed. Aborted Breakpoint 1, save_strncpy (dest=0xf8f02808 "\370\360\"\300", source=0xf8f02630 "aap", maxlen=512, option=QUOTE_NONE) at minIni.cc:214 214 assert(dest <= source || dest >= source + maxlen); (gdb) p dest <= source $4 = false (gdb) p dest $5 = 0xf8f02808 "\370\360\"\300" (gdb) p source $6 = 0xf8f02630 "aap" (gdb) p dest >= source + maxlen $7 = false (gdb) p maxlen $8 = 512 (gdb) p/x $sp $9 = 0xf8f02b40 It looks like the assert is triggered on hppa because the stack grows up. Package builds if I disable assert: dave@atlas:~/debian/libminini/libminini-1.2.a+ds$ diff -u minIni.cc.save minIni.cc --- minIni.cc.save 2019-07-20 16:46:47.744616954 -0400 +++ minIni.cc 2019-07-20 16:47:31.594198802 -0400 @@ -211,7 +211,9 @@ size_t d, s; assert(maxlen>0); +#ifndef __hppa__ assert(dest <= source || dest >= source + maxlen); +#endif if (option == QUOTE_ENQUOTE && maxlen < 3) option = QUOTE_NONE; /* cannot store two quotes and a terminating zero in less than 3 characters */ Regards, Dave Anglin -- System Information: Debian Release: bullseye/sid APT prefers buildd-unstable APT policy: (500, 'buildd-unstable'), (500, 'unstable') Architecture: hppa (parisc64) Kernel: Linux 4.14.133+ (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
--- End Message ---
--- Begin Message ---Source: libminini Source-Version: 1.2.a+ds-3 We believe that the bug you reported is fixed in the latest version of libminini, 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Yangfl <[email protected]> (supplier of updated libminini 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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Mon, 29 Jul 2019 11:32:00 +0800 Source: libminini Architecture: source Version: 1.2.a+ds-3 Distribution: unstable Urgency: medium Maintainer: Yangfl <[email protected]> Changed-By: Yangfl <[email protected]> Closes: 932434 932581 Changes: libminini (1.2.a+ds-3) unstable; urgency=medium . * Add missing -fPIC cflags (Closes: #932581) * Add back an old internal symbol and mark it as optional (Closes: #932434) Checksums-Sha1: a8788a191b056d1dea042d847a860104223f3917 1971 libminini_1.2.a+ds-3.dsc c5bb0085bcccb3f71474724ba29acc273bf4813a 5196 libminini_1.2.a+ds-3.debian.tar.xz 71fa760a1394f21eaa88707c74101334bdf6fe78 6019 libminini_1.2.a+ds-3_amd64.buildinfo Checksums-Sha256: fc2223faccbde462e768e0716a62ecbec1bba2c7fc311a854a3d33d2a3a7a57c 1971 libminini_1.2.a+ds-3.dsc 8babd19af1b6ece8fabec6dad96e0a92f0a2902ac2d48fbbd759a05dc2df9164 5196 libminini_1.2.a+ds-3.debian.tar.xz 9cc3c9b757f59b09edfeb8bf30079c06cde2bd2c6eda9ce0132540377ba5181c 6019 libminini_1.2.a+ds-3_amd64.buildinfo Files: 9e839da3330ea0e4c5990765caa0315e 1971 libs optional libminini_1.2.a+ds-3.dsc cff97c48414c3c43aed1e6fb4c27d68b 5196 libs optional libminini_1.2.a+ds-3.debian.tar.xz 99ead95d68ad21421ea65a205c962bd9 6019 libs optional libminini_1.2.a+ds-3_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAl1ATfAACgkQwpPntGGC Ws4ighAAxA27hSDO17lDz/p/Mjv/Fu/ahKlG0/o5rzhg2JmpLPKc+Zt4twmRFkX7 4YO0LIRDn3wZQrvcoDwC3TQGuJB7w09ee552euQFpoY4NqLTnCFYhKzHfQpyRy8N yheV0lNnzBStIsa+buPOrE/GJc5dlhm11nXD9HQgA9wMpEZaEFAksmEZ4h3/Nc3+ nnYEz4e3MbMgztsUlk+Sin+Yd/tmB7TujGIl+tWzr2kFOmVxvIJQygJHdIiMMYMK atwHWHpvuBSnLp7xbAN1kcZbi6DUSIcREFbeh49FZHgKkH86UgM2FlX/gwlVk5fC XFl5qY+mBZEp9c1oVVHOJCKfOkDYM0USSETJVtzVJkgOQLaXQte1VShkQgLoiqpL uPLFSK8mdcrFIbDhfBL0LC6B/7yWv+JFhEjA6n6kY9mTF4aPxG/w9vqfvDbzozbl iL7vmzMdU6Nkq4PFRRFW3fVZFqNwp4IMW6WBJLaRIl3wGJYEOf0yl+me3cFnJWms wHQv+z+r5BKdzKO1tri2JUEbrlPvRfHVgMS67MYqdgTgxku9NVZgOZ6zh5omCtpR DcUjJGBbBU5an/Tt6sAyLor+bSnrui+JcgZLlrPayg2RD2gh6LaKSwgq3jVGLAZw IYKF7q922rsv4J+uAJdgz1igfSMCPBPPIxlA6ASAXs3fRAE5+MY= =aD6O -----END PGP SIGNATURE-----
--- End Message ---

