Opened 14 years ago
Closed 14 years ago
#29193 closed defect (fixed)
openjpeg build fails trying to cp a directory
Reported by: | yaseppochi (Stephen J. Turnbull) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.99 |
Keywords: | Cc: | gnw3, ebbinghaus@…, skymoo (Adam Mercer), dbevans (David B. Evans), bK4gYuRo, dershow, charles@…, pho@… | |
Port: | openjpeg |
Description
See attached build log.
MacBook Pro Intel, Mac OS X 10.5.8, port 1.9.99
Attachments (3)
Change History (18)
Changed 14 years ago by yaseppochi (Stephen J. Turnbull)
comment:1 Changed 14 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to mcalhoun@… |
---|
comment:5 Changed 14 years ago by dbevans (David B. Evans)
Same problem observed on PowerPC G4, OSX 10.5.8.
comment:10 Changed 14 years ago by skymoo (Adam Mercer)
Seems to be that this is only an issue on Leopard as my Snow Leopard builds this port fine, whereas my PPC Leopard machine fails.
comment:11 Changed 14 years ago by dbevans (David B. Evans)
Agreed. Builds fine on Snow Leopard for me as well.
The problem seems to be that (on the Leopard PPC platform)
libopenjpeg/Makefile
is attempting to execute the command
cp -P .libs/libopenjpeg.* ../bin/
but there is a directory libopenjpeg.1.dylib.dSYM that it apparently isn't expecting and is not seen on the Snow Leopard platform.
comment:12 Changed 14 years ago by dbevans (David B. Evans)
Attached is a patch that fixes the Leopard problem for me and works on Snow Leopard as well. It uses a recursive copy to avoid stumbling over the .dSYM directory.
Changed 14 years ago by dbevans (David B. Evans)
Attachment: | patch-openjpeg.diff added |
---|
Proposed patch for Portfile
Changed 14 years ago by dbevans (David B. Evans)
Attachment: | patch-libopenjpeg-Makefile.in.diff added |
---|
Patch to go in files directory
comment:15 Changed 14 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Resolution: | → fixed |
---|---|
Status: | new → closed |
If ld fails to accept -force_load, dsymutil is used to produce DWARF debug symbol files in directories, which are not copied.
See http://www.mail-archive.com/libtool-patches@gnu.org/msg04867.html
Fixed in r77990.
Please remember to cc the maintainer.