Skip to contentSkip to conversation

recipes: Fix whitespace warnings

PATCH New [email protected] 1 participant 3 messages Sep 30, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 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
index 0184e7d..6ca7556 100644
@@ -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
index 04bb62f..ff90030 100644
@@ -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
index 0a04bf5..211b911 100644
@@ -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
index f72dbd3..04bd8b9 100644
@@ -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
#1 lore raw

PATCH v2 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
index 211b911..c3ebd5d 100644
@@ -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
#2 lore raw

PATCH v2 3/3 ucarp: Fix the permissions

In reply to [email protected]

From: Vijay Anusuri <[email protected]>

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.

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
---
 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
index d221814..8a2737b 100644
@@ -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