Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 707426

Summary: x11-misc/e16menuedit2-0.0.3 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Andrew Savchenko <bircoph>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
x11-misc:e16menuedit2-0.0.3:20200130-020733.log

Description Toralf Förster gentoo-dev 2020-01-30 19:10:45 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -pthread     -O2 -pipe -march=native -fno-common -c -o treeview.o treeview.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -pthread     -O2 -pipe -march=native -fno-common -c -o libglade_support.o libglade_support.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -pthread     -O2 -pipe -march=native -fno-common -c -o regex_func.o regex_func.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o e16menuedit2 callbacks.o e16menuedit2.o file.o icon_chooser.o e16menu.o treeview.o libglade_support.o regex_func.o -lglade-2.0 -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 -lfontconfig -lfreetype -lxml2 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0   -lglade-2.0 -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 -lfontconfig -lfreetype -lxml2 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0  -lpopt
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: e16menuedit2.o:(.bss+0x500): multiple definition of `menu_file'; callbacks.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: e16menu.o:(.bss+0x0): multiple definition of `menu_file'; callbacks.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-libressl-20200126-092715

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

  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 <==
Thu, 30 Jan 2020 00:46:24 +0000

emerge -qpvO x11-misc/e16menuedit2
[ebuild  N    ] x11-misc/e16menuedit2-0.0.3
Comment 1 Toralf Förster gentoo-dev 2020-01-30 19:10:48 UTC
Created attachment 608836 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 19:10:51 UTC
Created attachment 608838 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-30 19:10:54 UTC
Created attachment 608840 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-30 19:10:57 UTC
Created attachment 608842 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-30 19:11:00 UTC
Created attachment 608844 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-30 19:11:03 UTC
Created attachment 608846 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-30 19:11:05 UTC
Created attachment 608848 [details]
x11-misc:e16menuedit2-0.0.3:20200130-020733.log
Comment 8 Larry the Git Cow gentoo-dev 2020-10-11 08:47:35 UTC
The bug has been closed via the following commit(s):

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

commit a1ae67275707d149aaf6daba5387dcbb2d94325c
Author:     Andrew Savchenko <bircoph@gentoo.org>
AuthorDate: 2020-10-11 08:19:51 +0000
Commit:     Andrew Savchenko <bircoph@gentoo.org>
CommitDate: 2020-10-11 08:19:51 +0000

    x11-misc/e16menuedit2: fix build with -fno-common
    
    Closes: https://bugs.gentoo.org/707426
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>

 x11-misc/e16menuedit2/e16menuedit2-0.0.3.ebuild      |  7 +++++--
 .../e16menuedit2/files/e16menuedit2-no-common.patch  | 20 ++++++++++++++++++++
 2 files changed, 25 insertions(+), 2 deletions(-)