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

Bug#674359: libextractor-java: FTBFS: conftest.c:35: undefined reference to `EXTRACTOR_loadDefaultLibraries'

Source: libextractor-java
Version: 0.5.18-8
Severity: serious
Tags: wheezy sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20120524 qa-ftbfs
Justification: FTBFS on amd64


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

Relevant part:
> cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
> configure:7416: $? = 0
> configure:7429: result: no
> configure:7444: checking for gcc option to produce PIC
> configure:7654: result: -fPIC
> configure:7662: checking if gcc PIC flag -fPIC works
> configure:7680: gcc -c -g -O2  -fPIC -DPIC conftest.c >&5
> configure:7684: $? = 0
> configure:7697: result: yes
> configure:7725: checking if gcc static flag -static works
> configure:7753: result: yes
> configure:7763: checking if gcc supports -c -o file.o
> configure:7784: gcc -c -g -O2  -o out/conftest2.o conftest.c >&5
> configure:7788: $? = 0
> configure:7810: result: yes
> configure:7836: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
> configure:8791: result: yes
> configure:8812: checking whether -lc should be explicitly linked in
> configure:8817: gcc -c -g -O2  conftest.c >&5
> configure:8820: $? = 0
> configure:8835: gcc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep  -lc  \>/dev/null 2\>\&1
> configure:8838: $? = 0
> configure:8850: result: no
> configure:8858: checking dynamic linker characteristics
> configure:9434: result: GNU/Linux ld.so
> configure:9443: checking how to hardcode library paths into programs
> configure:9468: result: immediate
> configure:9482: checking whether stripping libraries is possible
> configure:9487: result: yes
> configure:10288: checking if libtool supports shared libraries
> configure:10290: result: yes
> configure:10293: checking whether to build shared libraries
> configure:10314: result: yes
> configure:10317: checking whether to build static libraries
> configure:10321: result: no
> configure:10413: creating libtool
> configure:11001: checking for ld used by g++
> configure:11068: result: /usr/bin/ld -m elf_x86_64
> configure:11077: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld
> configure:11092: result: yes
> configure:11143: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
> configure:12077: result: yes
> configure:12095: g++ -c -g -O2  conftest.cpp >&5
> configure:12098: $? = 0
> configure:12217: checking for g++ option to produce PIC
> configure:12491: result: -fPIC
> configure:12499: checking if g++ PIC flag -fPIC works
> configure:12517: g++ -c -g -O2  -fPIC -DPIC conftest.cpp >&5
> configure:12521: $? = 0
> configure:12534: result: yes
> configure:12562: checking if g++ static flag -static works
> configure:12590: result: yes
> configure:12600: checking if g++ supports -c -o file.o
> configure:12621: g++ -c -g -O2  -o out/conftest2.o conftest.cpp >&5
> configure:12625: $? = 0
> configure:12647: result: yes
> configure:12673: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
> configure:12701: result: yes
> configure:12768: checking dynamic linker characteristics
> configure:13344: result: GNU/Linux ld.so
> configure:13353: checking how to hardcode library paths into programs
> configure:13378: result: immediate
> configure:19510: checking for a BSD-compatible install
> configure:19566: result: /usr/bin/install -c
> configure:19577: checking whether ln -s works
> configure:19581: result: yes
> configure:19588: checking whether make sets $(MAKE)
> configure:19609: result: yes
> configure:19704: checking whether gcc accepts -no-cpp-precomp
> configure:19718: result: no
> configure:19724: checking for ANSI C header files
> configure:19888: result: yes
> configure:19900: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld
> configure:19913: result: yes
> configure:19923: checking for libextractor
> configure:20361: result: --with-extractor not specified
> configure:20378: checking extractor.h usability
> configure:20395: gcc -c -fno-strict-aliasing -g -O2  conftest.c >&5
> configure:20401: $? = 0
> configure:20415: result: yes
> configure:20419: checking extractor.h presence
> configure:20434: gcc -E  conftest.c
> configure:20440: $? = 0
> configure:20454: result: yes
> configure:20487: checking for extractor.h
> configure:20495: result: yes
> configure:20503: checking for EXTRACTOR_loadDefaultLibraries in -lextractor
> configure:20538: gcc -o conftest -fno-strict-aliasing -g -O2   conftest.c -lextractor   >&5
> /tmp/ccnhO3jk.o: In function `main':
> /«PKGBUILDDIR»/conftest.c:35: undefined reference to `EXTRACTOR_loadDefaultLibraries'
> collect2: error: ld returned 1 exit status

The full build log is available from:

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: