Crypt-SSLeay fails to compile as a dep[enmdency of komics Reproducible: Always Steps to Reproduce: 1.emerge -uvD komics 2. 3. Actual Results: Crypt-SSLeay fails to build Expected Results: should complete emerge (1 of 4) dev-perl/Crypt-SSLeay-0.51 to / >>> md5 src_uri ;-) Crypt-SSLeay-0.51.tar.gz >>> Unpacking source... >>> Unpacking Crypt-SSLeay-0.51.tar.gz to /var/tmp/portage/Crypt-SSLeay-0.51/work >>> Source unpacked. Found OpenSSL (version OpenSSL 0.9.7) installed at /usr ================================================ BUILD INFORMATION ================================================ ssl dir: /usr libraries: -lssl -lcrypto -lgcc -lRSAglue -lrsaref include dir: /usr/include ssl header: openssl/ssl.h ssl candidate: /usr; /usr/include/openssl; OpenSSL 0.9.7 ================================================ Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lgcc Note (probably harmless): No library found for -lRSAglue Note (probably harmless): No library found for -lrsaref Writing Makefile for Crypt::SSLeay cp lib/Crypt/SSLeay/X509.pm blib/lib/Crypt/SSLeay/X509.pm cp lib/Net/SSL.pm blib/lib/Net/SSL.pm cp SSLeay.pm blib/lib/Crypt/SSLeay.pm cp lib/Crypt/SSLeay/MainContext.pm blib/lib/Crypt/SSLeay/MainContext.pm cp lib/Crypt/SSLeay/Conn.pm blib/lib/Crypt/SSLeay/Conn.pm cp lib/Crypt/SSLeay/CTX.pm blib/lib/Crypt/SSLeay/CTX.pm cp lib/Crypt/SSLeay/Err.pm blib/lib/Crypt/SSLeay/Err.pm /usr/bin/perl5.8.4 /usr/lib/perl5/5.8.4/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.4/ExtUtils/typemap -typemap typemap SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c gcc -c -I/usr/include -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=pentium4 -O3 -pipe -fPIC -fomit-frame-pointer -DVERSION=\"0.51\" -DXS_VERSION=\"0.51\" -fPIC "-I/usr/lib/perl5/5.8.4/i686-linux/CORE" SSLeay.c SSLeay.xs: In function `XS_Crypt__SSLeay__Conn_new': SSLeay.xs:252: warning: passing arg 2 of `SSL_set_info_callback' from incompatible pointer type Running Mkbootstrap for Crypt::SSLeay () chmod 644 SSLeay.bs rm -f blib/arch/auto/Crypt/SSLeay/SSLeay.so LD_RUN_PATH="/usr/lib" gcc -shared -L/usr/local/libSSLeay.o -o blib/arch/auto/Crypt/SSLeay/SSLeay.so-L/usr/lib -lssl -lcrypto chmod 755 blib/arch/auto/Crypt/SSLeay/SSLeay.so cp SSLeay.bs blib/arch/auto/Crypt/SSLeay/SSLeay.bs chmod 644 blib/arch/auto/Crypt/SSLeay/SSLeay.bs Manifying blib/man3/Crypt::SSLeay.3pm PERL_DL_NONLAZY=1 /usr/bin/perl5.8.4 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/net_ssl........dubious Test returned status 0 (wstat 11, 0xb) t/ssl_context....dubious Test returned status 0 (wstat 11, 0xb) FAILED--2 test scripts could be run, alas--no outputever seen make: *** [test_dynamic] Error 255 !!! ERROR: dev-perl/Crypt-SSLeay-0.51 failed. !!! Function perl-module_src_compile, Line 64, Exitcode 2 !!! test failed emerge info Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r1, 2.6.7-win4lin-r3) ================================================================= System uname: 2.6.7-win4lin-r3 i686 Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz Gentoo Base System version 1.5.2 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -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.3/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/bmg-main /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acl acpi acpi4linux alsa apm artsavi berkdb cddb cdr cgi crypt cups curl dga directfbdivx4linux dnd doc dv dvd encode esd fastcgi fax fbcon fdftk ffmpeg flac foomaticdb freetype fs fullrpc gd gdbm gif gimp gimpprint glade gpm gtk gtk2 gtkhtml guile imap imlib ipv6 java javascript jpeg kde libg++libwww mad maildir mcal mikmod mmx motif mozcalendarmozilla mozp3p mozsvg mpeg mpeg4 mpi mplayer nas ncurses net nls nptl oav odbc ofx oggvorbis ooo-kde openal opengl openssh oss pam pcmcia pda pdflib perl png pnp portaudio python qt quicktime readline samba scanner sdk sdl slang slp snmp spell sqlite sse ssl svga tcltk tcpd tiff truetype trusted usb v4l v4l2 videos virus-scan wifi wmf x86 xml xml2 xmms xrandr xv xvid yv12 zlib"
setup unpack >>> Unpacking source... >>> Unpacking Crypt-SSLeay-0.51.tar.gz to /var/tmp/portage/Crypt-SSLeay-0.51/work >>> Source unpacked. compile Found OpenSSL (version OpenSSL 0.9.7) installed at /usr ================================================ BUILD INFORMATION ================================================ ssl dir: /usr libraries: -lssl -lcrypto -lgcc -lRSAglue -lrsaref include dir: /usr/include ssl header: openssl/ssl.h ssl candidate: /usr; /usr/include/openssl; OpenSSL 0.9.7 ================================================ Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lgcc Note (probably harmless): No library found for -lRSAglue Note (probably harmless): No library found for -lrsaref Writing Makefile for Crypt::SSLeay make: Warning: File `/usr/lib/perl5/5.8.5/i686-linux/Config.pm' has modification time 7,8e+05 s in the future Makefile out-of-date with respect to /usr/lib/perl5/5.8.5/i686-linux/Config.pm /usr/lib/perl5/5.8.5/i686-linux/CORE/config.h Cleaning current config before rebuilding Makefile... make -f Makefile.old clean > /dev/null 2>&1 || /bin/sh -c true /usr/bin/perl5.8.5 Makefile.PL "/usr" "/usr" "PREFIX=/usr" "INSTALLDIRS=vendor" "DESTDIR=/var/tmp/portage/Crypt-SSLeay-0.51/image/" Found OpenSSL (version OpenSSL 0.9.7) installed at /usr ================================================ BUILD INFORMATION ================================================ ssl dir: /usr libraries: -lssl -lcrypto -lgcc -lRSAglue -lrsaref include dir: /usr/include ssl header: openssl/ssl.h ssl candidate: /usr; /usr/include/openssl; OpenSSL 0.9.7 ================================================ Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lgcc Note (probably harmless): No library found for -lRSAglue Note (probably harmless): No library found for -lrsaref Writing Makefile for Crypt::SSLeay ==> Your Makefile has been rebuilt. <== ==> Please rerun the make command. <== false make: *** [Makefile] Fehler 1 !!! ERROR: dev-perl/Crypt-SSLeay-0.51 failed. !!! Function perl-module_src_compile, Line 60, Exitcode 2 !!! compilation failed emerge info Gentoo Base System version 1.5.3 Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.4.26_pre6-gentoo) ================================================================= System uname: 2.4.26_pre6-gentoo i686 Intel(R) Pentium(R) M processor 1600MHz Autoconf: sys-devel/autoconf-2.59-r4,sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.5-r1,sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="no" CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://www.ibiblio.org/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acpi alsa arts artswrappersuid avi berkdb bluetooth cdr crypt cups dga directfb dvd dvdr encode ethereal fbcon foomaticdb gd gdbm gif gpm gtk gtk2 hostap-nopci hostap-noplx imlib irda java jpeg kde ldap libg++ libwww linguas_de linguas_en mad maildir mikmod motif mozilla moznoirc moznomail mpeg ncurses nls oggvorbis opengl oss pam pcap pcmcia pdflib perl png python qt quicktime readline samba scanner sdl slang snmp socks5 spell sse ssl svga tcltk tcpd tiff truetype x86 xml2 xmms xv zlib"
Bernhard - check your system clock. Your problem is related to time stamps. Checking the original bug now
Michael, The harmless warnings are indeed harmless. Looking at the tests, the test failed to initialize a port on localhost 40000 - which in turns breaks the second test - do you have anything running on that high port that might be interfering? If so, you can disable the tests in the ebuild and continue with the emerge.
mcummings, I see the same exact failure as the reporter. I have nothing running on port 40000. Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r4-kt600 i686) ================================================================= System uname: 2.6.8-gentoo-r4-kt600 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.6.3 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.57-r1,sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/control" CONFIG_PROTECT_MASK="/etc/X11/Sessions /etc/X11/app-defaults /etc/X11/gdm /etc/X11/rstart /etc/X11/serverconfig /etc/X11/starthere /etc/X11/sysconfig /etc/X11/xdm /etc/X11/xinit /etc/X11/xkb /etc/ethereal /etc/gconf /etc/gnome-vfs-2.0 /etc/gtk-2.0 /etc/init.d /etc/pam.d /etc/postfix/sample /etc/sound /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/distfiles" FEATURES="autoaddcvs ccache cvs distcc distlocks noclean sandbox userpriv usersandbox" GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/local/home/agriffis/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X alsa apache2 apm avi berkdb bitmap-fonts bonobo cdr crypt cscope cups decss dga dvd encode evo f77 foomaticdb gdbm gif gnome gtk gtk2 gtkhtml guile imap imlib java jpeg lcms libg++ libwww mad mailwrapper mikmod motif mozcalendar mozilla mpeg mysql ncurses nls ofx oggvorbis opengl oss pam pda pdflib perl png python qt quicktime readline ruby scanner sdl spell sse ssl tcltk tcpd tetex tiff truetype usb wmf x86 xml2 xmms xprint xv zlib video_cards_radeon"
Hmmm, didn't realize this one was still open. I see at least two different bugs here though - the OP's bug is for binding to port 40000 on localhost. If that is failing, the two possible culprits are something is already bound to that port, or 127.0.0.1 isn't defined in /etc/hosts. The test only opens the port, writes to it, confirms the write, and ends. That said, I don't like leaving tests turned on when they want to write/open ports - too many factors for problems. I'm going to disable the tests for this one, but will leave this open in case this is still a problem.
No feedback in 2 months, closing.