Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47592 - emerge beecrypt-3.1.0-r1 error
Summary: emerge beecrypt-3.1.0-r1 error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Stefan Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-12 03:56 UTC by Antonio
Modified: 2006-08-16 00:25 UTC (History)
2 users (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 Antonio 2004-04-12 03:56:31 UTC
Today i upgrade rpm and install beecrypt-3.1.0-r1 but this is a error:

............
.............
.........
rm -fr .libs/libbeecrypt.la .libs/libbeecrypt.* .libs/libbeecrypt.*
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
aesopt.lo(.text+0x0): In function `aesEncrypt':
: multiple definition of `aesEncrypt'
aes.lo(.text+0x580): first defined here
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `aesEncrypt' changed from 4860 in aes.lo to 3222 in aesopt.lo
aesopt.lo(.text+0x194c): In function `aesDecrypt':
: multiple definition of `aesDecrypt'
aes.lo(.text+0x1880): first defined here
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `aesDecrypt' changed from 4788 in aes.lo to 3222 in aesopt.lo
blowfishopt.lo(.text+0x0): In function `blowfishEncrypt':
: multiple definition of `blowfishEncrypt'
blowfish.lo(.text+0x2a0): first defined here
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `blowfishEncrypt' changed from 1047 in blowfish.lo to 815 in blowfishopt.lo
blowfishopt.lo(.text+0x330): In function `blowfishDecrypt':
: multiple definition of `blowfishDecrypt'
blowfish.lo(.text+0x6c0): first defined here
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `blowfishDecrypt' changed from 1047 in blowfish.lo to 815 in blowfishopt.lo
collect2: ld returned 1 exit status
make[2]: *** [libbeecrypt.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/beecrypt-3.1.0-r1/work/beecrypt-3.1.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/beecrypt-3.1.0-r1/work/beecrypt-3.1.0'
make: *** [all] Error 2

!!! ERROR: dev-libs/beecrypt-3.1.0-r1 failed.
!!! Function src_compile, Line 49, Exitcode 2
!!! emake failed

My system is :

Portage 2.0.50-r5 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo)
=================================================================
System uname: 2.4.25-gentoo i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.3.13
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://planetmirror.com/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X X509 aalib acl acpi acpi4linux afs alsa apache2 apm arts autofs avi berkdb bonobo cddb cdr clamav crypt cups curl dillo doc dv dvb dvd dvdr encode esd evms2 faad fam ffmpeg flac foomaticdb gd gdbm ggi gif gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib jabber java javascript jpeg kde ldirectord libdsk libg++ libgda libwww mad mbox mikmod mmx motif mozilla mpeg mpeg4 mysql nas ncurses net nls nvidia oav odbc oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline ruby samba scanner sdl slang spell ssl svga tcltk tcpd tetex tiff transcode truetype type1 usb v4l virus-scan x86 xfs xine xml2 xmms xv zlib"

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 AlterEgo 2004-04-12 03:57:44 UTC
Exactly the same error: 

emerge --info
Portage 2.0.50-r5 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5)
=================================================================
System uname: 2.6.5 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mmmx -m3dnow -msse -fstack-protector  -Os -pipe  -fomit-frame-pointer "
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mmmx -m3dnow -msse -fstack-protector  -Os -pipe  -fomit-frame-pointer "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache prelink sandbox"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-s -j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/apps/ebuilds"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bonobo cdr crypt cups encode esd exif foomaticdb gdbm gif gphoto2 gpm gtk gtk2 gtkhtml imlib java jikes jpeg kde libg++ libwww mad mikmod mmx motif mozsvg mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl pic png ppds python qt quicktime readline scanner sdl slang spell sse ssl svga tcltk tcpd truetype usb x86 xml2 xmms xv zlib"
Comment 2 Vlad Berditchevskiy 2004-04-12 10:42:19 UTC
I got the same error too.

Portage 2.0.50-r5 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4-gentoo-r1)
=================================================================
System uname: 2.6.4-gentoo-r1 i686 AMD Athlon(tm) MP 2400+
Gentoo Base System version 1.4.3.13
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
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="3dnow X aalib accessibility acl alsa apache2 apm avi berkdb bonobo cdr crypt cscope cups curl dga directfb doc dv dvb dvd dvdr emacs encode esd expat faad fam fbcon foomaticdb gb gd gdbm ggi gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml guile imap imlib ipv6 java jbig jpeg lcms ldap leim libg++ libwww mad maildir matroska mikmod mmap mmx motif mozilla moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mpeg mpi mysql nas ncurses nls nptl oggvorbis opengl optional-tasks oss pam pdflib perl pic png ppds python quicktime readline samba sasl scanner sdl slang snmp spell sse ssl svga tcltk tcpd tetex tiff truetype usb wmf x86 xface xfs xml xml2 xmms xv zlib"
Comment 3 Stefan Jones (RETIRED) gentoo-dev 2004-04-12 12:21:19 UTC
ok, added at patch which fixes it.

It seems the beecrypt devs thought athlon is a i386 with MMX instead of a i686 with MMX.
Comment 4 Christoph Walter 2006-08-16 00:25:17 UTC
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


Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer"