Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142650 - dev-libs/cyrus-sasl-2.1.22: stabilize request
Summary: dev-libs/cyrus-sasl-2.1.22: stabilize request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: Normal normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
: 144401 146067 146558 146574 (view as bug list)
Depends on:
Blocks: 142708
  Show dependency tree
 
Reported: 2006-08-03 07:00 UTC by Jule Slootbeek
Modified: 2020-05-01 15:21 UTC (History)
6 users (show)

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


Attachments
output of "USE="-* java" emerge cyrus-sasl" (cysrus-sasl-2.1.21-r2,103.65 KB, text/plain)
2006-08-03 07:01 UTC, Jule Slootbeek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jule Slootbeek 2006-08-03 07:00:21 UTC
emerge fails with java USE flag enabled

## emerge --info
Portage 2.1.1_pre4-r2 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.12.4
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://gentoo.mirrored.ca http://adelie.polymtl.ca/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.seren.com/gentoo"
LINGUAS="en nl"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apache2 apm arts avi bitmap-fonts cairo cli crypt dlloader dri emboss encode esd firefox flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imlib isdnlog java jpeg kdeenablefinal libg++ libnotify libwww mad mikmod mp3 mpeg musicbrainz ncurses nls no-seamonkey nptl nptlonly ogg opengl oss pam pcre pdf pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tagwriting tcpd truetype truetype-fonts type1-fonts udev unicode userlocales vorbis xml xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_nl userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

I have attached the output of a complete emerge with only the java use flag enabled. Disabling the java USE flag results in a successfull compile.
Comment 1 Jule Slootbeek 2006-08-03 07:01:16 UTC
Created attachment 93340 [details]
output of "USE="-* java" emerge cyrus-sasl"
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-08-03 08:03:03 UTC
It's trying to use sun-jdk-1.5 because it's in your JAVA_HOME for some reason. I suppose you have migrated to the generation 2 java system. I think it suffers from this comment in java-pkg.eclass:

# TODO need to make sure everything that inherits java-pkg and has a pkg_setup
# uses java-pkg_pkg_setup
java-pkg_pkg_setup() {

Which is the case for this ebuild, it inherits java-pkg and defines pkg_setup, in which it should call java-pkg_pkg_setup to properly set generation-1 environment (1.4 jdk) and not rely on what is currently in your JAVA_HOME env.

So I suppose (some java dev correct me if I'm wrong) the fix is to put this in pkg_setup():

use java && java-pkg_pkg_setup
Comment 3 Josh Nichols (RETIRED) gentoo-dev 2006-08-03 08:06:15 UTC
That's correct Caster. That snippet should be added to all the revisions.
Comment 4 Jule Slootbeek 2006-08-03 08:06:36 UTC
honestly, i don't even have java 1.4 installed on this machine. Maybe that's why there were some issues since it couldn't switch over to the old JDK.
Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-08-03 08:14:17 UTC
(In reply to comment #4)
> honestly, i don't even have java 1.4 installed on this machine. Maybe that's
> why there were some issues since it couldn't switch over to the old JDK.

How can you not have it? Well, once the ebuild(s) is corrected it will refuse to continue until you have valid gen-1 jdk set, and that can be only 1.4.
Maybe the depends should also be updated to pull precisely =virtual-jdk-1.4* just to be sure.
Comment 6 Jule Slootbeek 2006-08-03 08:20:05 UTC
I just setup this box yesterday, and just installed sun-jdk, which, if no version is specified, installs latest 1.5.0 (with ACCEPT_KEYWORDS="~x86" at least).
Comment 7 Jule Slootbeek 2006-08-03 08:36:12 UTC
indeed, after emerging dev-java/sun-jdk-1.4.2.12-r1, dev-libs/cyrus-sasl-2.1.21-r2 emerges fine with the java USE flag enabled. I'll still look forward to the new ebuild.
Thanks!
Comment 8 Tuan Van (RETIRED) gentoo-dev 2006-08-03 17:26:05 UTC
in dev-libs/cyrus-sasl-2.1.21-r3 and dev-libs/cyrus-sasl-2.1.22.

Thanks,
Tuan
Comment 9 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-08-05 03:37:40 UTC
(In reply to comment #8)
> in dev-libs/cyrus-sasl-2.1.21-r3 and dev-libs/cyrus-sasl-2.1.22.

I think the stable ebuilds should have been fixed too. With this, stable users will still get breakage...

Comment 10 Josh Nichols (RETIRED) gentoo-dev 2006-08-05 08:08:21 UTC
Indeed. Would not hurt to apply it to all versions, including stable. The reason is that many people on stable systems were unmasking Java 1.5 back when it was masked... so when new Java system came out, they would have gotten it too.
Comment 11 Josh Nichols (RETIRED) gentoo-dev 2006-08-05 08:20:38 UTC
Reopenning.
Comment 12 Tuan Van (RETIRED) gentoo-dev 2006-08-05 09:18:14 UTC
cyrus-sasl-2.1.21-r3.ebuild is bumped from stable ebuild. I am not certain what is the change going to do with stable profile so I followed policy to bump and drop to ~arch, stay 30 days then file a bug to call arches to stablize it. Anyone use use stable profile and add ~arch keyword to java should add ~arch to cyrus-sasl-2.1.21-r3 too. Anyway, feel free to call arches to stable -r3 if you think it won't hurt anything as I am not allowed to commit straight to stable.
Comment 13 Josh Nichols (RETIRED) gentoo-dev 2006-08-05 09:23:50 UTC
The java-pkg_pkg_setup does the following (pseudo code):

if you have java-config-2:
   do some magic to ensure JAVA_HOME is set properly
else
   do nothing
fi

So, for a purely stable system, nothing changes. For people with a stable system with mixed keywords, it ensure that JAVA_HOME gets properly set, so the package can built properly.

So if anything, not adding it to pkg_setup will break stable system running mixed keywords.
Comment 14 Nathan Sullivan 2006-08-19 03:53:14 UTC
*** Bug 144401 has been marked as a duplicate of this bug. ***
Comment 15 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-08-30 15:23:01 UTC
How bout the stabilization then? 2.1.22 is old since may, 2.1.21-r3 almost month...
Comment 16 Tuan Van (RETIRED) gentoo-dev 2006-09-03 11:35:20 UTC
(In reply to comment #15)
> How bout the stabilization then? 2.1.22 is old since may, 2.1.21-r3 almost
> month...
> 

let do it.

Dear Arch teams,
Please test and stabilize cyrus-sasl-2.1.22 at your spare time :)

thank you!
Comment 17 Tuan Van (RETIRED) gentoo-dev 2006-09-03 11:37:23 UTC
*** Bug 146067 has been marked as a duplicate of this bug. ***
Comment 18 Kelly Price 2006-09-03 12:24:07 UTC
Unmarked bug 146067 as being a duplicate of this bug, because it's a different problem on a specific arch (amd64).
Comment 19 Simon Stelling (RETIRED) gentoo-dev 2006-09-03 12:36:35 UTC
*** Bug 146067 has been marked as a duplicate of this bug. ***
Comment 20 Christoph Mende (RETIRED) gentoo-dev 2006-09-03 12:46:55 UTC
emerges fine on amd64, passes multilib-strict and collision-test, does not break packages depending on it.

Portage 2.1-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-ck1-r3 x86_64)
=================================================================
System uname: 2.6.17-ck1-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     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-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-test distlocks metadata-transfer parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ "
LANG="en_US.ISO8859-1"
LC_ALL="en_US.ISO8859-1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi alsa amr asf avi berkdb bitmap-fonts bzip2 cairo cdda cddb cdinstall cdparanoia cdr cli crypt cups dbus dlloader dri dvd dvdr dvdread emboss encode expat fam firefox fortran gdbm gif glut gpm gstreamer gtk gtk2 hal imagemagick isdnlog jpeg lcms ldap libg++ lirc mad mikmod mng mp3 mpeg musicbrainz ncurses nls nptl nptlonly ogg opengl pam pcre pdflib php png ppds pppd quicktime readline reflection sdl session socks5 spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vorbis x264 xine xinerama xml xorg xv xvid zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_fglrx video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS
Comment 21 Joshua Kinard gentoo-dev 2006-09-03 16:00:49 UTC
Stable on mips.
Comment 22 Markus Rothe (RETIRED) gentoo-dev 2006-09-04 01:02:01 UTC
ppc64 stable
Comment 23 Christian Faulhammer (RETIRED) gentoo-dev 2006-09-04 02:43:47 UTC
1) emerges fine
2) passes collision test
3) passes test suite


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-r2
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 24 Gustavo Zacarias (RETIRED) gentoo-dev 2006-09-05 06:17:07 UTC
sparc stable.
Comment 25 Jakub Moc (RETIRED) gentoo-dev 2006-09-06 07:55:25 UTC
*** Bug 146558 has been marked as a duplicate of this bug. ***
Comment 26 Jakub Moc (RETIRED) gentoo-dev 2006-09-06 07:56:29 UTC
Just noting that this is needed for openssl-0.9.8c as well.
Comment 27 Jakub Moc (RETIRED) gentoo-dev 2006-09-06 09:10:07 UTC
*** Bug 146574 has been marked as a duplicate of this bug. ***
Comment 28 Steffen Weber 2006-09-06 11:07:53 UTC
During revdep-rebuild because of the OpenSSL version bump I
Comment 29 Steffen Weber 2006-09-06 11:07:53 UTC
During revdep-rebuild because of the OpenSSL version bump I´ve seen the problem Jakub Moc has mentioned: cyrus-sasl-2.1.21 does not compile, but dev-libs/cyrus-sasl-2.1.22 does.

Just wanted to let you know that things seem to work fine on x86.
Comment 30 Joshua Jackson (RETIRED) gentoo-dev 2006-09-06 11:26:18 UTC
x86 stable after much poking and compiling.
Comment 31 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-09-13 01:11:54 UTC
*** Bug 147424 has been marked as a duplicate of this bug. ***
Comment 32 Gustavo Zacarias (RETIRED) gentoo-dev 2006-09-26 14:42:28 UTC
hppa stable.
Comment 33 Fernando J. Pereda (RETIRED) gentoo-dev 2006-09-28 01:19:17 UTC
Alpha done.
Comment 34 nixnut (RETIRED) gentoo-dev 2006-10-06 00:40:47 UTC
Stabled on ppc by dertobi123, so removing ppc from cc
Comment 35 Jakub Moc (RETIRED) gentoo-dev 2006-10-19 07:28:08 UTC
All done, closing.