Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707840 - x11-misc/gtkdialog-0.8.3-r2 : fails to build with -fno-common or gcc-10
Summary: x11-misc/gtkdialog-0.8.3-r2 : 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: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-02 04:11 UTC by Toralf Förster
Modified: 2020-02-02 10:58 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.85 KB, text/plain)
2020-02-02 04:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,281.66 KB, text/plain)
2020-02-02 04:11 UTC, Toralf Förster
Details
environment (environment,59.29 KB, text/plain)
2020-02-02 04:11 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.79 KB, application/x-bzip)
2020-02-02 04:11 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,16.71 KB, application/x-bzip)
2020-02-02 04:11 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.52 KB, application/x-bzip)
2020-02-02 04:11 UTC, Toralf Förster
Details
x11-misc:gtkdialog-0.8.3-r2:20200201-230115.log (x11-misc:gtkdialog-0.8.3-r2:20200201-230115.log,132.56 KB, text/plain)
2020-02-02 04: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-02 04:11:11 UTC
widget_window.c:247:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  247 |   initialised = (gint)g_object_get_data(G_OBJECT(var->Widget), "_initialised");
      |                 ^
x86_64-pc-linux-gnu-gcc -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  -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -DHAVE_GLADE_LIB=0  -DHAVE_VTE=0 -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o gtkdialog gtkdialog.o printing.o variables.o gtkdialog_parser.o gtkdialog_lexer.o stack.o automaton.o attributes.o signals.o stringman.o widgets.o actions.o tag_attributes.o glade_support.o widget_button.o widget_checkbox.o widget_colorbutton.o widget_combobox.o widget_comboboxtext.o widget_edit.o widget_entry.o widget_eventbox.o widget_expander.o widget_fontbutton.o widget_frame.o widget_hbox.o widget_hscale.o widget_hseparator.o widget_list.o widget_menubar.o widget_menuitem.o widget_notebook.o widget_pixmap.o widget_progressbar.o widget_radiobutton.o widget_spinbutton.o widget_statusbar.o widget_table.o widget_terminal.o widget_text.o widget_timer.o widget_tree.o widget_vbox.o widget_window.o  -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  -lgthread-2.0 -pthread -lglib-2.0    
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: printing.o:(.bss+0x0): multiple definition of `window_id'; gtkdialog.o:(.bss+0x88): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: printing.o:(.bss+0x8): multiple definition of `widget_show_list'; gtkdialog.o:(.bss+0x90): first defined here

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

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

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

  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 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 01 Feb 2020 21:29:19 +0000

emerge -qpvO x11-misc/gtkdialog
[ebuild  N    ] x11-misc/gtkdialog-0.8.3-r2  USE="-glade -vte"
Comment 1 Toralf Förster gentoo-dev 2020-02-02 04:11:14 UTC
Created attachment 610740 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-02 04:11:17 UTC
Created attachment 610742 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-02 04:11:20 UTC
Created attachment 610744 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-02 04:11:22 UTC
Created attachment 610746 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-02 04:11:25 UTC
Created attachment 610748 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-02 04:11:28 UTC
Created attachment 610750 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-02 04:11:31 UTC
Created attachment 610752 [details]
x11-misc:gtkdialog-0.8.3-r2:20200201-230115.log
Comment 8 Larry the Git Cow gentoo-dev 2020-02-02 10:58:09 UTC
The bug has been closed via the following commit(s):

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

commit 98692e4c4ad494b88c4902ca1ab3e6541190bbe8
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-02-02 10:01:50 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-02-02 10:58:05 +0000

    x11-misc/gtkdialog: Fix CFLAGS=-fno-common
    
    Package-Manager: Portage-2.3.86, Repoman-2.3.20
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=707840
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 .../files/gtkdialog-0.8.3-fno-common.patch         | 51 ++++++++++++++++++++++
 x11-misc/gtkdialog/gtkdialog-0.8.3-r2.ebuild       |  3 +-
 x11-misc/gtkdialog/gtkdialog-99999.ebuild          |  5 ++-
 3 files changed, 57 insertions(+), 2 deletions(-)