[MacPorts] #40058: pdftk - Could not install
#40058: pdftk - Could not install -------------------------------+-------------------------------- Reporter: Maurizio.Loreti@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: pdftk gcc | Port: pdftk -------------------------------+-------------------------------- I have tried to install pdftk; that wants to install gcc 4.7 as a dependance. I have gcc 2.8 installed, and do not want to install another, older version just to install pdftk. Could you please. mr. ryandesign@..., update the Portfile? -- Ticket URL: <https://trac.macports.org/ticket/40058> MacPorts <http://www.macports.org/> Ports system for OS X
#40058: pdftk - Could not install --------------------------------+-------------------------------- Reporter: Maurizio.Loreti@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: pdftk gcc Port: pdftk | --------------------------------+-------------------------------- Comment (by Maurizio.Loreti@…): Replying to [ticket:40058 Maurizio.Loreti@…]:
I have tried to install pdftk; that wants to install gcc 4.7 as a dependance. I have gcc 2.8 installed, and do not want to install another, older version just to install pdftk. Could you please. mr. ryandesign@..., update the Portfile?
of course I have gcc 4.8, not 2.8, installed; typo :( -- Ticket URL: <https://trac.macports.org/ticket/40058#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40058: pdftk @1.44_0: add gcc48 variant --------------------------------+-------------------------- Reporter: Maurizio.Loreti@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: pdftk | --------------------------------+-------------------------- Changes (by larryv@…): * cc: Maurizio.Loreti@… (removed) * owner: macports-tickets@… => ryandesign@… * version: 2.2.0 => * keywords: pdftk gcc => * type: defect => enhancement Comment: In the future, please Cc relevant port maintainers (`port info --maintainers`). -- Ticket URL: <https://trac.macports.org/ticket/40058#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40058: pdftk @1.44_0: add gcc48 variant --------------------------------+-------------------------- Reporter: Maurizio.Loreti@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: pdftk | --------------------------------+-------------------------- Comment (by Maurizio.Loreti@…): Replying to [comment:3 larryv@…]:
In the future, please Cc relevant port maintainers (`port info --maintainers`).
Sorry, my fault... BTW: I have a $ port select --show gcc The currently selected version for 'gcc' is 'mp-gcc48'. $ Why not to use just "gcc" without specifying the version? Why has this ticket been changed to "add a gcc48 variant? Just to open another ticket when the next gcc version will be released? -- Ticket URL: <https://trac.macports.org/ticket/40058#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40058: pdftk @1.44_0: add gcc48 variant --------------------------------+-------------------------- Reporter: Maurizio.Loreti@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Low | Milestone: Component: ports | Version: Resolution: | Keywords: Port: pdftk | --------------------------------+-------------------------- Changes (by ryandesign@…): * priority: Normal => Low Comment: Replying to [comment:4 Maurizio.Loreti@…]:
Why not to use just "gcc" without specifying the version?
The reason why we do not do so in general in MacPorts is described in detail in the wiki page UsingTheRightCompiler. We will not be changing this strategy. pdftk has a much more specific reason: it's written in Java, so it must be compiled with a Java compiler. Apple does not provide a Java compiler; only the gcc4x ports do. Also, pdftk's build has been extremely fragile in the years that I have maintained the port. Either the gcc Java compiler is unreliable, or pdftk's Java code is, to the extent that it had seemed to me previously that only very specific versions of gcc were able to compile pdftk. So I am really not exceptionally interested in adding more compiler variants to the mix to provide users with even more opportunities to run into problems. My plans for the pdftk port are to [ticket:37580 update it to the latest version] and to make it use a compiler that works, which I expect will be gcc47, since that is the current MacPorts default for situations when gcc4x ports must be used. -- Ticket URL: <https://trac.macports.org/ticket/40058#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40058: pdftk @1.44_0: add gcc48 variant --------------------------------+-------------------------- Reporter: Maurizio.Loreti@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Low | Milestone: Component: ports | Version: Resolution: | Keywords: Port: pdftk | --------------------------------+-------------------------- Comment (by Torsten.Maehne@…): I tried to add a gcc48 variant based on the pdftk port upgrade patch to version 2.0.2 from ticket #37580. Unfortunately, gcj-mp-4.8 failed with the error message "error trying to exec 'ecj1': execvp: No such file or directory", which already affected the gcc44, gcc45, and gcc46 ports and is tracked in the ticket #22066. It worked with gcc47. -- Ticket URL: <https://trac.macports.org/ticket/40058#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#40058: pdftk @1.44_0: add gcc48 variant --------------------------------+-------------------------- Reporter: Maurizio.Loreti@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Low | Milestone: Component: ports | Version: Resolution: | Keywords: Port: pdftk | --------------------------------+-------------------------- Comment (by Maurizio.Loreti@…): Well, 3 months after having opened this ticket (i.e. yesterday) I have switched to OS X 10.9 Mavericks; following the 'migration' instructions, I have deinstalled and reinstalled Macports, and then started reinstalling all of my ports one after the other. The first one has been gcc 4.8. Well, when I later went to pdftk, of course 'port install' tried to install on my Mac another gcc, namely 4.7. I refused, and port cleared pdftk. Just for information, if somebody is still interested in pdftk and does not need more than one version of the compiler installed, the author in the URL http://www.pdflabs.com/tools/pdftk-server gives the opportunity to download a working version of the pdftk command line tool, with the name "pdftk server"; the OS X version worked perfectly for me under OS X 10.8 Mountain Lion, and works also under OS X 10.9 Mavericks as far as I have tested the executable. -- Ticket URL: <https://trac.macports.org/ticket/40058#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#40058: pdftk @1.44_0: add gcc48 variant --------------------------------+-------------------------- Reporter: Maurizio.Loreti@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Low | Milestone: Component: ports | Version: Resolution: | Keywords: Port: pdftk | --------------------------------+-------------------------- Comment (by kurt.pfeifle@…): Please note: pdftk's latest upstream version is no longer 1.44, but 2.02 (and its commandline version has been renamed to pdftk-server, for some reason I'm not aware of). See also http://www.pdflabs.com/tools/pdftk- server/ -- Ticket URL: <https://trac.macports.org/ticket/40058#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#40058: pdftk @1.44_0: add gcc48 variant --------------------------------+-------------------------- Reporter: Maurizio.Loreti@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: pdftk | --------------------------------+-------------------------- Changes (by macsforever2000@…): * priority: Low => Normal Comment: Setting to normal priority given that gcc48 is the default in Macports. -- Ticket URL: <https://trac.macports.org/ticket/40058#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#40058: pdftk @1.44_0: add gcc48 variant --------------------------------+-------------------------- Reporter: Maurizio.Loreti@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: pdftk | --------------------------------+-------------------------- Comment (by graziosi.angelo@…): Any news about this ticket? adding gcc48 variant or, better, an update to the last release? Thanks, Angelo. -- Ticket URL: <https://trac.macports.org/ticket/40058#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts