Source: elinks
Version: 0.16.1.1-4
Severity: important
Tags: ftbfs sid trixie fixed-upstream
Forwarded: https://github.com/rkd77/elinks/pull/243
User: debian-p...@lists.debian.org
Usertags: perl-5.38-transition

This package fails to build from source with Perl 5.38 (currently in 
experimental.)

  
http://perl.debian.net/rebuild-logs/perl-5.38/elinks_0.16.1.1-4/elinks_0.16.1.1-4+b1_amd64-2023-07-01T14:49:32Z.build

   FAILED: src/elinks.p/scripting_perl_core.c.o 
   cc -Isrc/elinks.p -Isrc -I../src -I. -I.. -I/usr/include/p11-kit-1 
-I/usr/include/lua5.3 -I/usr/local/include 
-I/usr/lib/x86_64-linux-gnu/perl/5.38/CORE -fdiagnostics-color=always -Wall 
-Winvalid-pch '-DGETTEXT_PACKAGE="elinks"' '-DBUILD_ID=""' -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 
-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -fno-strict-aliasing 
-Wno-address -Wno-builtin-declaration-mismatch -Wc++-compat -MD -MQ 
src/elinks.p/scripting_perl_core.c.o -MF src/elinks.p/scripting_perl_core.c.o.d 
-o src/elinks.p/scripting_perl_core.c.o -c ../src/scripting/perl/core.c
   In file included from /usr/lib/x86_64-linux-gnu/perl/5.38/CORE/perl.h:4530,
                    from ../src/scripting/perl/core.h:6,
                    from ../src/scripting/perl/core.c:16:
   /usr/lib/x86_64-linux-gnu/perl/5.38/CORE/sv.h:285:8: error: redefinition of 
‘struct object’
     285 | struct object {
         |        ^~~~~~
   In file included from ../src/config/options.h:4,
                    from ../src/intl/libintl.h:4,
                    from ../src/scripting/perl/core.c:13:
   ../src/main/object.h:14:8: note: originally defined here
      14 | struct object {
         |        ^~~~~~
 

This seems to be fixed upstream with the PR at
  https://github.com/rkd77/elinks/pull/243

-- 
Niko Tyni   nt...@debian.org

Reply via email to