Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#45608 closed defect (duplicate)

pdftk fails compiling on yosemite due to gcc47 errors

Reported by: jjfPCSI1 (Jean-Julien Joseph Fleck) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: yosemite Cc: mww@…, ryandesign (Ryan Carsten Schmidt)
Port: pdftk gcc47

Description (last modified by anddam (Andrea D'Amore))

I'm trying to install pdftk on Yosemite (10.10) using Xcode 6.1 and it fails when building gcc47.

The error log shows that it's experiencing #43978 but the fix given (i.e. upgrade to gcc48...) won't work as there is no +gcc48 variant in the pdftk port I tried to manually modify the port to add this variant but it failed compiling pdftk invoking java errors (which seems "normal" from what I've been reading on different tickets, for example #40058).

Thus, would it be possible either to upgrade pdftk so that it could use gcc48 (but it seems quite difficult) or patch gcc47 so that it compiles on yosemite too (which seems easier) ?

I would need it working within a week and would prefer not to instal pdftk from outside of MacPorts as suggested in #40058

Thanks

Change History (3)

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

Cc: openmaintainer@… removed
Keywords: gcc47 pdftk removed
Priority: HighNormal
Resolution: duplicate
Status: newclosed

I don't know if pdftk still compiles at all, but if it does still compile with gcc47, then getting gcc47 working on Yosemite is the most straightforward, since I think I already know what to do, and just have to find the time to do it.

comment:2 Changed 10 years ago by anddam (Andrea D'Amore)

Description: modified (diff)

I'm -putting here #44274 #43978 as reference to the gcc47-on-Yosemite ticket and reformatting description.

Last edited 10 years ago by anddam (Andrea D'Amore) (previous) (diff)

comment:3 Changed 10 years ago by jjfPCSI1 (Jean-Julien Joseph Fleck)

gcc47 is now compiling on Yosemite and pdftk still compiles: Thanks a lot !

Note: See TracTickets for help on using tickets.