Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707186 - net-print/cups-bjnp-2.0 : fails to build with -fno-common or gcc-10
Summary: net-print/cups-bjnp-2.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: Printing Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: -fno-common gcc-10-stable
  Show dependency tree
 
Reported: 2020-01-29 17:56 UTC by Toralf Förster
Modified: 2021-01-05 15:52 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.13 KB, text/plain)
2020-01-29 17:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,94.23 KB, text/plain)
2020-01-29 17:56 UTC, Toralf Förster
Details
environment (environment,10.35 KB, text/plain)
2020-01-29 17:56 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.19 KB, application/x-bzip)
2020-01-29 17:56 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.35 KB, application/x-bzip)
2020-01-29 17:56 UTC, Toralf Förster
Details
net-print:cups-bjnp-2.0:20200129-035325.log (net-print:cups-bjnp-2.0:20200129-035325.log,11.51 KB, text/plain)
2020-01-29 17:56 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,6.07 KB, application/x-bzip)
2020-01-29 17:56 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-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
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-31 05:37:29 UTC
Bump will help:

Version 2.0.3 Fix GCC10 compile errors. increase status buffer size for newer printers that send larger status messages
Comment 9 Larry the Git Cow gentoo-dev 2021-01-02 10:53:30 UTC
The bug has been closed via the following commit(s):

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

commit 516a8de9dea2ef36edce1e7fb7ae7fc6c95e36b5
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-01-02 10:53:21 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-01-02 10:53:21 +0000

    net-print/cups-bjnp: Bump to 2.0.3
    
    Closes: https://github.com/gentoo/gentoo/pull/18906
    Closes: https://bugs.gentoo.org/707186
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-print/cups-bjnp/Manifest               |  1 +
 net-print/cups-bjnp/cups-bjnp-2.0.3.ebuild | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)