Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 787065 - sys-libs/db-6.0.35-r4 java.lang.IllegalArgumentException
Summary: sys-libs/db-6.0.35-r4 java.lang.IllegalArgumentException
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-30 08:04 UTC by email200202
Modified: 2021-04-30 22:39 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,257.61 KB, text/plain)
2021-04-30 08:06 UTC, email200202
Details
emerge -pqv '=sys-libs/db-6.0.35-r4::gentoo' (file_787065.txt,167 bytes, text/plain)
2021-04-30 08:08 UTC, email200202
Details
emerge --info '=sys-libs/db-6.0.35-r4::gentoo' (file_787065.txt,6.40 KB, text/plain)
2021-04-30 08:09 UTC, email200202
Details

Note You need to log in before you can comment on or make changes to this bug.
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