dcraw 8.81_0 won't build universal
dcraw won't build universal. Even though I have all its dependencies installed universal, I get this:
$ sudo port install dcraw +universal
---> Fetching dcraw
---> Verifying checksum(s) for dcraw
---> Extracting dcraw
---> Configuring dcraw
---> Building dcraw with target all
Error: Target org.macports.build returned: shell command "cd /opt/local/var/macports/build/_Users_rschmidt_macports_dports_graphics_dcraw/work/dcraw && cc -o dcraw -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc dcraw.c -ljpeg -llcms -lintl -I/opt/local/include -L/opt/local/lib -DLOCALEDIR=\"/opt/local/share/locale/\"" returned error 1
Command output: /usr/bin/ld: for architecture i386
/usr/bin/ld: warning can't open dynamic library: /Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libiconv.2.dylib referenced from: /opt/local/lib/libintl.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
/usr/bin/ld: Undefined symbols:
_libiconv referenced from libintl expected to be defined in /opt/local/lib/libiconv.2.dylib
_libiconv_open referenced from libintl expected to be defined in /opt/local/lib/libiconv.2.dylib
_libiconv_set_relocation_prefix referenced from libintl expected to be defined in /opt/local/lib/libiconv.2.dylib
collect2: ld returned 1 exit status
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning can't open dynamic library: /Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libiconv.2.dylib referenced from: /opt/local/lib/libintl.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
/usr/bin/ld: Undefined symbols:
_libiconv referenced from libintl expected to be defined in /opt/local/lib/libiconv.2.dylib
_libiconv_open referenced from libintl expected to be defined in /opt/local/lib/libiconv.2.dylib
_libiconv_set_relocation_prefix referenced from libintl expected to be defined in /opt/local/lib/libiconv.2.dylib
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cc3O3Lma.out (No such file or directory)
Error: Status 1 encountered during processing.
$
What's curious to me is that changes were made to the dcraw port in r26250 apparently to add universal support. But I don't see how that would have been possible, since dcraw depends on jpeg, and jpeg hasn't been able to build universal until r32007.
Change History (5)
Owner: |
changed from macports-tickets@… to ryandesign@…
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Fixed in r39641. The fix was surprisingly simple. I'll have to check if a similar change fixes the several other occurrences of "can't open dynamic library: /Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/..." that we've seen.