Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706956 - dev-python/pymountboot-0.2.2 : fails to build with -fno-common or gcc-10
Summary: dev-python/pymountboot-0.2.2 : 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: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:48 UTC by Toralf Förster
Modified: 2020-05-24 10:33 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.13 KB, text/plain)
2020-01-28 18:48 UTC, Toralf Förster
Details
dev-python:pymountboot-0.2.2:20200128-140121.log (dev-python:pymountboot-0.2.2:20200128-140121.log,6.50 KB, text/plain)
2020-01-28 18:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,194.64 KB, text/plain)
2020-01-28 18:48 UTC, Toralf Förster
Details
environment (environment,112.59 KB, text/plain)
2020-01-28 18:48 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.71 KB, application/x-bzip)
2020-01-28 18:48 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.61 KB, application/x-bzip)
2020-01-28 18:48 UTC, Toralf Förster
Details
0001-Fix-GCC-10-compiling-fno-common.patch (0001-Fix-GCC-10-compiling-fno-common.patch,626 bytes, patch)
2020-05-24 10:23 UTC, Azamat H. Hackimov
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-01-28 18:48:17 UTC
x86_64-pc-linux-gnu-gcc -fno-strict-aliasing -O2 -pipe -march=native -fno-common -fwrapv -DNDEBUG -O2 -pipe -march=native -fno-common -fno-strict-aliasing -fPIC -I/usr/include/python2.7 -c src/module.c -o /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/temp.linux-x86_64-2.7/src/module.o -I/usr/include/libmount -I/usr/include/blkid
x86_64-pc-linux-gnu-gcc -fno-strict-aliasing -O2 -pipe -march=native -fno-common -fwrapv -DNDEBUG -O2 -pipe -march=native -fno-common -fno-strict-aliasing -fPIC -I/usr/include/python2.7 -c src/module2.c -o /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/temp.linux-x86_64-2.7/src/module2.o -I/usr/include/libmount -I/usr/include/blkid
x86_64-pc-linux-gnu-gcc -fno-strict-aliasing -O2 -pipe -march=native -fno-common -fwrapv -DNDEBUG -O2 -pipe -march=native -fno-common -fno-strict-aliasing -fPIC -I/usr/include/python2.7 -c src/module3.c -o /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/temp.linux-x86_64-2.7/src/module3.o -I/usr/include/libmount -I/usr/include/blkid
x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -fno-common -fno-strict-aliasing /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/temp.linux-x86_64-2.7/src/pymountboot.o /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/temp.linux-x86_64-2.7/src/module.o /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/temp.linux-x86_64-2.7/src/module2.o /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/temp.linux-x86_64-2.7/src/module3.o -L/usr/lib64 -lpython2.7 -o /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/lib/pymountboot.so -lmount
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/temp.linux-x86_64-2.7/src/module.o:(.bss+0x0): multiple definition of `BootMountpointType'; /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/temp.linux-x86_64-2.7/src/pymountboot.o:(.data.rel.local+0x80): first defined here
collect2: error: ld returned 1 exit status

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200124-204141

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

  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:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 12:46:19 +0000

emerge -qpvO dev-python/pymountboot
[ebuild  N    ] dev-python/pymountboot-0.2.2  PYTHON_TARGETS="python2_7 python3_6 -python3_7"
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:48:19 UTC
Created attachment 606824 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:48:23 UTC
Created attachment 606826 [details]
dev-python:pymountboot-0.2.2:20200128-140121.log
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:48:26 UTC
Created attachment 606828 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:48:29 UTC
Created attachment 606830 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:48:32 UTC
Created attachment 606832 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:48:35 UTC
Created attachment 606834 [details]
temp.tbz2
Comment 7 Azamat H. Hackimov 2020-05-24 10:22:08 UTC
https://github.com/mgorny/pymountboot/pull/1
Comment 8 Azamat H. Hackimov 2020-05-24 10:23:17 UTC
Created attachment 641356 [details, diff]
0001-Fix-GCC-10-compiling-fno-common.patch
Comment 9 Larry the Git Cow gentoo-dev 2020-05-24 10:33:02 UTC
The bug has been closed via the following commit(s):

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

commit d1d1b93c210fa2626e6e2abf3e93a1831503fd42
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-05-24 10:32:06 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-05-24 10:32:58 +0000

    dev-python/pymountboot: Bump to 0.2.3
    
    Closes: https://bugs.gentoo.org/706956
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/pymountboot/Manifest                 |  1 +
 dev-python/pymountboot/pymountboot-0.2.3.ebuild | 23 +++++++++++++++++++++++
 2 files changed, 24 insertions(+)