Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57385 - ant-optional ebuild uses wrong package name for javamail/jaf libraries
Summary: ant-optional ebuild uses wrong package name for javamail/jaf libraries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-17 07:32 UTC by keith
Modified: 2004-07-17 07:51 UTC (History)
0 users

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


Attachments
diff of fixed ebuild which uses the correct package names (ant-optional-1.6.2.diff,852 bytes, patch)
2004-07-17 07:41 UTC, keith
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description keith 2004-07-17 07:32:28 UTC
when emerging the ant-optional ebuild, the ebuild uses the incorrect package names for the sun-javamail-bin and sun-jaf-bin libraries

the ebuild should use 'javamail' and 'jaf' vice 'sun-javamail-bin' and 'sun-jaf-bin'

Reproducible: Always
Steps to Reproduce:
1.  emerge ant-optional


Actual Results:  
The following output was generated to the console (and log):

compile
Could not find package sun-javamail-bin
Could not find package sun-jaf-bin
... Bootstrapping Ant Distribution
... Compiling Ant Classes


Expected Results:  
Once the line in the ebuild was changed to use the correct package name the
following was output:

compile
... Bootstrapping Ant Distribution
... Compiling Ant Classes


It didn't seem to cause any errors during the rest of the ant-optional build,
but if these libraries are actually required, they should be included.
Comment 1 keith 2004-07-17 07:41:00 UTC
Created attachment 35633 [details, diff]
diff of fixed ebuild which uses the correct package names

Attached a patch for the ant-optional-1.6.2.ebuild.  This bug was also present
in the previous version's ebuilds (1.6.1-r1).
Comment 2 Thomas Matthijs (RETIRED) gentoo-dev 2004-07-17 07:51:01 UTC
Well those packages are depended on with USE flag javamail
They aren't actualy required
changed the ebuild so it doesn't look for javamail & jaf when javamail use flag is not defined