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)

main.log (40.3 KB) - added by yaseppochi (Stephen J. Turnbull) 14 years ago.
patch-openjpeg.diff (439 bytes) - added by dbevans (David B. Evans) 14 years ago.
Proposed patch for Portfile
patch-libopenjpeg-Makefile.in.diff (565 bytes) - added by dbevans (David B. Evans) 14 years ago.
Patch to go in files directory

Download all attachments as: .zip

Change History (18)

Changed 14 years ago by yaseppochi (Stephen J. Turnbull)

Attachment: main.log added

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to mcalhoun@…

Please remember to cc the maintainer.

comment:2 Changed 14 years ago by gnw3

Cc: gnwiii@… added

Cc Me!

comment:3 Changed 14 years ago by ebbinghaus@…

Cc: ebbinghaus@… added

Cc Me!

comment:4 Changed 14 years ago by skymoo (Adam Mercer)

Cc: ram@… added

Cc Me!

comment:5 Changed 14 years ago by dbevans (David B. Evans)

Same problem observed on PowerPC G4, OSX 10.5.8.

comment:6 Changed 14 years ago by dbevans (David B. Evans)

Cc: devans@… added

Cc Me!

comment:7 Changed 14 years ago by bK4gYuRo

same problem on iBook G4, OSX 10.5.8

comment:8 Changed 14 years ago by bK4gYuRo

Cc: macports@… added

Cc Me!

comment:9 Changed 14 years ago by dershow

Cc: dersh@… added

Cc Me!

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)

Patch to go in files directory

comment:13 Changed 14 years ago by charles@…

Cc: charles@… added

Cc Me!

comment:14 Changed 14 years ago by pho@…

Cc: pho@… added

Cc Me!

comment:15 Changed 14 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.