Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176445 - net-im/openfire-3.3.0 fails to build with dev-java/ant-core-1.7.0
Summary: net-im/openfire-3.3.0 fails to build with dev-java/ant-core-1.7.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High blocker
Assignee: Gustavo Felisberto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-29 10:46 UTC by Petteri Räty (RETIRED)
Modified: 2007-05-16 19:50 UTC (History)
3 users (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 Petteri Räty (RETIRED) gentoo-dev 2007-04-29 10:46:52 UTC
init:

BUILD FAILED
/var/tmp/portage/net-im/wildfire-3.1.1/work/wildfire_src/build/build.xml:195: Must use Ant 1.6.x to build Wildfire

Total time: 0 seconds

It seems to be checking the ant version for 1.6* in build.xml which is bad. I think we can overwrite the check with -Dant.not.ok= for example.
Comment 1 Benedikt Böhm (RETIRED) gentoo-dev 2007-05-16 16:31:57 UTC
any progress here? since openfire wants to install ant-1.6 which blocks ant-core-1.7 it is impossible to install openfire currently... please fix asap
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-05-16 19:50:55 UTC
Since ant 1.7.0 is stabled, I decided to go and fix it myself.

+  16 May 2007; Vlastimil Babka <caster@gentoo.org> openfire-3.3.0.ebuild:
+  Migrate to split-ant wrt ant-contrib use, upstream now supports ant 1.7.0 -
+  fixes bug #176445. Allow compilation with 1.6 JDK as it's now also
+  supported. Don't call plugins-dev target because it fails and doesn't seem
+  to do anything useful.

Plugins-dev target basically calls ant again on the same build.xml with openfire target which was already performed. Then it copies external ant.jar and tools.jar from JDK somewhere, which should be avoided anyway. The reason why the target fails is probably some regression in 1.7.0 which I will investigate anyway.