Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437926 - dev-libs/crypto++-5.6.1-r3 fails to build (tries to use nonexistant gcc version)
Summary: dev-libs/crypto++-5.6.1-r3 fails to build (tries to use nonexistant gcc version)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-11 02:45 UTC by Patrick Lauer
Modified: 2013-08-15 15:18 UTC (History)
0 users

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 Patrick Lauer gentoo-dev 2012-10-11 02:45:43 UTC
libtool: compile:  x86_64-pc-linux-gnu-g++ -O1 -pipe -c osrng.cpp -o osrng.o >/dev/null 2>&1
libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -pthread -rpath /usr/lib64 -o libcrypto++.la hex.lo dh.lo esign.lo randpool.lo base32.lo files.lo dessp.lo gzip.lo fips140.lo dsa.lo tiger.lo sharkbox.lo winpipes.lo eprecomp.lo vmac.lo queue.lo fipstest.lo rc5.lo mars.lo simple.lo xtrcrypt.lo gf256.lo hmac.lo pkcspad.lo authenc.lo des.lo idea.lo squaretb.lo xtr.lo emsa2.lo sha.lo network.lo eax.lo rijndael.lo algparam.lo crc.lo elgamal.lo zlib.lo ida.lo dh2.lo strciphr.lo ecp.lo blowfish.lo marss.lo cryptlib.lo adler32.lo wait.lo iterhash.lo safer.lo default.lo rc2.lo cryptlib_bds.lo oaep.lo square.lo md4.lo gf2n.lo shark.lo md5.lo shacal2.lo cmac.lo tea.lo serpent.lo eccrypto.lo arc4.lo ripemd.lo camellia.lo pubkey.lo trdlocal.lo salsa.lo seal.lo luc.lo hrtimer.lo ttmac.lo mqv.lo md2.lo ccm.lo pch.lo bfinit.lo whrlpool.lo rw.lo cast.lo asn.lo rng.lo zinflate.lo pssr.lo misc.lo mqueue.lo rc6.lo base64.lo zdeflate.lo channels.lo basecode.lo gcm.lo blumshub.lo polynomi.lo ec2n.lo dll.lo gfpcrypt.lo gost.lo algebra.lo casts.lo modes.lo panama.lo nbtheory.lo socketft.lo twofish.lo rdtables.lo tigertab.lo cbcmac.lo rsa.lo tftables.lo sosemanuk.lo 3way.lo gf2_32.lo rabin.lo filters.lo cpu.lo integer.lo seed.lo wake.lo skipjack.lo osrng.lo  -lpthread
libtool: link: x86_64-pc-linux-gnu-g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtbeginS.o  .libs/hex.o .libs/dh.o .libs/esign.o .libs/randpool.o .libs/base32.o .libs/files.o .libs/dessp.o .libs/gzip.o .libs/fips140.o .libs/dsa.o .libs/tiger.o .libs/sharkbox.o .libs/winpipes.o .libs/eprecomp.o .libs/vmac.o .libs/queue.o .libs/fipstest.o .libs/rc5.o .libs/mars.o .libs/simple.o .libs/xtrcrypt.o .libs/gf256.o .libs/hmac.o .libs/pkcspad.o .libs/authenc.o .libs/des.o .libs/idea.o .libs/squaretb.o .libs/xtr.o .libs/emsa2.o .libs/sha.o .libs/network.o .libs/eax.o .libs/rijndael.o .libs/algparam.o .libs/crc.o .libs/elgamal.o .libs/zlib.o .libs/ida.o .libs/dh2.o .libs/strciphr.o .libs/ecp.o .libs/blowfish.o .libs/marss.o .libs/cryptlib.o .libs/adler32.o .libs/wait.o .libs/iterhash.o .libs/safer.o .libs/default.o .libs/rc2.o .libs/cryptlib_bds.o .libs/oaep.o .libs/square.o .libs/md4.o .libs/gf2n.o .libs/shark.o .libs/md5.o .libs/shacal2.o .libs/cmac.o .libs/tea.o .libs/serpent.o .libs/eccrypto.o .libs/arc4.o .libs/ripemd.o .libs/camellia.o .libs/pubkey.o .libs/trdlocal.o .libs/salsa.o .libs/seal.o .libs/luc.o .libs/hrtimer.o .libs/ttmac.o .libs/mqv.o .libs/md2.o .libs/ccm.o .libs/pch.o .libs/bfinit.o .libs/whrlpool.o .libs/rw.o .libs/cast.o .libs/asn.o .libs/rng.o .libs/zinflate.o .libs/pssr.o .libs/misc.o .libs/mqueue.o .libs/rc6.o .libs/base64.o .libs/zdeflate.o .libs/channels.o .libs/basecode.o .libs/gcm.o .libs/blumshub.o .libs/polynomi.o .libs/ec2n.o .libs/dll.o .libs/gfpcrypt.o .libs/gost.o .libs/algebra.o .libs/casts.o .libs/modes.o .libs/panama.o .libs/nbtheory.o .libs/socketft.o .libs/twofish.o .libs/rdtables.o .libs/tigertab.o .libs/cbcmac.o .libs/rsa.o .libs/tftables.o .libs/sosemanuk.o .libs/3way.o .libs/gf2_32.o .libs/rabin.o .libs/filters.o .libs/cpu.o .libs/integer.o .libs/seed.o .libs/wake.o .libs/skipjack.o .libs/osrng.o   -lpthread -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crtn.o  -Wl,-O1 -Wl,--as-needed -pthread   -pthread -Wl,-soname -Wl,libcrypto++.so.0 -o .libs/libcrypto++.so.0.0.0
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crti.o: No such file or directory
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtbeginS.o: No such file or directory
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtendS.o: No such file or directory
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crtn.o: No such file or directory
make: *** [libcrypto++.la] Error 1
emake failed
 * ERROR: dev-libs/crypto++-5.6.1-r3 failed (compile phase):
 *   emake failed

#  gcc-config -l
 [1] x86_64-pc-linux-gnu-4.6.3 *

Portage 2.2.0_alpha136 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.15-r3, 3.5.4-vs2.3.4.3 x86_64)
=================================================================
System uname: Linux-3.5.4-vs2.3.4.3-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.2
Timestamp of tree: Unknown
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.5.4-r4, 2.6.8, 2.7.3-r2, 3.2.3-r1, 3.3.0
dev-util/cmake:           2.8.9-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.12.4
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="POSIX"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl amd64 berkdb bzip2 cairo cli compat cracklib crypt cups cxx dbus dri fontconfig fortran gdbm gpm gudev iconv ipv6 jpeg minizip mmx modules mssql mudflap multilib ncurses nls nptl odbc opengl openmp pam pcre png pppd python qt3support readline script session sqlite sse sse2 ssl tcpd threads tiff tk truetype unicode webkit xml zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 sheets 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" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Dane Smith (RETIRED) gentoo-dev 2012-10-18 00:53:50 UTC
I did a quick test and ran into the same problem.

Try this for me please:
emerge libtool

I'm guessing you did a gcc upgrade and forgot to re-emerge libtool (just like I did).

If that fixes it, mark it closed please. If it doesn't, ack back and give me a build.log.

Thanks!
Comment 2 Dane Smith (RETIRED) gentoo-dev 2012-10-19 15:40:09 UTC
Closing this. If you do indeed run into it again, please re-open. Thanks!
Comment 3 Maksym 2013-07-12 08:54:59 UTC
I stumbled across the same problem. And i perform the same workaround(emerge -1 libtool) and it works for me too. But i think this bug need to be assigned to gcc team and reopened.