Ticket #13553 (assigned defect)
gcc42 and gcc43 do not provide gcj on Mac OS X Leopard (PPC)
| Reported by: | shirose@… | Owned by: | mww@… |
|---|---|---|---|
| Priority: | Low | Milestone: | |
| Component: | ports | Version: | 1.5.2 |
| Keywords: | Cc: | ryandesign@… | |
| Port: | gcc42 gcc43 |
Description (last modified by ryandesign@…) (diff)
% 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
comment:1 Changed 5 years ago by ryandesign@…
- Owner changed from macports-tickets@… to mww@…
- Summary changed from pdftk fails to build on Leopard (PPC) because of lack of gcj-mp-4.2 to gcc42 4.2.2_1 does not provide gcj-mp-4.2 on Mac OS X Leopard (PPC)
comment:2 Changed 5 years ago by ryandesign@…
pdftk now fails more gracefully if gcj-mp-4.2 is not present; see r32288.
comment:3 follow-up: ↓ 4 Changed 5 years ago by mww@…
- Status changed from new to assigned
- Priority changed from High to Low
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 ; follow-up: ↓ 5 Changed 5 years ago by ryandesign@…
- 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 5 years ago by ryandesign@…
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 5 years ago by ryandesign@…
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 5 years ago by ryandesign@…
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:10 Changed 4 years ago by ryandesign@…
This is Gentoo's bug report about this situation in gcc43 and how they solved it.
comment:11 Changed 2 years ago by jmr@…
- Port changed from gcc42 to gcc42 gcc43
- Summary changed from gcc42 4.2.2_1 does not provide gcj-mp-4.2 on Mac OS X Leopard (PPC) to gcc42 and gcc43 do not provide gcj 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.