semaphore: set upstream build profile and set default branch to debian/master#31444
semaphore: set upstream build profile and set default branch to debian/master#31444mrc0mmand merged 5 commits intosystemd:mainfrom
Conversation
b951468 to
3888a83
Compare
71db034 to
f84a962
Compare
|
I can actually reproduce this locally in a Bookworm container, if you give me a couple of minutes I should be able to conjure an exact reproducer. |
Uh I tried and could not in a simple chroot - did you run it in lxc? I guess that's the only difference |
No, it's a simple podman container. I just compared the compiler options from the CI job with my local build and it looks like the right constellation of build options to trigger that issue is: |
|
That's weird, I disabled LTO in one build and it still failed with the same error |
|
Looks like |
Hah, scratch that, just That would explain why disabling LTO didn't work. |
|
Looks like de-inlining and initializing the var does the trick, thanks for the quick repro |
ef004ed to
7543f8d
Compare
8295fdf to
c27f600
Compare
On ppc64el with gcc 13.2 on Ubuntu 24.04: 3s In file included from ../src/basic/macro.h:386, 483s from ../src/basic/alloc-util.h:10, 483s from ../src/shared/install.c:12: 483s ../src/shared/install.c: In function ‘install_changes_dump’: 483s ../src/shared/install.c:432:64: error: ‘%s’ directive argument is null [-Werror=format-overflow=] 483s 432 | err = log_error_errno(changes[i].type, "Failed to %s unit, unit %s does not exist.", 483s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 483s ../src/shared/install.c:432:75: note: format string is defined here 483s 432 | err = log_error_errno(changes[i].type, "Failed to %s unit, unit %s does not exist.",
…grate the CI to a new version
Required due to building with debian/master branch
…n/master Leave TEST_UPSTREAM=1 for now in case we switch branches via the hook
|
What's slightly worrying is that with this the Semaphore build seems to be ~10 minutes slower, and we're getting dangerously close to the 1h timeout, but I guess I can play with this later and disable LTO/optimizations when (if) needed. |
Yeah there's a bunch of things that can be done, like disabling debug symbols packages/stripping, disabling LTO, disabling compression |
I'm wondering, why those packaging changes would cause a 10min increase in runtime. That seems odd. |
Leave TEST_UPSTREAM=1 for now in case we switch branches via the hook