Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156226 - sys-apps/keyutils tested on AMD64
Summary: sys-apps/keyutils tested on AMD64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-25 08:38 UTC by Marti Raudsepp
Modified: 2006-11-26 02:25 UTC (History)
0 users

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


Attachments
multilib patch for keyutils (keyutils-multilib.patch,215 bytes, patch)
2006-11-25 09:33 UTC, Christoph Mende (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marti Raudsepp 2006-11-25 08:38:25 UTC
As per my limited testing of keyctl from the sys-apps/keyutils package, it works without any problems on the AMD64 arch, and should probably get KEYWORDS=amd64 or KEYWORDS=~amd64.
Comment 1 Christoph Mende (RETIRED) gentoo-dev 2006-11-25 09:33:38 UTC
Created attachment 102708 [details, diff]
multilib patch for keyutils

Two problems with this, it's not multilib-strict without the attached patch, and while compiling it the first time I ran into this:
cc -Wall -march=k8 -O2 -pipe  -o request-key request-key.c -L. -lkeyutils -Wl,-rpath,
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lkeyutils
collect2: ld returned 1 exit status
make: *** [keyctl] Error 1
make: *** Waiting for unfinished jobs....
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lkeyutils
collect2: ld returned 1 exit status
make: *** [request-key] Error 1
>>> Source compiled.
The problem disappeared when recompiling it, but comes up again after unmerging and emerging keyutils again.
Comment 2 Piotr Jaroszyński (RETIRED) gentoo-dev 2006-11-26 02:25:05 UTC
I cannot reproduce your error. 
The patch is nearly correct, but the pkg installs files into two lib dirs:
LIBDIR="/$(get_libdir)" USRLIBDIR="/usr/$(get_libdir)"

Anyway thanks, ~amd64 added