Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144115 - dev-libs/beecrypt-3.1.0-r2 fails to compile
Summary: dev-libs/beecrypt-3.1.0-r2 fails to compile
Status: RESOLVED DUPLICATE of bug 124900
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-16 06:45 UTC by Aquila
Modified: 2006-08-16 07:53 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 Aquila 2006-08-16 06:45:21 UTC
(Major priority because this package went stable on x86 as a requirement for rpm and this problem arose on 2 different machines)

The emerge fails at the end while linking:

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -march=pentium-m -pipe -O3 -fomit-frame-pointer -mcpu=pentiumpro -march=pentium-m -c sha1opt.s  -fPIC -DPIC
mv -f sha1opt.o .libs/sha1opt.lo
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -march=pentium-m -pipe -O3 -fomit-frame-pointer -mcpu=pentiumpro -march=pentium-m -c sha1opt.s >/dev/null 2>&1
mv -f .libs/sha1opt.lo sha1opt.lo
/bin/sh ./libtool --mode=link i686-pc-linux-gnu-gcc  -march=pentium-m -pipe -O3 -fomit-frame-pointer -mcpu=pentiumpro -march=pentium-m   -o libbeecrypt.la -rpath /usr/lib -no-undefined -version-info 8:0:2 aes.lo base64.lo beecrypt.lo blockmode.lo blockpad.lo blowfish.lo dhaes.lo dldp.lo dlkp.lo dlpk.lo dlsvdp-dh.lo dsa.lo elgamal.lo endianness.lo entropy.lo fips186.lo hmac.lo hmacmd5.lo hmacsha1.lo hmacsha256.lo md5.lo memchunk.lo mp.lo mpbarrett.lo mpnumber.lo mpprime.lo mtprng.lo rsa.lo rsakp.lo rsapk.lo sha1.lo sha256.lo timestamp.lo aesopt.lo blowfishopt.lo mpopt.lo sha1opt.lo -lrt -lpthread
rm -fr .libs/libbeecrypt.la .libs/libbeecrypt.* .libs/libbeecrypt.*
i686-pc-linux-gnu-gcc -shared  aes.lo base64.lo beecrypt.lo blockmode.lo blockpad.lo blowfish.lo dhaes.lo dldp.lo dlkp.lo dlpk.lo dlsvdp-dh.lo dsa.lo elgamal.lo endianness.lo entropy.lo fips186.lo hmac.lo hmacmd5.lo hmacsha1.lo hmacsha256.lo md5.lo memchunk.lo mp.lo mpbarrett.lo mpnumber.lo mpprime.lo mtprng.lo rsa.lo rsakp.lo rsapk.lo sha1.lo sha256.lo timestamp.lo aesopt.lo blowfishopt.lo mpopt.lo sha1opt.lo  -lrt -lpthread  -Wl,-soname -Wl,libbeecrypt.so.6 -o .libs/libbeecrypt.so.6.2.0
blowfishopt.lo: In function `blowfishEncrypt':
: multiple definition of `blowfishEncrypt'
blowfish.lo:blowfish.c:(.text+0x0): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `blowfishEncrypt' changed from 1245 in blowfish.lo to 815 in blowfishopt.lo
blowfishopt.lo: In function `blowfishDecrypt':
: multiple definition of `blowfishDecrypt'
blowfish.lo:blowfish.c:(.text+0x790): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `blowfishDecrypt' changed from 1245 in blowfish.lo to 815 in blowfishopt.lo
mpopt.lo: In function `mpzero':
: multiple definition of `mpzero'
mp.lo:mp.c:(.text+0x0): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `mpzero' changed from 32 in mp.lo to 15 in mpopt.lo
mpopt.lo: In function `mpfill':
: multiple definition of `mpfill'
mp.lo:mp.c:(.text+0x20): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `mpfill' changed from 28 in mp.lo to 17 in mpopt.lo
mpopt.lo: In function `mpeven':
: multiple definition of `mpeven'
mp.lo:mp.c:(.text+0x50): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `mpeven' changed from 19 in mp.lo to 18 in mpopt.lo
mpopt.lo: In function `mpodd':
: multiple definition of `mpodd'
mp.lo:mp.c:(.text+0x40): first defined here
mpopt.lo: In function `mpaddw':
: multiple definition of `mpaddw'
mp.lo:mp.c:(.text+0xba0): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `mpaddw' changed from 83 in mp.lo to 42 in mpopt.lo
mpopt.lo: In function `mpsubw':
: multiple definition of `mpsubw'
mp.lo:mp.c:(.text+0xd10): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `mpsubw' changed from 83 in mp.lo to 42 in mpopt.lo
mpopt.lo: In function `mpadd':
: multiple definition of `mpadd'
mp.lo:mp.c:(.text+0xc00): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `mpadd' changed from 120 in mp.lo to 41 in mpopt.lo
mpopt.lo: In function `mpsub':
: multiple definition of `mpsub'
mp.lo:mp.c:(.text+0xd70): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `mpsub' changed from 129 in mp.lo to 41 in mpopt.lo
mpopt.lo: In function `mpdivtwo':
: multiple definition of `mpdivtwo'
mp.lo:mp.c:(.text+0x13f0): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `mpdivtwo' changed from 43 in mp.lo to 24 in mpopt.lo
mpopt.lo: In function `mpmultwo':
: multiple definition of `mpmultwo'
mp.lo:mp.c:(.text+0x1220): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `mpmultwo' changed from 60 in mp.lo to 29 in mpopt.lo
mpopt.lo: In function `mpsetmul':
: multiple definition of `mpsetmul'
mp.lo:mp.c:(.text+0xef0): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `mpsetmul' changed from 186 in mp.lo to 49 in mpopt.lo
mpopt.lo: In function `mpaddmul':
: multiple definition of `mpaddmul'
mp.lo:mp.c:(.text+0xfb0): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `mpaddmul' changed from 194 in mp.lo to 55 in mpopt.lo
mpopt.lo: In function `mpaddsqrtrc':
: multiple definition of `mpaddsqrtrc'
mp.lo:mp.c:(.text+0x11a0): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `mpaddsqrtrc' changed from 125 in mp.lo to 50 in mpopt.lo
mpopt.lo: In function `mppndiv':
: multiple definition of `mppndiv'
mp.lo:mp.c:(.text+0x1ed0): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `mppndiv' changed from 120 in mp.lo to 13 in mpopt.lo
sha1opt.lo: In function `sha1Process':
: multiple definition of `sha1Process'
sha1.lo:sha1.c:(.text+0x80): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `sha1Process' changed from 5468 in sha1.lo to 3290 in sha1opt.lo
collect2: ld returned 1 exit status
make[2]: *** [libbeecrypt.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/beecrypt-3.1.0-r2/work/beecrypt-3.1.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/beecrypt-3.1.0-r2/work/beecrypt-3.1.0'
make: *** [all] Error 2

!!! ERROR: dev-libs/beecrypt-3.1.0-r2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  beecrypt-3.1.0-r2.ebuild, line 53:   Called die
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-16 07:41:13 UTC
emerge --info is missing here, and there's no error in the output. Try again with MAKEOPTS="-j1".
Comment 2 Aquila 2006-08-16 07:48:31 UTC
There are errors in the output (multiple definition of `blowfishEncrypt'), emerge info follows (sorry for forgetting it).
MAKEOPTS="-j1" emerge beecrypt did not resolve any problems.

# emerge --info
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.12.4
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/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/service"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/var/tmp/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LINGUAS="en_GB nl"
MAKEOPTS="-j2"
PKGDIR="/var/tmp/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.be.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi alsa aotuv apache2 apm arts audiofile avahi avi bash-completion berkdb bitmap-fonts bl bluetooth browserplugin bzip2 cdio cdparanoia cgi chroot cli crypt cups curl daap dba directfb divx4linux dlloader dri dvd dvdr dvdread eds emboss encode esd exif expat extras fam fastcgi fbcon ffmpeg firefox flac foomaticdb fortran gd gdbm gif gimp glut gmp gnutls gphoto2 gpm gstreamer gtk gtk2 hal howl-compat idn ieee1394 imagemagick imap imlib ipv6 irmc isdnlog jabber java javacomm jpeg jpeg2k kde kdepim lcms ldap libg++ libwww live lzo mad matroska mhash mikmod mmx mmxext mng mono motif mozsha1 mozsvg mp3 mpeg mplayer multiuser musicbrainz mysql nas ncurses nls nptl nsplugin nvidia ogg ole openal openexr opengl oss pam pcmcia pcre pda pdf pdflib perl php plotutils plugin png postgres ppds pppd python qemu-fast qt3 qt4 quicktime readline reflection rss ruby samba sdl session skey slp softmmu spell spl sse sse2 ssl svg svga svgz tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb visualization vorbis wifi win32codecs wmf wxwindows x264 xanim xattr xine xinerama xml xml2 xmms xorg xosd xscreensaver xv xvid zeroconf zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_evdev kernel_linux linguas_en_GB linguas_nl userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-08-16 07:53:33 UTC
(In reply to comment #2)
> There are errors in the output (multiple definition of `blowfishEncrypt'),

The only "error" in the output is the following:

<snip>
make[2]: *** [libbeecrypt.la] Error 1
</snip>

Anyway, try with something else than march=pentium-m 

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