Opened 16 years ago

Last modified 7 years ago

#13553 closed defect

gcc42 4.2.2_1 does not provide gcj-mp-4.2 on Mac OS X Leopard (PPC) — at Version 8

Reported by: shirose@… Owned by: mww@…
Priority: Low Milestone:
Component: ports Version: 1.5.2
Keywords: Cc: ryandesign@…
Port: gcc43

Description (last modified by ryandesign (Ryan Carsten Schmidt))

% sudo port install pdftk
--->  Fetching pdftk
--->  Attempting to fetch pdftk-1.41.tar.bz2 from http://www.pdfhacks.com/pdftk/ 
--->  Verifying checksum(s) for pdftk
--->  Extracting pdftk
--->  Configuring pdftk
--->  Building pdftk with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_shirose_src_macports-trunk_dports_textproc_pdftk/work/pdftk-1.41/pdftk" && make all -f Makefile.MacOSX TOOLPATH=/opt/local/bin/ VERSUFF=-mp-4.2 " returned error 2
Command output: make -C ../java_libs
make -C "/opt/local/var/macports/build/_Users_shirose_src_macports-trunk_dports_textproc_pdftk/work/pdftk-1.41/java_libs/gnu_local/java/security";
/opt/local/bin/gcj-mp-4.2 -O2 --encoding=UTF-8 --classpath="/opt/local/var/macports/build/_Users_shirose_src_macports-trunk_dports_textproc_pdftk/work/pdftk-1.41/java_libs" -c Engine.java -o Engine.o
/bin/sh: /opt/local/bin/gcj-mp-4.2: No such file or directory
make[2]: *** [Engine.o] Error 127
make[1]: *** [libgcj_local] Error 2
make: *** [java_libs] Error 2

Error: Status 1 encountered during processing.

Change History (8)

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

Owner: changed from macports-tickets@… to mww@…
Summary: pdftk fails to build on Leopard (PPC) because of lack of gcj-mp-4.2gcc42 4.2.2_1 does not provide gcj-mp-4.2 on Mac OS X Leopard (PPC)

pdftk requires gjc. gcc42 does not provide gcj on Leopard when running on PowerPC. Apparently it cannot be done with gcc 4.2.2. See r30974 in which this was deliberately disabled in the gcc42 portfile. Assigning to maintainer of gcc42.

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

pdftk now fails more gracefully if gcj-mp-4.2 is not present; see r32288.

comment:3 Changed 16 years ago by mww@…

Priority: HighLow
Status: newassigned

There is nothing we can do about gcc 4.2 series not providing gcj on 10.5/ppc (with realistic effort) but wait for 4.3.2;
The pdftk port now fails for all variants, regardless which compiler is chosen.

comment:4 in reply to:  3 ; Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Replying to mww@macports.org:

The pdftk port now fails for all variants, regardless which compiler is chosen.

Good grief, you're right. I wish I had seen this message from you back in December. I'll have to fix that.

comment:5 in reply to:  4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@macports.org:

Replying to mww@macports.org:

The pdftk port now fails for all variants, regardless which compiler is chosen.

Good grief, you're right. I wish I had seen this message from you back in December. I'll have to fix that.

Ok, pdftk is fixed in r36161.

comment:6 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

gcc43 does not provide a working gcj-mp-4.3 either on Leopard PowerPC. Googling the error, it seems we must provide either ecj1 in MacPorts, or else provide gcc with an ecj.jar from which it will produce ecj1. We already have an eclipse-ecj32 port; maybe we just need to provide a newer eclipse-ecj34 port (though I had trouble building it because it seems to want Java 1.6 and Mac OS X (at least Tiger) only has Java 1.5). I also can't find a homepage for ecj or a statement of what the current version is, though it seems to be some flavor of 3.4.

comment:7 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

This ticket has always been for the issue that gcc42 does not provide gcj-mp-4.2 on Leopard PowerPC and therefore pdftk can't be built with gcc42 on Leopard PowerPC. But I currently have pdftk installed on Leopard PowerPC using gcc42. It looks like the update to gcc 4.2.3_0 in r33644 resolved this.

But as I said above we now have a similar problem with gcc43 4.3.1_1. Should we change the ticket title, or resolve this ticket and file a new one?

comment:8 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: gcc42 added
Note: See TracTickets for help on using tickets.