Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150483 - [Overlay] commons-logging-1.1 fails to compile Log4j classes because of wrong build.property
Summary: [Overlay] commons-logging-1.1 fails to compile Log4j classes because of wrong...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard: migrated-java-experimental-overlay
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-08 09:30 UTC by Bernhard Frauendienst
Modified: 2006-10-08 14:25 UTC (History)
0 users

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 Bernhard Frauendienst 2006-10-08 09:30:50 UTC
commons-logging-1.1 from the migrated-java-experimental-overlay (and probably most versions before) fail to build the classes required to use commons-logging with log4j.

The build.xml expects two properties, "log4j12.jar=..." and "log4j13.jar=..." (for log4j versions 1.2* and 1.3* respectively), but the ebuild only sets "log4j.jar=..." which obviously has no effect.

Changing the property that gets set to "log4j12.jar=..." works for the moment, since there are no 1.3 ebuilds around so far, but a nicer solution would be to check the existing version(s) and set one or both of the properties accordingly.
Comment 1 Miroslav Šulc gentoo-dev 2006-10-08 12:55:21 UTC
Corrected in overlay. Thank you.
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-10-08 14:25:02 UTC
Looks good (commons-logging-1.1-r1), marking as fixed, thanks for reporting. The 1.0.4 versions in portage are fine with log4j.jar, the versioned variables were probably introduced only in 1.1 and overlooked.