Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45600 - cannot emerge openssl 0.9.7d
Summary: cannot emerge openssl 0.9.7d
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
: 46285 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-24 07:04 UTC by Florian Effenberger
Modified: 2004-05-12 04:19 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 Florian Effenberger 2004-03-24 07:04:51 UTC
I cannot emerge openssl 0.9.7d:

This test will take some time....123456789ABCDEF ok
OSSL_LIBPATH="`cd ..; pwd`"; LD_LIBRARY_PATH="$OSSL_LIBPATH:$LD_LIBRARY_PATH"; DYLD_LIBRARY_PATH="$OSSL_LIBPATH:$DYLD_LIBRARY_PATH"; SHLIB_PATH="$OSSL_LIBPATH:$SHLIB_PATH"; LIBPATH="$OSSL_LIBPATH:$LIBPATH"; if [ "linux-k6" = "Cygwin" ]; then PATH="${LIBPATH}:$PATH"; fi; export LD_LIBRARY_PATH DYLD_LIBRARY_PATH SHLIB_PATH LIBPATH PATH; ./randtest
test 1 done
test 2 done
test 3 done
test 4 done
starting big number library test, could take a while...
test BN_add
test BN_sub
test BN_lshift1
test BN_lshift (fixed)
test BN_lshift
test BN_rshift1
test BN_rshift
test BN_sqr
Square test failed!
make[1]: *** [test_bn] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/openssl-0.9.7d/work/openssl-0.9.7d/test'
make: *** [tests] Fehler 2

!!! ERROR: dev-libs/openssl-0.9.7d failed.
!!! Function src_compile, Line 134, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. Get Portage from 20040323 (or -22, don't know anymore)
2. emerge openssl

Actual Results:  
See above.

Expected Results:  
Should compile. ;-)
Same settings worked just fine with a end-of-February OpenSSL version

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25)
=================================================================
System uname: 2.4.25 i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=k6-2 -march=k6-2 -funroll-loops -pipe"
CHOST="i586-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
/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="-O3 -mcpu=k6-2 -march=k6-2 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo ftp://cs.ubishops.ca/pub/gentoo
ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib acl acpi alsa apm arts avi berkdb bonobo cdr crypt cups
curl dga directfb doc dvd dvdr encode esd ethereal fbcon flash foomaticdb gb gd
gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml imap imlib java jpeg kde lcms libg++
libwww mad mbox mcal memlimit mikmod mmx motif mozilla mpeg mysql nas ncurses
nls nocd oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime
readline samba sasl sdl slang slp spell sse ssl svga tcltk tcpd tetex tiff
truetype usb videos wmf x86 xface xinerama xml xml2 xmms xosd xv zlib"
Comment 1 Fabio Di Fabio 2004-03-24 13:21:31 UTC
same here, it must be an issue related to gcc optimization for k6, removing -march from CFLAGS solve this problem

#CFLAGS="" emerge -u openssl


my emerge info:

ser portage # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4)
=================================================================
System uname: 2.6.4 i586 AMD-K6(tm) 3D+ Processor
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=k6-3 -funroll-loops -pipe"
CHOST="i586-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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=k6-3 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.tiscali.nl/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo http://mirror.pudas.net/gentoo http://gentoo.mirror.sdv.fr"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X apm avi berkdb cdr crypt directfb encode foomaticdb gdbm gif gpm gtk2 imlib java jpeg kde ldap libg++ libwww mad mikmod mpeg mysql ncurses nls oggvorbis pam pdflib perl png python qt readline slang spell ssl tcltk tcpd truetype x86 xml2 xmms zlib"
Comment 2 Florian Effenberger 2004-03-25 12:23:26 UTC
Thanks!
Anyone knows what can be done against this? Is this a bug in OpenSSL itself?
Comment 3 tony den haan 2004-03-28 17:54:20 UTC
same here, removing march=k6-2 from CFLAGS fixed it
Comment 4 Daniel Ahlberg (RETIRED) gentoo-dev 2004-03-30 06:23:05 UTC
I think the problem is -funroll-loops. I've updated the ebuild to filter this flag. Please try to re-emerge openssl.
Comment 5 Florian Effenberger 2004-03-30 09:10:50 UTC
I have no k6-2 test system available right now, so if anyone else could test? Otherwise I would file a bug again when it is necessary, as soon as I have my test system ready again. ;)
Comment 6 Daniel Ahlberg (RETIRED) gentoo-dev 2004-03-31 04:06:16 UTC
*** Bug 46285 has been marked as a duplicate of this bug. ***
Comment 7 brandon 2004-05-12 04:10:58 UTC
I am using a P3 coppermine and got the same error just now 5-12-04 4:10am
i had previously done an emerge sync so my portage tree is up to date


>>> md5 src_uri ;-) openssl-0.9.7d.tar.gz
>>> md5 src_uri ;-) openssl-0.9.6m.tar.gz
>>> Unpacking source...
>>> Unpacking openssl-0.9.7d.tar.gz to /var/tmp/portage/openssl-0.9.7d/work
>>> Unpacking openssl-0.9.6m.tar.gz to /var/tmp/portage/openssl-0.9.7d/work
 * Applying openssl-0.9.7d-gentoo.diff...                                 [ ok ]
>>> Source unpacked.
Operating system: i686-whatever-linux2
You need Perl 5.

!!! ERROR: dev-libs/openssl-0.9.7d failed.
!!! Function src_compile, Line 151, Exitcode 1
!!! (no error message)
Comment 8 brandon 2004-05-12 04:19:06 UTC
id did say i needed perl but i was assuming that portage was calculating it's dependencies correctly, i re ran it twice and now it's installing perl first, which will hopefully correct the problem, i also changed my -march flag to i686 instead of pentium3  ... will this cause problems?