Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707140 - dev-util/dwdiff-2.1.2 : fails to build with -fno-common or gcc-10
Summary: dev-util/dwdiff-2.1.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: Patrice Clement
URL:
Whiteboard:
Keywords:
Depends on: 759598
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-29 17:40 UTC by Toralf Förster
Modified: 2021-01-05 15:47 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.16 KB, text/plain)
2020-01-29 17:40 UTC, Toralf Förster
Details
dev-util:dwdiff-2.1.2:20200128-230803.log (dev-util:dwdiff-2.1.2:20200128-230803.log,6.00 KB, text/plain)
2020-01-29 17:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,101.67 KB, text/plain)
2020-01-29 17:40 UTC, Toralf Förster
Details
environment (environment,75.38 KB, text/plain)
2020-01-29 17:40 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.59 KB, application/x-bzip)
2020-01-29 17:40 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,933 bytes, application/x-bzip)
2020-01-29 17:40 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,18.85 KB, application/x-bzip)
2020-01-29 17: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-01-29 17:40:23 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Isrc -DUSE_GETTEXT -DOPTION_STRDUP=strdupA -DLOCALEDIR=\"/usr/share/locale\" -DUSE_UNICODE `pkg-config --cflags icu-uc` -DUSE_NL_LANGINFO -c -o src/util.o src/util.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Isrc -DUSE_GETTEXT -DOPTION_STRDUP=strdupA -DLOCALEDIR=\"/usr/share/locale\" -DUSE_UNICODE `pkg-config --cflags icu-uc` -DUSE_NL_LANGINFO -c -o src/tempfile.o src/tempfile.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Isrc -DUSE_GETTEXT -DOPTION_STRDUP=strdupA -DLOCALEDIR=\"/usr/share/locale\" -DUSE_UNICODE `pkg-config --cflags icu-uc` -DUSE_NL_LANGINFO -c -o src/stream.o src/stream.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o dwdiff src/doDiff.o src/diff/analyze.o src/file.o src/option.o src/unicode.o src/buffer.o src/hashtable.o src/profile.o src/dwdiff.o src/util.o src/tempfile.o src/stream.o  `pkg-config --libs icu-uc` 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/file.o:(.bss+0x0): multiple definition of `option'; src/doDiff.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/option.o:(.bss+0x0): multiple definition of `option'; src/doDiff.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl_test-20200126-104546

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

  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)
  [5]   pypy3 (fallback)

Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

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

emerge -qpvO dev-util/dwdiff
[ebuild  N    ] dev-util/dwdiff-2.1.2  USE="nls"
Comment 1 Toralf Förster gentoo-dev 2020-01-29 17:40:26 UTC
Created attachment 607458 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 17:40:29 UTC
Created attachment 607460 [details]
dev-util:dwdiff-2.1.2:20200128-230803.log
Comment 3 Toralf Förster gentoo-dev 2020-01-29 17:40:31 UTC
Created attachment 607462 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-29 17:40:34 UTC
Created attachment 607464 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-29 17:40:37 UTC
Created attachment 607466 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 17:40:40 UTC
Created attachment 607468 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-29 17:40:44 UTC
Created attachment 607470 [details]
temp.tbz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-31 05:32:07 UTC
A bump to 2.1.3 will fix this as per website: https://os.ghalkes.nl/dwdiff.html.

"dwdiff version 2.1.3 released

This release fixes compilation issues with GCC 10."
Comment 9 Larry the Git Cow gentoo-dev 2020-12-28 14:15:56 UTC
The bug has been closed via the following commit(s):

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

commit f1084565b1548a1cc7d9980c14a9fad582cba90a
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-12-28 14:15:36 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-12-28 14:15:36 +0000

    dev-util/dwdiff: Port to EAPI 7
    
    Closes: https://bugs.gentoo.org/707140
    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>

 dev-util/dwdiff/dwdiff-2.1.3.ebuild                | 31 +++++++---------------
 .../{C99-fix.patch => dwdiff-2.1.3-C99-fix.patch}  |  0
 2 files changed, 9 insertions(+), 22 deletions(-)
Comment 10 Larry the Git Cow gentoo-dev 2021-01-05 15:47:04 UTC
The bug has been referenced in the following commit(s):

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

commit 22f1eee4e3130e2687ccd1aee9585e40f35b25ef
Author:     Andreas K. Huettel <dilfridge@gentoo.org>
AuthorDate: 2021-01-05 15:18:35 +0000
Commit:     Andreas K. Huettel <dilfridge@gentoo.org>
CommitDate: 2021-01-05 15:46:44 +0000

    dev-util/dwdiff: Remove old
    
    Bug: https://bugs.gentoo.org/707140
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>

 dev-util/dwdiff/Manifest            |  1 -
 dev-util/dwdiff/dwdiff-2.1.1.ebuild | 47 -------------------------------------
 2 files changed, 48 deletions(-)