Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239432 - dev-libs/openssl-0.9.8i fails, on build tests regardless of FEATURE test because of missing includes, and Permission Denied
Summary: dev-libs/openssl-0.9.8i fails, on build tests regardless of FEATURE test beca...
Status: RESOLVED DUPLICATE of bug 141906
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-03 13:18 UTC by Mike Weissman
Modified: 2010-01-11 03:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (openssl-0.9.8i-build.log,1.09 MB, text/plain)
2008-10-03 13:19 UTC, Mike Weissman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Weissman 2008-10-03 13:18:01 UTC
When attempting to upgrade dev-libs/openssl-0.9.8i from 0.9.8h-r1, emerge fails when trying to build ${S}/test because of various undefined references in ${S}/test/bntest.c, ${S}/ssl/bio_ssl.c and a few others, see below, this occurs regardless if FEATURES="test" or FEATURES="-test".  These are caused by a string of "cannot find include file", see below, for condensed error text, see attached build log for full.  Furthermore there is a Permission denied to /dev/pts/0:

/usr/share/bashdb/dbg-io.inc: line 57: /dev/pts/0: Permission denied

.
.
.
makedepend: warning:  cryptlib.c (reading /usr/include/stdlib.h, line 33): cannot find include file "stddef.h"
        not in ./stddef.h
        not in ../stddef.h
        not in ../include/stddef.h
        not in /usr/include/stddef.h
makedepend: warning:  /usr/include/time.h includes /usr/include/bits/types.h more than once!
Already have
        /usr/include/bits/types.h
makedepend: warning:  /usr/include/time.h includes /usr/include/bits/types.h more than once!
Already have
        /usr/include/bits/types.h
makedepend: warning:  cryptlib.c (reading /usr/include/sys/types.h, line 147): cannot find include file "stddef.h"
        not in ./stddef.h
        not in ../stddef.h
        not in ../include/stddef.h
        not in /usr/include/stddef.h
makedepend: warning:  cryptlib.c (reading /usr/include/alloca.h, line 25): cannot find include file "stddef.h"
        not in ./stddef.h
        not in ../stddef.h
        not in ../include/stddef.h
        not in /usr/include/stddef.h


/var/tmp/portage/dev-libs/openssl-0.9.8i/work/openssl-0.9.8i/ssl/bio_ssl.c:397: undefined reference to `CRYPTO_add_lock'
/var/tmp/portage/dev-libs/openssl-0.9.8i/work/openssl-0.9.8i/ssl/bio_ssl.c:404: undefined reference to `BIO_free_all'
/var/tmp/portage/dev-libs/openssl-0.9.8i/work/openssl-0.9.8i/ssl/bio_ssl.c:408: undefined reference to `CRYPTO_add_lock'
/var/tmp/portage/dev-libs/openssl-0.9.8i/work/openssl-0.9.8i/ssl/bio_ssl.c:414: undefined reference to `BIO_clear_flags'
.
.
.
var/tmp/portage/dev-libs/openssl-0.9.8i/work/openssl-0.9.8i/test/bntest.c:212: undefined reference to `BIO_ctrl'
/var/tmp/portage/dev-libs/openssl-0.9.8i/work/openssl-0.9.8i/test/bntest.c:216: undefined reference to `BIO_ctrl'
bntest.o:/var/tmp/portage/dev-libs/openssl-0.9.8i/work/openssl-0.9.8i/test/bntest.c:220: more undefined references to `BIO_ctrl' follow
bntest.o: In function `main':
/var/tmp/portage/dev-libs/openssl-0.9.8i/work/openssl-0.9.8i/test/bntest.c:302: undefined reference to `BN_CTX_free'
/var/tmp/portage/dev-libs/openssl-0.9.8i/work/openssl-0.9.8i/test/bntest.c:303: undefined reference to `BIO_free'
/var/tmp/portage/dev-libs/openssl-0.9.8i/work/openssl-0.9.8i/test/bntest.c:171: undefined reference to `BIO_ctrl'








Reproducible: Always

Steps to Reproduce:
1.FEATURES="-test" or FEATURES="test" emerge =dev-libs/openssl-0.9.8.i
2.
3.

Actual Results:  
See above condensed error text or build.log


Portage 2.2_rc11 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.24-gentoo-r8-i686-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.0
Timestamp of tree: Fri, 03 Oct 2008 11:00:02 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2  -pipe -fomit-frame-pointer -g -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer -g -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-v --with-bdeps=y"
FEATURES="ccache collision-protect distlocks metadata-transfer nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
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="/home/mike/myebuilds"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 avi bash-completion bluetooth branding bzip2 cairo cdr cli compat cracklib crypt cups dbcpalsa dbus dri dvd dvdr dvdread emboss encode evo fam firefox firfox ftp gd gdbm gif gnome gpm gstreamer gtk hal hddtemp iconv intel isdnlog java java5 java6 javamail jbdc jboss jpeg ldap libnotify libwww logitech mad mailwrapper midi mikmod mp3 mpeg mudflap mysql ncurses nls nptl nptlonly ntp nvidia odbc ogg opengl openmp pam pcre pdf perl png postgres ppds pppd python qt3support quicktime rar readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vim vim-completion vim-syntax vim-with-x vorbis win32codecs x86 xml xorg xulrunner xv 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="proxy_http 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 proxy" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mike Weissman 2008-10-03 13:19:05 UTC
Created attachment 167086 [details]
build.log
Comment 2 SpanKY gentoo-dev 2010-01-11 03:36:14 UTC
there are a few different errors, all of which should be fixed in the latest vers

*** This bug has been marked as a duplicate of bug 141906 ***