recipes: Fix whitespace warnings
PATCH 1/3 recipes: Fix whitespace warnings
From: Vijay Anusuri <[email protected]>
--- .../recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb | 4 ++-- meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.5.bb | 2 +- meta-cgl-common/recipes-cgl/racoon2/racoon2_202003018.bb | 4 ++-- meta-cgl-common/recipes-perl/perl/libtest-pod-perl_1.52.bb | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-)
meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb +2 -2
@@ -43,8 +43,8 @@ EXTRA_OECONF = "--with-daemon-user=${HA_USER} \ --with-ocf-root=${libdir}/ocf \ " -CACHED_CONFIGUREVARS="ac_cv_path_XML2CONFIG=0 \ - ac_cv_path_SSH=ssh \ +CACHED_CONFIGUREVARS = "ac_cv_path_XML2CONFIG=0 \ + ac_cv_path_SSH=ssh \ " USERADD_PACKAGES = "${PN}"
meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.5.bb +1 -1
@@ -21,7 +21,7 @@ SRC_URI = "git://github.com/ClusterLabs/${BPN}.git;branch=main;protocol=https \ " CFLAGS += "-I${STAGING_INCDIR}/heartbeat" -CPPFLAGS +="-I${STAGING_INCDIR}/heartbeat" +CPPFLAGS += "-I${STAGING_INCDIR}/heartbeat" SRC_URI:append:libc-musl = "file://0001-pacemaker-fix-compile-error-of-musl-libc.patch" SRCREV = "ba59be71228fed04f78ab374dfac748d314d0e89"
meta-cgl-common/recipes-cgl/racoon2/racoon2_202003018.bb +2 -2
@@ -32,7 +32,7 @@ SRC_URI = "git://github.com/zoulasc/racoon2;branch=master;protocol=https \ file://spmd.service \ " -SRCREV="7b68950328454b0e91ba24698c10c4a790705cc1" +SRCREV = "7b68950328454b0e91ba24698c10c4a790705cc1" SRC_URI[md5sum] = "2fa33abff1ccd6fc22876a23db77aaa8" SRC_URI[sha256sum] = "f23773e4d97cec823ec634085b5e60a7884a13467ff1bffc17daac14d02f9caa"
@@ -84,7 +84,7 @@ INITSCRIPT_PARAMS:${PN} = "remove" INITSCRIPT_NAME:${PN}-iked = "iked" INITSCRIPT_PARAMS:${PN}-iked = "remove" INITSCRIPT_NAME:${PN}-kinkd = "kinkd" -INITSCRIPT_PARAMS:${PN}-kinkd= "remove" +INITSCRIPT_PARAMS:${PN}-kinkd = "remove" SYSTEMD_PACKAGES = "${PN}" SYSTEMD_SERVICE:${PN} = "spmd.service iked.service"
meta-cgl-common/recipes-perl/perl/libtest-pod-perl_1.52.bb +1 -1
@@ -11,7 +11,7 @@ RDEPENDS:${PN} += " perl-module-test-more \ " PR = "r2" -SRC_URI ="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Test-Pod-${PV}.tar.gz;name=test-pod-perl-${PV}" +SRC_URI = "http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Test-Pod-${PV}.tar.gz;name=test-pod-perl-${PV}" SRC_URI[test-pod-perl-1.52.md5sum] = "472dda77746d48e6465bf62e47aeca81" SRC_URI[test-pod-perl-1.52.sha256sum] = "60a8dbcc60168bf1daa5cc2350236df9343e9878f4ab9830970a5dde6fe8e5fc" S = "${UNPACKDIR}/Test-Pod-${PV}"
Signature · 1 line
2.25.1
PATCH 2/3 racoon2: Fix contains reference to TMPDIR [buildpaths] warning
From: Vijay Anusuri <[email protected]>
Pass OE cflags to makefile
ERROR: racoon2-202003018-r0 do_package_qa: QA Issue: File /usr/sbin/.debug/spmd in package racoon2-dbg contains reference to TMPDIR [buildpaths]
ERROR: racoon2-202003018-r0 do_package_qa: QA Issue: File /usr/sbin/.debug/spmdctl in package racoon2-dbg contains reference to TMPDIR [buildpaths]
ERROR: racoon2-202003018-r0 do_package_qa: Fatal QA errors were found, failing task.
--- meta-cgl-common/recipes-cgl/racoon2/racoon2_202003018.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-cgl-common/recipes-cgl/racoon2/racoon2_202003018.bb +2 -2
@@ -33,8 +33,6 @@ SRC_URI = "git://github.com/zoulasc/racoon2;branch=master;protocol=https \ " SRCREV = "7b68950328454b0e91ba24698c10c4a790705cc1" -SRC_URI[md5sum] = "2fa33abff1ccd6fc22876a23db77aaa8" -SRC_URI[sha256sum] = "f23773e4d97cec823ec634085b5e60a7884a13467ff1bffc17daac14d02f9caa" inherit autotools-brokensep update-rc.d systemd
@@ -52,6 +50,8 @@ do_configure:prepend () { mkdir -p lib/m4 spmd/m4 iked/m4 kinkd/m4 } +EXTRA_OEMAKE += "CPPFLAGS='${CFLAGS}'" + do_install:append() { install -d -m 0755 ${D}${sysconfdir}/init.d/ cp -rfa ${D}${sysconfdir}/${BPN}/init.d/* ${D}${sysconfdir}/init.d/
Signature · 1 line
2.25.1
PATCH 3/3 ucarp: Fix the permissions
In reply to [email protected]From: Vijay Anusuri <[email protected]>
Gave write permission to po
List of Makefile.in.ins to update po/Makefile.in.in
--- meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb +4 -0
@@ -42,6 +42,10 @@ EXTRA_OECONF += "--sysconfdir=${sysconfdir}/${BPN}" # fix the perms for config.rpath do_configure:prepend() { chmod 755 ${S}/config.rpath + # Make sure po directory is writable by current user + if [ -d "${S}/po" ]; then + chmod -R u+rw ${S}/po + fi } do_install:append() {
Signature · 1 line
2.25.1
Re: [yocto-patches][meta-cgl][PATCH 3/3] ucarp: Fix the permissions
Quoted 16 lines · Vijay Anusuri via lists.yoctoproject.org
From: Vijay Anusuri <[email protected]>
Gave write permission to po
List of Makefile.in.ins to update po/Makefile.in.inSigned-off-by Vijay Anusuri <[email protected]>--- meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb | 4 ++++ 1 file changed, 4 insertions(+)meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb +0
-0
meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb EXTRA_OECONF += "--sysconfdir=${sysconfdir}/${BPN}" · line 45
Quoted 4 lines
meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb +1
-0@@ -42,6 +42,10 @@ EXTRA_OECONF += "--sysconfdir=${sysconfdir}/${BPN}" # fix the perms for config.rpath do_configure:prepend() { chmod 755 ${S}/config.rpath + # Make sure po directory is writable by current user
Why should it be writable ?
Quoted 20 lines
meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb +3
-1+ if [ -d "${S}/po" ]; then + chmod -R u+rw ${S}/po + fi } do_install:append() { --2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#2248): https://lists.yoctoproject.org/g/yocto-patches/message/2248
Mute This Topic: https://lists.yoctoproject.org/mt/115490482/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/13340786/1997914/645821814/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto-patches][meta-cgl][PATCH 3/3] ucarp: Fix the permissions
Hi Khem,
The Makefile.in.in file inside the po/ directory had read-only permissions ( 0444), even for the file owner. During the build, the process attempted to copy and overwrite this file but failed due to lack of write permissions.
I updated the permissions to grant write access so that the build process could proceed successfully.
Below is the error snippet
| NOTE: List of Makefile.in.ins to update:/home/xxx/project/yocto_master/poky/build/tmp/work/x86-64-v3-poky-linux/ucarp/1.5.2/sources/ucarp-1.5.2/po/ Makefile.in.in
| NOTE: Executing: cp /home/xxx/project/yocto_master/poky/build/tmp/work/x86-64-v3-poky-linux/ucarp/1.5.2/recipe-sysroot-native/usr/share/gettext/po/ Makefile.in.in /home/xxx/project/yocto_master/poky/build/tmp/work/x86-64-v3-poky-linux/ucarp/1.5.2/sources/ucarp-1.5.2/po/ | cp: cannot create regular file '/home/xxx/project/yocto_master/poky/build/tmp/work/x86-64-v3-poky-linux/ucarp/1.5.2/sources/ucarp-1.5.2/po/ Makefile.in.in': Permission denied
Thanks & Regards,
Vijay
Quoted 51 lines · Khem Raj
Quoted 6 lines · Vijay Anusuri via lists.yoctoproject.org
From: Vijay Anusuri <[email protected]>
Gave write permission to po
List of Makefile.in.ins to update po/Makefile.in.inReview
Quoted 6 lines
Signed-off-by Vijay Anusuri <[email protected]>--- meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb | 4 ++++ 1 file changed, 4 insertions(+)(quoted diff) +0
-0b/meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb
meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb EXTRA_OECONF += "--sysconfdir=${sysconfdir}/${BPN}" · line 45
Quoted 8 lines
index d221814..8a2737b 100644
meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb +1
-0@@ -42,6 +42,10 @@ EXTRA_OECONF += "--sysconfdir=${sysconfdir}/${BPN}" # fix the perms for config.rpath do_configure:prepend() { chmod 755 ${S}/config.rpath + # Make sure po directory is writable by current userWhy should it be writable ?
Quoted 11 lines
meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb +3
-1+ if [ -d "${S}/po" ]; then + chmod -R u+rw ${S}/po + fi } do_install:append() { --2.25.1
Quoted 3 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#2248):https://lists.yoctoproject.org/g/yocto-patches/message/2248
Quoted 3 lines
Mute This Topic: https://lists.yoctoproject.org/mt/115490482/1997914
Group Owner: [email protected] Unsubscribe:https://lists.yoctoproject.org/g/yocto-patches/leave/13340786/1997914/645821814/xyzzy
[[email protected]]Quoted 3 lines
-=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto-patches][meta-cgl][PATCH 3/3] ucarp: Fix the permissions
Quoted 5 lines · Vijay Anusuri
Hi Khem,
The Makefile.in.in file inside the po/ directory had read-only permissions (0444), even for the file owner. During the build, the process attempted to copy and overwrite this file but failed due to lack of write permissions.
Quoted 9 lines
I updated the permissions to grant write access so that the build process could proceed successfully.
Below is the error snippet
| NOTE: List of Makefile.in.ins to update: /home/xxx/project/yocto_master/poky/build/tmp/work/x86-64-v3-poky-linux/ucarp/1.5.2/sources/ucarp-1.5.2/po/Makefile.in.in | NOTE: Executing: cp /home/xxx/project/yocto_master/poky/build/tmp/work/x86-64-v3-poky-linux/ucarp/1.5.2/recipe-sysroot-native/usr/share/gettext/po/Makefile.in.in /home/xxx/project/yocto_master/poky/build/tmp/work/x86-64-v3-poky-linux/ucarp/1.5.2/sources/ucarp-1.5.2/po/ | cp: cannot create regular file '/home/xxx/project/yocto_master/poky/build/tmp/work/x86-64-v3-poky-linux/ucarp/1.5.2/sources/ucarp-1.5.2/po/Makefile.in.in': Permission denied
Good. It will be nice to add this context in the commit message.
Quoted 52 lines
Thanks & Regards,
VijayQuoted 47 lines · Khem Raj
Quoted 16 lines · Vijay Anusuri via lists.yoctoproject.org
From: Vijay Anusuri <[email protected]>
Gave write permission to po
List of Makefile.in.ins to update po/Makefile.in.inSigned-off-by Vijay Anusuri <[email protected]>--- meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb | 4 ++++ 1 file changed, 4 insertions(+)meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb +0
-0meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb EXTRA_OECONF += "--sysconfdir=${sysconfdir}/${BPN}" · line 45
Quoted 4 lines
meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb +1
-0@@ -42,6 +42,10 @@ EXTRA_OECONF += "--sysconfdir=${sysconfdir}/${BPN}" # fix the perms for config.rpath do_configure:prepend() { chmod 755 ${S}/config.rpath + # Make sure po directory is writable by current userWhy should it be writable ?
Quoted 20 lines
meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb +3
-1+ if [ -d "${S}/po" ]; then + chmod -R u+rw ${S}/po + fi } do_install:append() { --2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#2248): https://lists.yoctoproject.org/g/yocto-patches/message/2248
Mute This Topic: https://lists.yoctoproject.org/mt/115490482/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/13340786/1997914/645821814/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto-patches][meta-cgl][PATCH 3/3] ucarp: Fix the permissions
Sure. I will update the commit message and send out a v2 patch.
Quoted 86 lines · Khem Raj
Quoted 4 lines · Vijay Anusuri
Hi Khem,
The Makefile.in.in file inside the po/ directory had read-only
permissions (0444), even for the file owner. During the build, the process attempted to copy and overwrite this file but failed due to lack of write permissions.
Quoted 2 lines
I updated the permissions to grant write access so that the build
process could proceed successfully.
Quoted 5 lines
Below is the error snippet
| NOTE: List of Makefile.in.ins to update:
/home/xxx/project/yocto_master/poky/build/tmp/work/x86-64-v3-poky-linux/ucarp/1.5.2/sources/ucarp-1.5.2/po/Makefile.in.inQuoted 1 line
| NOTE: Executing: cp
/home/xxx/project/yocto_master/poky/build/tmp/work/x86-64-v3-poky-linux/ucarp/1.5.2/recipe-sysroot-native/usr/share/gettext/po/Makefile.in.in/home/xxx/project/yocto_master/poky/build/tmp/work/x86-64-v3-poky-linux/ucarp/1.5.2/sources/ucarp-1.5.2/po/Quoted 1 line
| cp: cannot create regular file
'
/home/xxx/project/yocto_master/poky/build/tmp/work/x86-64-v3-poky-linux/ucarp/1.5.2/sources/ucarp-1.5.2/po/Makefile.in.in': Permission deniedQuoted 1 line
Good. It will be nice to add this context in the commit message.
Quoted 15 lines
Thanks & Regards,
VijayQuoted 10 lines · Khem Raj
Quoted 6 lines · Vijay Anusuri via lists.yoctoproject.org
From: Vijay Anusuri <[email protected]>
Gave write permission to po
List of Makefile.in.ins to update po/Makefile.in.inQuoted 6 lines
Quoted 6 lines
Review
Quoted 6 lines
Signed-off-by Vijay Anusuri <[email protected]>--- meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb | 4 ++++ 1 file changed, 4 insertions(+)(quoted diff) +0
-0b/meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb
Quoted 22 lines
Quoted 22 lines
meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb EXTRA_OECONF += "--sysconfdir=${sysconfdir}/${BPN}" · line 45
Quoted 8 lines
index d221814..8a2737b 100644
meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb +1
-0@@ -42,6 +42,10 @@ EXTRA_OECONF += "--sysconfdir=${sysconfdir}/${BPN}" # fix the perms for config.rpath do_configure:prepend() { chmod 755 ${S}/config.rpath + # Make sure po directory is writable by current userWhy should it be writable ?
Quoted 11 lines
meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb +3
-1+ if [ -d "${S}/po" ]; then + chmod -R u+rw ${S}/po + fi } do_install:append() { --2.25.1
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#2248):https://lists.yoctoproject.org/g/yocto-patches/message/2248
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Mute This Topic: https://lists.yoctoproject.org/mt/115490482/1997914
Group Owner: [email protected] Unsubscribe:https://lists.yoctoproject.org/g/yocto-patches/leave/13340786/1997914/645821814/xyzzy
[[email protected]]Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
-=-=-=-=-=-=-=-=-=-=-=-