Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 728326 - dev-php/libvirt-php-0.5.5 : fails to build with -fno-common or gcc-10
Summary: dev-php/libvirt-php-0.5.5 : 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
Assignee: Virtualization Team
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-06-15 07:40 UTC by Toralf Förster
Modified: 2021-03-03 17:40 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.49 KB, text/plain)
2020-06-15 07:40 UTC, Toralf Förster
Details
dev-php:libvirt-php-0.5.5:20200615-040325.log (dev-php:libvirt-php-0.5.5:20200615-040325.log,32.68 KB, text/plain)
2020-06-15 07:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,286.32 KB, text/plain)
2020-06-15 07:40 UTC, Toralf Förster
Details
environment (environment,71.48 KB, text/plain)
2020-06-15 07:40 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.03 KB, application/x-bzip)
2020-06-15 07:40 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.00 KB, application/x-bzip)
2020-06-15 07:40 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.18 KB, application/x-bzip)
2020-06-15 07:40 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-06-15 07:40:05 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libvirt_php_la-libvirt-connection.o:(.bss+0x20): multiple definition of `libvirt_globals'; .libs/libvirt_php_la-libvirt-php.o:(.bss+0x40): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libvirt_php_la-libvirt-connection.o:(.bss+0x0): multiple definition of `le_libvirt_connection'; .libs/libvirt_php_la-libvirt-php.o:(.bss+0x20): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-libressl-20200607-173856

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.1
 [2] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.41.1
  [2]   rust-1.44.0 *
The following VMs are available for generation-2:
1)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.252_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   jamvm 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon 15 Jun 2020 03:05:28 AM UTC
/var/db/repos/libressl	Sun 14 Jun 2020 10:05:23 PM UTC

emerge -qpvO dev-php/libvirt-php
[ebuild  N    ] dev-php/libvirt-php-0.5.5  USE="-doc" PHP_TARGETS="php7-2 (-php5-6) (-php7-0) (-php7-1) -php7-3"
Comment 1 Toralf Förster gentoo-dev 2020-06-15 07:40:09 UTC
Created attachment 644786 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-06-15 07:40:12 UTC
Created attachment 644788 [details]
dev-php:libvirt-php-0.5.5:20200615-040325.log
Comment 3 Toralf Förster gentoo-dev 2020-06-15 07:40:15 UTC
Created attachment 644790 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-06-15 07:40:18 UTC
Created attachment 644792 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-06-15 07:40:21 UTC
Created attachment 644794 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-06-15 07:40:24 UTC
Created attachment 644796 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-06-15 07:40:27 UTC
Created attachment 644798 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2021-03-03 17:40:33 UTC
The bug has been closed via the following commit(s):

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

commit 9cbc504a56cd84ccc840a394f5ac419b5d7d68c1
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-03-02 19:50:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-03 16:51:46 +0000

    dev-php/libvirt-php: Apply gcc-10 workaround
    
    Closes: https://bugs.gentoo.org/728326
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-php/libvirt-php/libvirt-php-0.5.5.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)