[MacPorts] #29207: xsane 0.998 will not build

MacPorts noreply at macports.org
Wed Apr 27 12:55:15 PDT 2011


#29207: xsane 0.998 will not build
---------------------------------+------------------------------------------
  Reporter:  mtessi20@…          |       Owner:  michael.klein@…                   
      Type:  defect              |      Status:  reopened                          
  Priority:  Normal              |   Milestone:                                    
 Component:  ports               |     Version:  1.9.2                             
Resolution:                      |    Keywords:                                    
      Port:  xsane               |  
---------------------------------+------------------------------------------
Changes (by michael.klein@…):

  * status:  closed => reopened
  * resolution:  invalid =>


Comment:

 Reopening, I can reproduce this, and I'm sure this issue will pop up again
 anyway.

 xsane linking fails because {{{sane-config --ldflags}}} returns both
 {{{-arch x86_64}}} and {{{-arch i386}}} when sane-backends +universal is
 installed.

 So we can't build universal because of gimp2, but non-universal also fails
 with sane-backends +universal. What now?

 1. Hack xsane's Makefile to *not* use {{{sane-config --ldflags}}}

 2. Declare {{{universal_variant no}}} for sane-backends by default

 3. Investigate what needs to be done to get gimp2 +universal working. At
 first glance it looks like disabling the universal variant goes back to
 when there were issues with boost +universal (due to
 gimp2->gegl->libopenraw->boost). This was apparently fixed in r58798
 (#21408), so this might be just about removing some {{{universal_variant
 no}}}.

 Obviously, 3. would be the preferred solution. I'm currently only on a G4
 PowerBook here, so you probably understand I'm not that eager to rebuild
 gimp2 and all of its dependencies.  Maybe somebody else has a couple of
 CPU cycles to spare and try?

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


More information about the macports-tickets mailing list