Summary: | sys-apps/busybox-1.20.2[static,selinux]: link fails due to "-l-pthread" from pkgconfig | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | thaehaid |
Component: | [OLD] Core system | Assignee: | Embedded Gentoo Team <embedded> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | f.baart, lukas.durdak, thaehaid |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://lists.busybox.net/pipermail/busybox/2013-September/079738.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Updated busybox-1.20.2-selinux-pkg-config.patch
Patch against the portage tree |
Description
thaehaid
2013-09-11 08:34:22 UTC
Created attachment 358462 [details, diff]
Updated busybox-1.20.2-selinux-pkg-config.patch
This is not a patch against the busybox sourcecode, this is an updated busybox patch from ebuild system. In order words, you'd need to overwrite existing /usr/portage/sys-apps/busybox/files/busybox-1.20.2-selinux-pkg-config.patch with this one (and also update the Manifest, if you want to compile).
Created attachment 358466 [details, diff]
Patch against the portage tree
Ok, here's the patch against the actual portage tree in /usr/portage, it shows the change needed.
Comment on attachment 358462 [details, diff]
Updated busybox-1.20.2-selinux-pkg-config.patch
we should fix the trylink script instead. -pthread (and other flags) are valid at link time.
should be all set now in the tree; thanks for the report! Commit message: Fix static linking against selinux http://sources.gentoo.org/sys-apps/busybox/busybox-1.21.1.ebuild?r1=1.1&r2=1.2 http://sources.gentoo.org/sys-apps/busybox/files/busybox-1.21.1-trylink-only-prefix-libs-with-l.patch?rev=1.1 *** Bug 486286 has been marked as a duplicate of this bug. *** |