Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707296 - x11-plugins/wminet-3.0.0-r2 : fails to build with -fno-common or gcc-10
Summary: x11-plugins/wminet-3.0.0-r2 : 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: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common gcc-10-stable
  Show dependency tree
 
Reported: 2020-01-29 20:04 UTC by Toralf Förster
Modified: 2021-01-01 21:53 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.46 KB, text/plain)
2020-01-29 20:04 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,245.72 KB, text/plain)
2020-01-29 20:04 UTC, Toralf Förster
Details
environment (environment,51.40 KB, text/plain)
2020-01-29 20:04 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.83 KB, application/x-bzip)
2020-01-29 20:04 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,1.82 KB, application/x-bzip)
2020-01-29 20:04 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,15.24 KB, application/x-bzip)
2020-01-29 20:04 UTC, Toralf Förster
Details
x11-plugins:wminet-3.0.0-r2:20200129-194858.log (x11-plugins:wminet-3.0.0-r2:20200129-194858.log,10.24 KB, text/plain)
2020-01-29 20:04 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 20:04:32 UTC
wminet.c:432:4: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
  432 |    fgets( buf, sizeof(buf), fp );
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc  -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o wminet  misc.o list.o wmgeneral.o wminet.o  -lXpm -lXext -lX11 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: wminet.o:(.bss+0x1060): multiple definition of `display'; wmgeneral.o:(.bss+0x1e8): 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
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 29 Jan 2020 18:52:13 +0000

emerge -qpvO x11-plugins/wminet
[ebuild  N    ] x11-plugins/wminet-3.0.0-r2
Comment 1 Toralf Förster gentoo-dev 2020-01-29 20:04:35 UTC
Created attachment 608434 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 20:04:38 UTC
Created attachment 608436 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 20:04:41 UTC
Created attachment 608438 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 20:04:43 UTC
Created attachment 608440 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 20:04:46 UTC
Created attachment 608442 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 20:04:49 UTC
Created attachment 608444 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-29 20:04:52 UTC
Created attachment 608446 [details]
x11-plugins:wminet-3.0.0-r2:20200129-194858.log
Comment 8 Larry the Git Cow gentoo-dev 2021-01-01 21:53:53 UTC
The bug has been closed via the following commit(s):

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

commit 87cc63f928f9542b8d114f18e32c8df1377515dd
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2021-01-01 21:53:28 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2021-01-01 21:53:39 +0000

    x11-plugins/wminet: fix build with -fno-common
    
    Closes: https://bugs.gentoo.org/707296
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 .../wminet/files/wminet-3.0.0-fno-common.patch     | 23 ++++++++++++++++++++++
 x11-plugins/wminet/wminet-3.0.0-r2.ebuild          |  6 ++++--
 2 files changed, 27 insertions(+), 2 deletions(-)