Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 709648

Summary: net-proxy/squirm-1.26-r1 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/19286
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764, 762907    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
net-proxy:squirm-1.26-r1:20200214-185343.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-02-14 19:22:09 UTC
   27 | extern inline void lower_case(char *str);
      |                    ^~~~~~~~~~
x86_64-pc-linux-gnu-gcc -c util.c	     -O2 -pipe -march=native -fno-common -DPREFIX=\"/opt/squirm\"
x86_64-pc-linux-gnu-gcc  -o squirm squirm.o main.o config.o log.o lists.o ip.o util.o  -Wl,-O1 -Wl,--as-needed
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o:(.bss+0x18): multiple definition of `pattern_head'; squirm.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o:(.bss+0x20): multiple definition of `subnet_head'; squirm.o:(.bss+0x8): first defined here

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

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

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

  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)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.0 *
java-config:
The following VMs are available for generation-2:
*)	AdoptOpenJDK JRE 8.242_p08 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 14 Feb 2020 17:07:36 +0000

emerge -qpvO net-proxy/squirm
[ebuild  N    ] net-proxy/squirm-1.26-r1
Comment 1 Toralf Förster gentoo-dev 2020-02-14 19:22:12 UTC
Created attachment 613842 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-14 19:22:15 UTC
Created attachment 613844 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-14 19:22:18 UTC
Created attachment 613846 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-14 19:22:20 UTC
Created attachment 613848 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-14 19:22:23 UTC
Created attachment 613850 [details]
net-proxy:squirm-1.26-r1:20200214-185343.log
Comment 6 Toralf Förster gentoo-dev 2020-02-14 19:22:26 UTC
Created attachment 613852 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2021-02-09 16:59:37 UTC
The bug has been closed via the following commit(s):

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

commit 74d0b0bc8fa86c64faedfea5624116e94076913e
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-01 11:32:45 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2021-02-09 16:59:23 +0000

    net-proxy/squirm: Port to EAPI 7
    
    * Fix build with gcc-10
    
    Closes: https://bugs.gentoo.org/709648
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 .../squirm/files/squirm-1.26-fno-common.patch      | 25 ++++++++++++++++++++++
 net-proxy/squirm/files/squirm-1.26-gentoo.patch    |  5 ++---
 net-proxy/squirm/metadata.xml                      |  2 +-
 net-proxy/squirm/squirm-1.26-r1.ebuild             |  8 +++----
 4 files changed, 32 insertions(+), 8 deletions(-)