Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 463412 - media-libs/oyranos convert to multi abi dependencies
Summary: media-libs/oyranos convert to multi abi dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on: 466820 474652 474654
Blocks:
  Show dependency tree
 
Reported: 2013-03-26 20:35 UTC by Mario Kicherer
Modified: 2015-08-05 10:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
libXcm-multilib.patch (libXcm-multilib.patch,1.33 KB, patch)
2013-03-26 20:52 UTC, Mario Kicherer
Details | Diff
oyranos-multilib-deps.patch (oyranos-multilib-deps.patch,977 bytes, patch)
2013-03-26 21:07 UTC, Mario Kicherer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Kicherer 2013-03-26 20:35:03 UTC
=media-libs/oyranos-0.9.4 requires at least media-libs/libXcm-1.5.2 not 1.5.1, else building fails due to missing Find*.cmake file for Xcm. Also, multilib does not work as the libXcm ebuild is not multilib-capable and thus, building fails as well.

Reproducible: Always
Comment 1 Mario Kicherer 2013-03-26 20:52:32 UTC
Created attachment 343344 [details, diff]
libXcm-multilib.patch

patch that makes libXcm multilib-capable with autotools-multilib, but oyranos still fails due to missing multilib-capable dev-libs/yajl
Comment 2 Mario Kicherer 2013-03-26 21:07:15 UTC
Created attachment 343350 [details, diff]
oyranos-multilib-deps.patch

An oyranos ebuild patch for some (I guess not all) multilib deps. I think you should add REQUIRED_USE="amd64? ( -abi_x86_32 )" until these issues are fixed.
Comment 3 Mario Kicherer 2013-03-26 21:08:18 UTC
Also exiv2 is in RDEPEND twice.
Comment 4 Mario Kicherer 2013-03-27 15:41:38 UTC
Ah, I just saw that exiv2 in main tree is not yet mulitlib-capable. I got confused by my overlay, just ignore this line in the oyranos patch please.
Comment 5 Andreas Sturmlechner gentoo-dev 2013-04-01 18:36:23 UTC
Indeed, I can confirm oyranos-0.9.4 fails with libXcm-0.5.1. I'm sure it's just a cmake thing, but it's easier to bump the DEPEND in oyranos as that is also what upstream recommends.
Comment 6 Michael Weber (RETIRED) gentoo-dev 2013-04-12 23:44:48 UTC
Is there a standard procedure to introduce ABI use deps? maybe you file a bug against yail, cc myself and I eapi-5 oyranos once it's sorted out.
Comment 7 Michael Weber (RETIRED) gentoo-dev 2013-04-12 23:54:57 UTC
I bump the dependency to media-libs/libXcm-0.5.2 (I assume the 1.5.1 in the original subject was a typo).

And I rename this bug and leave it open to address the multi-abi topic.

+  12 Apr 2013; Michael Weber <xmw@gentoo.org> oyranos-0.9.4.ebuild:
+  Fix libXcm dependency (bug 463412 by Mario Kicherer)
+
Comment 8 Mario Kicherer 2013-04-13 09:19:46 UTC
(In reply to comment #6)
> Is there a standard procedure to introduce ABI use deps? 

I believe it should be ${MULTILIB_USEDEP} instead of abi_x86_32?. I don't need multilib oyranos. I just saw that multilib deps are missing while I tested oyranos-0.9.4. If someone needs multilib oyranos, I can take a look at the required deps. If not, it would only make the ebuilds more complex, I guess.
Comment 9 Mario Kicherer 2013-04-13 09:31:00 UTC
Maybe we should test the multilib stuff with a -r1 ebuild, so others can use 0.9.4 if they need to without unmasking?
Comment 10 Michael Weber (RETIRED) gentoo-dev 2013-04-13 12:44:02 UTC
(In reply to comment #8)
> (In reply to comment #6)
> > Is there a standard procedure to introduce ABI use deps? 
> 
> I believe it should be ${MULTILIB_USEDEP} instead of abi_x86_32?.
That's the variable I was looking for. the old 32bit abi on amd64 "multilib" is just one case and the mechanism is intended to be universal.
Comment 11 Michael Weber (RETIRED) gentoo-dev 2013-04-22 14:07:46 UTC
+*elektra-0.8.3-r2 (22 Apr 2013)
+*elektra-0.7.1-r4 (22 Apr 2013)
+
+  22 Apr 2013; Michael Weber <xmw@gentoo.org> +elektra-0.7.1-r4.ebuild,
+  +elektra-0.8.3-r2.ebuild:
+  Improve multi abi support
+
Comment 12 Michael Weber (RETIRED) gentoo-dev 2013-04-22 17:09:52 UTC
+*oyranos-9999 (22 Apr 2013)
+*oyranos-0.9.4-r1 (22 Apr 2013)
+
+  22 Apr 2013; Michael Weber <xmw@gentoo.org> -oyranos-0.4.0-r1.ebuild,
+  -oyranos-0.9.1-r1.ebuild, -oyranos-0.9.4.ebuild, +oyranos-0.9.4-r1.ebuild,
+  +files/oyranos-0.9.4-be-more-verbose.patch,
+  -files/oyranos-0.9.4-buildsystem.patch,
+  +files/oyranos-0.9.4-buildsystem-r1.patch,
+  +files/oyranos-0.9.4-fix-array-access.patch,
+  +files/oyranos-0.9.4-fix-double-object-release.patch,
+  +files/oyranos-0.9.4-fix-oyRankMap-helper-functions-crashes.patch,
+  +files/oyranos-0.9.4-fix-oyStringSegment-crash.patch,
+  +files/oyranos-0.9.4-fix-runpaths.patch,
+  +files/oyranos-0.9.4-fix-typos-and-grammar.patch,
+  +files/oyranos-0.9.4-omit-profile-with-error.patch,
+  +files/oyranos-0.9.4-set-xcalib-to-screen-if-ge-xrandr-12.patch,
+  +files/oyranos-0.9.4-use-more-internal-xrandr-info.patch,
+  +oyranos-9999.ebuild:
+  Improve multi abi support
+

it builds with 466820 temp fixed and USE=-exif
http://b-4.xmw.de/var/log/portage/build/media-libs/oyranos-0.9.4-r1:20130422-164724.log
Comment 13 Michael Weber (RETIRED) gentoo-dev 2013-06-25 00:51:39 UTC
bug 466820 is fixed. 

remaining media-libs/libraw and media-gfx/exiv2.
Comment 14 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-02-09 22:07:25 UTC
Is there anything that needs oyranos multilib?