Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430112 - net-wireless/gobi_loader binary needs to be moved to /usr/lib{32,64}/udev as of udev-187
Summary: net-wireless/gobi_loader binary needs to be moved to /usr/lib{32,64}/udev as ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Stefan Behte (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks: udevdir
  Show dependency tree
 
Reported: 2012-08-06 00:25 UTC by vltg0903
Modified: 2012-11-16 13:21 UTC (History)
2 users (show)

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


Attachments
ebuild to install into /usr (gobi_loader-0.7-r2.ebuild,880 bytes, text/plain)
2012-08-06 00:45 UTC, vltg0903
Details
corresponding Makefile patch (gobi_loader-0.7-makefile.patch.2,731 bytes, patch)
2012-08-06 00:46 UTC, vltg0903
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description vltg0903 2012-08-06 00:25:41 UTC
Since udev has moved to the /usr prefix, gobi_loader should as well, as it seems udev does not check /lib/udev any more.

Reproducible: Always
Comment 1 vltg0903 2012-08-06 00:44:19 UTC
Also, a QA notice tells me, the udev rules should also go into the /usr prefix. Updated ebuild and Makefile patch follow.
Comment 2 vltg0903 2012-08-06 00:45:41 UTC
Created attachment 320530 [details]
ebuild to install into /usr
Comment 3 vltg0903 2012-08-06 00:46:25 UTC
Created attachment 320532 [details, diff]
corresponding Makefile patch
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-06 02:12:00 UTC
Comment on attachment 320530 [details]
ebuild to install into /usr

--- gobi_loader-0.7-r1.ebuild   2010-08-11 16:01:18.000000000 +0200
+++ -   2012-08-06 04:11:53.655314576 +0200
@@ -15,15 +15,16 @@
 IUSE=""
 
 DEPEND="virtual/libusb:0"
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND}
+!<sys-fs/udev-187"
 
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-makefile.patch
+       epatch "${FILESDIR}"/${P}-makefile.patch.2
        sed "s:%LIBDIR%:$(get_libdir):" -i Makefile || die
 }
 
 src_install() {
-       emake install || die
+       prefix=/usr emake install || die
 }
 
 pkg_postinst() {
Comment 5 Florian Scandella 2012-08-06 12:22:22 UTC
FYI, just found

pkg-config --variable=udevdir udev

but i don't know since when this is supported.
Comment 6 Pacho Ramos gentoo-dev 2012-10-07 12:06:37 UTC
That patch cannot be applied if it makes this only compatible with old udev :/
Comment 7 Pacho Ramos gentoo-dev 2012-11-09 10:00:03 UTC
This shouldn't block stabilization as a patch to allow helpers to be in /lib/udev is applied in udev ebuilds
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2012-11-09 10:15:10 UTC
(In reply to comment #7)
> This shouldn't block stabilization as a patch to allow helpers to be in
> /lib/udev is applied in udev ebuilds

Then why did you remove this bug from the correct Tracker bug 433916? Restored that.
Just use udev.eclass if the package is incapable of reading udevdir= value on it's own from udev.pc pkg-config file.
Comment 9 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-11-16 13:21:17 UTC
+*gobi_loader-0.7-r2 (16 Nov 2012)
+
+  16 Nov 2012; Lars Wendler <polynomial-c@gentoo.org>
+  -gobi_loader-0.7-r1.ebuild, +gobi_loader-0.7-r2.ebuild,
+  files/gobi_loader-0.7-makefile.patch:
+  Fixed installation location of udev rules file (bug #430112).
+