Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406005 - app-emulation/virtualbox-4.1.8: configure fails when checking for ssl
Summary: app-emulation/virtualbox-4.1.8: configure fails when checking for ssl
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-27 10:08 UTC by René Kraneis
Modified: 2012-02-27 10:45 UTC (History)
0 users

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


Attachments
configure.log (VirtualBox-4.1.8_OSE-configure.log,7.51 KB, text/plain)
2012-02-27 10:10 UTC, René Kraneis
Details
patch to require kerberos for openssl (virtualbox-ebuild-ssl.patch,402 bytes, patch)
2012-02-27 10:33 UTC, René Kraneis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description René Kraneis 2012-02-27 10:08:06 UTC
checking for ssl in configure fails with:
[...]

Checking for ssl:
  libcrypto not found at  -lssl -lcrypto or openssl headers not found
  Check the file /var/tmp/portage/app-emulation/virtualbox-4.1.8/work/VirtualBox-4.1.8_OSE/configure.log for detailed error information.
Check /var/tmp/portage/app-emulation/virtualbox-4.1.8/work/VirtualBox-4.1.8_OSE/configure.log for details
 * ERROR: app-emulation/virtualbox-4.1.8 failed (configure phase):
 *   configure failed
 *
 * Call stack:
 *     ebuild.sh, line  85:  Called src_configure
 *   environment, line 7636:  Called die
 * The specific snippet of code:
 *       ./configure --with-gcc="$(tc-getCC)" --with-g++="$(tc-getCXX)" --disable-kmods --disable-dbus ${myconf} || die "configure failed"
 *
 * If you need support, post the output of 'emerge --info =app-emulation/virtualbox-4.1.8',
 * the complete build log and the output of 'emerge -pqv =app-emulation/virtualbox-4.1.8'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-bin-6  CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-6.1.11.1"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-4.1.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-4.1.8/temp/environment'.
 * S: '/var/tmp/portage/app-emulation/virtualbox-4.1.8/work/VirtualBox-4.1.8_OSE'


Reproducible: Always

Steps to Reproduce:
1. add app-emulation/virtualbox-4.1.8 to package.accept_keywords
2. emerge virtualbox
Actual Results:  
configure fails with the error message given above

Expected Results:  
virtualbox should have been emerged correctly

Becrux ~ # emerge --info
Portage 2.1.10.44 (default/linux/x86/10.0/desktop/gnome, gcc-4.5.3, glibc-2.13-r4, 3.1.10-gentoo-r1 i686)
=================================================================
System uname: Linux-3.1.10-gentoo-r1-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 26 Feb 2012 12:45:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-overlay
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=atom -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=atom -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://de-mirror.org/gentoo/ http://de-mirror.org/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/overlay"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa archive avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cli clutter colord connection-sharing consolekit cracklib crypt cups cvs cxx dbus djvu dri dts dvb dvd dvdr dvi eds emboss emf encode evo exif expat fam fat ffmpeg fftw firefox flac fontconfig fortran fuse gd gdbm gdu gif gimp gnome gnome-keyring gnome-online-accounts gnutls gphoto2 gpm graphviz gsm gstreamer gtk gtkhtml hddtemp howl-compat iconv icu idn imagemagick ipv6 java java6 jbig jpeg jpeg2k keychain lapack latex lcms ldap libnotify lzma mad mdnsresponder-compat mms mmx mng modules mp3 mp4 mpeg mudflap musepack nautilus ncurses networkmanager nls nokia nptl nptlonly nsplugin ntfs offensive ofx ogg openexr opengl openmp packagekit pam pango pcre pdf plotutils png policykit ppds pppd pulseaudio qt3support raw readline samba sasl sbcl scanner sdl session socialweb spell sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg sysfs system-sqlite t1lib taglib tcpd theora threads tiff tracker truetype udev unicode upnp usb v4l vaapi vcd vorbis wavpack webkit wifi win32codecs wmf x264 x86 xcb xinerama xml xmp xorg xulrunner xv xvid zeitgeist zeroconf 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="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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" NETBEANS_MODULES="apisupport harness ide java javafx nb cnd ergonomics mobility profiler" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 René Kraneis 2012-02-27 10:10:08 UTC
Created attachment 303479 [details]
configure.log
Comment 2 René Kraneis 2012-02-27 10:13:05 UTC
From configure.log it seems that virtualbox should enable the kerberos use flag on openssl. I'm trying this atm and will post an updated ebuild if this succeeds.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-02-27 10:28:15 UTC
virtualbox does NOT need kerberos.

Please post the output of

  qfile -Cv libssl.so
Comment 4 René Kraneis 2012-02-27 10:33:15 UTC
Created attachment 303489 [details, diff]
patch to require kerberos for openssl

Trivial patch to the current virtualbox-4.1.8-r1.ebuild to require kerberos for openssl.
Comment 5 René Kraneis 2012-02-27 10:35:55 UTC
Becrux virtualbox # qfile -Cv libssl.so
dev-libs/openssl-1.0.0g (/usr/lib/libssl.so)
app-emulation/emul-linux-x86-baselibs-20120127 (/usr/lib32/libssl.so)

(This is after enabeling kerberos but should make no difference ...)

(In reply to comment #3)
> virtualbox does NOT need kerberos.
> 
> Please post the output of
> 
>   qfile -Cv libssl.so
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-02-27 10:38:53 UTC
Comment on attachment 303489 [details, diff]
patch to require kerberos for openssl

Like I said, kerberos is NOT needed by virtualbox and thus your patch is invalid.

Why do you have app-emulation/emul-linux-x86-baselibs-20120127 installed on a x86 system? All emul-linux-* packages are only needed for amd64 systems. They should never be installed on a x86 system. Uninstall this package and your error should be gone.
Comment 7 René Kraneis 2012-02-27 10:43:42 UTC
I can confirm that the problem is on my side!

(from configure.log)
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../lib32/libssl.so: undefined
reference to xyz

I have an installation of emul-linux to enable flash on epiphany (gtk3) via
nspluginwrapper.

Configure picks up "the wrong" (emul) libssl.

I was too lazy to try to compile nspluginwrapper x86-x86 only.

Sorry for the inconvenience!