First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 245147
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Graham Derryberry <asterion@alum.mit.edu>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
log4j-1.2.15-r1.log Log of failed emerge text/plain Graham Derryberry 2008-11-01 13:31 0000 2.59 KB Details
log4j-1.2.15-r1.ebuild Fixed version of ebuild. text/plain Graham Derryberry 2008-11-01 13:37 0000 1.88 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 245147 depends on: Show dependency tree
Bug 245147 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-11-01 13:21 0000
Failed to upgrade to dev-java/log4j-1.2.15-r1 from dev-java/log4j-1.2.15 with
error message "!!! ERROR: Package  was not found!". After some sleuthing,
discovered an error in the ebuild which fed garbage to java-config --classpath
when using jmx without javamail.
I do believe I have managed to fix the ebuild bug, see attachment.


Reproducible: Always

Steps to Reproduce:
1. Set -javamail +jmx in use flags.
2. emerge =dev-java/log4j-1.2.15-r1
3. Watch emerge die with "Package was not found error!"

Actual Results:  
Upgrade success.

Expected Results:  
emerge die with:
!!! ERROR: Package  was not found!


Portage 2.1.4.5 (default-linux/x86/2007.0/desktop, gcc-4.2.4, glibc-2.6.1-r0,
2.6.24-tuxonice-r9 i686)
=================================================================
System uname: 2.6.24-tuxonice-r9 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz
Timestamp of tree: Sat, 01 Nov 2008 03:19:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
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 -march=prescott -pipe -g -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild
/etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -g -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks intallsources metadata-transfer
parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch
userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://gentoo.chem.wisc.edu/gentoo/
http://mirror.espri.arizona.edu/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en_US en"
MAKEOPTS="-j4"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi afs alsa amr apache2 applet bash-completion
berkdb bluetooth branding bzip2 cairo cdda cddb cdr chardet cli cracklib crypt
cups curl curlwrappers dbus directfb dri dts dv dvd dvdr dvdread eds emacs
emboss encode esd evo exif fam ffmpeg firefox flac fontconfig fortran ftp
galago gd gdbm gif gimp gimpprint ginac gnome gnome-keyring gnutls gpm graphviz
gs gsf gstreamer gtk gtkhtml guile hal howl iconv ieee1394 imagemagick imap
imlib ipod ipv6 isdnlog ithreads jack java java6 javascript jbig jikes jms jmx
jpeg jpeg2k junit kerberos krb4 lame lcms ldap libgda libnotify live lzo mad
matroska midi mikmod mjpeg mmap mmx mng motif moznopango mp3 mpeg mudflap
nautilus ncurses neXt network nls nntp nptl nptlonly nsplugin octave ogg openal
opengl openmp pam pango pcre pdf perl php plotutils png postgres ppds pppd
python qhull qt3support quicktime readline real reflection rtc ruby samba
scanner sdl seamonkey session smp snmp sockets spell spl sqlite sqlite3 sse
sse2 ssl svg tcl tcpd tetex theora threads tiff tk tracker truetype type1
unicode usb v4l v4l2 vorbis win32codecs wmf x264 x86 xattr xcomposite xforms
xine xml xorg xosd xpm xprint xscreensaver xsl xslt xulrunner xv xvid zip zlib"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1
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
auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter
file_cache filter headers ident imagemap include info log_config logio
mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer
proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir
usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="fglrx
radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Graham Derryberry 2008-11-01 13:31:30 0000 -------
Created an attachment (id=170453) [details]
Log of failed emerge

------- Comment #2 From Graham Derryberry 2008-11-01 13:37:08 0000 -------
Created an attachment (id=170455) [details]
Fixed version of ebuild.

Should be just a drop in replacement.  Sole difference is that a comma is only
added to the end of EANT_GENTOO_CLASSPATH if javamail is used.  

------- Comment #3 From Serkan Kaba 2008-11-01 14:58:19 0000 -------
Fixed in CVS. Thanks for the report and the fix.

Serkan.

First Last Prev Next    No search results available      Search page      Enter new bug