Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708374 - net-print/gtklp-1.3.1 : fails to build with -fno-common or gcc-10
Summary: net-print/gtklp-1.3.1 : 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:
Depends on:
Blocks: -fno-common gcc-10-stable
  Show dependency tree
 
Reported: 2020-02-05 18:10 UTC by Toralf Förster
Modified: 2021-02-17 09:37 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.77 KB, text/plain)
2020-02-05 18:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,252.16 KB, text/plain)
2020-02-05 18:10 UTC, Toralf Förster
Details
environment (environment,89.21 KB, text/plain)
2020-02-05 18:10 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.09 KB, application/x-bzip)
2020-02-05 18:10 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,12.33 KB, application/x-bzip)
2020-02-05 18:10 UTC, Toralf Förster
Details
net-print:gtklp-1.3.1:20200205-003701.log (net-print:gtklp-1.3.1:20200205-003701.log,63.75 KB, text/plain)
2020-02-05 18:10 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,31.63 KB, application/x-bzip)
2020-02-05 18:11 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-02-05 18:10:40 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -I../include -I../libgtklp -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread   -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150    -O2 -pipe -march=native -fno-common -c -o special.o special.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -I../include -I../libgtklp -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread   -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150    -O2 -pipe -march=native -fno-common -c -o text.o text.c
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o gtklp file.o general.o gtklp.o gtklp_functions.o gtklptab.o hpgl2.o image.o output.o ppd.o special.o text.o ../libgtklp/libgtklp.a -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype   -lcups -lX11 -lX11 
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -o gtklp file.o general.o gtklp.o gtklp_functions.o gtklptab.o hpgl2.o image.o output.o ppd.o special.o text.o  -Wl,--as-needed ../libgtklp/libgtklp.a -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lcups -lX11
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: general.o:(.bss+0x90): multiple definition of `progressBar'; file.o:(.bss+0x40): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gtklp.o:(.bss+0x6b450): multiple definition of `progressBar'; file.o:(.bss+0x40): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20200129-211601

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

  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.41.0 *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 3.15.0 [icedtea-8]
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 04 Feb 2020 23:27:03 +0000

emerge -qpvO net-print/gtklp
[ebuild  N    ] net-print/gtklp-1.3.1  USE="nls ssl"
Comment 1 Toralf Förster gentoo-dev 2020-02-05 18:10:43 UTC
Created attachment 611844 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-05 18:10:45 UTC
Created attachment 611846 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-05 18:10:48 UTC
Created attachment 611848 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-05 18:10:51 UTC
Created attachment 611850 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-05 18:10:54 UTC
Created attachment 611852 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-05 18:10:57 UTC
Created attachment 611854 [details]
net-print:gtklp-1.3.1:20200205-003701.log
Comment 7 Toralf Förster gentoo-dev 2020-02-05 18:11:00 UTC
Created attachment 611856 [details]
temp.tbz2
Comment 8 Jakov Smolić archtester gentoo-dev 2021-02-15 16:52:03 UTC
Debian just added -fcommon to flags (https://sources.debian.org/patches/gtklp/1.3.1-1/fix_gcc-10.patch/)
Comment 9 Larry the Git Cow gentoo-dev 2021-02-17 09:37:07 UTC
The bug has been closed via the following commit(s):

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

commit 167e9e18d4fd7df04e275e8e8570d8234c3b716f
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-17 09:36:22 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-02-17 09:36:22 +0000

    net-print/gtklp: Port to EAPI 7
    
    Closes: https://bugs.gentoo.org/708374
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-print/gtklp/gtklp-1.3.1.ebuild | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)