Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342805 - dev-java/java-service-wrapper-3.3.3 doesn't compile
Summary: dev-java/java-service-wrapper-3.3.3 doesn't compile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Alistair Bush (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-26 18:36 UTC by b1254633
Modified: 2012-04-18 11:38 UTC (History)
4 users (show)

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


Attachments
emerge --info (emergeinfo,4.73 KB, text/plain)
2010-10-26 18:39 UTC, b1254633
Details

Note You need to log in before you can comment on or make changes to this bug.
Description b1254633 2010-10-26 18:36:16 UTC
>>> Emerging (2 of 11) dev-java/java-service-wrapper-3.3.3
>>> Failed to emerge dev-java/java-service-wrapper-3.3.3, Log file:
>>>  '/var/tmp/portage/dev-java/java-service-wrapper-3.3.3/temp/build.log'
>>> Jobs: 1 of 11 complete, 1 failed                Load avg: 1.88, 1.75, 1.56
 * Package:    dev-java/java-service-wrapper-3.3.3
 * Repository: gentoo
 * Maintainer: ali_bush@gentoo.org java@gentoo.org
 * USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU
 * Using: sun-jdk-1.6
 * Applying java-service-wrapper-3.3.1-as-needed.patch ...
 [ ok ]
 * Using following ANT_TASKS: ant-nodeps
     [echo] **********************************************************************
     [echo] * About to build a 64-bit version of Java Service Wrapper Community 3.3.3.
     [echo] * The OS Name is "linux", resolved from "Linux".
     [echo] * The Architecture is "x86", resolved from "amd64".
     [echo] * The distribution name will be: wrapper-linux-x86-64-3.3.3
     [echo] **********************************************************************
     [echo] **********************************************************************
     [echo] * WARNING
     [echo] * The jar is being built for Java version 1.4.  This will not be
     [echo] * compatible with older JVMs.
     [echo] **********************************************************************

BUILD FAILED
java.lang.NoSuchMethodError: org.apache.tools.ant.util.facade.FacadeTaskHelper.getImplementationClasspath(Lorg/apache/tools/ant/Project;)Lorg/apache/tools/ant/types/Path;
	at org.apache.tools.ant.taskdefs.optional.Javah.createImplementationClasspath(Javah.java:417)
	at org.apache.tools.ant.taskdefs.optional.Javah.execute(Javah.java:467)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
	at org.apache.tools.ant.Main.runBuild(Main.java:758)
	at org.apache.tools.ant.Main.startAnt(Main.java:217)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Total time: 3 seconds
 * ERROR: dev-java/java-service-wrapper-3.3.3 failed:
 *   eant failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4502:  Called eant '-Dbits=64' 'jar' 'compile-c'
 *   environment, line 1025:  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.3.3',
 * the complete build log and the output of 'emerge -pqv =dev-java/java-service-wrapper-3.3.3'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.22"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/dev-java/java-service-wrapper-3.3.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/java-service-wrapper-3.3.3/temp/environment'.
 * S: '/var/tmp/portage/dev-java/java-service-wrapper-3.3.3/work/wrapper_3.3.3_src'


Reproducible: Always
Comment 1 b1254633 2010-10-26 18:39:32 UTC
Created attachment 252075 [details]
emerge --info
Comment 2 Miroslaw Mieszczak 2010-11-11 20:11:14 UTC
Probably you have different versions of 
dev-java/ant-core     and       dev-java/ant-nodeps

Just reinstall ant-nodeps in the same version as ant-core
(Right now I installed 1.7.1 and it works)
Comment 3 M. B. 2011-01-14 12:05:00 UTC
I can confirm this as not-working (with the same error as b1254633, same version of java-service-wrapper) but with ant + ant-nodeps both at 1.8.1, the current stable/latest for amd64. Downgrading the whole ant-stuff to 1.7.1 makes it work, however.

I'd consider this a blocker for ant-1.8.1.
Comment 4 hariseldon78 2011-01-30 05:44:48 UTC
(In reply to comment #2)
> Just reinstall ant-nodeps in the same version as ant-core
> (Right now I installed 1.7.1 and it works)
 
is it possible to enforce the 2 packets to remain in the same version without blocking the updates forever and without leaving the system in an inconsistant state?
Comment 5 Faustus 2011-09-25 20:41:27 UTC
Builds fine for me on x86 with ant-core/ant-nodeps 1.8.1, suggest stabilizing and creating an ebuild for 3.5.11.
Comment 6 Alistair Bush (RETIRED) gentoo-dev 2012-04-18 11:38:23 UTC
Sadly I can't reproduce this with ant 1.8.2

closing as needsinfo until someone can provide more information as to how to reproduce.