Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155451 - emerge of beecrypt-3.1.0-r2 faIls
Summary: emerge of beecrypt-3.1.0-r2 faIls
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-16 22:21 UTC by Rene Schneider
Modified: 2006-11-21 12:03 UTC (History)
1 user (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 Rene Schneider 2006-11-16 22:21:30 UTC
the ebuild of beecrypt-3.1.0-r2 (required by rpm) fails in the linking stage with
------
emerge --oneshot beecrypt
....

/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+0x520): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `blowfishEncrypt' changed from 1116 in blowfish.lo to 815 in blowfishopt.lo
blowfishopt.lo: In function `blowfishDecrypt':
: multiple definition of `blowfishDecrypt'
blowfish.lo:blowfish.c:(.text+0xc0): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `blowfishDecrypt' changed from 1117 in blowfish.lo to 815 in blowfishopt.lo
mpopt.lo: In function `mpzero':
: multiple definition of `mpzero'
....
and many more similar error messages
------

Puting "=dev-libs/beecrypt-3.1.0-r2" into /etc/portage/package.mask serves as temporary workaround, because then it dev-libs/beecrypt-3.1.0-r1 will be used instead.

Cheers,

Rene

output of "emerge --info":

# emerge --info
Portage 2.1.1-r1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r2 i686)
=================================================================
System uname: 2.6.18-gentoo-r2 i686 Genuine Intel(R) CPU           U1400  @ 1.20GHz
Gentoo Base System version 1.12.6
Last Sync: Tue, 14 Nov 2006 15:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
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-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi alsa apm arts atlas avi berkdb bitmap-fonts bzlib cairo cdparanoia cdr cli cracklib crypt cups dbus dga directfb divx4linux dlloader doc dri dv dvd dvdr dvdread eds elibc_glibc emacs emboss encode esd exif fam fbcon fftw firefox fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 hal i810 iconv imagemagick imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java jikes joystick jpeg kde kernel_linux ldap libg++ mad maildir mbox memlimit mikmod mjpeg mmap mmx motif mozilla mp3 mpeg mule ncurses network nls nocd nptl nptlonly offensive ogg oggvorbis opengl oss pam pcre pdf perl plotutils png posix ppds pppd python qt qt3 qt4 quicktime readline real recode reflection rtc sasl scanner sdl session shared slang speex spell spl sse sse2 ssl svg svga sysvipc szip tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo videos vnc vorbis win32codecs wmf x86 xml xml2 xorg xosd xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-17 01:26:54 UTC
Don't use -march=pentium-m because it kills beecrypt; no idea why the original bug was closed as fixed when it's apparently unfixed.
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2006-11-18 01:33:46 UTC
Jakub: The bug with beecrypt were of version 4.X and assembly issues (bug#152575)

Rene: Can you please try the latest beecrypt:
dev-libs/beecrypt-4.1.2-r1

# echo dev-libs/beecrypt ~x86 >> /etc/package.keywords
# emerge --update beecrypt

Thanks!

Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2006-11-20 10:07:31 UTC
Rene?
Comment 4 Rene Schneider 2006-11-21 01:06:14 UTC
Sorry, 

I posted a reply on Saturday, but it seems that ended up in Nirvana. No idea why.

Anyway, I tested the latest unstable ebuild (dev-libs/beecrypt-4.1.2-r1)
as Alon Bar-Lev asked, and it works ok. 

Cheers,

Rene
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2006-11-21 12:03:33 UTC
Great!
I will request it to be stable soon.