Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707248 - net-print/epson-inkjet-printer-escpr-1.7.2 : fails to build with -fno-common or gcc-10
Summary: net-print/epson-inkjet-printer-escpr-1.7.2 : fails to build with -fno-common ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas Sturmlechner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-29 18:13 UTC by Toralf Förster
Modified: 2020-05-23 12:12 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.81 KB, text/plain)
2020-01-29 18:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,68.20 KB, text/plain)
2020-01-29 18:13 UTC, Toralf Förster
Details
environment (environment,19.71 KB, text/plain)
2020-01-29 18:13 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.14 KB, application/x-bzip)
2020-01-29 18:13 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.96 KB, application/x-bzip)
2020-01-29 18:13 UTC, Toralf Förster
Details
net-print:epson-inkjet-printer-escpr-1.7.2:20200129-141509.log (net-print:epson-inkjet-printer-escpr-1.7.2:20200129-141509.log,322.10 KB, text/plain)
2020-01-29 18:13 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.56 KB, application/x-bzip)
2020-01-29 18:13 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 18:13:05 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -I../lib -O2 -pipe -march=native -fno-common -c -o epson_escpr-linux_cmn.o `test -f 'linux_cmn.c' || echo './'`linux_cmn.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -I../lib -O2 -pipe -march=native -fno-common -c -o epson_escpr-xfifo.o `test -f 'xfifo.c' || echo './'`xfifo.c
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -I../lib -O2 -pipe -march=native -fno-common -lpthread -Wl,-O1 -Wl,--as-needed -o epson-escpr epson_escpr-filter.o epson_escpr-debug.o epson_escpr-str.o epson_escpr-err.o epson_escpr-mem.o epson_escpr-linux_cmn.o epson_escpr-xfifo.o ../lib/libescpr.la -lcupsimage -lcups 
libtool: link: x86_64-pc-linux-gnu-gcc -I../lib -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o epson-escpr epson_escpr-filter.o epson_escpr-debug.o epson_escpr-str.o epson_escpr-err.o epson_escpr-mem.o epson_escpr-linux_cmn.o epson_escpr-xfifo.o  -lpthread ../lib/.libs/libescpr.a -lcupsimage -lcups
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/.libs/libescpr.a(libescpr_la-epson-escpr-api.o):(.bss+0x40): multiple definition of `jobFnc'; epson_escpr-filter.o:(.bss+0x80): first defined here
collect2: error: ld returned 1 exit status

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20200127-214345

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

  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]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

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 <==
Wed, 29 Jan 2020 13:26:23 +0000

emerge -qpvO net-print/epson-inkjet-printer-escpr
[ebuild  N    ] net-print/epson-inkjet-printer-escpr-1.7.2
Comment 1 Toralf Förster gentoo-dev 2020-01-29 18:13:08 UTC
Created attachment 608174 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 18:13:12 UTC
Created attachment 608176 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 18:13:15 UTC
Created attachment 608178 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 18:13:20 UTC
Created attachment 608180 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 18:13:23 UTC
Created attachment 608182 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 18:13:26 UTC
Created attachment 608184 [details]
net-print:epson-inkjet-printer-escpr-1.7.2:20200129-141509.log
Comment 7 Toralf Förster gentoo-dev 2020-01-29 18:13:28 UTC
Created attachment 608186 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-05-23 12:12:18 UTC
The bug has been closed via the following commit(s):

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

commit f8a9560f2c35af8c6cb49a0db8c132c5cb2ed97c
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-05-23 11:56:49 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-05-23 12:12:09 +0000

    net-print/epson-inkjet-printer-escpr: Fix build with -fno-common
    
    Closes: https://bugs.gentoo.org/707248
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../epson-inkjet-printer-escpr-1.7.7.ebuild                   |  5 ++++-
 .../files/epson-inkjet-printer-escpr-1.7.7-fnocommon.patch    | 11 +++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)