New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #29165 (reopened defect)

Opened 2 years ago

Last modified 2 years ago

Defect : xsane does not build universal with gimp support enabled

Reported by: yves@… Owned by: devans@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: gimp2 gegl Cc: 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

comment:1 Changed 2 years ago by devans@…

  • Cc michael.klein@… added
  • Keywords gimp2 gegl added
  • Port set to xsane
  • Summary changed from Defect : Gimp should have a universal variant to Defect : 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 2 years ago by michael.klein@…

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

comment:3 follow-up: ↓ 6 Changed 2 years ago by 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.)

comment:4 Changed 2 years ago by devans@…

That's r77894. Sorry for the typo.

comment:5 Changed 2 years ago by devans@…

  • Status changed from new to closed
  • Resolution set to duplicate

Closing as duplicate of #23947.

comment:6 in reply to: ↑ 3 Changed 2 years ago by 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 2 years ago by yves@…

  • Status changed from closed to reopened
  • Resolution duplicate deleted

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.