Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505006 - sys-apps/keyutils - add multilib support
Summary: sys-apps/keyutils - add multilib support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: gx86-multilib 505004
  Show dependency tree
 
Reported: 2014-03-18 18:29 UTC by Michael Mair-Keimberger (iamnr3)
Modified: 2015-02-10 21:05 UTC (History)
2 users (show)

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


Attachments
keyutils-1.5.9.ebuild.patch (keyutils-1.5.9.ebuild.patch,1.74 KB, patch)
2014-03-18 18:29 UTC, Michael Mair-Keimberger (iamnr3)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Mair-Keimberger (iamnr3) 2014-03-18 18:29:17 UTC
Created attachment 372958 [details, diff]
keyutils-1.5.9.ebuild.patch

Simple patch for adding multilib support.
I had to move the sed command into multilib_src_configure in order to get the correct libdir. If there is a better solution for this i'm open for suggestions :)
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-05-14 23:02:46 UTC
+*keyutils-1.5.9-r1 (14 May 2014)
+
+  14 May 2014; Michał Górny <mgorny@gentoo.org> +keyutils-1.5.9-r1.ebuild:
+  Enable multilib support, bug #505006.

p.masked for testing & review.

I think something changed wrt tests but I can't get my grip on it. It looks like different set of tests is run in the multilib version, and they start with selinux tests (on my non-selinux system) that fail early. Could you take a look and tell me if I'm missing something obvious?
Comment 2 Michael Mair-Keimberger (iamnr3) 2014-05-19 19:48:38 UTC
(In reply to Michał Górny from comment #1)
> I think something changed wrt tests but I can't get my grip on it. It looks
> like different set of tests is run in the multilib version, and they start
> with selinux tests (on my non-selinux system) that fail early. Could you
> take a look and tell me if I'm missing something obvious?

Hmm, tests fail for me too. However, these are not selinux related test (afaik) and the non-multilib version fail at the exact same test too. 

./runtest.sh: line 48: /proc/sys/kernel/keys/root_maxbytes: Permission denied
+++ ADD LARGE USER KEY
FAILED
...

It seems i'm missing some kernel config settings(?) here, even though i've double checked for CONFIG_KEYS & CONFIG_KEYS_DEBUG_PROC_KEYS.
1.5.8 fails too, but on a different test.
Comment 3 Michael Mair-Keimberger (iamnr3) 2015-02-10 19:57:03 UTC
What about closing this bug (the multilib version went already stable) and opening another bug regarding the failing test?

I don't think it's failing because of multilib since keyutils-1.5.9 (the non multilibed version) fails tests at the exact same place? (just tested)
Comment 4 Pacho Ramos gentoo-dev 2015-02-10 21:05:28 UTC
thanks for feedback