Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262914 - net-wireless/crda has wrong RDEPEND
Summary: net-wireless/crda has wrong RDEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-18 14:42 UTC by Wolfram Schlich (RETIRED)
Modified: 2009-04-24 09:58 UTC (History)
0 users

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 Wolfram Schlich (RETIRED) gentoo-dev 2009-03-18 14:42:08 UTC
Current crda ebuilds have the following deps:
--8<--
DEPEND="dev-libs/libgcrypt
        dev-libs/libnl
        dev-python/m2crypto
        net-wireless/wireless-regdb"
RDEPEND="${DEPEND}"
--8<--
According to http://wireless.kernel.org/en/developers/Regulatory/CRDA,
m2crypto (and thus python) is a build time dependency only.
Please move m2crypto to RDEPEND, as the crda ebuild is currently
unusable for embedded systems (merging into a dedicated ROOT) due to
the python dependency.
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2009-03-18 14:50:59 UTC
Agreed, will change.
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2009-03-18 15:05:51 UTC
+  18 Mar 2009; <chainsaw@gentoo.org> -crda-0.9.5.ebuild, -crda-1.0.1.ebuild,
+  crda-1.0.1-r1.ebuild:
+  Correctly separate out DEPEND/RDEPEND based on wireless.kernel.org
+  dependency listings. Closes bug #262914 filed by Wolfram Schlich
+  <wschlich@gentoo.org>. Delete obsolete ebuilds.

Thank you for your report :)
Comment 3 Wolfram Schlich (RETIRED) gentoo-dev 2009-03-18 17:03:27 UTC
(In reply to comment #2)
> Thank you for your report :)

Thanks for fixing it so quickly :)
Comment 4 Wolfram Schlich (RETIRED) gentoo-dev 2009-04-15 12:01:37 UTC
Hmm, dev-libs/libgcrypt is also a runtime dependency but you
moved it from RDEPEND to DEPEND :)
Please move it back from DEPEND to RDEPEND. Thanks!
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2009-04-15 12:27:12 UTC
On it.
Comment 6 Tony Vroon (RETIRED) gentoo-dev 2009-04-15 12:39:50 UTC
This looks like a runtime dependency to me:
amalthea ~ # ldd /sbin/crda 
	linux-vdso.so.1 =>  (0x00007fff541fe000)
	libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0x00007f494bbe2000) <----
	libnl.so.1 => /usr/lib/libnl.so.1 (0x00007f494b997000)
	libc.so.6 => /lib/libc.so.6 (0x00007f494b644000)
	libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f494b440000)
	libm.so.6 => /lib/libm.so.6 (0x00007f494b1be000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f494be58000)

Please confirm you can get it to run without /usr/lib/libgcrypt.so.* installed on your system.
Comment 7 Tony Vroon (RETIRED) gentoo-dev 2009-04-15 12:40:20 UTC
Ah yes. Misread. Fixing.
Comment 8 Tony Vroon (RETIRED) gentoo-dev 2009-04-15 12:43:34 UTC
+  15 Apr 2009; <chainsaw@gentoo.org> crda-1.0.1-r1.ebuild:
+  libgcrypt is a runtime dependency, not just build-time. As pointed out by
+  Wolfram Schlich <wschlich@gentoo.org> in (reopened) bug #262914.
Comment 9 Wolfram Schlich (RETIRED) gentoo-dev 2009-04-24 09:58:45 UTC
Thanks Tony :)