Skip to contentSkip to conversation

shadow: upgrade from 4.18.0 to 4.19.3

PATCH Superseded [email protected] 2 participants 3 messages Feb 10 – Feb 11

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 shadow: upgrade from 4.18.0 to 4.19.3

From: Chen Qi <[email protected]>

The major changes in 4.19.x:
https://github.com/shadow-maint/shadow/releases/tag/4.19.0

---
 .../shadow/{shadow_4.18.0.bb => shadow_4.19.3.bb}               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/shadow/{shadow_4.18.0.bb => shadow_4.19.3.bb} (99%)
meta/recipes-extended/shadow/shadow_4.19.3.bb renamed from meta/recipes-extended/shadow/shadow_4.18.0.bb +1 -1
similarity index 99%
rename from meta/recipes-extended/shadow/shadow_4.18.0.bb
rename to meta/recipes-extended/shadow/shadow_4.19.3.bb
index d9a49d8ccf..daa0a15659 100644
@@ -25,7 +25,7 @@ SRC_URI:append:class-native = " \
            file://commonio.c-fix-unexpected-open-failure-in-chroot-env.patch \
            file://disable_syslog.patch \
            "
-SRC_URI[sha256sum] = "ae486ce4c0bce55c42d76d8478e428c41586f1da2f89fbf5228243fb4d849db4"
+SRC_URI[sha256sum] = "3bd304a2f3936a7bd31a29aa59e61a1873d15fd4f3e041b0175d2b91e0b25c5d"
 UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$"
 
 # Additional Policy files for PAM
Signature · 1 line
2.43.0
#1 lore raw
Quoted 7 lines · Chen Qi via lists.openembedded.org

From: Chen Qi <[email protected]>

The major changes in 4.19.x:
https://github.com/shadow-maint/shadow/releases/tag/4.19.0

---

Hi Chen,

Thanks for the upgrade.

It looks like this version fails to compile. Given the error and the fact that it builds on some machines, maybe it is linked with the host gcc version?

ERROR: shadow-native-4.19.3-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/musl-qemux86/build/build/tmp/work/x86_64-linux/shadow-native/4.19.3/temp/run.do_compile.674478' failed with exit code 1
...

| ../../sources/shadow-4.19.3/lib/sssd.h:14:18: error: parameter name omitted
|    14 | sssd_flush_cache(int)
|       |                  ^~~

https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/3175

So yes, we have a static inline function that takes one parameter but does not use it. And the compiler is not happy as it is not named.

Can you have a look at that? Maybe there is already a fix upstream or one could be submitted.

Thanks,
Mathieu

Signature · 3 lines
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
author
#2 lore raw
Quoted 24 lines · Mathieu Dubois-Briand via lists.openembedded.org
Quoted 7 lines · Chen Qi via lists.openembedded.org

From: Chen Qi <[email protected]>

The major changes in 4.19.x:
https://github.com/shadow-maint/shadow/releases/tag/4.19.0

---

Hi Chen,

Thanks for the upgrade.

It looks like this version fails to compile. Given the error and the fact that it builds on some machines, maybe it is linked with the host gcc version?

ERROR: shadow-native-4.19.3-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/musl-qemux86/build/build/tmp/work/x86_64-linux/shadow-native/4.19.3/temp/run.do_compile.674478' failed with exit code 1
...

| ../../sources/shadow-4.19.3/lib/sssd.h:14:18: error: parameter name omitted
|    14 | sssd_flush_cache(int)
|       |                  ^~~

https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/3175

Quoted 9 lines

So yes, we have a static inline function that takes one parameter but does not use it. And the compiler is not happy as it is not named.

Can you have a look at that? Maybe there is already a fix upstream or one could be submitted.

Thanks,
Mathieu

Yes, I'll look into it.

Regards,
Qi

Quoted 9 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#230913): https://lists.openembedded.org/g/openembedded-core/message/230913
Mute This Topic: https://lists.openembedded.org/mt/117733474/7304865
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-