Bug 146522 - app-crypt/qca-tls-1.0-r3 should go stable (openssl-0.9.8 + gcc-4.1)
Bug#: 146522 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: mips@gentoo.org Reported By: polynomial-c@gentoo.org
Component: Ebuilds
URL: 
Summary: app-crypt/qca-tls-1.0-r3 should go stable (openssl-0.9.8 + gcc-4.1)
Keywords:  
Status Whiteboard: 
Opened: 2006-09-06 02:15 0000
Description:   Opened: 2006-09-06 02:15 0000
Hi,

as openssl-0.9.8c went stable on some arches, app-crypt/qca-tls-1.0-r3 should
go stable on the same arches as well. It contains a patch that is needed for
compilation with openssl-0.9.8.

Cheers
Poly-C

------- Comment #1 From Dizzy 2006-09-06 04:41:19 0000 -------
Yes, right now qca-tls usage for me is broken as I cant recompile it for ossl
0.9.8.

------- Comment #2 From Paolo Pedroni 2006-09-06 05:20:35 0000 -------
Seconded.

------- Comment #3 From Gustavo Felisberto 2006-09-06 07:17:18 0000 -------
Arches please mark stable.

------- Comment #4 From Markus Rothe 2006-09-06 07:43:39 0000 -------
ppc64 stable

------- Comment #5 From Christian Faulhammer 2006-09-06 23:42:43 0000 -------
1) emerges fine
2) passes collision test
3) net-im/psi emerges fine on it and seems to work

Portage 2.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3,
2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash
/etc/terminfo"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer
parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --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="x86 3dnow 3dnowext X Xaw3d a52 alsa arts artworkextra asf audiofile avi
bash-completion beagle berkdb bidi bitmap-fonts bootsplash branding bzip2 cairo
cdda cddb cdparanoia cdr cli cracklib crypt css cups curl custom-cflags dbus
dga directfb divx4linux dlloader dri dts dvd dvdr dvdread dvi eds emacs emboss
encode esd evo exif expat fam fat fbcon ffmpeg firefox fortran ftp gb gcj gdbm
gif gnome gpm gstreamer gtk gtk2 gtkhtml hal icq idn imagemagick imap ipv6
isdnlog java javascript jikes jpeg jpeg2k ldap leim libg++ lm_sensors mad
maildir matroska mbox mikmod mime mmx mmxext mng mono mp3 mpeg mpeg2 mule
nautilus ncurses nforce2 nls nocardbus nptl nptlonly nsplugin nvidia objc ogg
opengl pam pcre pdf pdflib perl plotutils pmu png ppds pppd preview-latex print
python qt3 qt4 quicktime readline reflection reiserfs samba sdk session slang
spell spl sse ssl svg svga t1lib tcltk tcpd tetex theora thunderbird tiff
truetype truetype-fonts type1-fonts udev usb vcd videos vorbis win32codecs wmf
wxwindows xine xml xorg xosd xv xvid zlib elibc_glibc input_devices_mouse
input_devices_keyboard kernel_linux linguas_de userland_GNU video_cards_radeon
video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #6 From Bo Ørsted Andresen (RETIRED) 2006-09-07 05:07:07 0000 -------
1) emerges fine
2) passes collision test
3) seems to work (tested between kde-base/kopete and net-im/psi :)

Portage 2.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3,
2.6.17-suspend2-r5 i686)
=================================================================
System uname: 2.6.17-suspend2-r5 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -Os -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/X11/xkb /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=pentium-m -Os -pipe"
DISTDIR="/opt/distfiles"
FEATURES="autoconfig buildpkg collision-protect distlocks fixpackages
metadata-transfer parallel-fetch sandbox sfperms splitdebug strict test
userfetch"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo"
LC_ALL="en_GB.utf8"
LINGUAS="da en en_GB"
MAKEOPTS="-j2"
PKGDIR="/opt/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=60"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://zlin.dk/gentoo-portage"
USE="x86 X aac acpi alsa asf avi bash-completion berkdb bitmap-fonts bluetooth
bzip2 cairo cdr cli crypt css cups dlloader dri dvd dvdr emboss encode fam fat
fbcon ffmpeg firefox flac fortran gdbm gif gphoto2 gpm i8x0 ieee1394
imagemagick irda irmc isdnlog jfs jpeg kde kdehiddenvisibility libg++
logitech-mouse mad mikmod mmx mmxext mp3 mpeg mplayer msn ncurses nls nptl
nptlonly nsplugin ntfs ogg opengl pam pcre pdf pdflib perl png ppds pppd python
qt3 quicktime readline real reflection reiser4 reiserfs scanner sdl session slp
spell spl sse sse2 ssl subversion svg svga syslog tcpd tetex tiff truetype
truetype-fonts type1-fonts udev unicode usb vcd vorbis wifi win32codecs
xcomposite xfs xine xml xorg xscreensaver xv xvid zlib elibc_glibc
input_devices_evdev input_devices_keyboard input_devices_mouse
input_devices_synaptics input_devices_void kernel_linux linguas_da linguas_en
linguas_en_GB userland_GNU video_cards_fbdev video_cards_fglrx video_cards_i810
video_cards_radeon video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS

------- Comment #7 From Gustavo Zacarias (RETIRED) 2006-09-07 12:31:01 0000 -------
sparc stable, even though 1.0-r2 works fine for us since we don't have openssl
0.9.8c stable.

------- Comment #8 From Jakub Moc (RETIRED) 2006-09-08 00:29:38 0000 -------
*** Bug 146792 has been marked as a duplicate of this bug. ***

------- Comment #9 From Ulf 2006-09-08 04:18:18 0000 -------
This issue seems to become a bit more urgent now...

I ran into this trouble after upgrading my amd64 machine to the default
gcc-4.1.1 yesterday. Recompiling everything with "emerge -eav world" brought up
this issue after re-emerging 350 of 400+ packages. 

So if there isn't a very good reason to keep qca-tls-1.0-r3 unstable, I
strongly suggest to mark it stable very quickly. I guess there are quite a few
guys out there running into the same problem. I don't think there isn't
anything special on my machine regarding qca-tls, but I'm using the default
openssl-0.9.8c. 

However, as I said before, the problem showed up after recompiling everything
with gcc-4.1.1, there weren't any problems with gcc-3.4.6. Error message was
the same as described in the first post of
http://forums.gentoo.org/viewtopic-t-496054-highlight-qcatls.html

------- Comment #10 From Armin Mohring 2006-09-08 13:39:04 0000 -------
On my AMD64 machine, qca-tls 1.0-r3 compiles fine.

------- Comment #11 From Ulf 2006-09-09 01:40:01 0000 -------
version 1.0-3 compiles fine and appears to be running without problems on my
adm64 machine, too.

Looking at the error messages at compile time there are no doubts remaining
that the current stable version 1.0-r2 is compatible with the default
gcc-4.1.1. 

In my opinion there are 2 quite urgent tasks to do:
1. set DEPEND correctly in qca-tls-1.0-r2 like DEPEND <gcc-4.0 (since I assume
problems show up with gcc-4.0 and higher)
2. mark qca-tls-1.0-r3 stable

So some developer wake up please, the current stable qca-tls (1.0-r2) is
incompatible with gcc-4.1.1!

------- Comment #12 From Markus Meier 2006-09-09 04:49:24 0000 -------
1.) emerges fine on x86
2.) passes collision-test


emerge --info
Portage 2.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3,
2.6.17.11 i686)
=================================================================
System uname: 2.6.17.11 i686 AMD Athlon(TM) XP1800+
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks fixpackages
metadata-transfer parallel-fetch sandbox sfperms strict test userfetch userpriv
usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://gentoo.inode.at/"
LANG="en_GB.utf8"
LINGUAS="en de en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/normal /usr/local/portage/testing"
SYNC="rsync://192.168.2.6/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac acpi alsa apache2 avi bash-completion berkdb
bitmap-fonts bzip2 cairo cdr cli crypt css cups dbus divx4linux dlloader dri
dts dvd dvdr dvdread emboss exif fam ffmpeg firefox font-server fortran gdbm
gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal ipv6 isdnlog java jpeg kde
ldap libclamav libg++ logitech-mouse mad mikmod mmx mmxext mono mozcalendar
mozdevelop mozsvg mp3 mpeg ncurses network nls nptl nptlonly nvidia oav ogg
opengl oss pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime
readline reflection samba sdl seamonkey session spell spl ssl tcltk tcpd test
tetex tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis
win32codecs xine xinerama xml xorg xorg-x11 xprint xv xvg xvid zlib elibc_glibc
input_devices_mouse input_devices_keyboard kernel_linux linguas_en linguas_de
linguas_en_GB userland_GNU video_cards_nv video_cards_none"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #13 From Jakub Moc (RETIRED) 2006-09-09 09:51:05 0000 -------
*** Bug 146968 has been marked as a duplicate of this bug. ***

------- Comment #14 From Markus Lohse 2006-09-09 10:25:44 0000 -------
It seems r2 won't compile with gcc 4.1.1 (which has been marked stable
recently) due to some invalid pointer conversations. However I had no problems
with r3 (on x86, Pentium III), so please mark this stable.

------- Comment #15 From Jakub Moc (RETIRED) 2006-09-09 12:48:40 0000 -------
*** Bug 146985 has been marked as a duplicate of this bug. ***

------- Comment #16 From Ulf 2006-09-09 14:35:17 0000 -------
(In reply to comment #11)

I'm sorry, I just realized that that I wrote exactly the opposite from what
wanted to say in my above post:

Please disregard:
> Looking at the error messages at compile time there are no doubts remaining
> that the current stable version 1.0-r2 is compatible with the default
> gcc-4.1.1. 

Correct is:
Looking at the error messages at compile time there are no doubts remaining
that the current stable version 1.0-r2 is _INCOMPATIBLE_ with the default
gcc-4.1.1. 

Version 1.0-r2 is _incompatible_ with the currently stable gcc-4.1.1, of
course. I hope nobody got too puzzled when reading that statement before

------- Comment #17 From Lars Wendler (Polynomial-C) 2006-09-09 15:06:42 0000 -------
Plain wrong. -r2 doesn't work with openssl-0.9.8, nothing else. And that's the
only purpose of this bug, to make qca-tls-1.0-r3 stable so that it can be
compiled when openssl-0.9.8 is installed.

------- Comment #18 From Andrej Kacian (RETIRED) 2006-09-09 17:20:11 0000 -------
1.0-r3 stable on x86

------- Comment #19 From Ulf 2006-09-09 21:53:49 0000 -------
(In reply to comment #17)
> Plain wrong. -r2 doesn't work with openssl-0.9.8, nothing else. And that's the
> only purpose of this bug, to make qca-tls-1.0-r3 stable so that it can be
> compiled when openssl-0.9.8 is installed.
> 

Excuse me, but it looks like you'll have to live with the fact that all the
guys complaining about the gcc-4.1.1 compilation errors also say
"qca-tls-1.0-r3 should go stable", Lars.  In case you are unhappy that other
people propose the same, but their reasons to do so are different, you should
really consider to name your bug less general next time.

------- Comment #20 From Lars Wendler (Polynomial-C) 2006-09-10 01:53:33 0000 -------
*sigh*

qca-tls-1.0.r2 compiled fine with gcc-4.1.1 + openssl-0.9.7 on my x86 box but
not with gcc-4.1.1 + openssl-0.9.8 and that's why I opened this bug. I don't
know why jakub added gcc-4.1 to the summary.
Even the changelog of qca-tls-1.0-r3 only mentions an openssl-0.9.8 fix,
nothing else.

(In reply to comment #19)
> Lars.  In case you are unhappy that other
> people propose the same, but their reasons to do so are different, you should
> really consider to name your bug less general next time.

Well the summary was a bit general but normally I assume that people do NOT
only read the summary.

------- Comment #21 From Jonas Fietz 2006-09-10 13:18:50 0000 -------
The errors when compiling really seem to be because of openssl 0.9.8. I tried
compiling it both with gcc 3.4.6 and 4.1.1, and both of them bombed, before I
just completed the emerge -e world with an emerge --resume --skipfirst (I know,
not very clean, but I am not going to spend another 24h on this)

------- Comment #22 From Wormo 2006-09-10 22:47:14 0000 -------
1.0-r3 stable on ppc

------- Comment #23 From Carsten Lohrke 2006-09-12 16:31:53 0000 -------
*** Bug 147387 has been marked as a duplicate of this bug. ***

------- Comment #24 From Danny van Dyk (RETIRED) 2006-09-13 15:54:27 0000 -------
Stable on amd64.

------- Comment #25 From Armin Mohring 2006-09-14 23:02:53 0000 -------
This this version is stable now, we can close this "bug".

------- Comment #26 From Scott Jubenville 2006-09-15 18:32:23 0000 -------
I'm using gcc-4.1.1 on amd64 and the previous stable versions of openssl and
qca-tls worked fine.

The recent update to stable to qca-tls-1.0-r3 and openssl-0.98c just stopped
all ssl related apps from working. (ssh, kopete)

I have tried recompiling on apps relying on these, but no luck.

Any suggestions.

------- Comment #27 From Lars Wendler (Polynomial-C) 2006-09-15 18:41:36 0000 -------
(In reply to comment #26)
> I'm using gcc-4.1.1 on amd64 and the previous stable versions of openssl and
> qca-tls worked fine.
> 
> The recent update to stable to qca-tls-1.0-r3 and openssl-0.98c just stopped
> all ssl related apps from working. (ssh, kopete)
> 
> I have tried recompiling on apps relying on these, but no luck.
> 
> Any suggestions.
> 
This message appears after merge of openssl-0.9.8:

You must re-compile all packages that are linked against
OpenSSL 0.9.7 by using revdep-rebuild from gentoolkit:
# revdep-rebuild --library libssl.so.0.9.7
# revdep-rebuild --library libcrypto.so.0.9.7
After this, you can delete /usr/$(get_libdir)/libssl.so.0.9.7
and /usr/$(get_libdir)/libcrypto.so.0.9.7

(where $(get_libdir) can be lib, lib32 or lib64 depending on which arch you
have your Gentoo).
Did you read it and followed those instructions?

------- Comment #28 From Scott Jubenville 2006-09-15 18:55:03 0000 -------
Yes I did.

------- Comment #29 From Tobias Scherbaum 2006-10-01 10:56:22 0000 -------
hppa stable

------- Comment #30 From endrazine 2006-10-07 19:29:53 0000 -------
Hi,
for those of you who can't upgrade openssl for some reason, I poted
a patch here: http://bugs.gentoo.org/show_bug.cgi?id=85750#add_comment

Cheers,

endrazine-

------- Comment #31 From Bryan Østergaard (RETIRED) 2006-10-15 09:07:43 0000 -------
ia64 done.

------- Comment #32 From Ilya Volynets 2006-11-08 19:28:58 0000 -------
mips done.
Closing this, since we are last arch, it seems ;-)