Skip to contentSkip to conversation

PATCH] paxctl: fix compile issue.

PATCH Superseded Armin Kuster 2 participants 2 messages Mar 27, 2016 – Mar 28, 2016

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 PATCH] paxctl: fix compile issue.

use CC from build not host.

thanks khem

this fixes the below error.
WARNING: paxctl-0.9-r0 do_package_qa: QA Issue: /sbin/paxctl contained in package paxctl requires libc.so.6(GLIBC_2.3.4)(64bit), but no providers found in RDEPENDS_paxctl? [file-rdeps]

---
 recipes-security/paxctl/paxctl_0.9.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-security/paxctl/paxctl_0.9.bb +2 -0
index 8eadad1..b3405cd 100644
@@ -12,6 +12,8 @@ SRC_URI = "http://pax.grsecurity.net/paxctl-${PV}.tar.gz"
 SRC_URI[md5sum] = "9bea59b1987dc4e16c2d22d745374e64"
 SRC_URI[sha256sum] = "a330ddd812688169802a3ba29e5e3b19956376b8f6f73b8d7e9586eb04423c2e"
 
+EXTRA_OEMAKE = "CC='${CC}'"
+
 do_install() {
 	oe_runmake 'DESTDIR=${D}' install
 }
Signature · 1 line
2.3.5
#1 lore raw
Quoted 7 lines · Armin Kuster

use CC from build not host.

thanks khem

this fixes the below error.
WARNING: paxctl-0.9-r0 do_package_qa: QA Issue: /sbin/paxctl contained in

package paxctl requires libc.so.6(GLIBC_2.3.4)(64bit), but no providers found in RDEPENDS_paxctl? [file-rdeps]

Review

Quoted 7 lines
---
 recipes-security/paxctl/paxctl_0.9.bb | 2 ++
 1 file changed, 2 insertions(+)
(quoted diff) +0 -0

b/recipes-security/paxctl/paxctl_0.9.bb

recipes-security/paxctl/paxctl_0.9.bb SRC_URI = "http://pax.grsecurity.net/paxctl-${PV}.tar.gz

Quoted 4 lines

index 8eadad1..b3405cd 100644

recipes-security/paxctl/paxctl_0.9.bb +0 -0
@@ -12,6 +12,8 @@ SRC_URI = "http://pax.grsecurity.net/paxctl-${PV}.tar.gz

"

recipes-security/paxctl/paxctl_0.9.bb SRC_URI = "http://pax.grsecurity.net/paxctl-${PV}.tar.gz · line 13

Quoted 2 lines
recipes-security/paxctl/paxctl_0.9.bb +0 -0
 SRC_URI[md5sum] = "9bea59b1987dc4e16c2d22d745374e64"
 SRC_URI[sha256sum] =

"a330ddd812688169802a3ba29e5e3b19956376b8f6f73b8d7e9586eb04423c2e"

recipes-security/paxctl/paxctl_0.9.bb SRC_URI = "http://pax.grsecurity.net/paxctl-${PV}.tar.gz" · line 19

Quoted 6 lines
recipes-security/paxctl/paxctl_0.9.bb +2 -0
+EXTRA_OEMAKE = "CC='${CC}'"
+
 do_install() {
        oe_runmake 'DESTDIR=${D}' install
 }

If you add destdir to extra oemake then you can delete do_install as well

Quoted 8 lines
recipes-security/paxctl/paxctl_0.9.bb +0 -1
--

2.3.5

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto