Opened 13 years ago

Last modified 13 years ago

#29165 reopened defect

Defect : xsane does not build universal with gimp support enabled

Reported by: yves@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: gimp2 gegl Cc: mklein-de (Michael Klein)
Port: xsane

Description

--->  Computing dependencies for gimp
Error: Cannot install xsane for the arch(s) 'i386 x86_64' because
Error: its dependency gimp2 does not build for the required arch(s) by default
Error: and does not have a universal variant.
Error: Unable to execute port: architecture mismatch

Change History (7)

comment:1 Changed 13 years ago by dbevans (David B. Evans)

Cc: michael.klein@… added
Keywords: gimp2 gegl added
Port: xsane added
Summary: Defect : Gimp should have a universal variantDefect : xsane does not build universal with gimp support enabled

gimp2 is not currently universal due to its dependency gegl which does not build universal. I'll revisit this issue but the workaround for now is either to use the +disable_gimp with xsane which will disable building of the gimp xsane plugin or build xsane with -universal (or at least not +universal).

port xsane should probably be marked as not universal when building with gimp support in the meantime.

comment:2 Changed 13 years ago by mklein-de (Michael Klein)

see #23947, specifically the attached patch to mark the port as non-universal unless +disable_gimp is set

comment:3 Changed 13 years ago by dbevans (David B. Evans)

See r77896.

(Michael: I didn't see your latest comment until after I committed this slightly different solution. I hope this is acceptable to you.)

comment:4 Changed 13 years ago by dbevans (David B. Evans)

That's r77894. Sorry for the typo.

comment:5 Changed 13 years ago by dbevans (David B. Evans)

Resolution: duplicate
Status: newclosed

Closing as duplicate of #23947.

comment:6 in reply to:  3 Changed 13 years ago by mklein-de (Michael Klein)

Replying to devans@…:

See r77896.

(Michael: I didn't see your latest comment until after I committed this slightly different solution. I hope this is acceptable to you.)

Sure!

comment:7 Changed 13 years ago by yves@…

Resolution: duplicate
Status: closedreopened

Hi

Thanks for the quick fix !

The problem is almost solved because the gimp META port still depends on xsane and xsane will build with gimp support by default so linking fails.

The workaround right now is to specifically build xsane without gimp support before installing gimp but it does not make much sense in a user perspective.

I wonder if a universal variant of the gimp META port should just drop the xsane dependency.

Note: See TracTickets for help on using tickets.