Skip to contentSkip to conversation

paxctl: fix compile issue.

PATCH In review Armin Kuster 2 participants 2 messages Mar 30, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 paxctl: fix compile issue.

use CC from build not host via EXTRA_OEMAKE

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]

minor recipe cleanup

---
 recipes-security/paxctl/paxctl_0.9.bb | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
recipes-security/paxctl/paxctl_0.9.bb +5 -5
index 8eadad1..d69219f 100644
@@ -8,13 +8,13 @@ LIC_FILES_CHKSUM = "file://paxctl.c;beginline=1;endline=5;md5=0ddd065c61020dda79
                     file://paxctl-elf.c;beginline=1;endline=5;md5=99f453ce7f6d1687ee808982e2924813 \
 		   "
 
-SRC_URI = "http://pax.grsecurity.net/paxctl-${PV}.tar.gz"
+SRC_URI = "http://pax.grsecurity.net/${BP}.tar.gz"
+
 SRC_URI[md5sum] = "9bea59b1987dc4e16c2d22d745374e64"
 SRC_URI[sha256sum] = "a330ddd812688169802a3ba29e5e3b19956376b8f6f73b8d7e9586eb04423c2e"
 
+EXTRA_OEMAKE = "CC='${CC}' DESTDIR='${D}'"
+
 do_install() {
-	oe_runmake 'DESTDIR=${D}' install
+	oe_runmake install
 }
-
-FILES_${PN} = "${base_sbindir}/paxctl"
-FILES_${PN}-doc = "${mandir}/man1/paxctl.1"
Signature · 1 line
2.3.5
#1 lore raw

looks good.

Quoted 45 lines · Armin Kuster

use CC from build not host via EXTRA_OEMAKE

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]

minor recipe cleanup

---
 recipes-security/paxctl/paxctl_0.9.bb | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
recipes-security/paxctl/paxctl_0.9.bb +5 -6
index 8eadad1..d69219f 100644
@@ -8,13 +8,13 @@ LIC_FILES_CHKSUM = "file://paxctl.c;beginline=1;endline=5;md5=0ddd065c61020dda79
                     file://paxctl-elf.c;beginline=1;endline=5;md5=99f453ce7f6d1687ee808982e2924813 \
                   "
 
-SRC_URI = "http://pax.grsecurity.net/paxctl-${PV}.tar.gz"
+SRC_URI = "http://pax.grsecurity.net/${BP}.tar.gz"
+
 SRC_URI[md5sum] = "9bea59b1987dc4e16c2d22d745374e64"
 SRC_URI[sha256sum] = "a330ddd812688169802a3ba29e5e3b19956376b8f6f73b8d7e9586eb04423c2e"
 
+EXTRA_OEMAKE = "CC='${CC}' DESTDIR='${D}'"
+
 do_install() {
-       oe_runmake 'DESTDIR=${D}' install
+       oe_runmake install
 }
-
-FILES_${PN} = "${base_sbindir}/paxctl"
-FILES_${PN}-doc = "${mandir}/man1/paxctl.1"
--

2.3.5

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