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

Bug 150407

Summary: cannot emerge openssl-0.9.8d
Product: Gentoo Linux Reporter: Marc Blumentritt <marc.blumentritt>
Component: [OLD] LibraryAssignee: Gentoo's Team for Core System packages <base-system>
Status: VERIFIED INVALID    
Severity: normal CC: zlin
Priority: High    
Version: 2006.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Full log of emerge openssl-0.9.8d

Description Marc Blumentritt 2006-10-07 12:41:30 UTC
Hi,

I get an error message when I emerge openssl-0.9.8d, which tells me nothing. In fact, I do not see any error, so I will attach the complete log.

Regards,
Marc

last lines of log:
(cd ..; \
  OPENSSL="`pwd`/util/opensslwrap.sh"; export OPENSSL; \
  /usr/bin/perl tools/c_rehash certs)
Doing certs
argena.pem => cdd7aee7.0
argeng.pem => aad3d04d.0
eng1.pem => 7a9820c1.0
eng2.pem => 56e607f4.0
eng3.pem => 878cf4c6.0
eng4.pem => a3c60019.0
eng5.pem => 843b6c51.0
RegTP-5R.pem => d4e39186.0
RegTP-6R.pem => 1e49180d.0
thawteCb.pem => ddc328ff.0
thawteCp.pem => c33a80d4.0
vsign1.pem => 2edf7016.0
vsign3.pem => 7651b327.0
vsignss.pem => f73e89fd.0
wellsfgo.pem => 6adf0799.0
make[1]: Leaving directory `/var/tmp/portage/openssl-0.9.8d/work/openssl-0.9.8d/apps'

!!! ERROR: dev-libs/openssl-0.9.8d failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  openssl-0.9.8d.ebuild, line 108:   Called die

!!! make all failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

hive portage # emerge --info
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 AMD Athlon(tm) XP 2700+
Gentoo Base System version 1.12.5
Last Sync: Sat, 07 Oct 2006 14:50:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     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.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/var/tmp/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo "
LANG="en_US.UTF-8"
LINGUAS="de en"
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"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X alsa arts bash-completion berkdb bitmap-fonts cairo cdr cli crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox fortran gdbm gif gpm gstreamer gtk gtk2 hal input_devices_keyboard input_devices_mouse ipv6 jpeg kernel_linux libg++ linguas_de linguas_en lm_sensors mad mikmod mmx mmxext mozilla mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl oss pam pcre perl png ppds pppd python quicktime readline reflection sdl session spell spl sse ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU userlocales video_cards_nvidia vim-pager vim-with-x vorbis win32codecs xface xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marc Blumentritt 2006-10-07 12:43:49 UTC
Created attachment 99069 [details]
Full log of emerge openssl-0.9.8d
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-10-07 12:52:28 UTC
<snip>
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lcrypt
collect2: ld returned 1 exit status
</snip>
Comment 3 Bo ├śrsted Andresen (RETIRED) gentoo-dev 2006-10-07 13:15:14 UTC
From http://marc.theaimsgroup.com/?l=gentoo-user&m=116024152720869&w=2 :

"by a stupid mistake from me I deleted a lib from openssl."

Which library was it that you deleted? If it was any of /usr/lib/libcrypt.so /lib/libcrypt-2.4.so or /lib/libcrypt.so.1, then it belongs to sys-apps/glibc rather than openssl. In that case you need to remerge glibc...
Comment 4 Marc Blumentritt 2006-10-07 13:31:14 UTC
(In reply to comment #3)
> From http://marc.theaimsgroup.com/?l=gentoo-user&m=116024152720869&w=2 :
> 
> "by a stupid mistake from me I deleted a lib from openssl."
> 
> Which library was it that you deleted? If it was any of /usr/lib/libcrypt.so
> /lib/libcrypt-2.4.so or /lib/libcrypt.so.1, then it belongs to sys-apps/glibc
> rather than openssl. In that case you need to remerge glibc...

Ahm, yes, you could be right! Damn, I put an alias on rm...

I will test this tomorrow and if you are right, I will close this bug.

Marc

Comment 5 SpanKY gentoo-dev 2006-10-07 14:41:12 UTC
as noted, libcrypt is from glibc ... libcrypto is from openssl
Comment 6 Marc Blumentritt 2006-10-08 01:37:04 UTC
After reemerging glibc everything works again. Luckiliy I had to rebuild it anyway, because of a new USE flag.

Thanks for the help.
Marc