Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 413123

Summary: dev-java/lucene-2.9.4 and dev-java/lucene-analyzers-2.3.2 builds broken
Product: Gentoo Linux Reporter: Eric F. GARIOUD <eric-f.garioud>
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Eric F. GARIOUD 2012-04-22 17:32:58 UTC
building one of these packages result in the same error :

[jar] Manifest is invalid: The attribute "svnversion" may not occur more than once in the same section

Reproducible: Always

Actual Results:  
When building lucene-analyzers :

jar-core:
      [jar] Building jar: /var/tmp/portage/dev-java/lucene-analyzers-2.3.2/work/lucene-2.3.2/build/lucene-core-2.3.jar
      [jar] Manifest is invalid: The attribute "svnversion" may not occur more than once in the same section

BUILD FAILED
/var/tmp/portage/dev-java/lucene-analyzers-2.3.2/work/lucene-2.3.2/contrib/contrib-build.xml:55: The following error occurred while executing this line:
/var/tmp/portage/dev-java/lucene-analyzers-2.3.2/work/lucene-2.3.2/common-build.xml:229: The following error occurred while executing this line:
/var/tmp/portage/dev-java/lucene-analyzers-2.3.2/work/lucene-2.3.2/common-build.xml:308: Invalid Manifest: /var/tmp/portage/dev-java/lucene-analyzers-2.3.2/work/lucene-2.3.2/build/MANIFEST.MF

==================

When building lucene :

jar-core:
      [jar] Building jar: /var/tmp/portage/dev-java/lucene-2.9.4/work/lucene-2.9.4/build/lucene-core-2.9.4-dev.jar
      [jar] Manifest is invalid: The attribute "svnversion" may not occur more than once in the same section

BUILD FAILED
/var/tmp/portage/dev-java/lucene-2.9.4/work/lucene-2.9.4/build.xml:521: The following error occurred while executing this line:
/var/tmp/portage/dev-java/lucene-2.9.4/work/lucene-2.9.4/contrib/contrib-build.xml:86: The following error occurred while executing this line:
/var/tmp/portage/dev-java/lucene-2.9.4/work/lucene-2.9.4/common-build.xml:211: The following error occurred while executing this line:
/var/tmp/portage/dev-java/lucene-2.9.4/work/lucene-2.9.4/common-build.xml:281: Invalid Manifest: /var/tmp/portage/dev-java/lucene-2.9.4/work/lucene-2.9.4/build/MANIFEST.MF


====================
GENTOO_VM=icedtea-bin-6  CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-6.1.11.1"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"
====================
Portage 2.1.10.49 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r3, 2.6.38-gentoo-r6.4 x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r6.4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 21 Apr 2012 15:15:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo PrimaPratica_ovl
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--color y --alphabetical --autounmask=n"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org/ "
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS=""
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/PrimaPratica/MySysConf/portage.exclude"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portages/G_Portage"
PORTDIR_OVERLAY="/var/portages/PP_Portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X accessibility alsa amd64 atm bzip2 caps cdio cli cracklib crypt css cups custom-cflags custom-cpuopts custom-optimization cxx dbus dga dri enca exceptions exif fortran glib handbook hardcoded-tables iconv icu idn inotify introspection ipc jack jit kipi kontact libnotify mmx mmxext modules mudflap multilib ncurses nptl nptlonly ocamlopt opencl openmp optimized-qmake orc pam pch pcre pgo plasma policykit ppp pppd private-headers pth qt-faststart qt3support readline semantic-desktop session shared-dricore shared-glapi smp sse sse2 sse3 sse4_1 ssl ssse3 startup-notification sysfs system-sqlite tcpd threads twolame udev unicode uuid vaapi vdpau vim-syntax xattr xcb xorg zlib" ALSA_CARDS="hda-intel ice1712" ALSA_PCM_PLUGINS="asym dmix dsnoop ioplug plug rate hooks route" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FFTOOLS="cws2fws" 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" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 1 Eric F. GARIOUD 2012-04-22 21:15:07 UTC
"As usual" The trick consisting in temporarily removing svnversion from /usr/bin enables the builds.
However, this time, debug use flag cannot be incriminated.

Using :

dev-libs/apr-1.4.5  USE="-doc -older-kernels-compatibility -static-libs -urandom uuid"
dev-vcs/subversion-1.6.17-r7  USE="-apache2 bash-completion -berkdb -ctypes-python -debug -doc dso -emacs -extras -gnome-keyring -java kde -nls -perl -python -ruby -sasl vim-syntax webdav-neon -webdav-serf"
Comment 2 Volkmar W. Pogatzki 2022-04-29 07:31:58 UTC
Affected version has gone. Closing.