[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#674333: doodle: FTBFS: conftest.c:34: undefined reference to `EXTRACTOR_loadDefaultLibraries'



Source: doodle
Version: 0.6.7-10
Severity: serious
Tags: wheezy sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20120524 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
> configure:7366: $? = 0
> configure:7379: result: no
> configure:7394: checking for gcc option to produce PIC
> configure:7604: result: -fPIC
> configure:7612: checking if gcc PIC flag -fPIC works
> configure:7630: gcc -c -g -O2  -fPIC -DPIC conftest.c >&5
> configure:7634: $? = 0
> configure:7647: result: yes
> configure:7675: checking if gcc static flag -static works
> configure:7703: result: yes
> configure:7713: checking if gcc supports -c -o file.o
> configure:7734: gcc -c -g -O2  -o out/conftest2.o conftest.c >&5
> configure:7738: $? = 0
> configure:7760: result: yes
> configure:7786: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
> configure:8741: result: yes
> configure:8762: checking whether -lc should be explicitly linked in
> configure:8767: gcc -c -g -O2  conftest.c >&5
> configure:8770: $? = 0
> configure:8785: gcc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep  -lc  \>/dev/null 2\>\&1
> configure:8788: $? = 0
> configure:8800: result: no
> configure:8808: checking dynamic linker characteristics
> configure:9384: result: GNU/Linux ld.so
> configure:9393: checking how to hardcode library paths into programs
> configure:9418: result: immediate
> configure:9432: checking whether stripping libraries is possible
> configure:9437: result: yes
> configure:10238: checking if libtool supports shared libraries
> configure:10240: result: yes
> configure:10243: checking whether to build shared libraries
> configure:10264: result: yes
> configure:10267: checking whether to build static libraries
> configure:10271: result: yes
> configure:10363: creating libtool
> configure:10951: checking for ld used by g++
> configure:11018: result: /usr/bin/ld -m elf_x86_64
> configure:11027: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld
> configure:11042: result: yes
> configure:11093: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
> configure:12027: result: yes
> configure:12045: g++ -c -g -O2  conftest.cpp >&5
> configure:12048: $? = 0
> configure:12167: checking for g++ option to produce PIC
> configure:12441: result: -fPIC
> configure:12449: checking if g++ PIC flag -fPIC works
> configure:12467: g++ -c -g -O2  -fPIC -DPIC conftest.cpp >&5
> configure:12471: $? = 0
> configure:12484: result: yes
> configure:12512: checking if g++ static flag -static works
> configure:12540: result: yes
> configure:12550: checking if g++ supports -c -o file.o
> configure:12571: g++ -c -g -O2  -o out/conftest2.o conftest.cpp >&5
> configure:12575: $? = 0
> configure:12597: result: yes
> configure:12623: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
> configure:12651: result: yes
> configure:12718: checking dynamic linker characteristics
> configure:13294: result: GNU/Linux ld.so
> configure:13303: checking how to hardcode library paths into programs
> configure:13328: result: immediate
> configure:19446: checking for a thread-safe mkdir -p
> configure:19485: result: mkdir -p
> configure:19634: checking for pthread_create in -lpthread
> configure:19669: gcc -o conftest -fno-strict-aliasing -Wall -g -O2   conftest.c -lpthread   >&5
> configure:19675: $? = 0
> configure:19693: result: yes
> configure:19894: checking for pthread_t.p
> configure:19923: gcc -c -fno-strict-aliasing -Wall -g -O2  conftest.c >&5
> conftest.c: In function 'main':
> conftest.c:28:12: error: request for member 'p' in something not a structure or union
> conftest.c:27:18: warning: variable 'ac_aggr' set but not used [-Wunused-but-set-variable]
> configure:19929: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME "doodle"
> | #define PACKAGE_TARNAME "doodle"
> | #define PACKAGE_VERSION "0.6.7"
> | #define PACKAGE_STRING "doodle 0.6.7"
> | #define PACKAGE_BUGREPORT "christian@grothoff.org"
> | #define PACKAGE "doodle"
> | #define VERSION "0.6.7"
> | #define STDC_HEADERS 1
> | #define HAVE_SYS_TYPES_H 1
> | #define HAVE_SYS_STAT_H 1
> | #define HAVE_STDLIB_H 1
> | #define HAVE_STRING_H 1
> | #define HAVE_MEMORY_H 1
> | #define HAVE_STRINGS_H 1
> | #define HAVE_INTTYPES_H 1
> | #define HAVE_STDINT_H 1
> | #define HAVE_UNISTD_H 1
> | #define HAVE_DLFCN_H 1
> | #define LINUX 1
> | /* end confdefs.h.  */
> | #include <pthread.h>
> | 
> | int
> | main ()
> | {
> | static pthread_t ac_aggr;
> | if (ac_aggr.p)
> | return 0;
> |   ;
> |   return 0;
> | }
> configure:19963: gcc -c -fno-strict-aliasing -Wall -g -O2  conftest.c >&5
> conftest.c: In function 'main':
> conftest.c:28:19: error: request for member 'p' in something not a structure or union
> conftest.c:27:18: warning: variable 'ac_aggr' set but not used [-Wunused-but-set-variable]
> configure:19969: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME "doodle"
> | #define PACKAGE_TARNAME "doodle"
> | #define PACKAGE_VERSION "0.6.7"
> | #define PACKAGE_STRING "doodle 0.6.7"
> | #define PACKAGE_BUGREPORT "christian@grothoff.org"
> | #define PACKAGE "doodle"
> | #define VERSION "0.6.7"
> | #define STDC_HEADERS 1
> | #define HAVE_SYS_TYPES_H 1
> | #define HAVE_SYS_STAT_H 1
> | #define HAVE_STDLIB_H 1
> | #define HAVE_STRING_H 1
> | #define HAVE_MEMORY_H 1
> | #define HAVE_STRINGS_H 1
> | #define HAVE_INTTYPES_H 1
> | #define HAVE_STDINT_H 1
> | #define HAVE_UNISTD_H 1
> | #define HAVE_DLFCN_H 1
> | #define LINUX 1
> | /* end confdefs.h.  */
> | #include <pthread.h>
> | 
> | int
> | main ()
> | {
> | static pthread_t ac_aggr;
> | if (sizeof ac_aggr.p)
> | return 0;
> |   ;
> |   return 0;
> | }
> configure:19987: result: no
> configure:20224: result: libextractor: --with-extractor not specified
> configure:20241: checking extractor.h usability
> configure:20258: gcc -c -fno-strict-aliasing -Wall -g -O2  conftest.c >&5
> configure:20264: $? = 0
> configure:20278: result: yes
> configure:20282: checking extractor.h presence
> configure:20297: gcc -E  conftest.c
> configure:20303: $? = 0
> configure:20317: result: yes
> configure:20350: checking for extractor.h
> configure:20358: result: yes
> configure:20366: checking for EXTRACTOR_loadDefaultLibraries in -lextractor
> configure:20401: gcc -o conftest -fno-strict-aliasing -Wall -g -O2   conftest.c -lextractor   >&5
> /tmp/cc6cKWHw.o: In function `main':
> /«PKGBUILDDIR»/conftest.c:34: undefined reference to `EXTRACTOR_loadDefaultLibraries'
> collect2: error: ld returned 1 exit status

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/05/24/doodle_0.6.7-10_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.



Reply to: