perl is causing odd compiler errors, such as on FreeBSD 13: In file included from /usr/local/lib/perl5/5.32/mach/CORE/sbox32_hash.h:4: /usr/local/lib/perl5/5.32/mach/CORE/zaphod32_hash.h:164:5: error: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro] ZAPHOD32_SCRAMBLE32(state[2],0x9c5cc4e9); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/perl5/5.32/mach/CORE/zaphod32_hash.h:80:38: note: expanded from macro 'ZAPHOD32_SCRAMBLE32' #define ZAPHOD32_SCRAMBLE32(v,prime) STMT_START { \ ^~~~~~~~~~
It's easier to just ignore perl on these platforms than to worry about when community will fix the compilation issue. --- ci/gitlab/builds.yml | 2 ++ ci/manifest.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ci/gitlab/builds.yml b/ci/gitlab/builds.yml index 1772f882..3739da6f 100644 --- a/ci/gitlab/builds.yml +++ b/ci/gitlab/builds.yml @@ -377,6 +377,7 @@ x86_64-freebsd-13: GOLANG: skip INSTALL_COMMAND: pkg install -y NAME: freebsd-13 + PERL: skip UPDATE_COMMAND: pkg update UPGRADE_COMMAND: pkg upgrade -y @@ -392,6 +393,7 @@ x86_64-freebsd-current: GOLANG: skip INSTALL_COMMAND: pkg install -y NAME: freebsd-current + PERL: skip UPDATE_COMMAND: pkg update UPGRADE_COMMAND: pkg upgrade -y diff --git a/ci/manifest.yml b/ci/manifest.yml index 554641b6..fba4faa8 100644 --- a/ci/manifest.yml +++ b/ci/manifest.yml @@ -87,12 +87,14 @@ targets: - arch: x86_64 variables: GOLANG: skip + PERL: skip freebsd-current: jobs: - arch: x86_64 variables: GOLANG: skip + PERL: skip opensuse-leap-153: x86_64 -- 2.39.2 _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://listman.redhat.com/mailman/listinfo/libguestfs