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

Bug 392129

Summary: dev-java/java-config-2.1.11 : newins config/jdk-defaults-${ARCH}.conf jdk-defaults.conf || die "arch config not found"
Product: Gentoo Linux Reporter: Bernhard Nägele <bernhard>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED DUPLICATE    
Severity: normal CC: betelgeuse, heroxbd
Priority: Normal    
Version: unspecified   
Hardware: ARM   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bernhard Nägele 2011-11-27 10:35:20 UTC
I want to install icedtea on my ARM based netbook. But during emerge process of java-config I get the following message:

!!! newins: config/jdk-defaults-arm.conf does not exist
 * ERROR: dev-java/java-config-2.1.11 failed (install phase):
 *   arch config not found
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_install
 *   environment, line 5342:  Called die
 * The specific snippet of code:
 *       newins config/jdk-defaults-${ARCH}.conf jdk-defaults.conf || die "arch config not found"
 * 
 * If you need support, post the output of 'emerge --info =dev-java/java-config-2.1.11',
 * the complete build log and the output of 'emerge -pqv =dev-java/java-config-2.1.11'.
 * The complete build log is located at '/var/tmp/portage/dev-java/java-config-2.1.11/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/java-config-2.1.11/temp/environment'.
 * S: '/var/tmp/portage/dev-java/java-config-2.1.11/work/java-config-2.1.11'
 * QA Notice: file does not exist:
 * 
 * 	newins: config/jdk-defaults-arm.conf does not exist

>>> Failed to emerge dev-java/java-config-2.1.11, Log file:

>>>  '/var/tmp/portage/dev-java/java-config-2.1.11/temp/build.log'

 * Messages for package dev-java/java-config-2.1.11:

 * ERROR: dev-java/java-config-2.1.11 failed (install phase):
 *   arch config not found
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_install
 *   environment, line 5342:  Called die
 * The specific snippet of code:
 *       newins config/jdk-defaults-${ARCH}.conf jdk-defaults.conf || die "arch config not found"
 * 
 * If you need support, post the output of 'emerge --info =dev-java/java-config-2.1.11',
 * the complete build log and the output of 'emerge -pqv =dev-java/java-config-2.1.11'.
 * The complete build log is located at '/var/tmp/portage/dev-java/java-config-2.1.11/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/java-config-2.1.11/temp/environment'.
 * S: '/var/tmp/portage/dev-java/java-config-2.1.11/work/java-config-2.1.11'

I think ARM architecture is supported java-config.....
Comment 1 Bernhard Nägele 2011-12-11 22:46:12 UTC
Solution:
It should be very easy to add a jdk-defaults-arm.conf file in the config directory,,,
Comment 2 Benda Xu gentoo-dev 2012-05-10 13:02:30 UTC
from changelog:

*java-config-2.1.11-r1 (24 Oct 2010) 24 Oct 2010; Petteri Räty <betelgeuse@gentoo.org> +java-config-2.1.11-r1.ebuild:
  Add PDEPEND on virtual/jre so that /usr/bin/java can't get installed with
  a VM. Fixes bug #315229. Alpha and arm keywords dropped as they don't have
  virtual/jre available. Need to figure out what to do with them.
Comment 3 Benda Xu gentoo-dev 2012-05-10 13:13:57 UTC

*** This bug has been marked as a duplicate of bug 305773 ***