Source: wmgtemp Version: 1.1-2 Severity: serious Justification: fails to build from source User: reproducible-bui...@lists.alioth.debian.org Usertags: ftbfs X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org Tags: patch
Dear Maintainer, wmgtemp fails to build from source in unstable/amd64 due to GCC 5. A patch is attached. [..] gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c wmgeneral/wmgeneral.c -o wmgeneral/wmgeneral.o gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c wmgeneral/misc.c -o wmgeneral/misc.o In file included from wmgeneral/misc.c:24:0: wmgeneral/list.h:57:13: warning: inline function 'list_free' declared but never defined INLINE void list_free(LinkedList* list); ^ wmgeneral/list.h:55:19: warning: inline function 'list_find' declared but never defined INLINE LinkedList*list_find(LinkedList* list, void* elem); ^ wmgeneral/list.h:53:13: warning: inline function 'list_mapcar' declared but never defined INLINE void list_mapcar(LinkedList* list, void(*function)(void*)); ^ wmgeneral/list.h:51:20: warning: inline function 'list_remove_elem' declared but never defined INLINE LinkedList *list_remove_elem(LinkedList* list, void* elem); ^ wmgeneral/list.h:49:13: warning: inline function 'list_remove_head' declared but never defined INLINE void list_remove_head(LinkedList** list); ^ wmgeneral/list.h:47:14: warning: inline function 'list_nth' declared but never defined INLINE void* list_nth(int index, LinkedList* list); ^ wmgeneral/list.h:45:12: warning: inline function 'list_length' declared but never defined INLINE int list_length(LinkedList* list); ^ wmgeneral/list.h:43:20: warning: inline function 'list_cons' declared but never defined INLINE LinkedList* list_cons(void* head, LinkedList* tail); ^ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c wmgeneral/list.c -o wmgeneral/list.o gcc wmgtemp.o ./wmgeneral/wmgeneral.o ./wmgeneral/misc.o ./wmgeneral/list.o -Wl,-z,relro -o wmgtemp -lXpm -lXext -lX11 -lsensors ./wmgeneral/misc.o: In function `parse_command': /tmp/buildd/wmgtemp-1.1/src/wmgeneral/misc.c:122: undefined reference to `list_cons' /tmp/buildd/wmgtemp-1.1/src/wmgeneral/misc.c:126: undefined reference to `list_length' /tmp/buildd/wmgtemp-1.1/src/wmgeneral/misc.c:131: undefined reference to `list_remove_head' collect2: error: ld returned 1 exit status Makefile:19: recipe for target 'wmgtemp' failed make[3]: *** [wmgtemp] Error 1 make[3]: Leaving directory '/tmp/buildd/wmgtemp-1.1/src' Makefile:6: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/tmp/buildd/wmgtemp-1.1' dh_auto_build: make -j1 CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security LDFLAGS=-Wl,-z,relro returned exit code 2 debian/rules:7: recipe for target 'override_dh_auto_build' failed make[1]: *** [override_dh_auto_build] Error 2 make[1]: Leaving directory '/tmp/buildd/wmgtemp-1.1' debian/rules:4: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 [..] The full build log is attached or can be viewed here: https://reproducible.debian.net/logs/unstable/amd64/wmgtemp_1.1-2.build1.log.gz Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
diff --git a/src/wmgeneral/list.h b/src/wmgeneral/list.h index af0f22c..d4fe297 100644 --- a/src/wmgeneral/list.h +++ b/src/wmgeneral/list.h @@ -29,7 +29,7 @@ Boston, MA 02111-1307, USA. */ #ifndef __LIST_H_ #define __LIST_H_ -#if defined(__GNUC__) && !defined(__STRICT_ANSI__) +#if defined(__GNUC__) && !defined(__STRICT_ANSI__) && (__GNUC__ < 5) # define INLINE inline #else # define INLINE
I: using fakeroot in build. I: pbuilder: network access will be disabled during build I: Current time: Sun Aug 30 23:35:30 GMT+12 2015 I: pbuilder-time-stamp: 1441020930 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: creating local configuration I: copying local configuration I: mounting /proc filesystem I: mounting /run/shm filesystem I: mounting /dev/pts filesystem I: Mounting /dev/shm I: Mounting /sys I: policy-rc.d already exists I: Installing the build-deps -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team <pbuilder-ma...@lists.alioth.debian.org> Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 9), libsensors4-dev, libx11-dev, libxext-dev, libxpm-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 20255 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on libsensors4-dev; however: Package libsensors4-dev is not installed. pbuilder-satisfydepends-dummy depends on libx11-dev; however: Package libx11-dev is not installed. pbuilder-satisfydepends-dummy depends on libxext-dev; however: Package libxext-dev is not installed. pbuilder-satisfydepends-dummy depends on libxpm-dev; however: Package libxpm-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... The following NEW packages will be installed: libpthread-stubs0-dev{a} libsensors4{a} libsensors4-dev{a} libx11-6{a} libx11-data{a} libx11-dev{a} libxau-dev{a} libxau6{a} libxcb1{a} libxcb1-dev{a} libxdmcp-dev{a} libxdmcp6{a} libxext-dev{a} libxext6{a} libxpm-dev{a} libxpm4{a} x11proto-core-dev{a} x11proto-input-dev{a} x11proto-kb-dev{a} x11proto-xext-dev{a} xorg-sgml-doctools{a} xtrans-dev{a} 0 packages upgraded, 22 newly installed, 0 to remove and 0 not upgraded. Need to get 3839 kB of archives. After unpacking 13.4 MB will be used. Writing extended state information... Get: 1 http://ftp.de.debian.org/debian/ unstable/main libxau6 amd64 1:1.0.8-1 [20.7 kB] Get: 2 http://ftp.de.debian.org/debian/ unstable/main libxdmcp6 amd64 1:1.1.2-1 [26.3 kB] Get: 3 http://ftp.de.debian.org/debian/ unstable/main libxcb1 amd64 1.10-3+b1 [44.4 kB] Get: 4 http://ftp.de.debian.org/debian/ unstable/main libx11-data all 2:1.6.3-1 [128 kB] Get: 5 http://ftp.de.debian.org/debian/ unstable/main libx11-6 amd64 2:1.6.3-1 [742 kB] Get: 6 http://ftp.de.debian.org/debian/ unstable/main libxext6 amd64 2:1.3.3-1 [52.7 kB] Get: 7 http://ftp.de.debian.org/debian/ unstable/main libxpm4 amd64 1:3.5.11-1+b1 [48.1 kB] Get: 8 http://ftp.de.debian.org/debian/ unstable/main libpthread-stubs0-dev amd64 0.3-4 [3866 B] Get: 9 http://ftp.de.debian.org/debian/ unstable/main libsensors4 amd64 1:3.4.0-1 [52.7 kB] Get: 10 http://ftp.de.debian.org/debian/ unstable/main xorg-sgml-doctools all 1:1.11-1 [21.9 kB] Get: 11 http://ftp.de.debian.org/debian/ unstable/main x11proto-core-dev all 7.0.27-1 [729 kB] Get: 12 http://ftp.de.debian.org/debian/ unstable/main libxau-dev amd64 1:1.0.8-1 [23.6 kB] Get: 13 http://ftp.de.debian.org/debian/ unstable/main libxdmcp-dev amd64 1:1.1.2-1 [41.6 kB] Get: 14 http://ftp.de.debian.org/debian/ unstable/main x11proto-input-dev all 2.3.1-1 [157 kB] Get: 15 http://ftp.de.debian.org/debian/ unstable/main x11proto-kb-dev all 1.0.6-2 [269 kB] Get: 16 http://ftp.de.debian.org/debian/ unstable/main xtrans-dev all 1.3.5-1 [100 kB] Get: 17 http://ftp.de.debian.org/debian/ unstable/main libxcb1-dev amd64 1.10-3+b1 [83.8 kB] Get: 18 http://ftp.de.debian.org/debian/ unstable/main libx11-dev amd64 2:1.6.3-1 [813 kB] Get: 19 http://ftp.de.debian.org/debian/ unstable/main x11proto-xext-dev all 7.3.0-1 [212 kB] Get: 20 http://ftp.de.debian.org/debian/ unstable/main libxext-dev amd64 2:1.3.3-1 [107 kB] Get: 21 http://ftp.de.debian.org/debian/ unstable/main libxpm-dev amd64 1:3.5.11-1+b1 [103 kB] Get: 22 http://ftp.de.debian.org/debian/ unstable/main libsensors4-dev amd64 1:3.4.0-1 [59.7 kB] Fetched 3839 kB in 0s (25.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libxau6:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20255 files and directories currently installed.) Preparing to unpack .../libxau6_1%3a1.0.8-1_amd64.deb ... Unpacking libxau6:amd64 (1:1.0.8-1) ... Selecting previously unselected package libxdmcp6:amd64. Preparing to unpack .../libxdmcp6_1%3a1.1.2-1_amd64.deb ... Unpacking libxdmcp6:amd64 (1:1.1.2-1) ... Selecting previously unselected package libxcb1:amd64. Preparing to unpack .../libxcb1_1.10-3+b1_amd64.deb ... Unpacking libxcb1:amd64 (1.10-3+b1) ... Selecting previously unselected package libx11-data. Preparing to unpack .../libx11-data_2%3a1.6.3-1_all.deb ... Unpacking libx11-data (2:1.6.3-1) ... Selecting previously unselected package libx11-6:amd64. Preparing to unpack .../libx11-6_2%3a1.6.3-1_amd64.deb ... Unpacking libx11-6:amd64 (2:1.6.3-1) ... Selecting previously unselected package libxext6:amd64. Preparing to unpack .../libxext6_2%3a1.3.3-1_amd64.deb ... Unpacking libxext6:amd64 (2:1.3.3-1) ... Selecting previously unselected package libxpm4:amd64. Preparing to unpack .../libxpm4_1%3a3.5.11-1+b1_amd64.deb ... Unpacking libxpm4:amd64 (1:3.5.11-1+b1) ... Selecting previously unselected package libpthread-stubs0-dev:amd64. Preparing to unpack .../libpthread-stubs0-dev_0.3-4_amd64.deb ... Unpacking libpthread-stubs0-dev:amd64 (0.3-4) ... Selecting previously unselected package libsensors4:amd64. Preparing to unpack .../libsensors4_1%3a3.4.0-1_amd64.deb ... Unpacking libsensors4:amd64 (1:3.4.0-1) ... Selecting previously unselected package xorg-sgml-doctools. Preparing to unpack .../xorg-sgml-doctools_1%3a1.11-1_all.deb ... Unpacking xorg-sgml-doctools (1:1.11-1) ... Selecting previously unselected package x11proto-core-dev. Preparing to unpack .../x11proto-core-dev_7.0.27-1_all.deb ... Unpacking x11proto-core-dev (7.0.27-1) ... Selecting previously unselected package libxau-dev:amd64. Preparing to unpack .../libxau-dev_1%3a1.0.8-1_amd64.deb ... Unpacking libxau-dev:amd64 (1:1.0.8-1) ... Selecting previously unselected package libxdmcp-dev:amd64. Preparing to unpack .../libxdmcp-dev_1%3a1.1.2-1_amd64.deb ... Unpacking libxdmcp-dev:amd64 (1:1.1.2-1) ... Selecting previously unselected package x11proto-input-dev. Preparing to unpack .../x11proto-input-dev_2.3.1-1_all.deb ... Unpacking x11proto-input-dev (2.3.1-1) ... Selecting previously unselected package x11proto-kb-dev. Preparing to unpack .../x11proto-kb-dev_1.0.6-2_all.deb ... Unpacking x11proto-kb-dev (1.0.6-2) ... Selecting previously unselected package xtrans-dev. Preparing to unpack .../xtrans-dev_1.3.5-1_all.deb ... Unpacking xtrans-dev (1.3.5-1) ... Selecting previously unselected package libxcb1-dev:amd64. Preparing to unpack .../libxcb1-dev_1.10-3+b1_amd64.deb ... Unpacking libxcb1-dev:amd64 (1.10-3+b1) ... Selecting previously unselected package libx11-dev:amd64. Preparing to unpack .../libx11-dev_2%3a1.6.3-1_amd64.deb ... Unpacking libx11-dev:amd64 (2:1.6.3-1) ... Selecting previously unselected package x11proto-xext-dev. Preparing to unpack .../x11proto-xext-dev_7.3.0-1_all.deb ... Unpacking x11proto-xext-dev (7.3.0-1) ... Selecting previously unselected package libxext-dev:amd64. Preparing to unpack .../libxext-dev_2%3a1.3.3-1_amd64.deb ... Unpacking libxext-dev:amd64 (2:1.3.3-1) ... Selecting previously unselected package libxpm-dev:amd64. Preparing to unpack .../libxpm-dev_1%3a3.5.11-1+b1_amd64.deb ... Unpacking libxpm-dev:amd64 (1:3.5.11-1+b1) ... Selecting previously unselected package libsensors4-dev. Preparing to unpack .../libsensors4-dev_1%3a3.4.0-1_amd64.deb ... Unpacking libsensors4-dev (1:3.4.0-1) ... Processing triggers for man-db (2.7.2-1) ... Setting up libxau6:amd64 (1:1.0.8-1) ... Setting up libxdmcp6:amd64 (1:1.1.2-1) ... Setting up libxcb1:amd64 (1.10-3+b1) ... Setting up libx11-data (2:1.6.3-1) ... Setting up libx11-6:amd64 (2:1.6.3-1) ... Setting up libxext6:amd64 (2:1.3.3-1) ... Setting up libxpm4:amd64 (1:3.5.11-1+b1) ... Setting up libpthread-stubs0-dev:amd64 (0.3-4) ... Setting up libsensors4:amd64 (1:3.4.0-1) ... Setting up xorg-sgml-doctools (1:1.11-1) ... Setting up x11proto-core-dev (7.0.27-1) ... Setting up libxau-dev:amd64 (1:1.0.8-1) ... Setting up libxdmcp-dev:amd64 (1:1.1.2-1) ... Setting up x11proto-input-dev (2.3.1-1) ... Setting up x11proto-kb-dev (1.0.6-2) ... Setting up xtrans-dev (1.3.5-1) ... Setting up libxcb1-dev:amd64 (1.10-3+b1) ... Setting up libx11-dev:amd64 (2:1.6.3-1) ... Setting up x11proto-xext-dev (7.3.0-1) ... Setting up libxext-dev:amd64 (2:1.3.3-1) ... Setting up libxpm-dev:amd64 (1:3.5.11-1+b1) ... Setting up libsensors4-dev (1:3.4.0-1) ... Processing triggers for libc-bin (2.19-19) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... disorderfs is already the newest version. fakeroot is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Copying source file I: copying [wmgtemp_1.1-2.dsc] I: copying [./wmgtemp_1.1.orig.tar.gz] I: copying [./wmgtemp_1.1-2.debian.tar.xz] I: Extracting source gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Sat Jul 11 10:07:31 2015 GMT+12 using RSA key ID F5B5F913 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./wmgtemp_1.1-2.dsc dpkg-source: info: extracting wmgtemp in wmgtemp-1.1 dpkg-source: info: unpacking wmgtemp_1.1.orig.tar.gz dpkg-source: info: unpacking wmgtemp_1.1-2.debian.tar.xz dpkg-source: info: applying fix_hyphens_in_wmgtemp.1.patch dpkg-source: info: applying sensors.conf.patch dpkg-source: info: applying update_makefile.patch dpkg-source: info: applying fix_-Waggressive-loop-optimizations.patch I: Building the package I: Running cd tmp/buildd/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" dpkg-buildpackage -us -uc -b -rfakeroot dpkg-buildpackage: source package wmgtemp dpkg-buildpackage: source version 1.1-2 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by Doug Torrance <dtorra...@monmouthcollege.edu> dpkg-source --before-build wmgtemp-1.1 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh clean dh_testdir dh_auto_clean make -j1 clean make[1]: Entering directory '/tmp/buildd/wmgtemp-1.1' ( cd src && make clean) make[2]: Entering directory '/tmp/buildd/wmgtemp-1.1/src' make[2]: Leaving directory '/tmp/buildd/wmgtemp-1.1/src' make[1]: Leaving directory '/tmp/buildd/wmgtemp-1.1' dh_clean debian/rules build dh build dh_testdir dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory '/tmp/buildd/wmgtemp-1.1' dh_auto_build -- CFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security" \ LDFLAGS="-Wl,-z,relro" make -j1 "CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security" LDFLAGS=-Wl,-z,relro make[2]: Entering directory '/tmp/buildd/wmgtemp-1.1' ( cd src && make ) make[3]: Entering directory '/tmp/buildd/wmgtemp-1.1/src' gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c wmgtemp.c -o wmgtemp.o gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c wmgeneral/wmgeneral.c -o wmgeneral/wmgeneral.o gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c wmgeneral/misc.c -o wmgeneral/misc.o In file included from wmgeneral/misc.c:24:0: wmgeneral/list.h:57:13: warning: inline function 'list_free' declared but never defined INLINE void list_free(LinkedList* list); ^ wmgeneral/list.h:55:19: warning: inline function 'list_find' declared but never defined INLINE LinkedList*list_find(LinkedList* list, void* elem); ^ wmgeneral/list.h:53:13: warning: inline function 'list_mapcar' declared but never defined INLINE void list_mapcar(LinkedList* list, void(*function)(void*)); ^ wmgeneral/list.h:51:20: warning: inline function 'list_remove_elem' declared but never defined INLINE LinkedList *list_remove_elem(LinkedList* list, void* elem); ^ wmgeneral/list.h:49:13: warning: inline function 'list_remove_head' declared but never defined INLINE void list_remove_head(LinkedList** list); ^ wmgeneral/list.h:47:14: warning: inline function 'list_nth' declared but never defined INLINE void* list_nth(int index, LinkedList* list); ^ wmgeneral/list.h:45:12: warning: inline function 'list_length' declared but never defined INLINE int list_length(LinkedList* list); ^ wmgeneral/list.h:43:20: warning: inline function 'list_cons' declared but never defined INLINE LinkedList* list_cons(void* head, LinkedList* tail); ^ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c wmgeneral/list.c -o wmgeneral/list.o gcc wmgtemp.o ./wmgeneral/wmgeneral.o ./wmgeneral/misc.o ./wmgeneral/list.o -Wl,-z,relro -o wmgtemp -lXpm -lXext -lX11 -lsensors ./wmgeneral/misc.o: In function `parse_command': /tmp/buildd/wmgtemp-1.1/src/wmgeneral/misc.c:122: undefined reference to `list_cons' /tmp/buildd/wmgtemp-1.1/src/wmgeneral/misc.c:126: undefined reference to `list_length' /tmp/buildd/wmgtemp-1.1/src/wmgeneral/misc.c:131: undefined reference to `list_remove_head' collect2: error: ld returned 1 exit status Makefile:19: recipe for target 'wmgtemp' failed make[3]: *** [wmgtemp] Error 1 make[3]: Leaving directory '/tmp/buildd/wmgtemp-1.1/src' Makefile:6: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/tmp/buildd/wmgtemp-1.1' dh_auto_build: make -j1 CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security LDFLAGS=-Wl,-z,relro returned exit code 2 debian/rules:7: recipe for target 'override_dh_auto_build' failed make[1]: *** [override_dh_auto_build] Error 2 make[1]: Leaving directory '/tmp/buildd/wmgtemp-1.1' debian/rules:4: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 E: Failed autobuilding of package I: unmounting /sys filesystem I: unmounting /dev/shm filesystem I: unmounting dev/pts filesystem I: unmounting run/shm filesystem I: unmounting proc filesystem I: cleaning the build env I: removing directory /var/cache/pbuilder/build//10455 and its subdirectories