Skip to contentSkip to conversation

recipes: Fix whitespace warnings

PATCH Superseded [email protected] 2 participants 7 messages Sep 29, 2025 – Sep 30, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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
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 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 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
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
#3 lore raw

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

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]]
-=-=-=-=-=-=-=-=-=-=-=-

#4 lore raw

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.in

Review

Quoted 6 lines
---
 meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb | 4 ++++
 1 file changed, 4 insertions(+)
(quoted diff) +0 -0

b/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 user

Why 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

-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw

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,
Vijay

Quoted 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.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 +0 -0
index d221814..8a2737b 100644

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]]
-=-=-=-=-=-=-=-=-=-=-=-

#6 lore raw

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.in

Quoted 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 denied

Quoted 1 line

Good. It will be nice to add this context in the commit message.

Quoted 15 lines

Thanks & Regards,
Vijay

Quoted 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.in

Quoted 6 lines
Quoted 6 lines

Review

Quoted 6 lines
---
 meta-cgl-common/recipes-cgl/ucarp/ucarp_1.5.2.bb | 4 ++++
 1 file changed, 4 insertions(+)
(quoted diff) +0 -0

b/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 user

Why 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

-=-=-=-=-=-=-=-=-=-=-=-