Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 730658

Summary: www-client/elinks-0.13_pre_pre20180225 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Felix Janda <felix.janda>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/16604
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 739914    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
www-client:elinks-0.13_pre_pre20180225:20200703-222355.log.bz2

Description Toralf Förster gentoo-dev 2020-07-04 07:25:55 UTC
ruby.c:16:15: note: in expansion of macro ‘N_’
   16 |  /* name: */  N_("Ruby"),
      |               ^~
x86_64-pc-linux-gnu-ld -r -o lib.o core.o hooks.o ruby.o 
x86_64-pc-linux-gnu-ld: hooks.o:(.bss+0x0): multiple definition of `erb_module'; core.o:(.bss+0x0): first defined here
x86_64-pc-linux-gnu-ld: ruby.o:(.bss+0x0): multiple definition of `erb_module'; core.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-libressl-20200629-131942

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
  [6]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.44.1 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri 03 Jul 2020 10:05:25 PM UTC
/var/db/repos/libressl	Thu 02 Jul 2020 08:38:59 AM UTC

emerge -qpvO www-client/elinks
[ebuild  N    ] www-client/elinks-0.13_pre_pre20180225  USE="bzip2 gpm ipv6 libressl mouse nls ruby ssl unicode zlib -X -bittorrent -brotli -debug -finger -ftp -gopher (-guile) -idn -javascript -lua -nntp -perl -samba -tre -xml"
Comment 1 Toralf Förster gentoo-dev 2020-07-04 07:25:58 UTC
Created attachment 647512 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-07-04 07:26:01 UTC
Created attachment 647514 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-07-04 07:26:05 UTC
Created attachment 647516 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-07-04 07:26:08 UTC
Created attachment 647518 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-07-04 07:26:11 UTC
Created attachment 647520 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-07-04 07:26:14 UTC
Created attachment 647522 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-07-04 07:26:17 UTC
Created attachment 647524 [details]
www-client:elinks-0.13_pre_pre20180225:20200703-222355.log.bz2
Comment 8 Larry the Git Cow gentoo-dev 2020-08-07 17:58:03 UTC
The bug has been referenced in the following commit(s):

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

commit 977cfe6dac1a14198581c281213d8cff4be1e9b5
Author:     Felix Janda <felix.janda@posteo.de>
AuthorDate: 2020-08-02 21:27:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-08-07 17:57:49 +0000

    www-client/elinks: fix compilation with -fno-common/gcc10
    
    Bug: https://bugs.gentoo.org/730658
    Signed-off-by: Felix Janda <felix.janda@posteo.de>
    Signed-off-by: Sam James <sam@gentoo.org>

 www-client/elinks/elinks-0.13.4.ebuild                 |  1 +
 www-client/elinks/elinks-9999.ebuild                   |  1 +
 www-client/elinks/files/elinks-0.13.4-ruby-gcc10.patch | 13 +++++++++++++
 3 files changed, 15 insertions(+)
Comment 9 Larry the Git Cow gentoo-dev 2020-09-13 18:39:56 UTC
The bug has been closed via the following commit(s):

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

commit 0e591ad37835503bffc0e506f0921616c471da5d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-09-13 18:39:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-09-13 18:39:51 +0000

    www-client/elinks: cleanup old (inc. EAPI 4)
    
    Closes: https://bugs.gentoo.org/648648
    Closes: https://bugs.gentoo.org/730658
    Closes: https://bugs.gentoo.org/739914
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Sam James <sam@gentoo.org>

 www-client/elinks/Manifest                         |   3 -
 www-client/elinks/elinks-0.12_pre6-r4.ebuild       | 155 -----------------
 .../elinks/elinks-0.13_pre_pre20180225.ebuild      | 142 ----------------
 .../elinks/files/elinks-0.11.2-lua-5.1.patch       |  16 --
 .../files/elinks-0.12_pre5-compilation-fix.patch   |  12 --
 .../elinks/files/elinks-0.12_pre5-libressl.patch   |  29 ----
 .../elinks/files/elinks-0.12_pre5-rand-egd.patch   |  20 ---
 .../elinks/files/elinks-0.12_pre5-ruby-1.9.patch   | 187 ---------------------
 .../files/elinks-0.12_pre5-sm185-jsval-fixes.patch | 124 --------------
 www-client/elinks/files/elinks-0.13-ruby.patch     | 183 --------------------
 www-client/elinks/metadata.xml                     |   1 -
 11 files changed, 872 deletions(-)