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

Bug 707186

Summary: net-print/cups-bjnp-2.0 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Printing Team <printing>
Status: CONFIRMED ---    
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
logs.tbz2
net-print:cups-bjnp-2.0:20200129-035325.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-29 17:56:25 UTC
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -Wall    -O2 -pipe -march=native -fno-common -c -o bjnp-bjnp-levels.o `test -f 'bjnp-levels.c' || echo './'`bjnp-levels.c
x86_64-pc-linux-gnu-gcc -Wall    -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o bjnp bjnp-bjnp.o bjnp-bjnp-runloop.o bjnp-bjnp-io.o bjnp-bjnp-debug.o bjnp-bjnp-utils.o bjnp-bjnp-discover.o bjnp-bjnp-commands.o bjnp-bjnp-levels.o -lcups 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bjnp-bjnp-utils.o:(.bss+0x0): multiple definition of `printer_s'; bjnp-bjnp-io.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bjnp-bjnp-utils.o:(.bss+0x1660): multiple definition of `bjnp_command_u'; bjnp-bjnp-io.o:(.bss+0x1660): first defined here

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

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

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

  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 (uninstalled)
  [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

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 29 Jan 2020 03:06:23 +0000

emerge -qpvO net-print/cups-bjnp
[ebuild  N    ] net-print/cups-bjnp-2.0
Comment 1 Toralf Förster gentoo-dev 2020-01-29 17:56:27 UTC
Created attachment 607760 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 17:56:30 UTC
Created attachment 607762 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 17:56:33 UTC
Created attachment 607764 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 17:56:36 UTC
Created attachment 607766 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 17:56:38 UTC
Created attachment 607768 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 17:56:41 UTC
Created attachment 607770 [details]
net-print:cups-bjnp-2.0:20200129-035325.log
Comment 7 Toralf Förster gentoo-dev 2020-01-29 17:56:44 UTC
Created attachment 607772 [details]
temp.tbz2