New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #29193 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

openjpeg build fails trying to cp a directory

Reported by: stephen@… Owned by: mcalhoun@…
Priority: Normal Milestone:
Component: ports Version: 1.9.99
Keywords: Cc: gnwiii@…, ebbinghaus@…, ram@…, devans@…, macports@…, dersh@…, charles@…, pho@…
Port: openjpeg

Description

See attached build log.

MacBook Pro Intel, Mac OS X 10.5.8, port 1.9.99

Attachments

main.log (40.3 KB) - added by stephen@… 2 years ago.
patch-openjpeg.diff (439 bytes) - added by devans@… 2 years ago.
Proposed patch for Portfile
patch-libopenjpeg-Makefile.in.diff (565 bytes) - added by devans@… 2 years ago.
Patch to go in files directory

Change History

Changed 2 years ago by stephen@…

comment:1 Changed 2 years ago by jmr@…

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

Please remember to cc the maintainer.

comment:2 Changed 2 years ago by gnwiii@…

  • Cc gnwiii@… added

Cc Me!

comment:3 Changed 2 years ago by ebbinghaus@…

  • Cc ebbinghaus@… added

Cc Me!

comment:4 Changed 2 years ago by ram@…

  • Cc ram@… added

Cc Me!

comment:5 Changed 2 years ago by devans@…

Same problem observed on PowerPC G4, OSX 10.5.8.

comment:6 Changed 2 years ago by devans@…

  • Cc devans@… added

Cc Me!

comment:7 Changed 2 years ago by macports@…

same problem on iBook G4, OSX 10.5.8

comment:8 Changed 2 years ago by macports@…

  • Cc macports@… added

Cc Me!

comment:9 Changed 2 years ago by dersh@…

  • Cc dersh@… added

Cc Me!

comment:10 Changed 2 years ago by ram@…

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 2 years ago by devans@…

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 2 years ago by devans@…

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 2 years ago by devans@…

Proposed patch for Portfile

Changed 2 years ago by devans@…

Patch to go in files directory

comment:13 Changed 2 years ago by charles@…

  • Cc charles@… added

Cc Me!

comment:14 Changed 2 years ago by pho@…

  • Cc pho@… added

Cc Me!

comment:15 Changed 2 years ago by mcalhoun@…

  • Status changed from new to closed
  • Resolution set to fixed

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.