Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41131 - rhino, commons-net, jdepend, bcel, xalan, jakarta-oro, common-beanutils all give jar illegal option p error
Summary: rhino, commons-net, jdepend, bcel, xalan, jakarta-oro, common-beanutils all g...
Status: RESOLVED DUPLICATE of bug 41123
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-10 09:51 UTC by ferret
Modified: 2005-07-17 13:06 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 ferret 2004-02-10 09:51:32 UTC
All the (~x86 versions) packages listed above give me this error, although they
"install" successfully. I'm not sure if they are in fact usable, since I don't
know what any of them do (they are a mysterious dependency of jedit now, I
gather).


>>> Unpacking jdepend-2.6.zip to /var/tmp/portage/jdepend-2.6/work
>>> Source unpacked.
Illegal option: p
Usage: jar {ctxu}[vfm0Mi] [jar-file] [manifest-file] [-C dir] files ...
Options:
    -c  create new archive
    -t  list table of contents for archive
    -x  extract named (or all) files from archive
    -u  update existing archive
    -v  generate verbose output on standard output
    -f  specify archive file name
    -m  include manifest information from specified manifest file
    -0  store only; use no ZIP compression
    -M  do not create a manifest file for the entries
    -i  generate index information for the specified jar files
    -C  change to the specified directory and include the following file
If any file is a directory then it is processed recursively.
The manifest file name and the archive file name needs to be specified
in the same order the 'm' and 'f' flags are specified.

Example 1: to archive two class files into an archive called classes.jar:
       jar cvf classes.jar Foo.class Bar.class
Example 2: use an existing manifest file 'mymanifest' and archive all the
           files in the foo/ directory into 'classes.jar':
       jar cvfm classes.jar mymanifest -C foo/ .


>>> Install jdepend-2.6 into /var/tmp/portage/jdepend-2.6/image/ category dev-java


I tried using both my JDKs.

theferret root # java-config -L
[sun-jdk-1.4.2.03] "Sun JDK 1.4.2.03" (/etc/env.d/java/20sun-jdk-1.4.2.03) *
[ibm-jdk-1.4.1] "IBM JDK 1.4.1" (/etc/env.d/java/20ibm-jdk-1.4.1)
Comment 1 ferret 2004-02-10 11:46:31 UTC

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