Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 480652 - media-tv/tvbrowser-3.2.1 - java_config_2.Errors.UnexistingPackageError: Package commons-lang-2.1 was not found!
Summary: media-tv/tvbrowser-3.2.1 - java_config_2.Errors.UnexistingPackageError: Packa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Johannes Huber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-11 17:31 UTC by Heiko Baums
Modified: 2013-08-13 20:58 UTC (History)
2 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 Heiko Baums 2013-08-11 17:31:09 UTC
media-tv/tvbrowser-3.2.1 fails to start with this error message:

Traceback (most recent call last):
  File "/usr/lib64/python3.2/site-packages/java_config_2/EnvironmentManager.py", line 151, in get_package
    return self.packages[pkgname]
KeyError: 'commons-lang-2.1'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/python3.2/site-packages/java_config_2/EnvironmentManager.py", line 72, in load_package
    pkg = Package(name, sorted (glob (self.pkg_path % name ), reverse=True)[0])
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/python3.2/site-packages/java_config_2/EnvironmentManager.py", line 78, in load_package
    pkg = Virtual( name, self, self.virtual_path + name )
  File "/usr/lib64/python3.2/site-packages/java_config_2/Virtual.py", line 37, in __init__
    self._config = EnvFileParser(file).get_config()
  File "/usr/lib64/python3.2/site-packages/java_config_2/FileParser.py", line 62, in __init__
    self.parse(file)
  File "/usr/lib64/python3.2/site-packages/java_config_2/FileParser.py", line 18, in parse
    raise InvalidConfigError(file)
java_config_2.Errors.InvalidConfigError: /usr/share/java-config-2/virtuals/commons-lang-2.1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/gjl-python3.2", line 121, in <module>
    args = get_args(pkg)
  File "/usr/bin/gjl-python3.2", line 38, in get_args
    classpath, library = get_pkg_args(pkg)
  File "/usr/bin/gjl-python3.2", line 19, in get_pkg_args
    classpath = manager.build_dep_path([package.name()], "CLASSPATH", missing_deps)
  File "/usr/lib64/python3.2/site-packages/java_config_2/EnvironmentManager.py", line 354, in build_dep_path
    p = self.get_package(dep[-1])
  File "/usr/lib64/python3.2/site-packages/java_config_2/EnvironmentManager.py", line 154, in get_package
    return self.load_package(pkgname)
  File "/usr/lib64/python3.2/site-packages/java_config_2/EnvironmentManager.py", line 83, in load_package
    raise UnexistingPackageError(name)
java_config_2.Errors.UnexistingPackageError: Package commons-lang-2.1 was not found!
Couldn't get needed information

Reproducible: Always




Portage 2.1.13.7 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.10.5-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.10.5-gentoo-r1-x86_64-AMD_Phenom-tm-_II_X4_945_Processor-with-gentoo-2.2
KiB Mem:     3980032 total,   3374140 free
KiB Swap:    1048572 total,   1048572 free
Timestamp of tree: Sun, 11 Aug 2013 16:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r1, 3.2.5-r1, 3.3.2-r1
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=amdfam10 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/"
INSTALL_MASK="/usr/lib/systemd"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aacs acl acpi alsa amd64 aspell audiofile bash-completion berkdb bluray branding bzip2 cairo caps cdda cddb cdparanoia cdr cli consolekit cracklib crypt cryptsetup css cups cxx dbus dga djvu dri dts dv dvb dvd dvdr emboss encode exif faac fam fbcon fbcondecor ffmpeg firefox flac foomaticdb fortran ftp gcj gdbm gif gimp gnome-keyring gnutls gpg gpm gtk gzip hddtemp hunspell iconv idn imagemagick imap ipod ipv6 jbig jpeg jpeg2k justify latex lcms ldap libnotify libsamplerate lirc lm_sensors lock lzma lzo mad maildir matroska mbox mikmod mime mms mmx mng modemmanager modplug modules mozilla mp3 mp4 mpeg mudflap multilib musicbrainz ncurses networkmanager nls nntp nptl nsplugin ntp ogg openal openexr opengl openmp opus pam pango pcre pdf pkcs11 png policykit posix postscript ppds qt3support quicktime raw readline rss rtmp rtsp scanner schroedinger sdl session sndfile sound speex spell sse sse2 sse3 ssl ssse3 startup-notification svg symlink syslog taglib tcpd theora threads thunar tiff timidity tk truetype udev udisks unicode upower usb v4l vcd vorbis wavpack win32codecs wmf wxwidgets x264 xcb xcomposite xface xft xml xorg xpm xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ice1712" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby20 ruby19 ruby18" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="fglrx v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Nils Kneuper 2013-08-13 05:58:26 UTC
Same problem over here:

~ $ tvbrowser 
Traceback (most recent call last):
  File "/usr/bin/gjl-python2.7", line 121, in <module>
    args = get_args(pkg)
  File "/usr/bin/gjl-python2.7", line 38, in get_args
    classpath, library = get_pkg_args(pkg)
  File "/usr/bin/gjl-python2.7", line 19, in get_pkg_args
    classpath = manager.build_dep_path([package.name()], "CLASSPATH", missing_deps)
  File "/usr/lib64/python2.7/site-packages/java_config_2/EnvironmentManager.py", line 354, in build_dep_path
    p = self.get_package(dep[-1])
  File "/usr/lib64/python2.7/site-packages/java_config_2/EnvironmentManager.py", line 154, in get_package
    return self.load_package(pkgname)
  File "/usr/lib64/python2.7/site-packages/java_config_2/EnvironmentManager.py", line 83, in load_package
    raise UnexistingPackageError(name)
java_config_2.Errors.UnexistingPackageError: Package commons-lang-2.1 was not found!
Couldn't get needed information
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-08-13 20:58:16 UTC
+  13 Aug 2013; Tom Wijsman <TomWij@gentoo.org> +files/tvbrowser-3.2.1-build.xml,
+  +tvbrowser-3.2.1-r1.ebuild, metadata.xml:
+  Revision bump. EAPI 5. Use virtualx for tests. Slotted all dependencies; added
+  swt and test? ( dev-java/ant-junit:0 ) dependency, the latter fixes tests
+  together with setting the test classpath. Renamed src_prepare to java_prepare
+  such that the preparation from the Java eclasses runs. Dropped dependency on
+  class files from build.xml as well as parts that are unnecessary for Linux
+  packaging, including fetching of dependencies. Made use of
+  EANT_GENTOO_CLASSPATH and EANT_TEST_GENTOO_CLASSPATH and build.xml rewriting
+  to simplify java_prepare. Replaced src_compile by EANT_BUILD_TARGET and
+  EANT_DOC_TARGET. Reordered and shortened src_install, moved categories from
+  sed to make_desktop_entry call. Sorted variables. Removed redundancy. Fixing
+  up of dependencies fixes bug #480652 filed by Heiko Baums and Nils Kneuper.
+  Removal of dependency fetching from build.xml fixes bug #451788 filed by Diego
+  Elio Pettenò (flameeyes). Next steps should be unbundling as well as bumping
+  more dependencies (filed bug #480922 for this purpose), perhaps best done as
+  part of the next version bump.