Bug#974055: libvideo-capture-v4l-perl: FTBFS with Perl 5.32 on 32-bit architectures: overrides $Config{ccflags}
Niko Tyni
ntyni at debian.org
Mon Nov 9 13:34:34 GMT 2020
Source: libvideo-capture-v4l-perl
Version: 0.902-4
Severity: serious
Tags: ftbfs bullseye sid
User: debian-perl at lists.debian.org
Usertags: perl-5.32-transition
Control: block 968912 with -1
This package fails to build with Perl 5.32 on 32-bit architectures.
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-Iblib/lib" "-Iblib/arch" test.pl
1..1
V4l.c: loadable library and perl binaries are mismatched (got handshake key 0xa300080, needed 0xa400080)
make[1]: *** [Makefile:897: test_dynamic] Error 1
This seems to happen because Makefile.PL overrides CCFLAGS, removing
(among other things) -D_FILE_OFFSET_BITS=64 from the compiler invocation.
As it used to work before, something must have changed.
My guess is that was
https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/commit/4392efb97c333007a4a9c91a0b7c20610d21041d
In any case, reportedly dropping debian/patches/compile_with_-fPIC.patch
makes it build again. I suppose something else is introducing -fPIC to
the build nowadays but I haven't looked into this.
--
Niko Tyni ntyni at debian.org
More information about the pkg-perl-maintainers
mailing list