Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403607 - app-emulation/wine-1.4_rc2 and 9999 with USE="ssl" fails configure checking, OpenSSL 32-bit development files not found
Summary: app-emulation/wine-1.4_rc2 and 9999 with USE="ssl" fails configure checking, ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-14 15:20 UTC by jospezial
Modified: 2012-02-18 01:22 UTC (History)
2 users (show)

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


Attachments
wine-1.4_rc3_build.log (build.log,342.93 KB, text/plain)
2012-02-16 13:41 UTC, jospezial
Details
wine-1.4_rc3/wine32/config.log (config.log,434.15 KB, text/plain)
2012-02-16 18:24 UTC, jospezial
Details
log for comment 12 (Spanky) (log,15.97 KB, text/plain)
2012-02-16 21:44 UTC, jospezial
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2012-02-14 15:20:44 UTC
app-emulation/wine-1.4_rc2 and 9999 with USE="ssl" fails configure checking

"configure: error: OpenSSL 32-bit development files not found, SSL won't be supported.
This is an error since --with-openssl was requested."

jlgentoo ~ # emerge -vp wine

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   *] app-emulation/wine-9999  USE="X alsa cups fontconfig gecko gnutls gphoto2 gsm jpeg lcms mp3 ncurses nls openal opencl opengl oss perl png samba scanner ssl* threads truetype udisks v4l win32 win64 xinerama xml -capi -custom-cflags (-gstreamer) -hardened -ldap -test -xcomposite" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

dev-libs/openssl-1.0.0g was built with the following:
USE="(multilib) (sse2) zlib -bindist -gmp -kerberos -rfc3779 -static-libs -test"
CFLAGS="-march=native -O2 -pipe -fno-strict-aliasing -Wa,--noexecstack"
CXXFLAGS="-march=native -O2 -pipe -fno-strict-aliasing -Wa,--noexecstack"

Emerge goes fine without ssl.

Reproducible: Always




Portage 2.2.0_alpha86 (default/linux/amd64/10.0, gcc-4.6.2, glibc-2.14.1-r2, 3.3.0-rc3 x86_64)
=================================================================
System uname: Linux-3.3.0-rc3-x86_64-AMD_Athlon-tm-_64_Processor_3700+-with-gentoo-2.1
Timestamp of tree: Tue, 14 Feb 2012 10:45:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.9.6-r3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo overlay_jl
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --quiet-build=y"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="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 --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit X Xaw3d a52 aac aacplus aacs aalib ace acl acpi activefilter aften alsa amd64 apm apng archive ass async audacious audiofile automount bash-completion berkdb binary-drivers blender-game bluray bzip2 cairo ccache cdda cddb cdio cdparanoia cdr cdrdao cdrom cgi charconv chroot cjk cleartype cli colordiff colors compress consolekit corefonts cpio cracklib crypt css cue cups curl curlwrappers cvs cxx cyrillic daemon dbus declarative device-mapper dga dhcp dri dts dv dvb dvd dvdnav emerald emoticon enca encode enscript equalizer exif extensions extras faac faad fat fax fbcon ffmpeg fftw firefox flac floppy fluidsynth fontconfig foomaticdb fortran ftp fts3 fuse g3dvl gallium gd gdbm gdu geoip gif gimp git glu glut gme gnutls gphoto2 gpm gsm gstreamer gtk gtk3 gudev gui gzip hddtemp hdf hdf5 highlight hwdb iconv icq icu id3 id3tag idn imagemagick introspection ios ipc ipod ipv6 java javascript jpeg jpeg2k kate kde keymap ladspa lame laptop lcms lensfun lha libcaca libcanberra libkms libnl libnotify libsamplerate libssh2 libtiger libv4l libv4l2 libwww lm_sensors logrotate loop-aes lua lxde lzma lzo mad magic matroska md5sum midi mikmod mime minizip mixer mjpeg mmap mms mmx mmxext mng modplug modules mouse mozilla mp3 mp4 mpeg mplayer mudflap multilib multislot musepack musicbrainz nano-syntax ncurses network networkmanager nfs nfsidmap nfsv3 nfsv4 nfsv41 nls normalize nowlistening nptl nptlonly nsplugin nss ntfs ntfsprogs ntp nvidia nvram ogg ogm openal opencl opengl openmp optimized-qmake oscar osdmenu otr pam pango panorama parport parse-clocks pcap pci pcre pdf pdfimport phonon pipes plasma pm-utils pmu png policykit portaudio ppds pppd privacy projectm projectx ps pulseaudio pvr qalculate qt3support qt4 quicktime radio rar raw rdesktop readline recording redeyes reiser4 reiserfs remote-access remoteosd replaygain rpm rtsp rubberband samba scanner schroedinger screenshot sdl secure-delete semantic-desktop sensord session sftp sha512 shorten shout skins slang smbclient smi sndfile sockets sound soundtouch speex spell sql sqlite sqlite3 sse sse2 sse3 ssh ssl startup-notification statistics stk stream subtitles subversion svg swat symlink sysfs syslog taglib tcpd texteffect tftp theora threads thumbnail tiff translator truetype twolame udev udisks unicode urlpicpreview usb utp v4l v4l2 vamp vboxwebsrv vcd vcdx vdpau video videos vim-syntax virtualbox vlm vnc vorbis vroot vst wad wav wavpack webgl webkit webm webpresence wifi winpopup wireshark wmf wxwidgets x264 xattr xcb xine xinerama xinetd xml xorg xosd xpm xrandr xscreensaver xv xvid zip 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" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia nouveau vesa svga vga" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-14 20:59:42 UTC
This is confusing. Did you recently switch from a no-multilib profile to a multilib one? I ask because dev-libs/openssl appears to have USE="(multilib)" (i.e. the USE flag is masked), whereas your profile line says:

Portage 2.2.0_alpha86 (default/linux/amd64/10.0, gcc-4.6.2, glibc-2.14.1-r2,
3.3.0-rc3 x86_64)
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-02-14 21:14:29 UTC
(In reply to comment #0)
> dev-libs/openssl-1.0.0g was built with the following:
> USE="(multilib) (sse2) zlib -bindist -gmp -kerberos -rfc3779 -static-libs
> -test"
> CFLAGS="-march=native -O2 -pipe -fno-strict-aliasing -Wa,--noexecstack"
> CXXFLAGS="-march=native -O2 -pipe -fno-strict-aliasing -Wa,--noexecstack"

As far as I can tell, dev-libs/openssl-1.0.0g in portage does not have a multilib USE flag. Are you sure you are using openssl from portage and not from some unsupported overlay?

Please re-emerge openssl and app-emulation/emul-linux-x86-baselibs with PORTDIR_OVERLAY="" (to ensure that all overlays are disabled), and try to emerge wine again.
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-02-14 21:25:01 UTC
(In reply to comment #2)
I apologize, please ignore comment #2, I was wrong. The multilib USE flag's presence is correct, it is forced by the amd64 profile.

---------

The real questions:
1. what version of app-emulation/emul-linux-x86-baselibs do you have installed?
2. please provide the output of
equery files app-emulation/emul-linux-x86-baselibs | grep -E '(crypto|ssl)'

(If you don't have equery, you will need to install gentoolkit.)
Comment 4 SpanKY gentoo-dev 2012-02-15 04:08:04 UTC
(In reply to comment #3)

i don't think so.  the amd64 profile forcing USE=multilib doesn't mean every package should have it show up.  the output should only list things in IUSE and openssl doesn't have multilib in IUSE.
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-02-15 04:17:07 UTC
(In reply to comment #4)

If you use portage-2.2.0_alpha86, "(multilib)" will show up in emerge --info's USE line for every installed package.
Comment 6 SpanKY gentoo-dev 2012-02-15 15:20:23 UTC
he still needs to provide the requested output

the config.log from wine would be useful too as an attachment
Comment 7 jospezial 2012-02-15 20:08:12 UTC
jlgentoo ~ # equery files app-emulation/emul-linux-x86-baselibs | grep -E '(crypto|ssl)'
/usr/lib32/libcrypto.so
/usr/lib32/libcrypto.so.0.9.8
/usr/lib32/libcrypto.so.1.0.0
/usr/lib32/libgnutls-openssl.so
/usr/lib32/libgnutls-openssl.so.26
/usr/lib32/libgnutls-openssl.so.26.16.14
/usr/lib32/libk5crypto.so
/usr/lib32/libk5crypto.so.3
/usr/lib32/libk5crypto.so.3.1
/usr/lib32/libssl.so
/usr/lib32/libssl.so.0.9.8
/usr/lib32/libssl.so.1.0.0
/usr/lib32/libssl3.so
/usr/lib32/libssl3.so.12
jlgentoo ~ # 

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

app-emulation/emul-linux-x86-baselibs-20120127 was built with the following:
USE="(multilib) -development"

There is no config.log. but I will attach the build.log when I try wine-1.4_rc3 .
Comment 8 jospezial 2012-02-16 13:41:50 UTC
Created attachment 302149 [details]
wine-1.4_rc3_build.log

the same messages
Comment 9 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-02-16 15:47:58 UTC
(In reply to comment #7)
> There is no config.log

I am sorry if it was unclear; the file that we need to see is /var/tmp/portage/app-emulation/wine-1.4_rc3/work/wine32/config.log

Please attach it.
Comment 10 jospezial 2012-02-16 18:24:25 UTC
Created attachment 302183 [details]
wine-1.4_rc3/wine32/config.log

Sorry but my fault was I used the search function of Dolphin and it could not find the file because the work dir was denied for normal user.


That's on the end:

#define SONAME_LIBCUPS "libcups.so.2"
#define SONAME_LIBFONTCONFIG "libfontconfig.so.1"
#define SONAME_LIBCRYPTO "libcrypto.so.1.0.0"

configure: exit 1


Hope that helps.
Comment 11 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-02-16 19:04:52 UTC
(In reply to comment #10)
Thanks, this part of the log shows the error:

configure:11108: checking for -lssl
configure:11133: x86_64-pc-linux-gnu-gcc -m32 -o conftest -march=native -O2 -pipe -O2 -m32 -I/usr/include/freetype2  -Wl,-O1 -Wl,--as-needed -m32 conftest.c -lssl   >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../lib32/libssl.so: undefined reference to `EVP_idea_cbc'
collect2: ld returned 1 exit status
configure:11133: $? = 1

Adding openssl and emul-linux-x86-baselibs maintainers to CC list, hopefully they can figure out why this is happening.
Comment 12 SpanKY gentoo-dev 2012-02-16 20:38:10 UTC
libssl is linked against libcrypto which provides that symbol

$  readelf -s /usr/lib32/libssl.so | grep EVP_idea_cbc
   143: 00000000     0 FUNC    GLOBAL DEFAULT  UND EVP_idea_cbc
$ readelf -s /usr/lib32/libcrypto.so | grep EVP_idea_cbc
  1643: 000957d0    22 FUNC    GLOBAL DEFAULT   10 EVP_idea_cbc

post the full output as an attachment of doing:
echo 'main(){return SSL_library_init();}' | \
 gcc -v -x c - -o a.out -Wl,--as-needed -m32 -lssl  -Wl,--verbose >& log
Comment 13 jospezial 2012-02-16 21:44:09 UTC
Created attachment 302203 [details]
log for comment 12 (Spanky)

by the way:
my adobe reader 9 crashed today with this message:

/opt/bin/acroread: symbol lookup error: /usr/lib32/libssl.so.0.9.8: undefined symbol: EVP_idea_cbc
Comment 14 SpanKY gentoo-dev 2012-02-17 20:20:59 UTC
certainly not a bug in wine, and your system is screwed up

found libcrypto.so.1.0.0 at /lib32/libcrypto.so.1.0.0

Gentoo doesn't install that
Comment 15 jospezial 2012-02-18 01:22:59 UTC
Thank you for all your help.
There were 3 files in /lib32/ that didn't belong there:
lrwxrwxrwx 1 root root      18 24. Jul 2011  /lib32/libcrypto.so -> libcrypto.so.1.0.0
-rwxr-xr-x 1 root root 1179956 22. Jul 2011  /lib32/libcrypto.so.0.9.8
-rwxr-xr-x 1 root root 1290136 22. Jul 2011  /lib32/libcrypto.so.1.0.0

These were the only files from July 2011. All the other were younger,most from last month.
It is hard to understand that there are files that belong there and are superfluous when the program says it can't find something needed.

I moved that files to a backup folder and now the configure and hopefully all the install process of wine goes right.

The only reason for these files there could be that I tried to fix Googleearth a long time ago. There was a problem that it could not find some lib-files or crashes.
But that is another story.

So get you a glas of wine and a bit of cryptonite and have a nice day!