[MacPorts] #29207: xsane 0.998 will not build because of -arch flags from sane-config

MacPorts noreply at macports.org
Fri Apr 29 13:51:09 PDT 2011


#29207: xsane 0.998 will not build because of -arch flags from sane-config
----------------------------------+-----------------------------------------
  Reporter:  mtessi20@…           |       Owner:  michael.klein@…                   
      Type:  defect               |      Status:  reopened                          
  Priority:  Normal               |   Milestone:                                    
 Component:  ports                |     Version:  1.9.2                             
Resolution:                       |    Keywords:                                    
      Port:  sane-backends xsane  |  
----------------------------------+-----------------------------------------

Comment(by michael.klein@…):

 Replying to [comment:12 aguynamedryan+macports@…]:
 > I'm a little rusty on the whole "universal" issue, so I don't think I'll
 be much help on this ticket.
 >
 > That said, here's my output:
 > {{{
 > $ port installed sane-backends | grep active
 >   sane-backends @1.0.22_0 (active)
 >
 > $ sane-config --ldflags
 > -L/opt/local/lib -L/opt/local/lib -arch x86_64
 > }}}

 ok, so you don't have the universal variant of sane-backends installed.
 No problem here.

 xsane doesn't build +universal because of its dependency on gimp2 (which
 is non-universal), However, if you have the universal variant of sane-
 backends installed, {{{sane-config --ldflags}}} returns multiple -arch
 flags, and the linker tries to link a universal xsane binary.

 If I understand jmr's comment above correctly, sane-backends should just
 remove the -arch flags from sane-config's output.

-- 
Ticket URL: <https://trac.macports.org/ticket/29207#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list