rtorrent 0.8.9 fails to build with xmlrpc USE-flag enabled on uclibc based system if dev-libs/xmlrpc is not compiled with static-libs USE-flag. Reproducible: Always Steps to Reproduce: 1. build xmlrpc-c without 'static-libs' USE-flag 2. try to build rtorrent 0.9.0 with 'xmlrpc' USE-flag Actual Results: configure stage failed with 'could not compile xmlrpc-c test' Expected Results: successfully compiled rtorrent with xmlrpc support I do not know which information must be additionally provided. Here is my emerge --info(do not look on system uname - i have build x86 uclibc stage for router on x86_64 machine): Portage 2.1.10.44 (uclibc/x86, gcc-4.5.3, uclibc-0.9.31-r9999, 3.1.6-gentoo-BADO x86_64) ================================================================= System uname: Linux-3.1.6-gentoo-BADO-x86_64-Intel-R-_Core-TM-_i7_CPU_950_@_3.07GHz-with-gentoo-2.0.3 Timestamp of tree: Tue, 06 Mar 2012 22:15:01 +0000 app-shells/bash: 4.1_p9 dev-lang/python: 2.7.2-r3 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.25-r2 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.81-r2 sys-kernel/linux-headers: 2.6.39 (virtual/os-headers) sys-libs/uclibc: 0.9.31-r9999::router_repo Repositories: gentoo router_repo ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i386-gentoo-linux-uclibc" CFLAGS="-Os -mtune=i686 -pipe -fomit-frame-pointer" CHOST="i386-gentoo-linux-uclibc" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-Os -mtune=i686 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news nodoc noinfo noman parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" LANG="ru_RU.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="ru" MAKEOPTS="-j10" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="cli cxx dri ipv6 minimal modules mudflap openmp pcre session threads uclibc unicode x86 xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="uclibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
damn, i made some mistakes. I have tried to build exactly 0.8.9 version, NOT 0.9.0. Sorry for that mistakes...
Please attach the entire build log to this bug report.
Ok, what i have: phantom / # emerge -1 xmlrpc-c -Opv These are the packages that would be merged, in order: [ebuild R ] dev-libs/xmlrpc-c-1.28.03 USE="cgi curl cxx libxml2 threads -abyss -libwww -static-libs -tools" 0 kB and not i try to compile rtorrent phantom / # emerge -1 rtorrent -pv These are the packages that would be merged, in order: [ebuild R ] net-p2p/rtorrent-0.8.9 USE="daemon ipv6 xmlrpc -color -debug -test" 0 kB [1] phantom / # emerge -1 rtorrent >>> Verifying ebuild manifests >>> Emerging (1 of 1) net-p2p/rtorrent-0.8.9 openpty failed: 'out of pty devices' * rtorrent-0.8.9.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking rtorrent-0.8.9.tar.gz to /var/tmp/portage/net-p2p/rtorrent-0.8.9/work >>> Source unpacked in /var/tmp/portage/net-p2p/rtorrent-0.8.9/work >>> Preparing source in /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9 ... * Applying rtorrent-0.8.9-ncurses.patch ... [ ok ] * Running elibtoolize in: rtorrent-0.8.9/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.2.6 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9 ... >>> Working in BUILD_DIR: "/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9_build" * econf: updating rtorrent-0.8.9/config.sub with /usr/share/gnuconfig/config.sub * econf: updating rtorrent-0.8.9/config.guess with /usr/share/gnuconfig/config.guess /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9/configure --prefix=/usr --build=i386-gentoo-linux-uclibc --host=i386-gentoo-linux-uclibc --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --docdir=/usr/share/doc/rtorrent-0.8.9 --disable-dependency-tracking --disable-debug --enable-ipv6 --with-xmlrpc-c checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for cppunit-config... no checking for Cppunit - version >= 1.9.6... no checking for i386-gentoo-linux-uclibc-g++... i386-gentoo-linux-uclibc-g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether i386-gentoo-linux-uclibc-g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of i386-gentoo-linux-uclibc-g++... none checking build system type... i386-gentoo-linux-uclibc checking host system type... i386-gentoo-linux-uclibc checking how to print strings... printf checking for i386-gentoo-linux-uclibc-gcc... i386-gentoo-linux-uclibc-gcc checking whether we are using the GNU C compiler... yes checking whether i386-gentoo-linux-uclibc-gcc accepts -g... yes checking for i386-gentoo-linux-uclibc-gcc option to accept ISO C89... none needed checking dependency style of i386-gentoo-linux-uclibc-gcc... none checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by i386-gentoo-linux-uclibc-gcc... /usr/i386-gentoo-linux-uclibc/bin/ld checking if the linker (/usr/i386-gentoo-linux-uclibc/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 512 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i386-gentoo-linux-uclibc file names to i386-gentoo-linux-uclibc format... func_convert_file_noop checking how to convert i386-gentoo-linux-uclibc file names to toolchain format... func_convert_file_noop checking for /usr/i386-gentoo-linux-uclibc/bin/ld option to reload object files... -r checking for i386-gentoo-linux-uclibc-objdump... i386-gentoo-linux-uclibc-objdump checking how to recognize dependent libraries... pass_all checking for i386-gentoo-linux-uclibc-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i386-gentoo-linux-uclibc-ar... i386-gentoo-linux-uclibc-ar checking for archiver @FILE support... @ checking for i386-gentoo-linux-uclibc-strip... i386-gentoo-linux-uclibc-strip checking for i386-gentoo-linux-uclibc-ranlib... i386-gentoo-linux-uclibc-ranlib checking command to parse /usr/bin/nm -B output from i386-gentoo-linux-uclibc-gcc object... ok checking for sysroot... no checking for i386-gentoo-linux-uclibc-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... i386-gentoo-linux-uclibc-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if i386-gentoo-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no checking for i386-gentoo-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC checking if i386-gentoo-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes checking if i386-gentoo-linux-uclibc-gcc static flag -static works... yes checking if i386-gentoo-linux-uclibc-gcc supports -c -o file.o... yes checking if i386-gentoo-linux-uclibc-gcc supports -c -o file.o... (cached) yes checking whether the i386-gentoo-linux-uclibc-gcc linker (/usr/i386-gentoo-linux-uclibc/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... i386-gentoo-linux-uclibc-g++ -E checking for ld used by i386-gentoo-linux-uclibc-g++... /usr/i386-gentoo-linux-uclibc/bin/ld checking if the linker (/usr/i386-gentoo-linux-uclibc/bin/ld) is GNU ld... yes checking whether the i386-gentoo-linux-uclibc-g++ linker (/usr/i386-gentoo-linux-uclibc/bin/ld) supports shared libraries... yes checking for i386-gentoo-linux-uclibc-g++ option to produce PIC... -fPIC -DPIC checking if i386-gentoo-linux-uclibc-g++ PIC flag -fPIC -DPIC works... yes checking if i386-gentoo-linux-uclibc-g++ static flag -static works... yes checking if i386-gentoo-linux-uclibc-g++ supports -c -o file.o... yes checking if i386-gentoo-linux-uclibc-g++ supports -c -o file.o... (cached) yes checking whether the i386-gentoo-linux-uclibc-g++ linker (/usr/i386-gentoo-linux-uclibc/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for user-defined CXXFLAGS... user-defined "-Os -mtune=i686 -pipe -fomit-frame-pointer" checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for execinfo.h... no checking for proper overloaded template function disambiguation... yes checking for sysroot... no checking for library containing add_wch... -lncursesw checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking for statvfs... ok checking for i386-gentoo-linux-uclibc-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for sigc... yes checking for libcurl... yes checking for libtorrent... yes checking for XMLRPC-C... failed configure: error: Could not compile XMLRPC-C test. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9_build/config.log * ERROR: net-p2p/rtorrent-0.8.9 failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 85: Called src_configure * environment, line 2689: Called autotools-utils_src_configure * environment, line 436: Called econf '--docdir=/usr/share/doc/rtorrent-0.8.9' '--disable-dependency-tracking' '--disable-debug' '--enable-ipv6' '--with-xmlrpc-c' * phase-helpers.sh, line 467: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =net-p2p/rtorrent-0.8.9', * the complete build log and the output of 'emerge -pqv =net-p2p/rtorrent-0.8.9'. * The complete build log is located at '/var/tmp/portage/net-p2p/rtorrent-0.8.9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-p2p/rtorrent-0.8.9/temp/environment'. * S: '/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9' >>> Failed to emerge net-p2p/rtorrent-0.8.9, Log file: >>> '/var/tmp/portage/net-p2p/rtorrent-0.8.9/temp/build.log' * Messages for package net-p2p/rtorrent-0.8.9: * ERROR: net-p2p/rtorrent-0.8.9 failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 85: Called src_configure * environment, line 2689: Called autotools-utils_src_configure * environment, line 436: Called econf '--docdir=/usr/share/doc/rtorrent-0.8.9' '--disable-dependency-tracking' '--disable-debug' '--enable-ipv6' '--with-xmlrpc-c' * phase-helpers.sh, line 467: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =net-p2p/rtorrent-0.8.9', * the complete build log and the output of 'emerge -pqv =net-p2p/rtorrent-0.8.9'. * The complete build log is located at '/var/tmp/portage/net-p2p/rtorrent-0.8.9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-p2p/rtorrent-0.8.9/temp/environment'. * S: '/var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9' * * The following package has failed to build or install: * * (net-p2p/rtorrent-0.8.9::gentoo, ebuild scheduled for merge), Log file: * '/var/tmp/portage/net-p2p/rtorrent-0.8.9/temp/build.log'
checking for XMLRPC-C... failed configure: error: Could not compile XMLRPC-C test. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/net-p2p/rtorrent-0.8.9/work/rtorrent-0.8.9_build/config.log Please do.
Created attachment 305323 [details] config.log from rtorrent 0.8.9 build Here is config.log
fixed when using uclibc 0.9.33.2