Ticket #29165 (reopened defect)
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
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:5 Changed 2 years ago by devans@…
- Status changed from new to closed
- Resolution set to duplicate
Closing as duplicate of #23947.
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.


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.