rdisk: don't inherit autotools
PATCH 1/9 rdisk: don't inherit autotools
This upstream does not in fact use autotools, so remove the inherit and implement the required do_install directly.
--- meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb +4 -2
@@ -36,9 +36,11 @@ UPSTREAM_CHECK_REGEX = "/rdist/(?P<pver>\d+(\.\d+)+)" DEPENDS = "bison-native" -inherit autotools-brokensep - EXTRA_OEMAKE = "CPPFLAGS='${CFLAGS}' BIN_GROUP=root MAN_GROUP=root RDIST_MODE=755 RDISTD_MODE=755 MAN_MODE=644" +do_install() { + oe_runmake 'DESTDIR=${D}' install +} + # http://errors.yoctoproject.org/Errors/Details/186972/ COMPATIBLE_HOST:libc-musl = 'null'
Signature · 1 line
2.43.0
PATCH 2/9 vblade: don't inherit autotools
This upstream does not in fact use autotools, so remove the inherit.
--- meta-networking/recipes-daemons/vblade/vblade_25.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-daemons/vblade/vblade_25.bb +1 -1
@@ -20,7 +20,7 @@ S = "${WORKDIR}/git" UPSTREAM_CHECK_URI = "https://github.com/OpenAoE/vblade/archive/" -inherit autotools-brokensep update-rc.d systemd +inherit update-rc.d systemd do_install() { install -D -m 0755 ${S}/vblade ${D}/${sbindir}/vblade
Signature · 1 line
2.43.0
PATCH 3/9 gradm: don't inherit autotools
In reply to Ross BurtonThis upstream does not in fact use autotools.
--- meta-oe/recipes-support/gradm/gradm_3.1-202111052217.bb | 2 -- 1 file changed, 2 deletions(-)
meta-oe/recipes-support/gradm/gradm_3.1-202111052217.bb +0 -2
@@ -22,8 +22,6 @@ UPSTREAM_CHECK_URI = "https://grsecurity.net/download" S = "${WORKDIR}/gradm" -inherit autotools-brokensep - do_compile() { oe_runmake 'CC=${CC}' \ 'LIBS=' \
Signature · 1 line
2.43.0
PATCH 4/9 mce-inject: don't inherit autotools
In reply to Ross BurtonThis upstream does not in fact use autotools, so remove the inherit and implement the required do_install.
--- meta-oe/recipes-support/mcelog/mce-inject_git.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-support/mcelog/mce-inject_git.bb +4 -2
@@ -19,6 +19,8 @@ S = "${WORKDIR}/git" COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux' -inherit autotools-brokensep +EXTRA_OEMAKE = "CFLAGS='${CFLAGS}'" -EXTRA_OEMAKE = "destdir=${D} CFLAGS='${CFLAGS}'" +do_install() { + oe_runmake 'destdir=${D}' install +}
Signature · 1 line
2.43.0
PATCH 5/9 miniupnpd: don't inherit autotools
In reply to Ross BurtonThis upstream does not in fact use autotools
--- .../recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb +2 -3
@@ -7,7 +7,7 @@ SECTION = "networking" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=a1ed15843ce66639bcf9f109cf247870" -inherit autotools gettext pkgconfig systemd +inherit gettext pkgconfig systemd DEPENDS += "iptables net-tools util-linux libmnl libnetfilter-conntrack"
@@ -20,12 +20,11 @@ SRC_URI[sha256sum] = "218fad7af31f3c22fb4c9db28a55a2a8b5067d41f5b38f52008a057a00 IPV6 = "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', '--ipv6', '', d)}" -do_configure:prepend() { +do_configure() { echo "${@d.getVar('DISTRO_VERSION')}" > ${S}/os.openembedded } do_compile() { - cd ${S} CONFIG_OPTIONS="${IPV6} --leasefile --vendorcfg" oe_runmake -f Makefile.linux config.h CONFIG_OPTIONS="${IPV6} --leasefile --vendorcfg" oe_runmake -f Makefile.linux }
Signature · 1 line
2.43.0
Re: [oe] [PATCH 5/9] miniupnpd: don't inherit autotools
Retracting this one, I broke it. I’ll resend it shortly.
Ross
Quoted 48 lines · Ross Burton via lists.openembedded.org
This upstream does not in fact use autotools
Signed-off-by Ross Burton <[email protected]>---
.../recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb | 5 ++---1 file changed, 2 insertions(+), 3 deletions(-)meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb +0
-0@@ -7,7 +7,7 @@ SECTION = "networking"LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM= "file://LICENSE;md5=a1ed15843ce66639bcf9f109cf247870"meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb +1
-1-inherit autotools gettext pkgconfig systemd +inherit gettext pkgconfig systemdDEPENDS += "iptables net-tools util-linux libmnl libnetfilter-conntrack"
meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb +0
-0@@ -20,12 +20,11 @@ SRC_URI[sha256sum] = "218fad7af31f3c22fb4c9db28a55a2a8b5067d41f5b38f52008a057a00IPV6 = "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', '--ipv6', '', d)}"
meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb +1
-1-do_configure:prepend() { +do_configure() { echo "${@d.getVar('DISTRO_VERSION')}" > ${S}/os.openembedded}
do_compile(){
- cd ${S}CONFIG_OPTIONS="${IPV6} --leasefile --vendorcfg" oe_runmake -f Makefile.linux config.h CONFIG_OPTIONS="${IPV6} --leasefile --vendorcfg" oe_runmake -f Makefile.linux }Signature · 10 lines
2.43.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#116072): https://lists.openembedded.org/g/openembedded-devel/message/116072 Mute This Topic: https://lists.openembedded.org/mt/111787465/6875888 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [PATCH 5/9] miniupnpd: don't inherit autotools
Quoted 3 lines · Ross Burton
Retracting this one, I broke it. I’ll resend it shortly.
Infact I have a fix for it already in master-next so dont worry about it
Quoted 51 lines
Ross
Quoted 48 lines · Ross Burton via lists.openembedded.org
This upstream does not in fact use autotools
Signed-off-by Ross Burton <[email protected]>---
.../recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb | 5 ++---1 file changed, 2 insertions(+), 3 deletions(-)meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb +0
-0@@ -7,7 +7,7 @@ SECTION = "networking"LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM= "file://LICENSE;md5=a1ed15843ce66639bcf9f109cf247870"meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb +1
-1-inherit autotools gettext pkgconfig systemd +inherit gettext pkgconfig systemdDEPENDS += "iptables net-tools util-linux libmnl libnetfilter-conntrack"
meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb +0
-0@@ -20,12 +20,11 @@ SRC_URI[sha256sum] = "218fad7af31f3c22fb4c9db28a55a2a8b5067d41f5b38f52008a057a00IPV6 = "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', '--ipv6', '', d)}"
meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb +1
-1-do_configure:prepend() { +do_configure() { echo "${@d.getVar('DISTRO_VERSION')}" > ${S}/os.openembedded}
do_compile(){
- cd ${S}CONFIG_OPTIONS="${IPV6} --leasefile --vendorcfg" oe_runmake -f Makefile.linux config.h CONFIG_OPTIONS="${IPV6} --leasefile --vendorcfg" oe_runmake -f Makefile.linux }--
2.43.0-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#116072): https://lists.openembedded.org/g/openembedded-devel/message/116072
Mute This Topic: https://lists.openembedded.org/mt/111787465/6875888
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
PATCH 6/9 valkey: don't inherit autotools
In reply to Ross BurtonThis upstream does not in fact use autotools, so remove the inherit and clean up do_compile().
--- meta-oe/recipes-extended/valkey/valkey_8.0.2.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
meta-oe/recipes-extended/valkey/valkey_8.0.2.bb +4 -3
@@ -23,7 +23,7 @@ S = "${WORKDIR}/git" RPROVIDES:${PN} = "virtual-redis" -inherit autotools-brokensep pkgconfig update-rc.d systemd useradd +inherit pkgconfig update-rc.d systemd useradd FINAL_LIBS:x86:toolchain-clang = "-latomic" FINAL_LIBS:riscv32:toolchain-clang = "-latomic"
@@ -42,8 +42,9 @@ PACKAGECONFIG[systemd] = "USE_SYSTEMD=yes,USE_SYSTEMD=no,systemd" EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}" -do_compile:prepend() { - (cd deps && oe_runmake hiredis lua linenoise) +do_compile() { + oe_runmake -C deps hiredis lua linenoise + oe_runmake } do_install() {
Signature · 1 line
2.43.0
Re: [oe] [PATCH 6/9] valkey: don't inherit autotools
Quoted 4 lines · Ross Burton via lists.openembedded.org
This upstream does not in fact use autotools, so remove the inherit and clean up
do_compile().
I had a similar fix for this in master-next and I squashed both of the patches together
thanks for the series.
Quoted 42 lines
Signed-off-by Ross Burton <[email protected]>--- meta-oe/recipes-extended/valkey/valkey_8.0.2.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)meta-oe/recipes-extended/valkey/valkey_8.0.2.bb +4
-4@@ -23,7 +23,7 @@ S = "${WORKDIR}/git" RPROVIDES:${PN} = "virtual-redis" -inherit autotools-brokensep pkgconfig update-rc.d systemd useradd +inherit pkgconfig update-rc.d systemd useradd FINAL_LIBS:x86:toolchain-clang = "-latomic" FINAL_LIBS:riscv32:toolchain-clang = "-latomic"@@ -42,8 +42,9 @@ PACKAGECONFIG[systemd] = "USE_SYSTEMD=yes,USE_SYSTEMD=no,systemd" EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}" -do_compile:prepend() { - (cd deps && oe_runmake hiredis lua linenoise) +do_compile() { + oe_runmake -C deps hiredis lua linenoise + oe_runmake } do_install() { --2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#116073): https://lists.openembedded.org/g/openembedded-devel/message/116073
Mute This Topic: https://lists.openembedded.org/mt/111787466/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
PATCH 7/9 pmdk: don't inherit autotools
In reply to Ross BurtonThis upstream does not in fact use autotools, so remove the inherit.
Also remove the redundant cmake-native DEPENDS, as this upstream doesn't use cmake either.
--- meta-oe/recipes-extended/pmdk/pmdk_2.1.1.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta-oe/recipes-extended/pmdk/pmdk_2.1.1.bb +3 -3
@@ -4,7 +4,7 @@ HOMEPAGE = "http://pmem.io" SECTION = "libs" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3e2f50552a27ca99772f3d884f98560b" -DEPENDS = "ndctl cmake-native" +DEPENDS = "ndctl" # Required to have the fts.h header for musl DEPENDS:append:libc-musl = " fts"
@@ -14,7 +14,7 @@ S = "${WORKDIR}/git" SRC_URI = "git://github.com/pmem/pmdk.git;branch=master;protocol=https" SRCREV = "0f0ab391d8e3db52f745f33c92b9d9a462bb3695" -inherit autotools-brokensep pkgconfig +inherit pkgconfig # Fix jemalloc error: # | configure: error: cannot run C compiled programs.
@@ -26,7 +26,7 @@ EXTRA_OEMAKE = "BUILD_EXAMPLES='n' DOC='n' HOST_SYS='${HOST_SYS}' EXTRA_CFLAGS=' # Fix the missing fts libs when using musl EXTRA_OEMAKE:append:libc-musl = " EXTRA_LIBS='-lfts'" -do_configure:prepend() { +do_configure() { touch .skip-doc }
Signature · 1 line
2.43.0
PATCH 8/9 triggerhappy: don't inherit autotools
In reply to Ross BurtonThis upstream does not in fact use autotools, so remove the inherit and implement the required do_install.
--- meta-oe/recipes-extended/triggerhappy/triggerhappy_git.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-extended/triggerhappy/triggerhappy_git.bb +4 -2
@@ -11,7 +11,7 @@ SRC_URI = "git://github.com/wertarbyte/${BPN}.git;branch=debian;protocol=https" S = "${WORKDIR}/git" -inherit autotools-brokensep pkgconfig perlnative update-rc.d systemd +inherit pkgconfig perlnative update-rc.d systemd PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}" PACKAGECONFIG[systemd] = ",,systemd"
@@ -30,7 +30,9 @@ FILES:${PN} = "\ " CONFFILES:${PN} = "${sysconfdir}/udev/rules.d/80-triggerhappy.rules" -do_install:append() { +do_install() { + oe_runmake 'DESTDIR=${D}' 'BINDIR=${D}${sbindir}' install + install -d ${D}${sysconfdir}/triggerhappy/triggers.d install -d ${D}${nonarch_base_libdir}/udev/rules.d
Signature · 1 line
2.43.0
PATCH 9/9 libx86-1: don't inherit autotools
In reply to Ross BurtonThis upstream does not in fact use autotools, so remove the inherit and implement the required do_install directly.
--- meta-oe/recipes-extended/libx86-1/libx86-1_1.1.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-extended/libx86-1/libx86-1_1.1.bb +3 -1
@@ -24,4 +24,6 @@ COMPATIBLE_HOST = '(x86_64|i.86).*-linux' export LIBDIR = "${libdir}" export BACKEND = "x86emu" -inherit autotools-brokensep +do_install() { + oe_runmake 'destdir=${D}' install +}
Signature · 1 line
2.43.0
typo in subject, I have taken care of it.
Quoted 39 lines · Ross Burton via lists.openembedded.org
This upstream does not in fact use autotools, so remove the inherit and implement the required
do_installdirectly.Signed-off-by Ross Burton <[email protected]>--- meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb +4
-3@@ -36,9 +36,11 @@ UPSTREAM_CHECK_REGEX = "/rdist/(?P<pver>\d+(\.\d+)+)" DEPENDS = "bison-native" -inherit autotools-brokensep - EXTRA_OEMAKE = "CPPFLAGS='${CFLAGS}' BIN_GROUP=root MAN_GROUP=root RDIST_MODE=755 RDISTD_MODE=755 MAN_MODE=644" +do_install() { + oe_runmake 'DESTDIR=${D}' install +} + # http://errors.yoctoproject.org/Errors/Details/186972/ COMPATIBLE_HOST:libc-musl = 'null' --2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#116068): https://lists.openembedded.org/g/openembedded-devel/message/116068
Mute This Topic: https://lists.openembedded.org/mt/111787461/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-