[MacPorts] #15420: RFE: add gcc43 variant for pdftk
#15420: RFE: add gcc43 variant for pdftk ---------------------------------+------------------------------------------ Reporter: jochen@macports.org | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Keywords: | ---------------------------------+------------------------------------------ Please add a gcc43 variant as in the attached patch -- Ticket URL: <http://trac.macports.org/ticket/15420> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15420: RFE: add gcc43 variant for pdftk ----------------------------------+----------------------------------------- Reporter: jochen@macports.org | Owner: ryandesign@macports.org Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: ----------------------------------+----------------------------------------- Changes (by ryandesign@macports.org): * status: new => assigned Comment: I already did this locally but didn't commit it yet. The problem was that gcc43 doesn't supply gcj, and thus doesn't support building pdftk, on Mac OS X 10.4. gcc42, meanwhile, doesn't supply gcj, and thus doesn't support building pdftk, on Mac OS X 10.5 PowerPC (#13553). I guess I'll add the gcc43 variant to pdftk, and make it the default on Leopard, and keep gcc42 the default on Tiger and earlier. -- Ticket URL: <http://trac.macports.org/ticket/15420#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15420: RFE: add gcc43 variant for pdftk ----------------------------------+----------------------------------------- Reporter: jochen@macports.org | Owner: ryandesign@macports.org Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: ----------------------------------+----------------------------------------- Comment (by raimue@macports.org): gcc43 provides gcj-mp-4.3, gcc42 provides gcj-mp-4.2. What is the problem? -- Ticket URL: <http://trac.macports.org/ticket/15420#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15420: RFE: add gcc43 variant for pdftk ----------------------------------+----------------------------------------- Reporter: jochen@macports.org | Owner: ryandesign@macports.org Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: ----------------------------------+----------------------------------------- Comment (by ryandesign@macports.org): The problem is that gcc43 does not provide gcj-mp-4.3 on Mac OS X 10.5 PowerPC and gcc42 does not provide gcj-mp-4.2 on Mac OS X 10.4. -- Ticket URL: <http://trac.macports.org/ticket/15420#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15420: RFE: add gcc43 variant for pdftk ----------------------------------+----------------------------------------- Reporter: jochen@macports.org | Owner: ryandesign@macports.org Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: ----------------------------------+----------------------------------------- Comment (by ryandesign@macports.org): Gah, other way around. gcc43 does not provide gcj-mp-4.3 on Mac OS X 10.4 (see the `platform darwin 8` section of the gcc43 portfile and the comment "Java support does not compile on 10.4"), and gcc42 does not provide gcj- mp-4.2 on Mac OS X 10.5 PowerPC (see #13553). -- Ticket URL: <http://trac.macports.org/ticket/15420#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15420: RFE: add gcc43 variant for pdftk ----------------------------------+----------------------------------------- Reporter: jochen@macports.org | Owner: ryandesign@macports.org Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: ----------------------------------+----------------------------------------- Comment (by raimue@macports.org): Okay, sorry for the noise, I did not know there were platform specific restrictions (should have followed that ticket link earlier...). -- Ticket URL: <http://trac.macports.org/ticket/15420#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15420: RFE: add gcc43 variant for pdftk ----------------------------------+----------------------------------------- Reporter: jochen@macports.org | Owner: ryandesign@macports.org Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: pdftk | ----------------------------------+----------------------------------------- Changes (by ryandesign@macports.org): * port: => pdftk Comment: Here is the current situation with pdftk +gcc43 when using the gcc 4.3.2_0 port: * '''10.4 Intel:''' * gcc43 does not provide gcj-mp-4.3 because it does not compile; see #16409 * '''10.4 PowerPC:''' * '''10.5 Intel:''' * '''10.5 PowerPC:''' * gcj-mp-4.3: error trying to exec 'ecj1': execvp: No such file or directory Even if gcc43 or another port provided ecj1, I've read that pdftk still won't compile with it. See this [http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35689 gcc bug report] and this [http://gcc.gnu.org/ml/java/2008-03/msg00032.html message on the gcc java mailing list], which were brought to my attention via #16440. Apparently pdftk is programmed incorrectly, and gcc42 and earlier compiled it successfully only by coincidence. gcc43 now considers this programming method a fatal error so we cannot add gcc43 support to the pdftk port until the developers of pdftk fix their code. -- Ticket URL: <http://trac.macports.org/ticket/15420#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15420: RFE: add gcc43 variant for pdftk ---------------------------------+------------------------------------------ Reporter: jochen@… | Owner: ryandesign@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Keywords: | Port: pdftk ---------------------------------+------------------------------------------ Comment(by bcbarnes@…): Any news on this? pdftk is available on linux distros which ship gcc43 by default. It would be nice to have on 10.5/Intel. thanks! -- Ticket URL: <http://trac.macports.org/ticket/15420#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15420: RFE: add gcc43 variant for pdftk ---------------------------------+------------------------------------------ Reporter: jochen@… | Owner: ryandesign@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Keywords: | Port: pdftk ---------------------------------+------------------------------------------ Comment(by ryandesign@…): Nothing has changed, that I know of. I see no new release of pdftk since 1.41 on November 28, 2006, so I assume their code is still incompatible with anything greater than gcc42. I do not use any package manager other than MacPorts. If you know of another package manager, such as one in a Linux distribution, which is able to build pdftk with gcc43 or greater, and you can send me the patches they are using, please do so. Or if you would like to discuss the issue with the developers of pdftk and get them to provide a solution upstream, please do that; I have not done so. -- Ticket URL: <http://trac.macports.org/ticket/15420#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15420: RFE: add gcc43 variant for pdftk --------------------------------+------------------------------------------- Reporter: jochen@… | Owner: ryandesign@… Type: enhancement | Status: assigned Priority: Normal | Component: ports Version: 1.6.0 | Keywords: Port: pdftk | --------------------------------+------------------------------------------- Comment(by avs@…): Replying to [comment:8 ryandesign@…]:
If you know of another package manager, such as one in a Linux distribution, which is able to build pdftk with gcc43 or greater, and you can send me the patches they are using, please do so.
Here's a related Gentoo bug that has a pdftk patch for gcc43, if it's of any value: [http://bugs.gentoo.org/show_bug.cgi?id=251796] -- Ticket URL: <http://trac.macports.org/ticket/15420#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15420: RFE: add gcc43 variant for pdftk ---------------------------------+------------------------------------------ Reporter: jochen@… | Owner: ryandesign@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | Port: pdftk ---------------------------------+------------------------------------------ Comment(by ryandesign@…): Replying to [comment:10 avs@…]:
pdftk patch for gcc43 Thank you very much, I'll take a look at that.
-- Ticket URL: <http://trac.macports.org/ticket/15420#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15420: RFE: add gcc43 variant for pdftk ---------------------------------+------------------------------------------ Reporter: jochen@… | Owner: ryandesign@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | Port: pdftk ---------------------------------+------------------------------------------ Comment(by avs@…): Replying to [comment:10 avs@…]:
Here's a related Gentoo bug that has a pdftk patch for gcc43, if it's of any value: [http://bugs.gentoo.org/show_bug.cgi?id=251796]
In addition, also Gentoo bugs #225709 and #235645, and #269312 seem to have related patches. It seems those would bring it to gcc44. -- Ticket URL: <http://trac.macports.org/ticket/15420#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15420: RFE: add gcc43 variant for pdftk ---------------------------------+------------------------------------------ Reporter: jochen@… | Owner: ryandesign@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | Port: pdftk ---------------------------------+------------------------------------------ Comment(by ryandesign@…): I have now had a chance to look at these Gentoo tickets. * [http://bugs.gentoo.org/show_bug.cgi?id=251796 #251796] has a patch for various issues which purport to allow pdftk to compile with gcc43. * [http://bugs.gentoo.org/show_bug.cgi?id=225709 #225709] says it was fixed by the patch from [http://bugs.gentoo.org/show_bug.cgi?id=251796 #251796]. * [http://bugs.gentoo.org/show_bug.cgi?id=235645 #235645] is closed as a duplicate of [http://bugs.gentoo.org/show_bug.cgi?id=225709 #225709]. * [http://bugs.gentoo.org/show_bug.cgi?id=269312 #269312] has a patch for one small issue which supposedly lets it compile with gcc44. I am unable to test these patches however because gcc43, gcc44 and gcc45 in MacPorts don't appear to provide a working gcj. I filed #22065 and #22066 for these problems. -- Ticket URL: <http://trac.macports.org/ticket/15420#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15420: RFE: add gcc43 variant for pdftk ---------------------------------+------------------------------------------ Reporter: jochen@… | Owner: ryandesign@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | Port: pdftk ---------------------------------+------------------------------------------ Comment(by massimo.bernaschi@…): Replying to [ticket:15420 jochen@…]: Cc Me! -- Ticket URL: <http://trac.macports.org/ticket/15420#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15420: RFE: add gcc43 variant for pdftk ---------------------------------+------------------------------------------ Reporter: jochen@… | Owner: ryandesign@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | Port: pdftk ---------------------------------+------------------------------------------ Comment(by jsnuverink@…): Cc Me! -- Ticket URL: <http://trac.macports.org/ticket/15420#comment:22> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15420: RFE: add gcc43 variant for pdftk ---------------------------------+------------------------------------------ Reporter: jochen@… | Owner: ryandesign@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | Port: pdftk ---------------------------------+------------------------------------------ Comment(by pinny@…): gcc45 in macports seems to work fine for me in 10.6.4. I had to patch the makefiles somewhat differently than in Gentoo (couldn't get objcopy working for osx, so I used nmedit instead), and I had to change the libiconv link directory for the final output, but the outputted pdftk is working! -- Ticket URL: <https://trac.macports.org/ticket/15420#comment:29> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15420: RFE: add gcc43 variant for pdftk ---------------------------------+------------------------------------------ Reporter: jochen@… | Owner: ryandesign@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | Port: pdftk ---------------------------------+------------------------------------------ Comment(by ryandesign@…): Can you provide the patches you used to make this work? -- Ticket URL: <https://trac.macports.org/ticket/15420#comment:30> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15420: RFE: add gcc43 variant for pdftk ---------------------------------+------------------------------------------ Reporter: jochen@… | Owner: ryandesign@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | Port: pdftk ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * cc: pinny@… (added) Comment: pinny, please see my comment above. -- Ticket URL: <https://trac.macports.org/ticket/15420#comment:31> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15420: RFE: add gcc43 variant for pdftk ---------------------------------+------------------------------------------ Reporter: jochen@… | Owner: ryandesign@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | Port: pdftk ---------------------------------+------------------------------------------ Comment(by pinny@…): There was an issue getting the build past a certain point (perhaps caused by circular dependency between text.a and pdf.a?), but regenerating the .class files for text.a seemed to fix it. I'm not sure how to keep the .class files intact to compile it in one pass. -- Ticket URL: <https://trac.macports.org/ticket/15420#comment:33> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15420: pdftk: add newer gcc variant ----------------------------------+----------------------------------------- Reporter: jochen@… | Owner: ryandesign@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: pdftk | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: In r72412 pdftk has been updated to version 1.43 and a gcc45 variant has been added. I have tested that pdftk 1.43 compiles fine with gcc45 on Snow Leopard and with gcc42 on Tiger. I did not test other gcc/OS version combinations. gcc43 and gcc44 variants are not added because of #22066. -- Ticket URL: <https://trac.macports.org/ticket/15420#comment:35> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts