Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909042 - www-client/elinks-0.16.1.1-r1 - /.../sv.h: error: redefinition of struct object
Summary: www-client/elinks-0.16.1.1-r1 - /.../sv.h: error: redefinition of struct object
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Felix Janda
URL:
Whiteboard:
Keywords: PATCH
: 909568 (view as bug list)
Depends on:
Blocks: perl-5.38
  Show dependency tree
 
Reported: 2023-06-23 17:56 UTC by Toralf Förster
Modified: 2023-07-03 17:21 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.55 KB, text/plain)
2023-06-23 17:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,103.44 KB, text/plain)
2023-06-23 17:56 UTC, Toralf Förster
Details
environment (environment,116.86 KB, text/plain)
2023-06-23 17:56 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,784 bytes, application/x-xz)
2023-06-23 17:56 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,11.52 KB, application/x-xz)
2023-06-23 17:56 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,11.22 KB, application/x-xz)
2023-06-23 17:56 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,38.43 KB, application/x-xz)
2023-06-23 17:56 UTC, Toralf Förster
Details
www-client:elinks-0.16.1.1-r1:20230623-170653.log (www-client:elinks-0.16.1.1-r1:20230623-170653.log,77.18 KB, text/plain)
2023-06-23 17:56 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-06-23 17:56:29 UTC
too long lines were shrinked:

[64/248] x86_64-pc-linux-gnu-gcc -Isrc/elinks.p -Isrc -I../elinks-0.16.1.1/src -I. -I../elinks-0.16.1.1 -I/usr/include/lua5.1 -I/usr/lib64/perl5/5.38/x86_64-linux/CORE -I/usr/include/ncursesw -fdiagnostics-color=always -Wall -Winvalid-pch '-DGETTEXT_PACKAGE="elinks"' '-DBUILD_ID=""' -O2 -pipe -march
FAILED: src/elinks.p/scripting_perl_perl.c.o 
x86_64-pc-linux-gnu-gcc -Isrc/elinks.p -Isrc -I../elinks-0.16.1.1/src -I. -I../elinks-0.16.1.1 -I/usr/include/lua5.1 -I/usr/lib64/perl5/5.38/x86_64-linux/CORE -I/usr/include/ncursesw -fdiagnostics-color=always -Wall -Winvalid-pch '-DGETTEXT_PACKAGE="elinks"' '-DBUILD_ID=""' -O2 -pipe -march=native -
In file included from /usr/lib64/perl5/5.38/x86_64-linux/CORE/perl.h:4532,
                 from ../elinks-0.16.1.1/src/scripting/perl/core.h:6,
                 from ../elinks-0.16.1.1/src/scripting/perl/perl.c:11:
/usr/lib64/perl5/5.38/x86_64-linux/CORE/sv.h:285:8: error: redefinition of struct object
  285 | struct object {
      |        ^~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20230622-124526

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.69.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.20.5 linux/amd64

  HEAD of ::gentoo
commit 722f06abcf9961eb53b7cd29cc225dec5a7d5d24
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Jun 23 16:32:03 2023 +0000

    2023-06-23 16:32:03 UTC

emerge -qpvO www-client/elinks
[ebuild  N    ] www-client/elinks-0.16.1.1-r1  USE="X bzip2 ftp idn lua lzma mouse nls perl ssl unicode xml zlib -bittorrent -brotli -debug -finger -gnutls -gopher -gpm (-guile) -javascript -nntp -samba -test -tre -zstd" LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4 -luajit"
Comment 1 Toralf Förster gentoo-dev 2023-06-23 17:56:29 UTC
Created attachment 864484 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-06-23 17:56:31 UTC
Created attachment 864485 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-06-23 17:56:32 UTC
Created attachment 864486 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-06-23 17:56:33 UTC
Created attachment 864487 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-06-23 17:56:34 UTC
Created attachment 864488 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-06-23 17:56:34 UTC
Created attachment 864489 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-06-23 17:56:35 UTC
Created attachment 864490 [details]
temp.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-06-23 17:56:37 UTC
Created attachment 864491 [details]
www-client:elinks-0.16.1.1-r1:20230623-170653.log
Comment 9 Azamat H. Hackimov 2023-07-03 11:17:38 UTC
Proposed fix to upstream: https://github.com/rkd77/elinks/pull/243
Comment 10 Larry the Git Cow gentoo-dev 2023-07-03 15:16:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfefaa456bd69bc14e3a1c2c6c1b0cc19c6b0869

commit dfefaa456bd69bc14e3a1c2c6c1b0cc19c6b0869
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-07-03 15:15:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-03 15:15:56 +0000

    www-client/elinks: fix build w/ perl-5.38
    
    Closes: https://bugs.gentoo.org/909042
    Thanks-to: Azamat H. Hackimov <azamat.hackimov@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 www-client/elinks/elinks-0.16.1.1-r2.ebuild        | 172 +++++++++++++++++++++
 .../elinks/files/elinks-0.16.1.1-perl-5.38.patch   |  62 ++++++++
 2 files changed, 234 insertions(+)
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-03 15:16:24 UTC
(In reply to Azamat H. Hackimov from comment #9)
> Proposed fix to upstream: https://github.com/rkd77/elinks/pull/243

Thank you!
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-03 17:21:23 UTC
*** Bug 909568 has been marked as a duplicate of this bug. ***