Opened 11 years ago
Closed 11 years ago
#41216 closed defect (fixed)
openjpeg: build fails when openjpeg15 is active
Reported by: | drkatastro@… | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | mark.macports@…, trungnob@…, Ionic (Mihai Moldovan), dllau@…, papachoco (Carlos Sanchez), ryandesign (Ryan Carsten Schmidt) | |
Port: | openjpeg |
Description
openjpeg 2.0.0 is unable to upgrade since the move to Mavericks.
Attachments (5)
Change History (21)
Changed 11 years ago by drkatastro@…
Attachment: | openjpeg_port_issue.log added |
---|
comment:1 follow-up: 2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | mavericks added; Mavericks removed |
---|---|
Owner: | changed from macports-tickets@… to mcalhoun@… |
Port: | openjpeg added |
clean and try again; that wasn't a clean attempt. openjpeg installs fine for me on Mavericks.
Changed 11 years ago by drkatastro@…
Attachment: | clean_openjpeg_err.log added |
---|
comment:2 Changed 11 years ago by drkatastro@…
sudo port clean was run, followed up attempting to upgrade again, and the same error appeared. New logfile attached.
Replying to ryandesign@…:
clean and try again; that wasn't a clean attempt. openjpeg installs fine for me on Mavericks.
Changed 11 years ago by daniele@…
I also can't upgrade, and there seems to be no file in the dist where OPJ_LRCP and OPJ_BOOL are defined.
Changed 11 years ago by info@…
Attachment: | main.2.log added |
---|
Same here. Problem exists since update to Maverick, clean didn't help.
Changed 11 years ago by mark.macports@…
Attachment: | main.3.log added |
---|
same problem here... tried clean... no help.
comment:6 follow-up: 8 Changed 11 years ago by Ionic (Mihai Moldovan)
This is due to a previous openjpeg header file, incorrectly overriding the "new" openjpeg.h when building openjpeg.
sudo port clean openjpeg sudo mv /opt/local/include/openjpeg.h /opt/local/include/openjpeg.h.RM sudo port -sv upgrade openjpeg
If openjpeg was updated successfully:
sudo rm /opt/local/include/openjpeg.h.RM
comment:8 Changed 11 years ago by daniele@…
Replying to ionic@…:
This is due to a previous openjpeg header file, incorrectly overriding the "new" openjpeg.h when building openjpeg. […]
This worked for me, thanks!
comment:11 Changed 11 years ago by mf2k (Frank Schima)
ionic is correct, but please use this method to build openjpeg:
sudo port -f deactivate openjpeg15 sudo port clean openjpeg sudo port install openjpeg sudo port activate openjpeg15
comment:12 Changed 11 years ago by neverpanic (Clemens Lang)
If you're on trunk, trace mode (port -t install
) should avoid this problem.
For now, openjpeg
should probably use the conflicts_build
PortGroup to encode this problem in the Portfile, or change the include paths in a way that the local header is found first.
comment:13 Changed 11 years ago by jsaucier@…
Watch out here from manually removing the /opt/local/include/openjpeg.h file... poppler (and maybe other package) will failed to build or upgrade now.
Maybe after upgrading openjpeg 2.0, rename the file back to /opt/local/include/openjpeg.h in place of deleting it.
comment:14 follow-up: 16 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
I suspect #40656 would fix this.
comment:15 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | dllau@… papachoco@… ryandesign@… added |
---|---|
Keywords: | mavericks removed |
Summary: | port openjpeg returned: command execution failed → openjpeg: build fails when openjpeg15 is active |
comment:16 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to ryandesign@…:
I suspect #40656 would fix this.
Yup. Applying a local version of this fix to openjpeg in r115051.
Logfile from openjpeg problem