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

Bug 706762

Summary: app-editors/hexcurse-1.60.0 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH, PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/16129
https://bugs.gentoo.org/show_bug.cgi?id=763246
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
app-editors:hexcurse-1.60.0:20200127-191803.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-27 20:24:29 UTC
  500 |       strncpy(temp, tmpstr, (strlen(tmpstr) > 80)
      |                              ^~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I../include -Wall -Wextra   -O2 -pipe -march=native -fno-common -c -o color.o color.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o hexcurse file.o llist.o screen.o hexcurse.o stack.o getopt.o acceptch.o color.o  -ltinfo -lncurses 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: llist.o:(.bss+0x0): multiple definition of `fpIN'; file.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: screen.o:(.bss+0x0): multiple definition of `fpIN'; file.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20200126-201521

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *


llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *




repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 27 Jan 2020 19:06:19 +0000

emerge -qpvO app-editors/hexcurse
[ebuild  N    ] app-editors/hexcurse-1.60.0
Comment 1 Toralf Förster gentoo-dev 2020-01-27 20:24:32 UTC
Created attachment 605794 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-27 20:24:35 UTC
Created attachment 605796 [details]
app-editors:hexcurse-1.60.0:20200127-191803.log
Comment 3 Toralf Förster gentoo-dev 2020-01-27 20:24:38 UTC
Created attachment 605798 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-27 20:24:41 UTC
Created attachment 605800 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-27 20:24:43 UTC
Created attachment 605802 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-27 20:24:46 UTC
Created attachment 605804 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-27 20:24:49 UTC
Created attachment 605806 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-11-30 21:05:02 UTC
The bug has been closed via the following commit(s):

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

commit 95200636f12d2b1a8b5ef65c7719b02822060f39
Author:     Azamat H. Hackimov <azamat.hackimov@gmail.com>
AuthorDate: 2020-11-30 21:04:39 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-30 21:04:39 +0000

    app-editors/hexcurse: fix compilation with GCC 10
    
    * Fixed compilation with GCC10
    * Update to EAPI 7
    
    Closes: https://github.com/gentoo/gentoo/pull/16129
    Closes: https://bugs.gentoo.org/706762
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../hexcurse/files/hexcurse-1.60.0-gcc10.patch     | 41 ++++++++++++++++++++++
 app-editors/hexcurse/hexcurse-1.60.0.ebuild        | 23 +++++-------
 2 files changed, 50 insertions(+), 14 deletions(-)