Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707686 - app-text/barcode-0.99 : fails to build with -fno-common or gcc-10
Summary: app-text/barcode-0.99 : 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: Matthias Maier
URL: https://sources.debian.org/patches/ba...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-31 22:21 UTC by Toralf Förster
Modified: 2020-12-28 11:50 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.58 KB, text/plain)
2020-01-31 22:21 UTC, Toralf Förster
Details
app-text:barcode-0.99:20200131-215134.log (app-text:barcode-0.99:20200131-215134.log,85.66 KB, text/plain)
2020-01-31 22:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,247.59 KB, text/plain)
2020-01-31 22:21 UTC, Toralf Förster
Details
environment (environment,76.24 KB, text/plain)
2020-01-31 22:21 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.18 KB, application/x-bzip)
2020-01-31 22:21 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,22.78 KB, application/x-bzip)
2020-01-31 22:21 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.35 KB, application/x-bzip)
2020-01-31 22:21 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-31 22:21:26 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -Ilib -O2 -pipe -march=native -fno-common -DHAVE_CONFIG_H   -O2 -pipe -march=native -fno-common -c main.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -Ilib -O2 -pipe -march=native -fno-common -DHAVE_CONFIG_H   -O2 -pipe -march=native -fno-common -c cmdline.c
/bin/sh ./libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -Ilib -O2 -pipe -march=native -fno-common -DHAVE_CONFIG_H   -O2 -pipe -march=native -fno-common -L. -lpaper -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -o barcode main.o cmdline.o libbarcode.la lib/libgnu.la 
libtool: link: x86_64-pc-linux-gnu-gcc -Ilib -O2 -pipe -march=native -fno-common -DHAVE_CONFIG_H -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -o barcode main.o cmdline.o  -L. ./.libs/libbarcode.a -lpaper lib/.libs/libgnu.a -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cmdline.o:(.bss+0x0): multiple definition of `streaming'; main.o:(.bss+0x80): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libbarcode.a(library.o):(.bss+0x0): multiple definition of `streaming'; main.o:(.bss+0x80): 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 <==
Fri, 31 Jan 2020 20:47:54 +0000

emerge -qpvO app-text/barcode
[ebuild  N    ] app-text/barcode-0.99
Comment 1 Toralf Förster gentoo-dev 2020-01-31 22:21:28 UTC
Created attachment 610104 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-31 22:21:31 UTC
Created attachment 610106 [details]
app-text:barcode-0.99:20200131-215134.log
Comment 3 Toralf Förster gentoo-dev 2020-01-31 22:21:34 UTC
Created attachment 610108 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-31 22:21:37 UTC
Created attachment 610110 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-31 22:21:40 UTC
Created attachment 610112 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-31 22:21:43 UTC
Created attachment 610114 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-31 22:21:46 UTC
Created attachment 610116 [details]
temp.tbz2
Comment 9 Larry the Git Cow gentoo-dev 2020-12-28 11:50:39 UTC
The bug has been closed via the following commit(s):

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

commit 6a1d76b6138e6a7150e8d6228b6d43e9be997158
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-12-28 11:50:13 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-12-28 11:50:13 +0000

    app-text/barcode: Port to EAPI 7
    
    Closes: https://bugs.gentoo.org/707686
    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-text/barcode/barcode-0.99.ebuild               | 13 ++++-------
 app-text/barcode/files/0.98-info.patch             | 14 ------------
 .../barcode/files/barcode-0.99-fno-common.patch    | 25 ++++++++++++++++++++++
 3 files changed, 29 insertions(+), 23 deletions(-)