Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707456 - net-wireless/wepdecrypt-0.8-r2 : fails to build with -fno-common or gcc-10
Summary: net-wireless/wepdecrypt-0.8-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: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-30 19:18 UTC by Toralf Förster
Modified: 2021-02-09 16:59 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.60 KB, text/plain)
2020-01-30 19:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,166.06 KB, text/plain)
2020-01-30 19:18 UTC, Toralf Förster
Details
environment (environment,21.39 KB, text/plain)
2020-01-30 19:18 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.43 KB, application/x-bzip)
2020-01-30 19:18 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.61 KB, application/x-bzip)
2020-01-30 19:18 UTC, Toralf Förster
Details
net-wireless:wepdecrypt-0.8-r2:20200130-101353.log (net-wireless:wepdecrypt-0.8-r2:20200130-101353.log,12.44 KB, text/plain)
2020-01-30 19:18 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,9.42 KB, application/x-bzip)
2020-01-30 19:18 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-30 19:18:00 UTC
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -D__LINUX_WLAN__ -D__I386__ -c -o md5_digest.o md5_digest.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o wepdecrypt wepdecrypt.o rc4.o wepfilter.o log.o \
modes.o misc.o md5_digest.o  wepserver.o wepclient.o verify.o keygen.o localkeygen.o -lcrypto -lz -lpcap 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: wepfilter.o:(.bss+0x0): multiple definition of `server_mode'; wepdecrypt.o:(.bss+0x14): 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_systemd-20200126-201521

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

  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.6
  [3]   python3.7 (fallback)
  [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 <==
Thu, 30 Jan 2020 09:51:31 +0000

emerge -qpvO net-wireless/wepdecrypt
[ebuild  N    ] net-wireless/wepdecrypt-0.8-r2  USE="-X"
Comment 1 Toralf Förster gentoo-dev 2020-01-30 19:18:02 UTC
Created attachment 609040 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 19:18:05 UTC
Created attachment 609042 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-30 19:18:08 UTC
Created attachment 609044 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-30 19:18:11 UTC
Created attachment 609046 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-30 19:18:14 UTC
Created attachment 609048 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-30 19:18:16 UTC
Created attachment 609050 [details]
net-wireless:wepdecrypt-0.8-r2:20200130-101353.log
Comment 7 Toralf Förster gentoo-dev 2020-01-30 19:18:19 UTC
Created attachment 609052 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2021-02-09 16:59:43 UTC
The bug has been closed via the following commit(s):

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

commit eb68df8871ef3e986e2e6683a30632a21b22195c
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-01 18:06:48 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2021-02-09 16:59:25 +0000

    net-wireless/wepdecrypt: Fix build with gcc-10
    
    Closes: https://bugs.gentoo.org/707456
    Closes: https://bugs.gentoo.org/731722
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 .../wepdecrypt/files/wepdecrypt-0.8-buffer.patch   |  4 ++--
 .../wepdecrypt/files/wepdecrypt-0.8-build.patch    |  5 ++---
 .../wepdecrypt/files/wepdecrypt-0.8-dyn.patch      |  2 --
 .../wepdecrypt/files/wepdecrypt-0.8-fltk.patch     |  5 -----
 .../files/wepdecrypt-0.8-fno-common.patch          | 12 ++++++++++++
 net-wireless/wepdecrypt/wepdecrypt-0.8-r2.ebuild   | 22 ++++++++++++++++------
 6 files changed, 32 insertions(+), 18 deletions(-)