Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269749 - net-p2p/hrktorrent-0.3.4 fails to build because of boost
Summary: net-p2p/hrktorrent-0.3.4 fails to build because of boost
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-13 20:27 UTC by Myckel Habets
Modified: 2009-05-15 08:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Myckel Habets 2009-05-13 20:27:15 UTC
net-p2p/hrktorrent-0.3.4 went stable on x86 last week, but building fails.

Reproducible: Always

Steps to Reproduce:
1. emerge net-p2p/hrktorrent-0.3.4
2. wait for build to fail
Actual Results:  
cat /var/tmp/portage/net-p2p/hrktorrent-0.3.4/temp/build.log
>>> Unpacking source...
>>> Unpacking hrktorrent-0.3.4.tar.bz2 to /var/tmp/portage/net-p2p/hrktorrent-0.3.4/work
>>> Source unpacked in /var/tmp/portage/net-p2p/hrktorrent-0.3.4/work
>>> Compiling source in /var/tmp/portage/net-p2p/hrktorrent-0.3.4/work/hrktorrent-0.3.4 ...
make -j3 
[CXX] main.cpp
[CXX] core.cpp
[CXX] settings.cpp
distcc[15766] ERROR: nonblocking connect to xxx.xxx.xxx.xxx:3632 failed: Connection refused
distcc[15766] Warning: failed to distribute core.cpp to xxx.xxx.xxx.xxx running locally instead
[CXX] utils.cpp
[CXX] ipfilter.cpp
[LD] hrktorrent
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libtorrent.so: undefined reference to `boost::mutex::~mutex()'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libtorrent.so: undefined reference to `boost::mutex::do_unlock(boost::mutex::cv_state&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libtorrent.so: undefined reference to `boost::recursive_mutex::do_lock(boost::recursive_mutex::cv_state&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libtorrent.so: undefined reference to `boost::detail::condition_impl::notify_all()'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libtorrent.so: undefined reference to `boost::thread::thread(boost::function0<void, std::allocator<boost::function_base> > const&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libtorrent.so: undefined reference to `boost::detail::condition_impl::~condition_impl()'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libtorrent.so: undefined reference to `boost::detail::condition_impl::do_timed_wait(boost::xtime const&, pthread_mutex_t*)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libtorrent.so: undefined reference to `boost::detail::condition_impl::notify_one()'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libtorrent.so: undefined reference to `boost::recursive_mutex::do_lock()'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libtorrent.so: undefined reference to `boost::recursive_mutex::do_unlock(boost::recursive_mutex::cv_state&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libtorrent.so: undefined reference to `boost::mutex::do_unlock()'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libtorrent.so: undefined reference to `boost::mutex::do_lock()'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libtorrent.so: undefined reference to `boost::detail::condition_impl::condition_impl()'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libtorrent.so: undefined reference to `boost::recursive_mutex::recursive_mutex()'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libtorrent.so: undefined reference to `boost::filesystem::detail::status_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libtorrent.so: undefined reference to `boost::detail::condition_impl::do_wait(pthread_mutex_t*)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libtorrent.so: undefined reference to `boost::mutex::do_lock(boost::mutex::cv_state&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libtorrent.so: undefined reference to `boost::thread::sleep(boost::xtime const&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libtorrent.so: undefined reference to `boost::recursive_mutex::~recursive_mutex()'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libtorrent.so: undefined reference to `boost::recursive_mutex::do_unlock()'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libtorrent.so: undefined reference to `boost::mutex::mutex()'
collect2: ld gaf exit-status 1 terug
distcc[15849] ERROR: compile (null) on localhost failed
make: *** [hrktorrent] Error 1
 * 
 * ERROR: net-p2p/hrktorrent-0.3.4 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line  745:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed."
 *  The die message:
 *   emake failed.
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-p2p/hrktorrent-0.3.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-p2p/hrktorrent-0.3.4/temp/environment'.
 * 


Expected Results:  
htktorrent-0.3.4 installed without any errors

emerge --info
Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r5-i686-VIA_Nehemiah-with-glibc2.0
Timestamp of tree: Wed, 13 May 2009 04:15:01 +0000
distcc 3.0 i686-pc-linux-gnu [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -msse -mmmx -mfpmath=sse -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -msse -mmmx -mfpmath=sse -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks fixpackages nostrip parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/gentoo/"
LANG="nl_NL.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="nl"
MAKEOPTS="-j3"
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.europe.gentoo.org/gentoo-portage"
USE="7zip X acl acpi alsa avahi bash-completion berkdb bzip2 cairo caps cli cracklib crypt cups dbus dirac dri dvd encode exif fam ffmpeg firefox fontconfig foomaticdb gdbm gmp gnutls gpm gtk hal iconv imap ipv6 isdnlog jpeg libnotify libsamplerate libv4l2 lm_sensors logrotate mdnsresponder-compat midi mmx mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp optimisememory pam pcre pdf perl pic png pppd python readline reflection ruby sdl session smime sndfile sockets spell spl sqlite sse ssl startup-notification svg sysfs tcpd threads tiff tordns truetype unichrome unicode upnp v4l2 vorbis webdav-serf x86 xcomposite xml xorg xpm xprint xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl" USERLAND="GNU" VIDEO_CARDS="via vga vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-05-13 20:33:45 UTC
Boost version is.. ?
Comment 2 Sebastian Luther (few) 2009-05-13 20:34:18 UTC
bug 269517?
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2009-05-13 20:36:31 UTC
what is the output of:
echo /var/db/pkg/dev-libs/boost*
Comment 4 Myckel Habets 2009-05-14 03:56:40 UTC
echo /var/db/pkg/dev-libs/boost*
/var/db/pkg/dev-libs/boost-1.35.0-r2

This is the latest stable version in portage.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2009-05-14 04:31:12 UTC
(In reply to comment #4)
> echo /var/db/pkg/dev-libs/boost*
> /var/db/pkg/dev-libs/boost-1.35.0-r2
> 
> This is the latest stable version in portage.
> 

Try if upgrading to =asio-1.1.0 helps, please.
Comment 6 Myckel Habets 2009-05-14 18:07:31 UTC
Updated =asio-1.1.0
Retried building hrktorrent, still failed to build.
Rebuild boost against the new asio
Retried building hrktorrent, failed to build again.

This didn't seem to solve the problem.
Comment 7 Sebastian Luther (few) 2009-05-14 20:23:03 UTC
Please try emerge -1 net-libs/rb_libtorrent.
Comment 8 Myckel Habets 2009-05-14 22:38:42 UTC
That did the trick. Now it compiled fine. Thank you.