Open boegel opened 1 month ago
Instance eessi-bot-mc-azure
is configured to build:
x86_64/amd/zen4
for repo eessi-hpc.org-2023.06-compat
x86_64/amd/zen4
for repo eessi-hpc.org-2023.06-software
x86_64/amd/zen4
for repo eessi.io-2023.06-compat
x86_64/amd/zen4
for repo eessi.io-2023.06-software
bot: build repo:eessi.io-2023.06-software arch:x86_64/intel/skylake_avx512
eessi-bot-mc-aws
(click for details)eessi-bot-mc-azure
(click for details)New job on instance eessi-bot-mc-aws for architecture x86_64-intel-skylake_avx512 for repository eessi.io-2023.06-software in job dir /project/def-users/SHARED/jobs/2024.05/pr_570/10464 |
date | job status | comment |
---|---|---|---|
May 12 13:33:27 UTC 2024 | submitted | job id 10464 awaits release by job manager |
|
May 12 13:34:05 UTC 2024 | released | job awaits launch by Slurm scheduler | |
May 12 13:39:12 UTC 2024 | running | job 10464 is running |
|
May 12 13:58:58 UTC 2024 | finished | :cry: FAILURE (click triangle for details)
|
|
May 12 13:58:58 UTC 2024 | test result | :grin: SUCCESS (click triangle for details)
|
bot: build repo:eessi.io-2023.06-software arch:aarch64/neoverse_v1
eessi-bot-mc-aws
(click for details)eessi-bot-mc-azure
(click for details)New job on instance eessi-bot-mc-aws for architecture aarch64-neoverse_v1 for repository eessi.io-2023.06-software in job dir /project/def-users/SHARED/jobs/2024.05/pr_570/10466 |
date | job status | comment |
---|---|---|---|
May 12 13:46:22 UTC 2024 | submitted | job id 10466 awaits release by job manager |
|
May 12 13:46:25 UTC 2024 | released | job awaits launch by Slurm scheduler | |
May 12 13:51:37 UTC 2024 | running | job 10466 is running |
|
May 12 14:03:11 UTC 2024 | finished | :cry: FAILURE (click triangle for details)
|
|
May 12 14:03:11 UTC 2024 | test result | :grin: SUCCESS (click triangle for details)
|
Building of GST-plugins-base-1.22.5-GCC-12.3.0.eb
dependency fails with:
[146/754] Generating gst-libs/gst/tag/GstTag-1.0.gir with a custom command (wrapped by meson to set env)
FAILED: gst-libs/gst/tag/GstTag-1.0.gir
...
/bin/bash: /cvmfs/software.eessi.io/versions/2023.06/compat/linux/aarch64/usr/lib64/libtinfo.so.6: no version information available (required by /bin/bash)
/bin/bash: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /cvmfs/software.eessi.io/versions/2023.06/compat/linux/aarch64/usr/lib64/libtinfo.so.6)
...
ninja: build stopped: subcommand failed.
This is a problem that looks very similar to what we ran into in with at-spi2-core
#428, which was fixed in #454...
This now requires a sync with the default branch for CI or builds to pass
Building of
GST-plugins-base-1.22.5-GCC-12.3.0.eb
dependency fails with:[146/754] Generating gst-libs/gst/tag/GstTag-1.0.gir with a custom command (wrapped by meson to set env) FAILED: gst-libs/gst/tag/GstTag-1.0.gir ... /bin/bash: /cvmfs/software.eessi.io/versions/2023.06/compat/linux/aarch64/usr/lib64/libtinfo.so.6: no version information available (required by /bin/bash) /bin/bash: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /cvmfs/software.eessi.io/versions/2023.06/compat/linux/aarch64/usr/lib64/libtinfo.so.6) ... ninja: build stopped: subcommand failed.
This is a problem that looks very similar to what we ran into in with
at-spi2-core
#428, which was fixed in #454...
Yes, it indeed looks like the same problem. For at-spi2-core
I've fixed it by adding a --lib-dirs-envvar=FILTER_LD_LIBRARY_PATH
(which prevents that $LD_LIBRARY_PATH
is being set) to gir_extra_args
near the affected call to gnome.generate_gir
. I see several meson.build
files in the sources of gst-plugins-base that call gnome.generate_gir
, though, but all of them set gir_extra_args = gir_init_section + something_else
. The gir_init_section
is only defined in the meson.build
of the top-level dir, so you can probably add the same thing there.
However, since we're now running into the same thing again, we could perhaps also look into patching GObject-Retrospection itself, to prevent that we have to do this same fix over and over again in several other packages...
By setting --lib-dirs-envvar
you're basically preventing that runtime_path_envvar
contains LD_LIBRARY_PATH
(https://gitlab.gnome.org/GNOME/gobject-introspection/-/blob/1.76.1/giscanner/ccompiler.py?ref_type=tags#L224), and in turn that means that LD_LIBRARY_PATH
won't be set as an environment variable a bit further down:
https://gitlab.gnome.org/GNOME/gobject-introspection/-/blob/1.76.1/giscanner/ccompiler.py?ref_type=tags#L267
We could try patching this code somehow, but I'm not sure how we can detect here that we're filtering LD_LIBRARY_PATH
? Maybe we can check in that if statement if LD_LIBRARY_PATH
is already empty (i.e. if it's not in os.environ
), and if so, never set it anyway? Because if we're not filtering it, the GObject-Introspection module itself should already have set LD_LIBRARY_PATH
.
@boegel thoughts?
edit: gave it a quicky try with at-spi2-core
by disabling the hook and changing the else
on line https://gitlab.gnome.org/GNOME/gobject-introspection/-/blob/1.76.1/giscanner/ccompiler.py?ref_type=tags#L271 to elif envvar != 'LD_LIBRARY_PATH':
, and that indeed worked fine.
Instance
eessi-bot-mc-aws
is configured to build:x86_64/generic
for repoeessi-hpc.org-2023.06-compat
x86_64/generic
for repoeessi-hpc.org-2023.06-software
x86_64/generic
for repoeessi.io-2023.06-compat
x86_64/generic
for repoeessi.io-2023.06-software
x86_64/intel/haswell
for repoeessi-hpc.org-2023.06-compat
x86_64/intel/haswell
for repoeessi-hpc.org-2023.06-software
x86_64/intel/haswell
for repoeessi.io-2023.06-compat
x86_64/intel/haswell
for repoeessi.io-2023.06-software
x86_64/intel/skylake_avx512
for repoeessi-hpc.org-2023.06-compat
x86_64/intel/skylake_avx512
for repoeessi-hpc.org-2023.06-software
x86_64/intel/skylake_avx512
for repoeessi.io-2023.06-compat
x86_64/intel/skylake_avx512
for repoeessi.io-2023.06-software
x86_64/amd/zen2
for repoeessi-hpc.org-2023.06-compat
x86_64/amd/zen2
for repoeessi-hpc.org-2023.06-software
x86_64/amd/zen2
for repoeessi.io-2023.06-compat
x86_64/amd/zen2
for repoeessi.io-2023.06-software
x86_64/amd/zen3
for repoeessi-hpc.org-2023.06-compat
x86_64/amd/zen3
for repoeessi-hpc.org-2023.06-software
x86_64/amd/zen3
for repoeessi.io-2023.06-compat
x86_64/amd/zen3
for repoeessi.io-2023.06-software
aarch64/generic
for repoeessi-hpc.org-2023.06-compat
aarch64/generic
for repoeessi-hpc.org-2023.06-software
aarch64/generic
for repoeessi.io-2023.06-compat
aarch64/generic
for repoeessi.io-2023.06-software
aarch64/neoverse_n1
for repoeessi-hpc.org-2023.06-compat
aarch64/neoverse_n1
for repoeessi-hpc.org-2023.06-software
aarch64/neoverse_n1
for repoeessi.io-2023.06-compat
aarch64/neoverse_n1
for repoeessi.io-2023.06-software
aarch64/neoverse_v1
for repoeessi-hpc.org-2023.06-compat
aarch64/neoverse_v1
for repoeessi-hpc.org-2023.06-software
aarch64/neoverse_v1
for repoeessi.io-2023.06-compat
aarch64/neoverse_v1
for repoeessi.io-2023.06-software