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

Bug 787065

Summary: sys-libs/db-6.0.35-r4 java.lang.IllegalArgumentException
Product: Gentoo Linux Reporter: email200202
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: fabio.coatti, jstein, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge -pqv '=sys-libs/db-6.0.35-r4::gentoo'
emerge --info '=sys-libs/db-6.0.35-r4::gentoo'

Description email200202 2021-04-30 08:04:07 UTC
sys-libs/db-6.0.35-r4 emerge failed with this message:

libtool: link: ( cd ".libs" && rm -f "libdb_java-6.0.la" && ln -s "../libdb_java-6.0.la" "libdb_java-6.0.la" )
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
java.lang.IllegalArgumentException
        at com.sleepycat.asm.ClassReader.<init>(ClassReader.java:167)
        at com.sleepycat.asm.ClassReader.<init>(ClassReader.java:153)
        at com.sleepycat.persist.model.ClassEnhancer.enhanceBytes(ClassEnhancer.java:297)
        at com.sleepycat.persist.model.ClassEnhancer.enhanceFile(ClassEnhancer.java:246)
        at com.sleepycat.persist.model.ClassEnhancer.enhanceFile(ClassEnhancer.java:242)
        at com.sleepycat.persist.model.ClassEnhancer.enhanceFile(ClassEnhancer.java:242)
        at com.sleepycat.persist.model.ClassEnhancer.enhanceFile(ClassEnhancer.java:242)
        at com.sleepycat.persist.model.ClassEnhancer.enhanceFile(ClassEnhancer.java:242)
        at com.sleepycat.persist.model.ClassEnhancer.main(ClassEnhancer.java:108)
Exception in thread "main" java.lang.IllegalArgumentException
        at com.sleepycat.asm.ClassReader.<init>(ClassReader.java:167)
        at com.sleepycat.asm.ClassReader.<init>(ClassReader.java:153)
        at com.sleepycat.persist.model.ClassEnhancer.enhanceBytes(ClassEnhancer.java:297)
        at com.sleepycat.persist.model.ClassEnhancer.enhanceFile(ClassEnhancer.java:246)
        at com.sleepycat.persist.model.ClassEnhancer.enhanceFile(ClassEnhancer.java:242)
        at com.sleepycat.persist.model.ClassEnhancer.enhanceFile(ClassEnhancer.java:242)
        at com.sleepycat.persist.model.ClassEnhancer.enhanceFile(ClassEnhancer.java:242)
        at com.sleepycat.persist.model.ClassEnhancer.enhanceFile(ClassEnhancer.java:242)
        at com.sleepycat.persist.model.ClassEnhancer.main(ClassEnhancer.java:108)
make: *** [Makefile:982: db-6.0.jar] Error 1
 * ERROR: sys-libs/db-6.0.35-r4::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-libs/db-6.0.35-r4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/db-6.0.35-r4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-libs/db-6.0.35-r4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/db-6.0.35-r4/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-libs/db-6.0.35-r4/work/db-6.0.35/build_unix-abi_x86_64.amd64'
 * S: '/var/tmp/portage/sys-libs/db-6.0.35-r4/work/db-6.0.35/build_unix'
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-bin-8  CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-3.16.0"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
and of course, the output of emerge --info =db-6.0.35


Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge -auvDN world

Actual Results:  
Failed

Expected Results:  
Not to fail
Comment 1 email200202 2021-04-30 08:06:31 UTC
Created attachment 704163 [details]
build.log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-04-30 08:07:10 UTC
emerge —-info? You probably need to sync.
Comment 3 email200202 2021-04-30 08:08:10 UTC
Created attachment 704166 [details]
emerge -pqv '=sys-libs/db-6.0.35-r4::gentoo'
Comment 4 email200202 2021-04-30 08:09:48 UTC
Created attachment 704169 [details]
emerge --info '=sys-libs/db-6.0.35-r4::gentoo'
Comment 5 email200202 2021-04-30 08:21:29 UTC
It can be built successfully with use flag "-java".
Comment 6 Fabio Coatti 2021-04-30 09:38:01 UTC
Confirmed here, exactly same behavior
Comment 7 Adrian Bassett 2021-04-30 09:38:21 UTC
See also https://bugs.gentoo.org/786699#c18