#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)
Change History (9)
comment:1 follow-up: 2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | snowleopard added; snow leopard removed |
---|
comment:2 Changed 11 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.
comment:3 follow-up: 4 Changed 11 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?
comment:4 Changed 11 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 11 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Status: | new → assigned |
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 follow-up: 7 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Please clean and try again so that we can see a complete log.