Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212915 - dev-java/jython-2.2.1-r1 won't emerge with USE="servletapi"
Summary: dev-java/jython-2.2.1-r1 won't emerge with USE="servletapi"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: InVCS
Depends on: 212922
Blocks:
  Show dependency tree
 
Reported: 2008-03-10 11:21 UTC by Billy DeVincentis
Modified: 2008-04-03 18:13 UTC (History)
0 users

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


Attachments
jython-2.2.1-r1.ebuild-servlet-api.patch (jython-2.2.1-r1.ebuild-servlet-api.patch,468 bytes, patch)
2008-04-03 12:42 UTC, Honza Macháček
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Billy DeVincentis 2008-03-10 11:21:56 UTC
>>> Emerging (1 of 1) dev-java/jython-2.2.1-r1 to /
 * jython_installer-2.2.1.jar RMD160 SHA1 SHA256 size ;-) ...   [ ok ]
 * Python-2.2.3.tgz RMD160 SHA1 SHA256 size ;-) ...             [ ok ]
 * checking ebuild checksums ;-) ...                            [ ok ]
 * checking auxfile checksums ;-) ...                           [ ok ]
 * checking miscfile checksums ;-) ...                          [ ok ]
 * checking Python-2.2.3.tgz ;-) ...                            [ ok ]
 * checking jython_installer-2.2.1.jar ;-) ...                  [ ok ]
 * Using: sun-jdk-1.6
>>> Unpacking source...
>>> Unpacking Python-2.2.3.tgz to /var/tmp/portage/dev-java/jython-2.2.1-r1/work
>>> Unpacking jython_installer-2.2.1.jar to /var/tmp/portage/dev-java/jython-2.2.1-r1/work
 * Applying jython-2.2.1-build.patch ...
  [ ok ]
removed `org/apache/commons/cli/OptionGroup.class'
removed `org/apache/commons/cli/ParseException.class'
removed `org/apache/commons/cli/PatternOptionBuilder.class'
removed `org/apache/commons/cli/HelpFormatter.class'
removed `org/apache/commons/cli/MissingOptionException.class'
removed `org/apache/commons/cli/Parser.class'
removed `org/apache/commons/cli/PosixParser.class'
removed `org/apache/commons/cli/BasicParser.class'
removed `org/apache/commons/cli/HelpFormatter$1.class'
removed `org/apache/commons/cli/MissingArgumentException.class'
removed `org/apache/commons/cli/GnuParser.class'
removed `org/apache/commons/cli/UnrecognizedOptionException.class'
removed `org/apache/commons/cli/TypeHandler.class'
removed `org/apache/commons/cli/HelpFormatter$StringBufferComparator.class'
removed `org/apache/commons/cli/Option.class'
removed `org/apache/commons/cli/Options.class'
removed `org/apache/commons/cli/AlreadySelectedException.class'
removed `org/apache/commons/cli/OptionBuilder.class'
removed `org/apache/commons/cli/CommandLineParser.class'
removed `org/apache/commons/cli/CommandLine.class'
removed directory: `org/apache/commons/cli'
removed directory: `org/apache/commons'
removed directory: `org/apache'
removed `org/python/util/install/LicensePage.class'
removed `org/python/util/install/SuccessPage.class'
removed `org/python/util/install/ChildProcess$StderrMonitor.class'
removed `org/python/util/install/LanguagePage$LanguageBoxListener.class'
removed `org/python/util/install/JarInstaller.class'
removed `org/python/util/install/TextConstants_de.class'
removed `org/python/util/install/LicensePage$RadioButtonListener.class'
removed `org/python/util/install/FrameInstaller$1.class'
removed `org/python/util/install/ValidationInformationException.class'
removed `org/python/util/install/AbstractWizardValidator$ValidatorThread.class'
removed `org/python/util/install/ConsoleInstaller$1.class'
removed `org/python/util/install/Installation$JavaVersionInfo.class'
removed `org/python/util/install/WizardHeader.class'
removed `org/python/util/install/JavaSelectionPage$1.class'
removed `org/python/util/install/WizardListener.class'
removed `org/python/util/install/ValidationListener.class'
removed `org/python/util/install/LanguagePage$1.class'
removed `org/python/util/install/ChildProcess$1.class'
removed `org/python/util/install/AbstractWizard$1.class'
removed `org/python/util/install/InstallationCancelledException.class'
removed `org/python/util/install/StandalonePackager.class'
removed `org/python/util/install/DirectorySelectionPage$1.class'
removed `org/python/util/install/AbstractWizardValidator$1.class'
removed `org/python/util/install/EmptyValidator.class'
removed `org/python/util/install/ProgressPage.class'
removed `org/python/util/install/LicensePageValidator.class'
removed `org/python/util/install/Wizard.class'
removed `org/python/util/install/JavaSelectionPage$RadioButtonListener.class'
removed `org/python/util/install/LicensePage$1.class'
removed `org/python/util/install/AbstractWizardPage.class'
removed `org/python/util/install/FrameInstaller.class'
removed `org/python/util/install/AbstractWizard$2.class'
removed `org/python/util/install/LanguagePage.class'
removed `org/python/util/install/driver/GuiAutotest$KeyAction.class'
removed `org/python/util/install/driver/Verifier.class'
removed `org/python/util/install/driver/NormalVerifier.class'
removed `org/python/util/install/driver/Tunnel.class'
removed `org/python/util/install/driver/SilentAutotest.class'
removed `org/python/util/install/driver/DriverException.class'
removed `org/python/util/install/driver/InstallationDriver.class'
removed `org/python/util/install/driver/Autotest.class'
removed `org/python/util/install/driver/GuiAutotest.class'
removed `org/python/util/install/driver/FileHelper.class'
removed `org/python/util/install/driver/ConsoleDriver.class'
removed `org/python/util/install/driver/ConsoleAutotest.class'
removed `org/python/util/install/driver/StandaloneVerifier.class'
removed directory: `org/python/util/install/driver'
removed `org/python/util/install/OverviewPage.class'
removed `org/python/util/install/InstallerException.class'
removed `org/python/util/install/TextKeys.class'
removed `org/python/util/install/WizardEvent.class'
removed `org/python/util/install/ChildProcess$StdoutMonitor.class'
removed `org/python/util/install/AbstractWizardValidator.class'
removed `org/python/util/install/UnicodeSequences.class'
removed `org/python/util/install/AbstractWizard$3.class'
removed `org/python/util/install/AbstractWizardHeader.class'
removed `org/python/util/install/ConsoleInstaller$JavaInfo.class'
removed `org/python/util/install/DirectoryFilter.class'
removed `org/python/util/install/ReadmePage.class'
removed `org/python/util/install/JavaSelectionPage.class'
removed `org/python/util/install/Installation.class'
removed `org/python/util/install/TypePage$1.class'
removed `org/python/util/install/TypePage.class'
removed `org/python/util/install/Installation$JavaFilenameFilter.class'
removed `org/python/util/install/JavaSelectionPage$BrowseButtonListener.class'
removed `org/python/util/install/JarInfo.class'
removed `org/python/util/install/FrameInstaller$SimpleWizardListener.class'
removed `org/python/util/install/ValidationEvent.class'
removed `org/python/util/install/ProgressListener.class'
removed `org/python/util/install/TextConstants.class'
removed `org/python/util/install/DirectorySelectionPage$BrowseButtonListener.class'
removed `org/python/util/install/AbstractWizard$WizardGlassPane.class'
removed `org/python/util/install/JavaVersionTester.class'
removed `org/python/util/install/DirectorySelectionPageValidator.class'
removed `org/python/util/install/JavaSelectionPageValidator.class'
removed `org/python/util/install/DirectorySelectionPage$DirectoryFocusListener.class'
removed `org/python/util/install/InstallerCommandLine.class'
removed `org/python/util/install/jython_small_c.png'
removed `org/python/util/install/ChildProcess.class'
removed `org/python/util/install/ConsoleInstaller.class'
removed `org/python/util/install/AbstractWizard.class'
removed `org/python/util/install/TypePage$TypeChangeListener.class'
removed `org/python/util/install/ValidationException.class'
removed `org/python/util/install/InstallationType.class'
removed `org/python/util/install/TextConstants_en.class'
removed `org/python/util/install/StartScriptGenerator.class'
removed `org/python/util/install/DirectorySelectionPage.class'
removed `org/python/util/install/JavaSelectionPage$JavaFocusListener.class'
removed `org/python/util/install/InstallationListener.class'
removed directory: `org/python/util/install'
removed directory: `org/python/util'
removed directory: `org/python'
removed directory: `org'
removed `./Lib/test/blob.jar'
removed `./Demo/jreload/example.jar'
removed `./jython.jar'
 *
 * ERROR: dev-java/jython-2.2.1-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 4092:  Called java-pkg_getjar 'src_unpack' 'src_unpack' '--build-only'
 *             environment, line 2860:  Called die
 * The specific snippet of code:
 *       die "Could not find ${target_jar} in ${pkg}";
 *  The die message:
 *   Could not find servlet.jar in servlet-api-2.5
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-java/jython-2.2.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/jython-2.2.1-r1/temp/environment'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.04"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info


Reproducible: Always




emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.3, glibc-2.7-r1, 2.6.24-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Mon, 10 Mar 2008 05:30:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
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.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
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.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/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/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j3"
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/miscellaneous /usr/local/portage/font-overlay /usr/local/portage/desktop-effects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowtext S3TC X a52 aac aalib accessibility acl acpi aiglx alsa amarok amd64 apm arts artworkextra asf audiofile automount avahi avi bash-completion berkdb bidi bitmap-fonts bittorrent branding bzip2 cairo calendar cann cdda cdio cdparanoia cdr cli cpudetection cracklib crypt cups curl dbus deprecated devil dga directfb discouraged distribution divx dlloader doc dri dts dv dvb dvd dvdr dvdread eds effects elisp emacs emboss emerald encode esd evo examples exif ext-man ext-rtf ext-tex extraicons fam fat fax fbcon fbcondecor fbsplash ffmpeg firefox flac flash foomaticdb fortran freetype fuse gb gcj gd gdbm gdphoto2 gedit gif gimp gimpprint glitz gmedia gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal hddtemp hfs howl html htmlhandbook httpd iconv idn ieee1394 imagemagick imlib inkjar ipv6 isdnlog jack java jfs joystick jpeg kde kde4 kdehiddenvisibility kerberos lcms ldap libao libcaca libg++ lirc live lm_sensors logrotate mad mail matroska mdnsresponder-compat midi mikmod mime mjpeg mmx mmxext mng mono mozbranding mozcalendar mozilla mp3 mpeg mplayer mudflap mysql nas nautilus ncurses networking new-login newspr nforce2 nls nptl nptlonly nsplugin ntfs nvidia odbc offensive ogg oggvorbis opengl openmp oss pam parport pcre pdf pdflib perl pmu png postgres ppds pppd python qt3 qt3support qt4 quicktime rar rdesktop readline realmedia reflection regex reiser4 reiserfs samba scanner sdl seamonkey semantic-desktop servletapi session skins slp smp sndfile snmp sound sounds speex spell spl spreadsheet sqlite sse sse2 ssl startup-notification stream streams subversion svg swat symlink sysfs syslog tcltk tcpd tetex theora thesaurus threads thunderbird tidy tiff timidity tk truetype truetype-fonts type1 type1-fonts udev unicode usb utempter utils v4l vcd vdr vlm voice vorbis vram weather wmf wmp wordperfect wxwindows xattr xcb xcomposite xforms xfs xine xml xorg xpm xprint xscreensaver xv xvid zeroconf 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2008-03-10 11:30:15 UTC
As a temporary workaround you can disable the servletapi use flag.
Comment 2 Honza Macháček 2008-04-03 12:42:35 UTC
Created attachment 148215 [details, diff]
jython-2.2.1-r1.ebuild-servlet-api.patch

Version 2.5 of (tomcat) servlet-api changes the name of the jar from servlet.jar to servlet-api.jar. This patch changes the dev-java/jython-2.2.1-r1.ebuild to reflect that.
Comment 3 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-04-03 18:13:38 UTC
Must have screwed up when making the switch to the virtual. That or the package was always off, don't recall it every being servlet.jar, always servlet-api.jar. Anyway, fixed in cvs. Thanks for reporting.