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

Bug 707894

Summary: sci-electronics/gnetman-0.0.1_pre20110124 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: The Soldering-Iron Brotherhood <sci-electronics>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
sci-electronics:gnetman-0.0.1_pre20110124:20200202-070113.log

Description Toralf Förster gentoo-dev 2020-02-02 10:26:08 UTC
bamain.c:335:10: warning: variable ‘didSomething’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  335 |     bool didSomething = false;
      |          ^~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -W -Wno-unused-parameter -Wno-unused-function -DDD_DEBUG -I../include -I../spice  -Wl,-O1 -Wl,--as-needed obj/utbox.o obj/utvalue.o obj/cirdatabase.o obj/cirscan.o obj/cirwrite.o obj/cirparse.o obj/cirread.o obj/attrproc.o obj/atparse.o obj/atscan.o obj/atdatabase.o obj/tclfunc.o obj/tclfunc_wrap.o obj/tclwrap.o obj/schbuild.o obj/schdatabase.o obj/schgensym.o obj/schpost.o obj/schmain.o obj/schnetlist.o obj/schread.o obj/schshort.o obj/schwrite.o obj/dbbuild.o obj/dbdatabase.o obj/dbmain.o obj/dbnetlist.o obj/dbquery.o obj/dbshort.o obj/hthash.o obj/htdatabase.o obj/generate.o obj/vrdatabase.o obj/vrparse.o obj/vrread.o obj/vrscan.o obj/vrwrite.o obj/pcbread.o obj/pcbwrite.o obj/bamain.o  -lpopt -ltcl -lddutil-dbg -o ../../bin/gnetman
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: obj/cirwrite.o:(.bss+0x30): multiple definition of `cirSpiceTypeSym'; obj/cirscan.o:(.bss+0x8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: obj/cirwrite.o:(.bss+0x40): multiple definition of `cirGraphicalSym'; obj/cirscan.o:(.bss+0x18): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-libressl-20200125-150902

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

  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.7
  [3]   python3.6
  [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:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 02 Feb 2020 04:07:56 +0000

emerge -qpvO sci-electronics/gnetman
[ebuild  N    ] sci-electronics/gnetman-0.0.1_pre20110124  USE="-doc -examples"
Comment 1 Toralf Förster gentoo-dev 2020-02-02 10:26:11 UTC
Created attachment 610970 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-02 10:26:14 UTC
Created attachment 610972 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-02 10:26:16 UTC
Created attachment 610974 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-02 10:26:19 UTC
Created attachment 610976 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-02 10:26:22 UTC
Created attachment 610978 [details]
sci-electronics:gnetman-0.0.1_pre20110124:20200202-070113.log
Comment 6 Larry the Git Cow gentoo-dev 2020-10-24 20:03:51 UTC
The bug has been closed via the following commit(s):

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

commit bc85b6ad461e344a5a2fee86d7b0f4ff0dd66d86
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-10-24 20:03:36 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-10-24 20:03:36 +0000

    sci-electronics/gnetman: Port to EAPI 7
    
    Closes: https://bugs.gentoo.org/707894
    Closes: https://bugs.gentoo.org/711354
    Closes: https://bugs.gentoo.org/746032
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../gnetman-0.0.1_pre20110124-build-system.patch   | 22 +++++++++++++
 .../gnetman-0.0.1_pre20110124-fno-common.patch     | 30 +++++++++++++++++
 .../files/gnetman-0.0.1_pre20110124-tcl86.patch    |  4 +--
 .../gnetman/gnetman-0.0.1_pre20110124.ebuild       | 38 +++++++++++++---------
 4 files changed, 76 insertions(+), 18 deletions(-)