Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710948 - dev-python/thunarx-python-0.5.1-r1 : fails to build with -fno-common or gcc-10
Summary: dev-python/thunarx-python-0.5.1-r1 : 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: XFCE Team
URL: https://git.xfce.org/bindings/thunarx...
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-27 17:53 UTC by Toralf Förster
Modified: 2020-11-30 21:40 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.91 KB, text/plain)
2020-02-27 17:53 UTC, Toralf Förster
Details
dev-python:thunarx-python-0.5.1-r1:20200227-010143.log (dev-python:thunarx-python-0.5.1-r1:20200227-010143.log,22.06 KB, text/plain)
2020-02-27 17:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,222.56 KB, text/plain)
2020-02-27 17:53 UTC, Toralf Förster
Details
environment (environment,82.86 KB, text/plain)
2020-02-27 17:53 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,41.51 KB, application/x-bzip)
2020-02-27 17:53 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.76 KB, application/x-bzip)
2020-02-27 17:53 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.07 KB, application/x-bzip)
2020-02-27 17:53 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-27 17:53:40 UTC
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DDATADIR=\"/usr/share\" -DG_LOG_DOMAIN=\"thunarx-python\" -DEXO_API_SUBJECT_TO_CHANGE -DLIBEXECDIR=\"/usr/libexec\" -DPY_LIB_LOC=\"/usr/lib64\" -DPYTHON_LIB_NAME=\"python3.6m\" -DTHUNARX_API_VERSION=3 -DGI_TYPELIB_PATH=\"/usr/lib64/girepository-1.0\" -DNDEBUG -I/usr/include/thunarx-3 -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 -I/usr/include/python3.6m -I/usr/include/python3.6m -I/usr/include/pygobject-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c thunarx-python-object.c  -fPIC -DPIC -o .libs/thunarx_python_la-thunarx-python-object.o
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/thunarx-3 -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   -I/usr/include/python3.6m -I/usr/include/python3.6m -I/usr/include/pygobject-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include 							 -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -avoid-version -module   -I/usr/include/pygobject-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include 						 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--as-needed -Wl,-O1 -o thunarx-python.la -rpath /usr/lib64/thunarx-3 thunarx_python_la-thunarx-python.lo thunarx_python_la-thunarx-python-object.lo -lthunarx-3 -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  -L/usr/lib64 -lpython3.6m -lpthread -ldl  -lutil -lm  -Xlinker -export-dynamic -lgobject-2.0 -lglib-2.0 						 
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/thunarx_python_la-thunarx-python.o .libs/thunarx_python_la-thunarx-python-object.o   -lthunarx-3 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -L/usr/lib64 -lpython3.6m -lpthread -ldl -lutil -lm -lgobject-2.0 -lglib-2.0  -pthread -O2 -march=native -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--as-needed -Wl,-O1 -Wl,-export-dynamic   -pthread -Wl,-soname -Wl,thunarx-python.so -o .libs/thunarx-python.so
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:(.bss+0x0): multiple definition of `_PyGObject_API'; .libs/thunarx_python_la-thunarx-python.o:(.bss+0x60): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:(.bss+0x28): multiple definition of `_PyThunarxPropertyPage_Type'; .libs/thunarx_python_la-thunarx-python.o:(.bss+0x28): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-20200221-171645

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

  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:
*)	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 <==
Wed, 26 Feb 2020 23:37:19 +0000

emerge -qpvO dev-python/thunarx-python
[ebuild  N    ] dev-python/thunarx-python-0.5.1-r1  PYTHON_SINGLE_TARGET="python3_6"
Comment 1 Toralf Förster gentoo-dev 2020-02-27 17:53:43 UTC
Created attachment 616202 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-27 17:53:45 UTC
Created attachment 616204 [details]
dev-python:thunarx-python-0.5.1-r1:20200227-010143.log
Comment 3 Toralf Förster gentoo-dev 2020-02-27 17:53:48 UTC
Created attachment 616206 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-27 17:53:51 UTC
Created attachment 616208 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-27 17:53:54 UTC
Created attachment 616210 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-27 17:53:57 UTC
Created attachment 616212 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-27 17:53:59 UTC
Created attachment 616214 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-11-30 21:40:13 UTC
The bug has been closed via the following commit(s):

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

commit 31417f07a98effb61b2dc51f9ce9da0b0d3360b5
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-11-30 21:39:45 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-30 21:39:45 +0000

    dev-python/thunarx-python: port to EAPI 7
    
    * Fix build with gcc-10. Thanks to Sam James for providing the patch
      link
    
    Closes: https://bugs.gentoo.org/710948
    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>

 .../files/thunarx-python-0.5.1-fno-common.patch    | 85 ++++++++++++++++++++++
 .../thunarx-python/thunarx-python-0.5.1-r1.ebuild  | 15 ++--
 2 files changed, 93 insertions(+), 7 deletions(-)