Your message dated Sat, 06 Jul 2013 09:18:04 +0000 with message-id <[email protected]> and subject line Bug#712140: fixed in check 0.9.10-3 has caused the Debian Bug report #712140, regarding check.pc fails to link 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.) -- 712140: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712140 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: check Version: 0.9.10-2 Severity: serious Tags: patch Hello, libcheck_pic.a currently can't be linked in: $ cat test.c extern void pack(); int main(void) { return pack; } $ gcc test.c -o test $(pkg-config --libs check) test.c: In function 'main': test.c:3:2: warning: return makes integer from pointer without a cast [enabled by default] return pack; ^ /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcheck_pic.a(check_pack.o): undefined reference to symbol '__pthread_unregister_cancel@@GLIBC_2.3.3' /lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status -lpthread is indeed missing from the PTHREAD_LIBS: buildd logs show: checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes This seems to get through because -fPIC is passed in CFLAGS: building in a wheezy pbuilder gives me the following details: configure:15481: gcc -o conftest -g -O2 -fPIC -Wall -ansi -pedantic -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wno-variadic-macros conftest.c -lrt -lm >&5 conftest.c:86:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] conftest.c: In function 'main': conftest.c:89:22: warning: null argument where non-null required (argument 1) [-Wnonnull] conftest.c:90:22: warning: null argument where non-null required (argument 1) [-Wnonnull] conftest.c:90:22: warning: null argument where non-null required (argument 3) [-Wnonnull] conftest.c:88:27: warning: 'th' is used uninitialized in this function [-Wuninitialized] configure:15481: $? = 0 configure:15490: result: yes and thus the pthread_create unresolved symbol gets through! When I rebuild the package myself in a sid pbuilder, I however properly get checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes and indeed, gcc now seems to refuse the unresolved symbol. configure:15481: gcc -o conftest -g -O2 -fPIC -Wall -ansi -pedantic -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wno-variadic-macros conftest.c -lrt -lm >&5 conftest.c:86:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] main () ^ conftest.c: In function 'main': conftest.c:89:22: warning: null argument where non-null required (argument 1) [-Wnonnull] pthread_attr_init(0); pthread_cleanup_push(0, 0); ^ conftest.c:90:22: warning: null argument where non-null required (argument 1) [-Wnonnull] pthread_create(0,0,0,0); pthread_cleanup_pop(0); ^ conftest.c:90:22: warning: null argument where non-null required (argument 3) [-Wnonnull] conftest.c:88:27: warning: 'th' is used uninitialized in this function [-Wuninitialized] pthread_t th; pthread_join(th, 0); ^ /usr/bin/ld: /tmp/ccJMydQP.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' /lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status So it looks like rebuilding with the newer toolchain would fix the issue, but you would probably want to pass -Wl,--no-allow-shlib-undefined along -fPIC, to avoid the issue with any version of gcc. Samuel -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.9.0 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages check depends on: ii dpkg 1.16.10 ii install-info 5.1.dfsg.1-3 check recommends no packages. check suggests no packages. -- no debconf information -- Samuel void packerFlushTheToiletFirstThingInTheMorning( void* arg ) -+- chromium's source code -+-
--- End Message ---
--- Begin Message ---Source: check Source-Version: 0.9.10-3 We believe that the bug you reported is fixed in the latest version of check, 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. Thomas Bechtold <[email protected]> (supplier of updated check 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: SHA256 Format: 1.8 Date: Fri, 21 Jun 2013 11:23:31 +0200 Source: check Binary: check Architecture: source amd64 Version: 0.9.10-3 Distribution: unstable Urgency: low Maintainer: Robert Lemmen <[email protected]> Changed-By: Thomas Bechtold <[email protected]> Description: check - unit test framework for C Closes: 690834 690890 712140 Changes: check (0.9.10-3) unstable; urgency=low . * Switch to dpkg-source 3.0 (quilt) format. - Add debian/patches/01pkgconfig.patch. - Add debian/patches/02awk.patch. - Add debian/patches/03texi.patch. * debian/patches/01pkgconfig.patch: Replace @PTHREAD_CFLAGS@ with -pthread (closes: #712140). * Remove doc/example/src/money.1.c.debdiff. * Revert changes to doc/stamp-vti. * Revert changes to doc/version.texi. * debian/rules: - Recognize DEB_BUILD_OPTIONS=noopt (closes: #690890). - Run testsuite after build (closes: #690834). * debian/control: Add Vcs-Browser and Vcs-Git fields. Checksums-Sha1: c498d9438014efc23c02a0552507e9644f80349f 1911 check_0.9.10-3.dsc 83eaa6d6e7038f33003b4acc8875fe59ed0379ee 6515 check_0.9.10-3.debian.tar.gz b129cb2f7e1249558223c6812d9f9f4b83e546a6 146128 check_0.9.10-3_amd64.deb Checksums-Sha256: f51fa63d876f3643516b4e5cc5cc1748ce80345ad880238d6e74e46250ad6fda 1911 check_0.9.10-3.dsc af3059ae59828af6c47502c8b5d939addcfd7e96cd92f62799bb4d9697d778f7 6515 check_0.9.10-3.debian.tar.gz dbae34f62d2c300038e27fa0e5eba5497b83dd0d68f0305520770a9e4871e1ce 146128 check_0.9.10-3_amd64.deb Files: 834896d3873134c452d97fdedab00ebd 1911 devel optional check_0.9.10-3.dsc 78e72bf2fc042f2bc7da8037a6f402a4 6515 devel optional check_0.9.10-3.debian.tar.gz 25b201530b133932929cb9aeb5dff1f9 146128 devel optional check_0.9.10-3_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJR199sAAoJEELuctrCcxmt/XkQAJVCN2EqwkD2baG0Hfbbd7Lc oRenAk6Vc40UcW4RnoFd4wVZ+2mJhPtwobrr2KUqLAM1e6lXXtVYImh/wE9STON8 1P2+DAg9UcTsMz881Vke4aZhE1S6TtxqJLoshIZdFiWbjFF67f92iI2m9uvHigMC LcVf1mrVAmdK6EzMIwPV2qOWTBUPNLwro6AdCrVRSQtuMDHmOv8Swk3Ek4W0tV4P x3beWp884wW8MTmW2JipaEKlmBfSmZEBDS/Z8FDbDdbQr273fTXOIn73gEzGiri3 83Z9fzGjq5zCVRdoPzOAaa5NnFMOmSlNdkPBDQT59VZEFxK1L2tg1mNaMrU9NS5Z skL+BXssML+XM9byNaKQNOiAfjnh7rL+y4bl/4xYGF3Ub68ixkVNkMGMDS6NVnsl wFwDAIM0SuY25g22cZzZuFWahUtKzGIngEVVrMvcz2D88bEyWP0UiKtLr1nbcO65 wsLOdleaG0muPQeyuzZFw6XTMHLeCKwyxnIPOAykUNcHnkt+/tCMeM0Dk/TS3ueb hWWfWBKX+uvzJgr39hR95d2aw801JC1m1i1epXEQBxfMdVxXbShK9Fcc8SwKMwjN eg2tdLsW2l/GbPuIbJ1v1lMqwCuiMjDmLiuIX8raxGVU1d2Vxl84m3VALgeLX4vN zz4XeGvQoV0MOmFMliI7 =1xBz -----END PGP SIGNATURE-----
--- End Message ---

