New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #35553 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

pdftk @1.44 build ok but broken on Mountain Lion / XCode 4.4

Reported by: philippe.lang@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: mountainlion Cc:
Port: pdftk

Description

pdftk 1.44 builds just fine under Mountain Lion / XCode, but does not work at all afterwards, with a lot of segmentation faults.

Installing the package provided on the pdftk website corrects all the problems.

Change History

comment:1 Changed 10 months ago by macsforever2000@…

  • Owner changed from macports-tickets@… to ryandesign@…
  • Priority changed from High to Normal
  • Port set to pdftk

comment:2 follow-up: ↓ 3 Changed 10 months ago by ryandesign@…

  • Keywords mountainlion added

It might be helpful if you could report these crashes to the developer of PDFTK so that he can fix them.

comment:3 in reply to: ↑ 2 Changed 10 months ago by philippe.lang@…

Replying to ryandesign@…:

It might be helpful if you could report these crashes to the developer of PDFTK so that he can fix them.

I did. How do you explain the installable binary available on the pdftk website works just fine under mountain lion?

comment:4 follow-up: ↓ 5 Changed 10 months ago by ryandesign@…

Perhaps it was not compiled on Mountain Lion, and/or perhaps it was compiled with a different compiler than the one we're using in MacPorts. I just added a gcc47 variant to the port in r96335, and confirmed that it fixed at least one crash for me on Mountain Lion that I saw with the gcc45 variant. Does that help for you as well?

comment:5 in reply to: ↑ 4 Changed 10 months ago by philippe.lang@…

Replying to ryandesign@…:

Perhaps it was not compiled on Mountain Lion, and/or perhaps it was compiled with a different compiler than the one we're using in MacPorts. I just added a gcc47 variant to the port in r96335, and confirmed that it fixed at least one crash for me on Mountain Lion that I saw with the gcc45 variant. Does that help for you as well?

It did not only help, it solved all problems, as far as I could test! Thanks a lot!

comment:6 Changed 10 months ago by cal@…

Shouldn't the gcc45 variant be dropped from the Portfile if it is known to cause problems with pdftk at runtime?

comment:7 Changed 10 months ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to fixed

Oh good!

Note: See TracTickets for help on using tickets.