-lboost_thread -lQtGui -L/usr/lib/qt4 -L/usr/X11R6/lib -lQtCore -lgthread-2.0 -lrt -lglib-2.0 -lpthread /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lboost_s-1_42ystem collect2: ld returned 1 exit status make: *** [bitcoin-qt] Error 1 emake failed * ERROR: net-p2p/bitcoin-qt-9999 failed (compile phase): * emake bitcoin failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 3065: Called die * The specific snippet of code: * emake "${OPTS[@]}" || die "emake bitcoin failed" ... -lboost_s-1_42ystem <- this looks all wrong Something must be wrong in ebuild file.
Could you please attach the full build.log? (and emerge --info as well, just to be thorough). The snippet you posted does not have the full command to 'ld', making it difficult to debug.
There's also a *minor* issue of this being a *live* ebuild from an overlay.
Created attachment 287467 [details] bziped /net-p2p/bitcoin-qt-9999 buildlog The file you are trying to attach is 2128 kilobytes (KB) in size. Attachments cannot be more than 1000 KB. ...
$ emerge --info Portage 2.1.10.15 (default/linux/x86/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.2-r0, 2.6.38-gentoo-r6 i686) ================================================================= System uname: Linux-2.6.38-gentoo-r6-i686-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.3 Timestamp of tree: Thu, 22 Sep 2011 23:45:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/ccache: 2.4-r9 dev-util/cmake: 2.8.4-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers) sys-libs/glibc: 2.12.2 Repositories: gentoo webapp-experimental perl-experimental astronomy bitcoin my_local_AMD_SDK_overlay ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" 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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.ing.umu.se/linux/gentoo/ http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ " LANG="et_EE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en" MAKEOPTS="-j2" 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="/var/lib/layman/webapps-experimental /var/lib/layman/perl-experimental /var/lib/layman/astronomy /var/lib/layman/bitcoin /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa apache berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gpm iconv ipv6 jpeg kde kipi lcms ldap libnotify mad matroska midi mng modules mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl phonon php plasma png policykit postgresql ppds pppd python qt3 qt3support qt4 readline sdl semantic-desktop session smp spell ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb v4l2 vorbis win32codecs x264 x86 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid 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 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="glibc" 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="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
and here is the ebuild file # Copyright 2010-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 DB_VER="4.8" # TODO: LANGS="de es fr it nl pt ru" inherit db-use eutils qt4-r2 git versionator DESCRIPTION="A P2P network based digital currency." HOMEPAGE="http://bitcoin.org/" EGIT_PROJECT='bitcoin-qt' EGIT_REPO_URI="git://github.com/laanwj/bitcoin-qt.git" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="$IUSE selinux ssl upnp" # TODO: IUSE=eligius DEPEND=" || ( dev-libs/boost:1.45 dev-libs/boost:1.44 dev-libs/boost:1.43 dev-libs/boost:1.42 dev-libs/boost:1.41 ) dev-libs/crypto++ dev-libs/openssl[-bindist] selinux? ( sys-libs/libselinux ) upnp? ( net-libs/miniupnpc ) sys-libs/db:$(db_ver_to_slot "${DB_VER}") x11-libs/qt-gui " RDEPEND="${DEPEND} " DEPEND="${DEPEND} >=app-shells/bash-4.1 " DOCS="COPYING doc/README" src_prepare() { cd src use eligius && epatch "${DISTDIR}/0.3.24-eligius_sendfee.patch" } src_compile() { local OPTS=() local myCXXFLAGS local myLDFLAGS myCXXFLAGS="$myCXXFLAGS -I$(db_includedir "${DB_VER}")" myLDFLAGS="$myLDFLAGS -ldb_cxx-${DB_VER}" local BOOST_PKG BOOST_VER BOOST_INC BOOST_PKG="$(best_version '<dev-libs/boost-1.46')" BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" BOOST_LIB="/usr/include/boost-${BOOST_VER}" myCXXFLAGS="$myCXXFLAGS -I${BOOST_LIB}" sed 's/\(boost_[a-z_]\+\)/\1'"-${BOOST_VER}"'/g' -i Makefile use ssl && myCXXFLAGS="$myCXXFLAGS -DUSE_SSL" if use upnp; then myCXXFLAGS="$myCXXFLAGS -DUSE_UPNP=1" myLDFLAGS="$myLDFLAGS -lminiupnpc" fi OPTS+=("CXX=g++ ${CXXFLAGS} ${myCXXFLAGS}") OPTS+=("SUBLIBS=${LDFLAGS} ${myLDFLAGS}") emake "${OPTS[@]}" || die "emake bitcoin failed"; } src_install() { qt4-r2_src_install dobin bitcoin-qt insinto /usr/share/pixmaps newins "share/pixmaps/bitcoin.ico" 'bitcoin-qt.ico' make_desktop_entry ${PN} "Bitcoin-Qt" "/usr/share/pixmaps/bitcoin-qt.ico" "Network;P2P" }
This ebuild is not on any official Gentoo overlay / Portage tree.