Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710098 - app-admin/gtkdiskfree-2.0.3 : fails to build with -fno-common or gcc-10
Summary: app-admin/gtkdiskfree-2.0.3 : fails to build with -fno-common or gcc-10
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Samuel Bauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-18 18:56 UTC by Toralf Förster
Modified: 2020-02-19 19:14 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.71 KB, text/plain)
2020-02-18 18:56 UTC, Toralf Förster
Details
app-admin:gtkdiskfree-2.0.3:20200218-150434.log (app-admin:gtkdiskfree-2.0.3:20200218-150434.log,28.80 KB, text/plain)
2020-02-18 18:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,242.88 KB, text/plain)
2020-02-18 18:56 UTC, Toralf Förster
Details
environment (environment,18.65 KB, text/plain)
2020-02-18 18:56 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.64 KB, application/x-bzip)
2020-02-18 18:56 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.14 KB, application/x-bzip)
2020-02-18 18:56 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,10.44 KB, application/x-bzip)
2020-02-18 18:56 UTC, Toralf Förster
Details
gtkdiskfree-2.0.3-no-common.patch (gtkdiskfree-2.0.3-no-common.patch,1.79 KB, patch)
2020-02-18 22:13 UTC, Samuel Bauer
Details | Diff

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-18 18:56:30 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -Wall -O2 -pipe -march=native -fno-common -I/usr/include/gtk-3.0 -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/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread  -c -o options.o options.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -Wall -O2 -pipe -march=native -fno-common -I/usr/include/gtk-3.0 -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/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread  -c -o widgets.o widgets.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -Wall -O2 -pipe -march=native -fno-common -I/usr/include/gtk-3.0 -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/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread  -c -o utils.o utils.c
x86_64-pc-linux-gnu-gcc  -Wall -O2 -pipe -march=native -fno-common -I/usr/include/gtk-3.0 -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/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread   -Wl,-O1 -Wl,--as-needed -o gtkdiskfree configure.o dialog.o diskfree.o interface.o main.o menus.o pixmap.o options.o widgets.o utils.o  -lm -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0  
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: dialog.o:(.bss+0x8): multiple definition of `options'; configure.o:(.bss+0x18): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: diskfree.o:(.bss+0x30): multiple definition of `options'; configure.o:(.bss+0x18): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl-20200212-201606

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

  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]   python3.7 (fallback)
  [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:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
  [2]   jamvm 
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 18 Feb 2020 13:37:31 +0000

emerge -qpvO app-admin/gtkdiskfree
[ebuild  N    ] app-admin/gtkdiskfree-2.0.3  USE="-gtk2"
Comment 1 Toralf Förster gentoo-dev 2020-02-18 18:56:33 UTC
Created attachment 614354 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-18 18:56:35 UTC
Created attachment 614356 [details]
app-admin:gtkdiskfree-2.0.3:20200218-150434.log
Comment 3 Toralf Förster gentoo-dev 2020-02-18 18:56:38 UTC
Created attachment 614358 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-18 18:56:41 UTC
Created attachment 614360 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-18 18:56:44 UTC
Created attachment 614362 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-18 18:56:47 UTC
Created attachment 614364 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-18 18:56:50 UTC
Created attachment 614366 [details]
temp.tbz2
Comment 8 Samuel Bauer 2020-02-18 21:57:15 UTC
Just fixed it on gitlab. Thanks to the buildbot for noticing this issue.

I think I'll just add a new version tag, is it ok for version bump in gentoo ?
Comment 9 Samuel Bauer 2020-02-18 22:13:49 UTC
Created attachment 614454 [details, diff]
gtkdiskfree-2.0.3-no-common.patch

Patch for the 2.0.3 unstable version
No backport for the stable 2.0.1 planned unless explicitely requested
Comment 10 Toralf Förster gentoo-dev 2020-02-19 17:41:42 UTC
(In reply to Samuel Bauer from comment #8)

> I think I'll just add a new version tag, is it ok for version bump in gentoo
> ?
ofc, yes
Comment 11 Samuel Bauer 2020-02-19 18:29:19 UTC
So go for 2.0.4

P.S.: rework "shared" variable was on my todo list, unfortunately I just skipped it until a good reason to do it.

Maybe I can help a bit with patches for blockers of #705764
But I may need some hints to let me see which packages I can work on
Comment 12 Toralf Förster gentoo-dev 2020-02-19 19:14:52 UTC
(In reply to Samuel Bauer from comment #11)

> Maybe I can help a bit with patches for blockers of #705764
> But I may need some hints to let me see which packages I can work on

Great, the IRC channel ircs://chat.freenode.net:6697/#gentoo-dev-help is a good starting point