Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478000 - net-misc/dhcpcd installs files in /lib instead of /$(get_libdir)
Summary: net-misc/dhcpcd installs files in /lib instead of /$(get_libdir)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-24 12:23 UTC by Hristo Venev
Modified: 2013-07-24 16:29 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hristo Venev 2013-07-24 12:23:49 UTC
--- net-misc/dhcpcd/dhcpcd-6.0.3.ebuild
+++ net-misc/dhcpcd/dhcpcd-6.0.3.ebuild
@@ -38,7 +38,7 @@
 	use elibc_glibc && hooks="${hooks} --with-hook=yp.conf"
 	econf \
 			--prefix="${EPREFIX}" \
-			--libexecdir="${EPREFIX}/lib/dhcpcd" \
+			--libexecdir="${EPREFIX}/$(get_libdir)/dhcpcd" \
 			--dbdir="${EPREFIX}/var/lib/dhcpcd" \
 		--localstatedir="${EPREFIX}/var" \
 		${hooks}


Reproducible: Always
Comment 1 William Hubbs gentoo-dev 2013-07-24 13:01:55 UTC
libdir is architecture specific, but not libexecdir, so the ebuild is
correct as it stands. The only thing dhcpcd installs in libexecdir is
scripts.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2013-07-24 13:08:35 UTC
The bug is about ${EPREFIX}/lib and not ${EPREFIX}/usr/libexec. So I believe the bug is valid
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2013-07-24 13:09:50 UTC
markos ~$ qlist dhcpcd|grep lib
/lib/dhcpcd/dhcpcd-run-hooks
/lib/dhcpcd/dhcpcd-hooks/01-test
/lib/dhcpcd/dhcpcd-hooks/50-ntp.conf
/lib/dhcpcd/dhcpcd-hooks/10-mtu
/lib/dhcpcd/dhcpcd-hooks/50-yp.conf
/lib/dhcpcd/dhcpcd-hooks/02-dump
/lib/dhcpcd/dhcpcd-hooks/20-resolv.conf
/lib/dhcpcd/dhcpcd-hooks/29-lookup-hostname
/lib/dhcpcd/dhcpcd-hooks/30-hostname
/usr/lib/systemd/system/dhcpcd.service
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2013-07-24 16:29:05 UTC
First of all, /lib/<package> or /usr/lib/<package> is a valid libexec directory. 
Then, does it make in any scenario sense to have files from /lib/dhcpcd both 32bit and 64bit?
I'd say no, so it's just like udev where it doesn't make sense to have both 32bit and 64bit helpers like `v4l_id` or such.
Then there's nothing to do here...