Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331779 - app-emulation/emul-linux-x86-baselibs-20100611: broken 32bit openssl
Summary: app-emulation/emul-linux-x86-baselibs-20100611: broken 32bit openssl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: emul-tracker
  Show dependency tree
 
Reported: 2010-08-09 15:23 UTC by Emmanuel Andry
Modified: 2010-09-20 10:41 UTC (History)
1 user (show)

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


Attachments
config.log (config.log,372.84 KB, text/plain)
2010-08-09 15:25 UTC, Emmanuel Andry
Details
build.log (build.log,347.86 KB, text/plain)
2010-08-10 09:05 UTC, Emmanuel Andry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Andry 2010-08-09 15:23:39 UTC
checking for -lssl... not found
checking for -lcrypto... libcrypto.so.0.9.8
configure: error: OpenSSL 32-bit development files not found, SSL won't be supported.
This is an error since --with-openssl was requested.

Reproducible: Always
Comment 1 Emmanuel Andry 2010-08-09 15:25:10 UTC
Created attachment 241993 [details]
config.log
Comment 2 Emmanuel Andry 2010-08-09 15:25:58 UTC
# emerge --info wine
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r0, 2.6.35-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T6570_@_2.10GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 09 Aug 2010 14:45:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -mtune=native -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ ftp://de-mirror.org/distro/gentoo/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr"
MAKEOPTS="-j3"
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="   "
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi addns ads akonadi alsa amd64 autoipd avahi berkdb bluetooth branding bzip2 cairo cdr cleartype cli colordiff consolekit cracklib crypt cups curl cxx dbus desktopglobe dhcpcd dri dts dvd dvdr emboss encode exif extras fam ffmpeg fftw firefox flac fontconfig fortran fuse gdbm gif glitz gmp gpm graphite gstreamer gtk hal hdaps iconv idn imagemagick ipv6 java jpeg kde kerberos krb5 lame laptop lcdfilter lcms ldap lenovo libnotify libsamplerate lzma mad mdnsresponder-compat meanwhile mikmod mktemp mmap mmx mng modules mp3 mp4 mpeg msn mudflap multilib ncurses network-cron nls nptl nptlonly nsplugin ogg openal opengl openmp openssh openssl optimized-qmake pam pango pcre pdf perl phonon png policykit polkit ppds pppd pulseaudio python qt3support qt4 quicktime readline reflection rss samba sdl secure-delete semantic-desktop session smbkrb5passwd sndfile spell spl sqlite sse sse2 sse3 ssh ssl ssse3 startup-notification svg symlink sysfs system-sqlite tcpd theora thinkpad threads thumbnail tiff truetype unicode upnp usb v4l2 vaapi vorbis vp8 vpx wicd wifi x264 xcb xcomposite xinerama xml xorg xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-emulation/wine-1.2 was built with the following:
USE="X alsa cups dbus fontconfig gecko jpeg lcms ldap mp3 (multilib) ncurses openal opengl perl png pulseaudio samba ssl threads truetype xcomposite xinerama xml (-capi) -custom-cflags (-esd) -gnutls (-gphoto2) -gsm (-hal) -jack -nas -oss (-scanner) -test -win64"                                                                                     
CFLAGS="-O2 -pipe -march=core2 -mtune=core2"
CXXFLAGS="-O2 -pipe -march=core2 -mtune=core2"
LDFLAGS="-Wl,--hash-style=gnu,-O1 -Wl,--as-needed"
Comment 3 Eray Aslan gentoo-dev 2010-08-10 07:21:10 UTC
Please check that you have app-emulation/emul-linux-x86-baselibs installed.  It should be pulled in with your use flags (-win64).
Comment 4 SpanKY gentoo-dev 2010-08-10 08:37:38 UTC
as well as post the full build.log as an attachment
Comment 5 Emmanuel Andry 2010-08-10 09:03:37 UTC
app-emulation/emul-linux-x86-baselibs-20100611 is installed (and reemerged it).
Comment 6 Emmanuel Andry 2010-08-10 09:05:54 UTC
Created attachment 242207 [details]
build.log
Comment 7 SpanKY gentoo-dev 2010-08-10 23:52:49 UTC
not a bug in wine.  openssl as included in you baselibs pkg is broken.

/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../lib32/libssl.so: undefined reference to `EVP_camellia_256_cbc'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../lib32/libssl.so: undefined reference to `EVP_camellia_128_cbc'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../lib32/libssl.so: undefined reference to `pqueue_size'

those symbols are provided by libcrypto.so and libssl.so should be linked against it.
Comment 8 SpanKY gentoo-dev 2010-08-10 23:55:42 UTC
and actually, on my system, app-emulation/emul-linux-x86-baselibs-20100611 looks correct.  so some double checking on yours looks in order.

$ qlist -I -v baselibs
app-emulation/emul-linux-x86-baselibs-20100611
$ readelf -d /usr/lib32/libssl.so | grep crypto
 0x00000001 (NEEDED)                     Shared library: [libk5crypto.so.3]
 0x00000001 (NEEDED)                     Shared library: [libcrypto.so.0.9.8]
$ readelf -s /usr/lib32/libssl.so | grep EVP_camellia_256
    48: 00000000     0 FUNC    GLOBAL DEFAULT  UND EVP_camellia_256_cbc
Comment 9 Emmanuel Andry 2010-08-11 09:40:24 UTC
So ?
Comment 10 SpanKY gentoo-dev 2010-08-14 05:46:18 UTC
so, do the double checking like i showed
Comment 11 Emmanuel Andry 2010-08-16 09:46:51 UTC
# qlist -I -v baselibs
app-emulation/emul-linux-x86-baselibs-20100611

# readelf -d /usr/lib32/libssl.so | grep crypto
 0x00000001 (NEEDED)                     Shared library: [libk5crypto.so.3]
 0x00000001 (NEEDED)                     Shared library: [libcrypto.so.0.9.8]

# readelf -s /usr/lib32/libssl.so | grep EVP_camellia_256
    48: 00000000     0 FUNC    GLOBAL DEFAULT  UND EVP_camellia_256_cbc
Comment 12 Pacho Ramos gentoo-dev 2010-09-15 11:26:05 UTC
Please retry with 20100915 emul set
Comment 13 Emmanuel Andry 2010-09-20 10:38:16 UTC
Wine builds fine with 20100915.

Thanks !
Comment 14 Pacho Ramos gentoo-dev 2010-09-20 10:40:57 UTC
Great to know :-) (reopening for proper resolution)