[MacPorts] #13575: dcraw 8.81_0 won't build universal

MacPorts trac at macosforge.org
Thu Dec 13 05:34:48 PST 2007


#13575: dcraw 8.81_0 won't build universal
-------------------------------------+--------------------------------------
 Reporter:  ryandesign at macports.org  |       Owner:  macports-dev at lists.macosforge.org
     Type:  defect                   |      Status:  new                              
 Priority:  Normal                   |   Milestone:  Port Bugs                        
Component:  ports                    |     Version:  1.6.0                            
 Keywords:                           |  
-------------------------------------+--------------------------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/projects/macports/ticket/13575>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list