Opened 11 years ago
Closed 7 years ago
#40058 closed enhancement (fixed)
pdftk @1.44_0: add gcc5 variant
Reported by: | MaurizioLoreti | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | maehne (Torsten Maehne), fabian.egli@…, egon.geerardyn@…, anddam (Andrea D'Amore), petrrr, cielartisan@…, jjstickel (Jonathan Stickel) | |
Port: | pdftk |
Description
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?
Change History (22)
comment:1 Changed 11 years ago by MaurizioLoreti
Cc: | Maurizio.Loreti@… added |
---|
comment:2 Changed 11 years ago by MaurizioLoreti
Replying to 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 :(
comment:3 follow-up: 4 Changed 11 years ago by larryv (Lawrence Velázquez)
Cc: | Maurizio.Loreti@… removed |
---|---|
Keywords: | pdftk gcc removed |
Owner: | changed from macports-tickets@… to ryandesign@… |
Summary: | pdftk - Could not install → pdftk @1.44_0: add gcc48 variant |
Type: | defect → enhancement |
Version: | 2.2.0 |
In the future, please Cc relevant port maintainers (port info --maintainers
).
comment:4 follow-up: 5 Changed 11 years ago by MaurizioLoreti
Replying to 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?
comment:5 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Priority: | Normal → Low |
---|
Replying to 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 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.
comment:7 Changed 11 years ago by maehne (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.
comment:8 Changed 11 years ago by MaurizioLoreti
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.
comment:9 Changed 11 years ago by KurtPfeifle (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/
comment:10 Changed 11 years ago by mf2k (Frank Schima)
Priority: | Low → Normal |
---|
Setting to normal priority given that gcc48 is the default in Macports.
comment:12 Changed 11 years ago by graziosi.angelo@…
Any news about this ticket? adding gcc48 variant or, better, an update to the last release?
Thanks,
Angelo.
comment:17 Changed 10 years ago by petrrr
Cc: | Peter.Danecek@… removed |
---|
comment:19 Changed 10 years ago by cielartisan@…
Although #22066 needs to be fixed in proper way prior, (for those who cannot wait so much) I have posted 2.02+gcc48 binary (and local key) here: https://github.com/maehne/experimental-macports/issues/1
comment:21 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | pdftk @1.44_0: add gcc48 variant → pdftk @1.44_0: add gcc5 variant |
---|
We've now fixed gcc5 to build a usable gcj, so we can now add a gcc5 variant to pdftk.
comment:22 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Cc Me!