#41712 closed defect (invalid)
poppler @0.24.4_0: fatal error: 'openjpeg.h' file not found
Reported by: | jsaucier@… | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | poppler |
Description
The upgrade from poppler 0.24.3_0 to 0.24.4_0 failed on both of my system. I will attach the main.log after doing a port clean --all poppler. I also tried to uninstall poppler but I have package depending on it (gimp2).
Attachments (1)
Change History (6)
Changed 11 years ago by jsaucier@…
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Owner: | changed from macports-tickets@… to devans@… |
Summary: | poppler upgrade from 0.24.3_0 to 0.24.4_0 failed → poppler @0.24.4_0: fatal error: 'openjpeg.h' file not found |
comment:2 Changed 11 years ago by jsaucier@…
Oh, I see for openjpeg.h. The resolution for me for bug #41216 was to remove /opt/local/include/openjpeg.h in favour of /opt/local/include/openjpeg-1.5/openjpeg.h and /opt/local/include/openjpeg-2.0/openjpeg.h.
So, if I leave this file, I cannot upgrade openjpeg 2.0, if I remove this file I cannot upgrade poppler...
So, here is what I did :
- Force uninstall of openjpeg 1.5 - Upgrade openjpeg 2.0 correctly - Reinstall openjpeg 1.5 - Upgrade poppler correctly
comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:4 follow-up: 5 Changed 11 years ago by info@…
Thanks for the report jsaucier! Solving the issue turned out to be even easier for me. Just running
port uninstall -f openjpeg15 port upgrade openjpeg
did the job for me. Upgrading openjpeg even triggered the rebuild of poppler.
Note: openjpeg 2.0 was not outdated on my system. Probably because I already upgraded it before... If openjpeg 2.0 is outdated on you system, you can try running
port upgrade openjpeg@2.0
prior to the above two commands. Hope this saves someone some time ;)
I see you are on Mavericks. It builds fine for me on Mavericks. What version of Xcode and clang do you have?
The log says:
/opt/local/include/openjpeg.h should be there; it's part of the openjpeg15 port on which the poppler port does declare a dependency. Does the file exist on your system?