Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662050 - dev-java/java-service-wrapper-3.5.25-r1::gentoo "A 32-bit build was requested, but this is a 64-bit JVM."
Summary: dev-java/java-service-wrapper-3.5.25-r1::gentoo "A 32-bit build was requested...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM64 Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-24 21:12 UTC by Michael Lawrence
Modified: 2019-05-14 20:51 UTC (History)
1 user (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 Michael Lawrence 2018-07-24 21:12:53 UTC
fails to compile.. / install. 

Reproducible: Always

Steps to Reproduce:
1.Calculating dependencies... done!
[ebuild  N    *] dev-java/java-service-wrapper-3.5.25-r1::gentoo  USE="-doc -source {-test}" 0 KiB
[ebuild  N    *] dev-java/tomcat-jstl-impl-1.2.5-r1::gentoo  USE="-doc -source {-test}" 0 KiB
[ebuild  N    *] net-vpn/tor-0.3.4.5_rc-r1::gentoo  USE="caps lzma scrypt seccomp tor-hardening web zstd -libressl (-selinux) -systemd {-test}" 0 KiB
[ebuild  N    *] net-vpn/i2p-0.9.34::gentoo  USE="ecdsa nls" 0 KiB

Total: 4 packages (4 new), Size of downloads: 0 KiB

!!! The following installed packages are masked:
- dev-java/icedtea-bin-3.7.0::gentoo (masked by: package.mask)
/usr/local/portage/rpi3/profiles/targets/rpi3/package.mask/icedtea-bin:
# use our own variants for now

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


Would you like to merge these packages? [Yes/No] yes
>>> Verifying ebuild manifests
>>> Emerging (1 of 4) dev-java/java-service-wrapper-3.5.25-r1::gentoo
>>> Emerging (2 of 4) dev-java/tomcat-jstl-impl-1.2.5-r1::gentoo
>>> Emerging (3 of 4) net-vpn/tor-0.3.4.5_rc-r1::gentoo
>>> Failed to emerge dev-java/java-service-wrapper-3.5.25-r1, Log file:
>>>  '/var/log/portage/dev-java:java-service-wrapper-3.5.25-r1:20180724-205356.log'
>>> Installing (2 of 4) dev-java/tomcat-jstl-impl-1.2.5-r1::gentoo
>>> Failed to emerge net-vpn/tor-0.3.4.5_rc-r1, Log file:
>>>  '/var/log/portage/net-vpn:tor-0.3.4.5_rc-r1:20180724-205400.log'
>>> Jobs: 1 of 4 complete, 2 failed                 Load avg: 2.94, 2.07, 1.44
*** Resuming merge...

These are the packages that would be merged, in order:


Actual Results:  
scw-0321f9 / # cat /var/log/portage/dev-java:java-service-wrapper-3.5.25-r1:20180724-205356.log
 * Package:    dev-java/java-service-wrapper-3.5.25-r1
 * Repository: gentoo
 * Maintainer: java@gentoo.org
 * USE:        arm64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   compressdebug distcc preserve-libs sandbox splitdebug userpriv usersandbox
>>> cfg-update-1.8.2-r1: Skipping checksum index updating...
 * Using: icedtea-bin-8
>>> Unpacking source...
>>> Unpacking wrapper_3.5.25_src.tar.gz to /var/tmp/portage/dev-java/java-service-wrapper-3.5.25-r1/work
>>> Source unpacked in /var/tmp/portage/dev-java/java-service-wrapper-3.5.25-r1/work
>>> Preparing source in /var/tmp/portage/dev-java/java-service-wrapper-3.5.25-r1/work/wrapper_3.5.25_src ...
 * Applying java-service-wrapper-3.5.25-as-needed.patch ...
 [ ok ]
 * Applying java-service-wrapper-3.5.25-gentoo-wrapper-defaults.patch ...
 [ ok ]
 * Applying java-service-wrapper-3.5.25-testsuite.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-java/java-service-wrapper-3.5.25-r1/work/wrapper_3.5.25_src ...
Rewriting attributes
Rewriting ./build.xml
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-java/java-service-wrapper-3.5.25-r1/work/wrapper_3.5.25_src ...
 * Using following ANT_TASKS: ant-nodeps
Buildfile: /var/tmp/portage/dev-java/java-service-wrapper-3.5.25-r1/work/wrapper_3.5.25_src/build.xml

init-setup:

init-windows:

init-unix:

init-bits-warning:

init-bits-mismatch-warning:
     [echo] **********************************************************************
     [echo] * A 32-bit build was requested, but this is a 64-bit JVM.
     [echo] **********************************************************************

BUILD FAILED
/var/tmp/portage/dev-java/java-service-wrapper-3.5.25-r1/work/wrapper_3.5.25_src/build.xml:443: The "bits" system property does not match that of the JVM.

Total time: 1 second
 * ERROR: dev-java/java-service-wrapper-3.5.25-r1::gentoo failed (compile phase):
 *   eant failed
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 3856:  Called eant '-Dbits=32' 'jar' 'compile-c'
 *   environment, line  544:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 *
 * If you need support, post the output of `emerge --info '=dev-java/java-service-wrapper-3.5.25-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/java-service-wrapper-3.5.25-r1::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-bin-8  CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-3.7.0"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
and of course, the output of emerge --info =java-service-wrapper-3.5.25
 * The complete build log is located at '/var/log/portage/dev-java:java-service-wrapper-3.5.25-r1:20180724-205356.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-java/java-service-wrapper-3.5.25-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/java-service-wrapper-3.5.25-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/java-service-wrapper-3.5.25-r1/work/wrapper_3.5.25_src'
 * S: '/var/tmp/portage/dev-java/java-service-wrapper-3.5.25-r1/work/wrapper_3.5.25_src'

Expected Results:  
cross fingers would build at best...

scw-0321f9 /usr/portage/dev-util/electron # cpuid2cpuflags
CPU_FLAGS_ARM: edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 aes sha1 sha2 crc32 v4 v5 v6 v7 v8 thumb2
Comment 1 Patrice Clement gentoo-dev 2019-05-14 20:51:12 UTC
Is this issue still relevant? Reopen if needed.