Bug#713221: pyxpcom: FTBFS: configure: error: Could not find build shared libraries for Python at /usr. This is required for PyXPCOM.

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Jun 22 12:13:30 UTC 2013


Source: pyxpcom
Version: 1:9.0~hg20111212-2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130620 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> make[1]: Entering directory `/«PKGBUILDDIR»'
> autoconf
> dh_auto_configure -- --with-libxul-sdk=/usr/lib/xulrunner-devel-17.0 --with-system-nspr
> creating cache ./config.cache
> checking host system type... x86_64-unknown-linux-gnu
> checking target system type... x86_64-unknown-linux-gnu
> checking build system type... x86_64-pc-linux-gnu
> checking for mawk... mawk
> ../configure: 774: test: /«PKGBUILDDIR»: unexpected operator
> checking for perl5... no
> checking for perl... /usr/bin/perl
> checking for gcc... gcc
> checking whether the C compiler (gcc   -Wl,--as-needed) works... yes
> checking whether the C compiler (gcc   -Wl,--as-needed) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking for c++... c++
> checking whether the C++ compiler (c++  -DXULRUNNER_17_0 -std=gnu++0x  -Wl,--as-needed) works... yes
> checking whether the C++ compiler (c++  -DXULRUNNER_17_0 -std=gnu++0x  -Wl,--as-needed) is a cross-compiler... no
> checking whether we are using GNU C++... yes
> checking whether c++ accepts -g... yes
> checking for ranlib... ranlib
> checking for as... /usr/bin/as
> checking for ar... ar
> checking for ld... ld
> checking for strip... strip
> checking for windres... no
> checking whether gcc and cc understand -c and -o together... yes
> checking how to run the C preprocessor... gcc -E
> checking how to run the C++ preprocessor... c++ -E
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> checking for minimum required perl version >= 5.006... 5.014002
> checking for full perl installation... yes
> checking for python2.5... no
> checking for python2.4... no
> checking for python... /usr/bin/python
> checking for doxygen... :
> checking for whoami... /usr/bin/whoami
> checking for autoconf... /usr/bin/autoconf
> checking for unzip... :
> checking for zip... /usr/bin/zip
> checking for makedepend... no
> checking for xargs... /usr/bin/xargs
> checking for gmake... no
> checking for make... /usr/bin/make
> checking for X... no
> checking whether the compiler supports -Wno-invalid-offsetof... yes
> checking whether ld has archive extraction flags... yes
> checking that static assertion macros used in autoconf tests work... yes
> checking for 64-bit OS... yes
> checking for minimum required Python version >= 2.4... yes
> checking for ANSI C header files... yes
> checking for working const... yes
> checking for mode_t... yes
> checking for off_t... yes
> checking for pid_t... yes
> checking for size_t... yes
> checking for st_blksize in struct stat... yes
> checking for siginfo_t... yes
> checking for int16_t... yes
> checking for int32_t... yes
> checking for int64_t... yes
> checking for int64... no
> checking for uint... yes
> checking for uint_t... no
> checking for uint16_t... no
> checking for uname.domainname... yes
> checking for uname.__domainname... no
> checking for visibility(hidden) attribute... yes
> checking for visibility(default) attribute... yes
> checking for visibility pragma support... yes
> checking For gcc visibility bug with class-level attributes (GCC bug 26905)... no
> checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)... no
> checking for dirent.h that defines DIR... yes
> checking for opendir in -ldir... no
> checking for sys/byteorder.h... no
> checking for compat.h... no
> checking for getopt.h... yes
> checking for sys/bitypes.h... yes
> checking for memory.h... yes
> checking for unistd.h... yes
> checking for gnu/libc-version.h... yes
> checking for nl_types.h... yes
> checking for malloc.h... yes
> checking for X11/XKBlib.h... no
> checking for io.h... no
> checking for sys/statvfs.h... yes
> checking for sys/statfs.h... yes
> checking for sys/vfs.h... yes
> checking for sys/mount.h... yes
> checking for sys/quota.h... yes
> checking for mmintrin.h... yes
> checking for new... yes
> checking for sys/cdefs.h... yes
> checking for gethostbyname_r in -lc_r... no
> checking for atan in -lm... yes
> checking for dlopen in -ldl... yes
> checking for dlfcn.h... yes
> checking for dladdr... yes
> checking for socket in -lsocket... no
> checking whether mmap() sees write()s... yes
> checking whether gcc needs -traditional... no
> checking for 8-bit clean memcmp... yes
> checking for random... yes
> checking for strerror... yes
> checking for lchown... yes
> checking for fchmod... yes
> checking for snprintf... yes
> checking for statvfs... yes
> checking for memmove... yes
> checking for rint... yes
> checking for stat64... yes
> checking for lstat64... yes
> checking for truncate64... yes
> checking for statvfs64... yes
> checking for setbuf... yes
> checking for isatty... yes
> checking for flockfile... yes
> checking for getpagesize... yes
> checking for localtime_r... yes
> checking for strtok_r... yes
> checking for wcrtomb... yes
> checking for mbrtowc... yes
> checking for res_ninit()... yes
> checking for gnu_get_libc_version()... yes
> checking for iconv in -lc... yes
> checking for iconv()... yes
> ../configure: 9751: ../configure: AM_LANGINFO_CODESET: not found
> checking for iconv() with const input... no
> checking for an implementation of va_copy()... yes
> checking for an implementation of __va_copy()... yes
> checking whether va_lists can be copied by value... no
> checking for C++ exceptions flag... -fno-exceptions
> checking for gcc 3.0 ABI... yes
> checking for C++ "explicit" keyword... yes
> checking for C++ "typename" keyword... yes
> checking for modern C++ template specialization syntax support... yes
> checking whether partial template specialization works... yes
> checking whether operators must be re-defined for templates derived from templates... no
> checking whether we need to cast a derived template to pass as its base class... no
> checking whether the compiler can resolve const ambiguities for templates... yes
> checking whether the C++ "using" keyword can change access... yes
> checking whether the C++ "using" keyword resolves ambiguity... yes
> checking for "std::" namespace... yes
> checking whether standard template operator!=() is ambiguous... unambiguous
> checking for C++ reinterpret_cast... yes
> checking for C++ dynamic_cast to void*... yes
> checking whether C++ requires implementation of unused virtual methods... yes
> checking for trouble comparing to zero near std::operator!=()... no
> checking for LC_MESSAGES... yes
> ../configure: 10720: test: /usr/lib/xulrunner-devel-17.0: unexpected operator
> checking for nspr-config... /usr/bin/nspr-config
> checking for NSPR - version >= 4.8.0... yes
> checking for tar archiver... checking for gnutar... no
> checking for gtar... no
> checking for tar... tar
> tar
> checking for wget... checking for wget... no
> 
> checking for valid optimization flags... yes
> checking for gcc -pipe support... yes
> checking whether compiler supports -Wno-long-long... yes
> checking whether C compiler supports -fprofile-generate... yes
> checking whether C++ compiler has -pedantic long long bug... no
> checking for correct temporary object destruction order... yes
> checking for correct overload resolution with const and templates... no
> checking for gcc c++0x headers bug without rtti... no
> checking for usable char16_t (2 bytes, unsigned)... yes
> checking for usable wchar_t (2 bytes, unsigned)... no
> configure: error: Could not find build shared libraries for Python at /usr.  This is required for PyXPCOM.
> dh_auto_configure: ../configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/pyxpcom --disable-maintainer-mode --disable-dependency-tracking --with-libxul-sdk=/usr/lib/xulrunner-devel-17.0 --with-system-nspr returned exit code 1
> make[1]: *** [override_dh_auto_configure] Error 2

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/06/20/pyxpcom_9.0~hg20111212-2_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 EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-mozilla-maintainers mailing list