Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 115125

Summary: emerge sci-misc/boinc-5.2.14 failed. Undefined reference to many things.
Product: Gentoo Linux Reporter: Steven Altermatt <saltermatt>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Steven Altermatt 2005-12-10 12:42:34 UTC
emerge -uDav world wants to update boinc, always fails with many lines of
undefined reference to 'xxxxxxx', x is vaarious things, the last
was`RSAPublicDecrypt'. Then:
make[2]: *** [boinc_client] Error 1
make[2]: Leaving directory `/var/tmp/portage/boinc-5.2.14/work/boinc-5.2.14/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/boinc-5.2.14/work/boinc-5.2.14'
make: *** [all] Error 2

Reproducible: Always
Steps to Reproduce:
1.emerge sync
2.emerge -uDav world
3.when it emerges boinc-5.2.14 it fails.

Actual Results:  
emerge fails and stops and then continues on with remaining emerges, if any.

Expected Results:  
Finished compiling and innstalling.

Gentoo Base System version 1.6.13
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mtune=pentium4 -pipe -O3 -fweb -frename-registers
-fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mtune=pentium4 -pipe -O3 -fweb -frename-registers
-fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo ftp://gentoo.ccccom.com
http://gentoo.seren.com/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit X aac acpi activefilter alsa apm arts audiofile avi berkdb
bitmap-fonts browserplugin bzip2 cdb cdda cddb cdparanoia cdr crypt cups curl
dbus dga directfb divx4linux doc eds emboss encode escreen esd exif expat fam
fbdev ffmpeg fftw flac foomaticdb fortran gd gdbm gif giff gimp gimp-print
gimpprint glut glx gnome gpm gstream gstreamer gtk gtk2 imagemagick imlib ipv6
jack java jpeg ladcca lcms lesstif libao libedit libg++ libwww live lm_sensors
mad mikmod miknod mime mmx mmxext mng motif mozilla mp3 mpeg mpeg2 mpeg4 mplayer
multiprocess nas ncurses network nls nptl nsplugin nvidia ogg oggvorbis openal
opengl oss pam pdflib perl pic png ppds python qt quicktime readline real recode
reiserfs rtc scanner sdl seti sftp smp sndfile sockets sox spell sse sse-filters
sse2 ssl svga sysfs tcltk tcpd tetex tga threads tiff truetype truetype-fonts
type1-fonts udev unicode usb userlocales vidix vorbis win32codecs wmf wxwindows
x86 xml xml2 xmms xpm xrandr xscreensaver xv xvid xvmc zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS

---------------------------------------------------------------------
from log:
boinc_client-client_state.o to 319 in /usr/lib/libboinc.a(util.o)
boinc_client-acct_setup.o(.text+0x285): In function
`GET_PROJECT_CONFIG_OP::handle_reply(int)':
: undefined reference to `file_to_str(_IO_FILE*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
boinc_client-acct_setup.o(.text+0x317): In function
`LOOKUP_ACCOUNT_OP::handle_reply(int)':
: undefined reference to `file_to_str(_IO_FILE*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
boinc_client-acct_setup.o(.text+0x3a9): In function
`CREATE_ACCOUNT_OP::handle_reply(int)':
: undefined reference to `file_to_str(_IO_FILE*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
boinc_client-acct_setup.o(.text+0x711): In function `ACCOUNT_IN::parse(char*)':
: undefined reference to `canonicalize_master_url(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
boinc_client-client_state.o(.text+0x2081): In function
`CLIENT_STATE::CLIENT_STATE()':
: undefined reference to `HOST_INFO::HOST_INFO()'
boinc_client-client_state.o(.text+0x291f): In function
`CLIENT_STATE::CLIENT_STATE()':
: undefined reference to `HOST_INFO::HOST_INFO()'
boinc_client-cs_benchmark.o(.text+0xb1): In function
`cpu_benchmarks(BENCHMARK_DESC*)':
: undefined reference to `HOST_INFO::HOST_INFO()'
boinc_client-gui_rpc_server.o(.text+0xff): In function
`GUI_RPC_CONN_SET::get_password()':
: undefined reference to `make_random_string(char*)'
boinc_client-gui_rpc_server.o(.text+0x173): In function
`GUI_RPC_CONN_SET::get_password()':
: undefined reference to `HOST_INFO::make_random_string(char const*, char*)'
boinc_client-gui_rpc_server_ops.o(.text+0x1026): In function
`handle_get_project_config(char*, MIOFILE&)':
: undefined reference to `canonicalize_master_url(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
boinc_client-gui_rpc_server_ops.o(.text+0x18fe): In function
`handle_acct_mgr_rpc(char*, MIOFILE&)':
: undefined reference to `parse_bool(char const*, char const*, bool&)'
boinc_client-gui_rpc_server_ops.o(.text+0x2576): In function
`handle_project_attach(char*, MIOFILE&)':
: undefined reference to `parse_bool(char const*, char const*, bool&)'
boinc_client-log_flags.o(.text+0x14b): In function `LOG_FLAGS::parse(_IO_FILE*)':
: undefined reference to `parse_bool(char const*, char const*, bool&)'
boinc_client-log_flags.o(.text+0x16e): In function `LOG_FLAGS::parse(_IO_FILE*)':
: undefined reference to `parse_bool(char const*, char const*, bool&)'
boinc_client-log_flags.o(.text+0x195): In function `LOG_FLAGS::parse(_IO_FILE*)':
: undefined reference to `parse_bool(char const*, char const*, bool&)'
boinc_client-log_flags.o(.text+0x1bc): more undefined references to
`parse_bool(char const*, char const*, bool&)' follow
/usr/lib/libboinc.a(crypt.o)(.text+0x418): In function
`encrypt_private(R_RSA_PRIVATE_KEY&, DATA_BLOCK&, DATA_BLOCK&, int&)':
: undefined reference to `RSAPrivateEncrypt'
/usr/lib/libboinc.a(crypt.o)(.text+0x45f): In function
`decrypt_public(R_RSA_PUBLIC_KEY&, DATA_BLOCK&, DATA_BLOCK&)':
: undefined reference to `RSAPublicDecrypt'
/usr/lib/libboinc.a(crypt.o)(.text+0x4e3): In function `sign_file(char const*,
R_RSA_PRIVATE_KEY&, DATA_BLOCK&)':
: undefined reference to `RSAPrivateEncrypt'
/usr/lib/libboinc.a(crypt.o)(.text+0x56f): In function `sign_block(DATA_BLOCK&,
R_RSA_PRIVATE_KEY&, DATA_BLOCK&)':
: undefined reference to `RSAPrivateEncrypt'
/usr/lib/libboinc.a(crypt.o)(.text+0x655): In function `verify_file(char const*,
R_RSA_PUBLIC_KEY&, DATA_BLOCK&, bool&)':
: undefined reference to `RSAPublicDecrypt'
/usr/lib/libboinc.a(crypt.o)(.text+0x9a9): In function `verify_string(char
const*, char const*, R_RSA_PUBLIC_KEY&, bool&)':
: undefined reference to `RSAPublicDecrypt'
collect2: ld returned 1 exit status
make[2]: *** [boinc_client] Error 1
make[2]: Leaving directory `/var/tmp/portage/boinc-5.2.14/work/boinc-5.2.14/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/boinc-5.2.14/work/boinc-5.2.14'
make: *** [all] Error 2
Comment 1 Steev Klimaszewski (RETIRED) gentoo-dev 2005-12-10 12:43:48 UTC

*** This bug has been marked as a duplicate of 115124 ***