Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706762 - app-editors/hexcurse-1.60.0 : fails to build with -fno-common or gcc-10
Summary: app-editors/hexcurse-1.60.0 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-27 20:24 UTC by Toralf Förster
Modified: 2021-01-03 09:10 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,14.95 KB, text/plain)
2020-01-27 20:24 UTC, Toralf Förster
Details
app-editors:hexcurse-1.60.0:20200127-191803.log (app-editors:hexcurse-1.60.0:20200127-191803.log,11.18 KB, text/plain)
2020-01-27 20:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,52.02 KB, text/plain)
2020-01-27 20:24 UTC, Toralf Förster
Details
environment (environment,57.48 KB, text/plain)
2020-01-27 20:24 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.36 KB, application/x-bzip)
2020-01-27 20:24 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.43 KB, application/x-bzip)
2020-01-27 20:24 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,17.64 KB, application/x-bzip)
2020-01-27 20:24 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 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(-)