Opened 16 years ago

Closed 7 years ago

#13553 closed defect (wontfix)

gcc43: does not provide gcj on Mac OS X Leopard (PPC)

Reported by: shirose@… Owned by: macports-tickets@…
Priority: Low Milestone:
Component: ports Version: 1.5.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), cooljeanius (Eric Gallager), maehne (Torsten Maehne), petrrr
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 (20)

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

comment:9 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

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

This is Gentoo's bug report about this situation in gcc43 and how they solved it.

comment:11 Changed 13 years ago by jmroot (Joshua Root)

Port: gcc43 added
Summary: gcc42 4.2.2_1 does not provide gcj-mp-4.2 on Mac OS X Leopard (PPC)gcc42 and gcc43 do not provide gcj on Mac OS X Leopard (PPC)

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

Cc: egall@… added

Cc Me!

comment:13 Changed 11 years ago by maehne (Torsten Maehne)

Cc: Torsten.Maehne@… added

Cc Me!

comment:14 Changed 10 years ago by petrrr

I understand there is not much intend to do anything about this issue. Should this be closed as wontfix?

comment:15 Changed 9 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:16 Changed 9 years ago by petrrr

Port: gcc42 removed
Summary: gcc42 and gcc43 do not provide gcj on Mac OS X Leopard (PPC)gcc43: does not provide gcj on Mac OS X Leopard (PPC)

gcc42 was removed in r131452, so this does not apply to gcc42 any more. Will gcc43 be retired any soon?

comment:17 in reply to:  16 Changed 9 years ago by larryv (Lawrence Velázquez)

Probably.

comment:18 Changed 7 years ago by mojca (Mojca Miklavec)

See #49227.

comment:19 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from mww@… to macports-tickets@…

comment:20 Changed 7 years ago by kencu (Ken)

Resolution: wontfix
Status: assignedclosed

Fair to say this ticket is no longer relevant

Note: See TracTickets for help on using tickets.