[Reproducible-builds] Bug#797540: wmgtemp: FTBFS: undefined reference to `list_cons'
Chris Lamb
lamby at debian.org
Mon Aug 31 12:34:28 UTC 2015
Source: wmgtemp
Version: 1.1-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at 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
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: wmgtemp.diff.txt
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150831/b5553898/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: wmgtemp.1.1-2.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150831/b5553898/attachment-0001.txt>
More information about the Reproducible-builds
mailing list