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

Bug 707720

Summary: app-text/hnb-1.9.18-r1 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/18431
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
app-text:hnb-1.9.18-r1:20200201-083216.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-02-01 09:20:59 UTC
      |         ^
x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -fno-common -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o util_string.o util_string.c
x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -fno-common -Wall -pedantic -I.. -Ilibcli -DHAVE_CONFIG_H -o xml_tok.o xml_tok.c
x86_64-pc-linux-gnu-gcc -o hnb actions.o autosave.o cal.o cli_macro.o clipboard.o evilloop.o expanded.o file.o file_ascii.o file_binary.o file_help.o file_hnb.o file_html.o file_opml.o file_ps.o file_xml.o hnb.o init_subsystems.o node.o path.o prefs.o query.o search.o spell.o statcmds.o state.o tokenizer.o tree.o tree_misc.o tree_sort.o tree_todo.o ui.o ui_binding.o ui_cli.o ui_draw.o ui_edit.o ui_menu.o ui_overlay.o ui_style.o util_string.o xml_tok.o -lncurses -ltinfo  libcli/libcli.a -O2 -pipe -march=native -fno-common -Wall -pedantic -Wl,-O1 -Wl,--as-needed
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ui_draw.o:(.bss+0x10): multiple definition of `active_line'; ui.o:(.bss+0x8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ui_draw.o:(.bss+0x14): multiple definition of `nodes_above'; ui.o:(.bss+0xc): 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 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
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) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 01 Feb 2020 07:08:04 +0000

emerge -qpvO app-text/hnb
[ebuild  N    ] app-text/hnb-1.9.18-r1
Comment 1 Toralf Förster gentoo-dev 2020-02-01 09:21:02 UTC
Created attachment 610236 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-01 09:21:05 UTC
Created attachment 610238 [details]
app-text:hnb-1.9.18-r1:20200201-083216.log
Comment 3 Toralf Förster gentoo-dev 2020-02-01 09:21:07 UTC
Created attachment 610240 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-01 09:21:11 UTC
Created attachment 610242 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-01 09:21:14 UTC
Created attachment 610244 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-01 09:21:16 UTC
Created attachment 610246 [details]
temp.tbz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-31 06:19:02 UTC
Debian used -fcommon.
Comment 8 Larry the Git Cow gentoo-dev 2020-11-27 17:37:09 UTC
The bug has been closed via the following commit(s):

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

commit 21b2dac90d38b07b6f1aad1bd4aec2681c4e6e8c
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-11-27 17:36:46 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-27 17:36:46 +0000

    app-text/hnb: port to EAPI 7
    
    Closes: https://bugs.gentoo.org/707720
    Package-Manager: Portage-3.0.9, Repoman-3.0.1
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 app-text/hnb/files/hnb-1.9.18-fno-common.patch | 27 ++++++++++++++++++++++++++
 app-text/hnb/hnb-1.9.18-r1.ebuild              | 27 ++++++++++++++------------
 2 files changed, 42 insertions(+), 12 deletions(-)