Opened 12 years ago

Closed 12 years ago

#35553 closed defect (fixed)

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

Reported by: philippe.lang@… Owned by: ryandesign (Ryan Carsten Schmidt)
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 (7)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to ryandesign@…
Port: pdftk added
Priority: HighNormal

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

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 12 years 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 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

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 12 years 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 12 years ago by neverpanic (Clemens Lang)

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

comment:7 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Oh good!

Note: See TracTickets for help on using tickets.