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

Bug 707464

Summary: app-misc/vcp-2.2-r2 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Shell Tools project <shell-tools>
Status: RESOLVED FIXED    
Severity: normal CC: treecleaner
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
app-misc:vcp-2.2-r2:20200130-105843.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-30 19:23:12 UTC
   62 |  if(st->st_uid != tmp.st_uid || st->st_gid != tmp.st_gid) {
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -c -I/usr/include/ -o color.o color.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -Wl,-O1 -Wl,--as-needed -o vcp main.o copyall.o copy.o screen.o log.o path.o misc.o color.o -lncurses -ltinfo 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: copyall.o:(.bss+0x0): multiple definition of `logw'; main.o:(.bss+0x1090): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: copyall.o:(.bss+0x8): multiple definition of `mainw'; main.o:(.bss+0x1098): 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 <==
Thu, 30 Jan 2020 09:51:31 +0000

emerge -qpvO app-misc/vcp
[ebuild  N    ] app-misc/vcp-2.2-r2
Comment 1 Toralf Förster gentoo-dev 2020-01-30 19:23:16 UTC
Created attachment 609092 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 19:23:19 UTC
Created attachment 609094 [details]
app-misc:vcp-2.2-r2:20200130-105843.log
Comment 3 Toralf Förster gentoo-dev 2020-01-30 19:23:22 UTC
Created attachment 609096 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-30 19:23:24 UTC
Created attachment 609098 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-30 19:23:27 UTC
Created attachment 609100 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-30 19:23:30 UTC
Created attachment 609102 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-12-28 14:48:16 UTC
The bug has been closed via the following commit(s):

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

commit e125c1114ab32762846f27af587a8bdb22a985ef
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-12-28 14:47:51 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-12-28 14:47:51 +0000

    app-misc/vcp: Port to EAPI 7
    
    Closes: https://bugs.gentoo.org/707464
    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-misc/vcp/files/vcp-2.2-fno-common.patch | 47 +++++++++++++++++++++++++++++
 app-misc/vcp/vcp-2.2-r2.ebuild              |  8 +++--
 2 files changed, 52 insertions(+), 3 deletions(-)