emerging dev-libs/openssl-0.9.8h fails with /var/tmp/portage/dev-libs/openssl-0.9.8h/temp/environment: line 2404: cd: /var/tmp/portage/dev-libs/openssl-0.9.8h/image//usr/share/man: No such file or directory Reproducible: Always emerge --info Portage 2.1.5.2 (default/linux/x86/2008.0, gcc-4.2.4, glibc-2.7-r2, 2.6.25-gentoo-r4 i686) ================================================================= System uname: 2.6.25-gentoo-r4 i686 Intel(R) Pentium(R) III CPU family 1266MHz Timestamp of tree: Thu, 29 May 2008 06:45:02 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r4 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.4-r1 sys-apps/sandbox: 1.2.20_alpha2-r1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.25-r3 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -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/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo " LDFLAGS="" LINGUAS="en de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.informatik.RWTH-Aachen.de/gentoo-portage" USE="X acl berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus doc dri dvd fortran gcj gdbm gnome gpm gtk gtk2 hal iconv ipv6 isdnlog jpeg kde midi mudflap ncurses nls nptl nptlonly opengl openmp pam pcre pdf perl png pppd python qt readline reflection session spl sqlite sqlite3 ssl svg tcl tcpd tetex tiff tk truetype-fonts type1-fonts unicode x86 xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
post the full build log as an attachment rather than a snippet without context
Created attachment 154919 [details] openssl-0.9.8h build logs
build logs and emerge --info submitted as an attachment
your build system is hosed ... the Configure script is not executing properly go into the build directory and execute the Configure script directly as seen in your build.log the first line output should not be 'making depend in crypto...', it should be a whole bunch of info about the settings given to Configure
(In reply to comment #4) > your build system is hosed ... the Configure script is not executing properly > > go into the build directory and execute the Configure script directly as seen > in your build.log > > the first line output should not be 'making depend in crypto...', it should be > a whole bunch of info about the settings given to Configure > Could you please be more specific about what is hosed? I did the Configure (please see the attachment), then make depend - as suggested - then make The last make fails with: make[2]: Entering directory `/var/tmp/portage/dev-libs/openssl-0.9.8h/work/openssl-0.9.8h/apps' ../libcrypto.a(bn86-elf.o): In function `bn_mul_add_words': bn-586.s:(.text+0x0): multiple definition of `bn_mul_add_words' ../libcrypto.a(bn_asm.o):bn_asm.c:(.text+0x0): first defined here ../libcrypto.a(bn86-elf.o): In function `bn_mul_words': bn-586.s:(.text+0x1c0): multiple definition of `bn_mul_words' ../libcrypto.a(bn_asm.o):bn_asm.c:(.text+0x1e0): first defined here ../libcrypto.a(bn86-elf.o): In function `bn_sqr_words': bn-586.s:(.text+0x300): multiple definition of `bn_sqr_words' ../libcrypto.a(bn_asm.o):bn_asm.c:(.text+0x3a0): first defined here ../libcrypto.a(bn86-elf.o): In function `bn_div_words': bn-586.s:(.text+0x3f0): multiple definition of `bn_div_words' ../libcrypto.a(bn_asm.o):bn_asm.c:(.text+0x4310): first defined here ../libcrypto.a(bn86-elf.o): In function `bn_add_words': bn-586.s:(.text+0x410): multiple definition of `bn_add_words' ../libcrypto.a(bn_asm.o):bn_asm.c:(.text+0x4a0): first defined here ../libcrypto.a(bn86-elf.o): In function `bn_sub_words': bn-586.s:(.text+0x5c0): multiple definition of `bn_sub_words' ../libcrypto.a(bn_asm.o):bn_asm.c:(.text+0x5a0): first defined here collect2: ld returned 1 exit status make[2]: *** [link_app.gnu] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-libs/openssl-0.9.8h/work/openssl-0.9.8h/apps' make[1]: *** [openssl] Error 2 make[1]: Leaving directory `/var/tmp/portage/dev-libs/openssl-0.9.8h/work/openssl-0.9.8h/apps' make: *** [build_apps] Error 1
Created attachment 154965 [details] Output of Configure in the build directiory
Created attachment 156599 [details] Build log failing install man pages Building dev-libs/openssl-0.9.8h requires MAKEOPTS=-j1 With that the build process nearly finishes. Finally it fails installing the man pages, please see the attachment.
go into the openssl dir and run: ebuild openssl-0.9.8h.ebuild clean unpack compile if that fails in the same way, run: strace -s 4096 -f -o log ebuild openssl-0.9.8h.ebuild clean unpack compile then post the log file as an attachment
(In reply to comment #8) > go into the openssl dir and run: > ebuild openssl-0.9.8h.ebuild clean unpack compile > > if that fails in the same way, run: > strace -s 4096 -f -o log ebuild openssl-0.9.8h.ebuild clean unpack compile > > then post the log file as an attachment For reasons I don't know, /var/tmp/portage/dev-libs/openssl-0.9.8h-r1/work/openssl-0.9.8h/Configure enters debugging mode i.e. I get the prompt bashdb <0> Being unexperienced with bash's debugger I typed 'quit' instead of 'continue' Now, it does install fine. Sorry for the noise, Helmut.
*** This bug has been marked as a duplicate of bug 141906 ***