Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#42060 closed defect (fixed)

openjpeg15 @1.5.0 build failure

Reported by: StanSanderson Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: snowleopard Cc:
Port: openjpeg15

Description

OS 10.6, Xcode 3.2.6, i386 (core duo) iMac

After port selfupdate and port upgrade outdated, the upgrade failed with openjpeg15. Finally did the port uninstall installed and began reinstalling. Same failure occurred. Once again uninstalled and attempted to first install openjpeg15. Installation again failed with the same errors observed in previous logs.

Ports depending on it include poppler, which I need for frescobaldi-devel.

I have found that openjpeg @2.0.0 builds, but does not satisfy the dependencies of ports requested by frescobaldi-devel (or frescobaldi).

Log file attached

Attachments (2)

main.log (36.5 KB) - added by StanSanderson 10 years ago.
latest log file
config.log (36.2 KB) - added by StanSanderson 10 years ago.
config.log from work directory

Download all attachments as: .zip

Change History (9)

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

Keywords: snowleopard added; snow leopard removed

Please clean and try again so that we can see a complete log.

comment:2 in reply to:  1 Changed 10 years ago by StanSanderson

Replying to ryandesign@…:

Please clean and try again so that we can see a complete log.

I did a port clean all (overkill?), then port install openjpeg15. It failed. I have attached the resulting log file.

Changed 10 years ago by StanSanderson

Attachment: main.log added

latest log file

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

Could you also attach the config.log file from within the work directory? Do you have an older copy of libpng installed, perhaps in /usr/local?

Changed 10 years ago by StanSanderson

Attachment: config.log added

config.log from work directory

comment:4 in reply to:  3 Changed 10 years ago by StanSanderson

Replying to ryandesign@…:

Could you also attach the config.log file from within the work directory? Do you have an older copy of libpng installed, perhaps in /usr/local?

/usr/local does not contain a copy of libpng, as far as I can tell. I can mv it out of the way and try again if you think it worthwhile. Thanks, by the way!

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

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Ok. The bug is that the openjpeg15 configure script checks (by asking pkg-config if a package by that name exists) first for libpng15, then libpng14, then libpng12, then libpng. We recently updated libpng in MacPorts from 1.5.x to 1.6.x, so before, openjpeg15 was successfully finding libpng15, but now it doesn't, and apparently it's finding a libpng12 somewhere else on your system. We should fix the configure script so that it never looks for random libpng versions and always looks for the unversioned one only so that this problem never happens again.

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

Resolution: fixed
Status: assignedclosed

comment:7 in reply to:  6 Changed 10 years ago by StanSanderson

Replying to ryandesign@…:

r115907

Thank you. openjpeg15 installed without complaint.

Note: See TracTickets for help on using tickets.