Opened 12 years ago

Last modified 12 years ago

#37219 new defect

failed to install gnu-classpath: command execution failed

Reported by: dougmencken@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: cooljeanius (Eric Gallager)
Port: gnu-classpath

Description

sh-3.2# port install jamvm
--->  Computing dependencies for jamvm
--->  Dependencies to be installed: gnu-classpath antlr
--->  Fetching archive for antlr
--->  Attempting to fetch antlr-2.7.7_1.darwin_9.ppc.tbz2 from http://lil.fr.packages.macports.org/antlr
--->  Attempting to fetch antlr-2.7.7_1.darwin_9.ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/antlr
--->  Attempting to fetch antlr-2.7.7_1.darwin_9.ppc.tbz2 from http://packages.macports.org/antlr
--->  Fetching distfiles for antlr
--->  Attempting to fetch antlr-2.7.7.tar.gz from http://www.mirrorservice.org/sites/master.us.finkmirrors.net/distfiles/
--->  Attempting to fetch antlr-2.7.7.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/antlr
--->  Verifying checksum(s) for antlr
--->  Extracting antlr
--->  Applying patches to antlr
--->  Configuring antlr
--->  Building antlr
--->  Staging antlr into destroot
--->  Installing antlr @2.7.7_1
--->  Activating antlr @2.7.7_1
--->  Cleaning antlr
--->  Fetching archive for gnu-classpath
--->  Attempting to fetch gnu-classpath-0.98_1.darwin_9.ppc.tbz2 from http://lil.fr.packages.macports.org/gnu-classpath
--->  Attempting to fetch gnu-classpath-0.98_1.darwin_9.ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gnu-classpath
--->  Attempting to fetch gnu-classpath-0.98_1.darwin_9.ppc.tbz2 from http://packages.macports.org/gnu-classpath
--->  Fetching distfiles for gnu-classpath
--->  Attempting to fetch classpath-0.98.tar.gz from http://www.mirrorservice.org/sites/ftp.gnu.org/gnu/classpath
--->  Verifying checksum(s) for gnu-classpath
--->  Extracting gnu-classpath
--->  Applying patches to gnu-classpath
--->  Configuring gnu-classpath
--->  Building gnu-classpath
Error: org.macports.build for port gnu-classpath returned: command execution failed
Error: Failed to install gnu-classpath
Please see the log file for port gnu-classpath for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_gnu-classpath/gnu-classpath/main.log
Error: The following dependencies were not installed: gnu-classpath
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port jamvm failed

My `uname -a':

sh-3.2# uname -a
Darwin powermacs-power-mac-g5.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh

main.log is attached.

Attachments (1)

main.log (66.5 KB) - added by dougmencken@… 12 years ago.

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by dougmencken@…

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

I'm assuming one or both of the messages printed at configure time are relevant:

:info:configure checking for antlr 2.7.1 or better... ./configure: line 35199: test: too many arguments
:info:configure ./configure: line 35200: test: too many arguments
:info:configure ./configure: line 35202: test: too many arguments
:info:configure 2.7.7 (20121206) 1989-2005.2.7.7 (20121206) 1989-2005.2.7.7 (20121206) 1989-2005
:info:configure checking for javac... javac -Xlint:unchecked,cast,divzero,empty,finally,overrides
:info:configure checking if javac -Xlint:unchecked,cast,divzero,empty,finally,overrides is a version of gcj... javac: invalid flag: --version
:info:configure Usage: javac <options> <source files>
:info:configure where possible options include:
:info:configure   -g                         Generate all debugging info
:info:configure   -g:none                    Generate no debugging info
:info:configure   -g:{lines,vars,source}     Generate only some debugging info
:info:configure   -nowarn                    Generate no warnings
:info:configure   -verbose                   Output messages about what the compiler is doing
:info:configure   -deprecation               Output source locations where deprecated APIs are used
:info:configure   -classpath <path>          Specify where to find user class files
:info:configure   -cp <path>                 Specify where to find user class files
:info:configure   -sourcepath <path>         Specify where to find input source files
:info:configure   -bootclasspath <path>      Override location of bootstrap class files
:info:configure   -extdirs <dirs>            Override location of installed extensions
:info:configure   -endorseddirs <dirs>       Override location of endorsed standards path
:info:configure   -d <directory>             Specify where to place generated class files
:info:configure   -encoding <encoding>       Specify character encoding used by source files
:info:configure   -source <release>          Provide source compatibility with specified release
:info:configure   -target <release>          Generate class files for specific VM version
:info:configure   -version                   Version information
:info:configure   -help                      Print a synopsis of standard options
:info:configure   -X                         Print a synopsis of nonstandard options
:info:configure   -J<flag>                   Pass <flag> directly to the runtime system

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Or maybe not; I get those warnings on OS X 10.8 too, but the port builds for me.

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

I updated the port to version 0.99; did that help?

comment:4 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:5 in reply to:  3 Changed 12 years ago by cooljeanius (Eric Gallager)

Replying to ryandesign@…:

I updated the port to version 0.99; did that help?

Since 0.99 it's now running into a different issue (for me at least): #38113

Note: See TracTickets for help on using tickets.