Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209984 - net-libs/gnutls-2.2.2 - stable request
Summary: net-libs/gnutls-2.2.2 - stable request
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords: STABLEREQ
: 214412 214495 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-13 11:55 UTC by Alon Bar-Lev (RETIRED)
Modified: 2008-11-07 05:40 UTC (History)
8 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alon Bar-Lev (RETIRED) gentoo-dev 2008-02-13 11:55:29 UTC
I don't want to fall behind upstream again...

Thanks!

alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86
Comment 1 Markus Meier gentoo-dev 2008-03-21 18:32:23 UTC
amd64/x86 stable
Comment 2 Reginald Tiangha 2008-03-22 10:31:27 UTC
Just a heads up but, on my amd64 system, upgrading to gnutls-2.2.2 gave me problems with recompiling all my gnome packages against the new gnutls.

revdep-rebuild didn't get the ordering correct.  gnome-vfs needed to be compiled first, otherwise multiple package recompilations would fail through revdep-rebuild.

More details here:
http://forums.gentoo.org/viewtopic-t-678551.html

Something needs to be done about this as I can see it causing problems for a lot of users who try to stay on the stable track.
Comment 3 nixnut (RETIRED) gentoo-dev 2008-03-22 15:37:24 UTC
ppc stable
Comment 4 Markus Rothe (RETIRED) gentoo-dev 2008-03-22 16:17:06 UTC
ppc64 stable
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2008-03-22 17:40:34 UTC
(In reply to comment #2)
> revdep-rebuild didn't get the ordering correct.  gnome-vfs needed to be
> compiled first, otherwise multiple package recompilations would fail through
> revdep-rebuild.

Hello,
This is gnome or revdep-rebuild bug, can you please submit a bug against them?
Thanks!
Comment 6 Raúl Porcel (RETIRED) gentoo-dev 2008-03-24 10:58:11 UTC
alpha/ia64/sparc stable
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2008-03-26 13:06:19 UTC
Stable for HPPA.
Comment 8 Vande Vonder Andre 2008-04-04 12:00:17 UTC
x86 UNSTABLE

after upgrade, I don't be able to print.

Under cups -> printer ready -> any print job became "Error"

But the revdep-rebuild needs to recompile "Ghostscript-gpl-8.61-r3" (libtls.so.13) and the ghostscript stop with an error on "libtls' version (ALWAYS).

After mask of gnutls-2.2.2, recompile cups (updated to libtls.so.26) restart, test -> OK

----
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r3 i686)
=================================================================
System uname: 2.6.24-gentoo-r3 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4000+
Timestamp of tree: Fri, 04 Apr 2008 11:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=athlon64 -march=athlon64 -pipe -fomit-frame-pointer"
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/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=athlon64 -march=athlon64 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="fr_BE@euro"
LC_ALL="fr_BE.utf8"
LINGUAS="fr"
MAKEOPTS="-j8"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit 3dnow 3dnowext 7zip S3TC X a52 aac acpi addbookmarks adns aiglx aim akode alias alisp alsa amarok amd amr amrnb amrwb animgif ao apm arts asf audacious audiofile autoreplace background bash-completion bdf be berkdb bigpatch binary-drivers binfilter bl bluetooth branding bzip2 cairo capi caps cdaudio cdda cddb cdinstall cdparanoia cdr cdrom chipcard chm classic cli cmdsubmenu colordiff compress connectionstatus contactnotes cpudetection cracklib crypt css ctype cups curl curlwrappers cursors cxx dbase dbus dbx demo depth32 device-mapper dga dia disk-partition divx djvu dmi dmx dolby-record-switch dolbyinrec dssi dts dv dvb dvbplayer dvd dvdnav dvdr dvdread emboss emerald emovix enca encode esd examples exif extra-cardsets extrafilters fam fame fat ffmpeg firefox flac flash font-server fontconfig foomaticdb fpx ftp gadu gammu gdbm gdm geoip gif gimp gimpprint glib glibc-compat20 glibc-omitfp gmedia gnokii gphoto2 gpm graphviz gs gstreamer gtk gzip h323 hal hbci hdri hfs highlight history howl icons iconv icq id3 idn imagemagick imlib irmc jabber jack java javascript jbig jingle joystick jpeg jpeg2k justify kcal kde kdecards kdepim kdm kdrive kexi kig-scripting kipi lame lash lcms libnotify logrotate lzo lzw mad matroska mcve mdb mdnsresponder-compat memlimit midi mikmod mime ming mjpeg mmap mmx mmxext mng modplug motif mozilla mp2 mp3 mpeg mpeg2 mplayer msn mudflap musepack musicbrainz ncurses netjack netmeeting network nfs nis nls nowlistening nptl nptlonly nsplugin ntfs obex odbc ofx ogg openal openexr opengl osc oscar oss pam parport pcre pda pdf perl png portaudio posix postproc postscript povray ppds pppd ps pysolcards python q32 qt3 qt3support qt4 quicktime rar readline real realmedia reflection resolvconf rtc sametime scanner sdl sdl-image sdl-sound sdlaudio seamonkey serpentine session setup-plugin sharedmem shorten simplexml slang slp sms sndfile sockets sound sox speedo speex spell spl sql sqlite sqlite3 sse sse2 ssl ssse3 startup-notification statistics stream submenu subtitles svg svga svgz swig symlink sysfs syslog sysvipc szip tcpd texteffect tga themes theora tidy tiff timidity tokenizer transcode translator truetype type1 unicode usb userlocales v4l v4l2 vcd vdr videos vidix visualization vorbis wav wavpack webdav webinstall webpresence win32codecs winpopup wma wmf wmp x86 xanim xbase xcf xcomposite xface xine xinerama xml xmlreader xmlrpc xmlwriter xorg xosd xpm xprint xscreensaver xsettings xskatcards xulrunner xv xvid xvmc yahoo zeroconf zip zip-external zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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="mouse keyboard joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY



Comment 9 Torsten Krah 2008-04-05 09:03:08 UTC
Looking at http://bugs.gentoo.org/show_bug.cgi?id=214495 and http://bugs.gentoo.org/show_bug.cgi?id=214412 i agree that its not stable.
Comment 10 Alon Bar-Lev (RETIRED) gentoo-dev 2008-04-05 15:40:05 UTC
Thank you for the bug reference.

I tried the cups issue (bug#209984) and it works for me.
It looks that something is wrong, but I need more details to understand.
This error (GNUTLS_E_INCOMPATIBLE_GCRYPT_LIBRARY) should be returned for
any gnutls initialization.

Can you please paste output of:
equery list libgcrypt

Can you please check if gnutls self tests passes?
FEATURES="test" emerge --oneshot gnutls
Comment 11 Alon Bar-Lev (RETIRED) gentoo-dev 2008-04-05 15:43:04 UTC
*** Bug 214412 has been marked as a duplicate of this bug. ***
Comment 12 Alon Bar-Lev (RETIRED) gentoo-dev 2008-04-05 15:43:29 UTC
*** Bug 214495 has been marked as a duplicate of this bug. ***
Comment 13 Vande Vonder Andre 2008-04-05 16:51:07 UTC
To find a solution I use an empty partition :

After new install (USE="nls nptl nptl-only unicode" and make.profile default-linux/x86/2007.0/desktop)
Ghostscript-gpl pass

Migrate USE flags to same of first machine

gnutls difference are lzo
[ebuild   R   ] net-libs/gnutls-2.2.2  USE="lzo* nls zlib -bindist -doc -guile"

ghostscript difference are "djvu"
[ebuild   R   ] app-text/ghostscript-gpl-8.61-r3  USE="X cups djvu* gtk -bindist -cjk" 0 kB

emerge -uDN
revdep-rebuild

ALL PASS in fresh install  !!!!!!!!


Under first machine

Remove gnutls-2.2.2 from package.mask
emerge -uDN -> only gnutls-2.2.2

revdep-rebuild : list of application
app-mobilephone/gsmlib-1.11_pre041028
net-print/cups-1.2.12-r7 
media-libs/gstreamer-0.10.14
gnome-extra/libgsf-1.14.7
x11-libs/gtk+-2.12.8
app-text/ghostscript-gpl-8.61-r3
xfce-extra/xfce4-mailwatch-1.0.1
media-libs/gst-plugins-base-0.10.14
app-office/scribus-1.3.3.11
xfce-base/xfprint-4.4.2-r1
kde-base/kdelibs-3.5.8-r3
media-gfx/gimp-print-5.1.4

Revdep crash on ghostscript

ln -s libgs.so.8.61 ./bin/../sobin/libgs.so
i686-pc-linux-gnu-gcc  -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FILE64 -DHAVE_MKSTEMP64 -DHAVE_FONTCONFIG -O2 -fPIC -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long" -O2 -mtune=athlon64 -march=athlon64 -pipe -fomit-frame-pointer -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/lib/ghostscript/8.61\" -I./obj/../soobj -I./src  -g -o ./bin/../sobin/gsc ./src/dxmainc.c -L./bin/../sobin -lgs
./bin/../sobin/libgs.so: undefined reference to `libiconv'
./bin/../sobin/libgs.so: undefined reference to `libiconv_close'
./bin/../sobin/libgs.so: undefined reference to `libiconv_open'
collect2: ld a retourné 1 code d'état d'exécution
make[1]: *** [bin/../sobin/gsc] Erreur 1
make[1]: quittant le répertoire « /tmp/portage/app-text/ghostscript-gpl-8.61-r3/work/ghostscript-8.61 »
make: *** [so] Erreur 2


After that, I reproduce this error always on first machine.
Actually in downgrade to 2.0.4, i need pc to other works. This night I work on it and post all result.
Comment 14 Vande Vonder Andre 2008-04-05 22:18:27 UTC
[ Searching for package 'libgcrypt' in all categories among: ]
 * installed packages
[I--] [  ] dev-libs/libgcrypt-1.4.0-r1 (0)

FEATURES="test" -> pass

Comment 15 Torsten Krah 2008-04-05 22:29:51 UTC
@1:

[ Searching for package 'libgcrypt' in all categories among: ]
 * installed packages
[I--] [  ] dev-libs/libgcrypt-1.4.0-r1 (0)

@2:

Tests did not succeed, this is the latest message (complaining about gcrypt is too old - although its the latest which is in portage tree):

Making check in tests
make[1]: Entering directory `/var/tmp/portage/net-libs/gnutls-2.2.2/work/gnutls-2.2.2/tests'
Making check in rsa-md5-collision
make[2]: Entering directory `/var/tmp/portage/net-libs/gnutls-2.2.2/work/gnutls-2.2.2/tests/rsa-md5-collision'
make  rsa-md5-collision
make[3]: Entering directory `/var/tmp/portage/net-libs/gnutls-2.2.2/work/gnutls-2.2.2/tests/rsa-md5-collision'
make[3]: Nothing to be done for `rsa-md5-collision'.
make[3]: Leaving directory `/var/tmp/portage/net-libs/gnutls-2.2.2/work/gnutls-2.2.2/tests/rsa-md5-collision'
make  check-TESTS
make[3]: Entering directory `/var/tmp/portage/net-libs/gnutls-2.2.2/work/gnutls-2.2.2/tests/rsa-md5-collision'
/var/tmp/portage/net-libs/gnutls-2.2.2/work/gnutls-2.2.2/src/.libs/lt-certtool: global_init: The gcrypt library version is too old.
FAIL: rsa-md5-collision
===================================
1 of 1 tests failed
Please report to bug-gnutls@gnu.org
===================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-libs/gnutls-2.2.2/work/gnutls-2.2.2/tests/rsa-md5-collision'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-libs/gnutls-2.2.2/work/gnutls-2.2.2/tests/rsa-md5-collision'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/gnutls-2.2.2/work/gnutls-2.2.2/tests'
make: *** [check-recursive] Error 1
Comment 16 Vande Vonder Andre 2008-04-05 23:10:07 UTC
(In reply to comment #14)
> [ Searching for package 'libgcrypt' in all categories among: ]
>  * installed packages
> [I--] [  ] dev-libs/libgcrypt-1.4.0-r1 (0)
> 
> FEATURES="test" -> pass
> 

Please accept my apologies.
Last month, I install gambas2 in my home, to that i install libiconv to. I don't now why, some link reside under /usr (???) and point to my home. I remove these link and all pass.

Sorry
Comment 17 Torsten Krah 2008-04-06 07:36:14 UTC
Thx for this hint - i've checked ldd output of the "broken" stuff and ebuild merged files and found the same problem.
As i need gpg2 at boot time and got a separate partition, i had to have to copy  all the needed libraries to /lib to make use of it (cryptsetup), these are linked and to old.

So my fault, all is working when updateing this older copy (although the problem why i have done this is still there and i have to do this again).

Torsten
Comment 18 Daniel Black (RETIRED) gentoo-dev 2008-11-07 05:40:24 UTC
version no  longer present. I'll push for 2.4.1 to be stabilised soon.