Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708420 - net-proxy/squidguard-1.6.0 : fails to build with -fno-common or gcc-10
Summary: net-proxy/squidguard-1.6.0 : 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: Sergey Popov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-05 21:15 UTC by Toralf Förster
Modified: 2020-03-08 17:24 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.06 KB, text/plain)
2020-02-05 21:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,125.17 KB, text/plain)
2020-02-05 21:15 UTC, Toralf Förster
Details
environment (environment,82.97 KB, text/plain)
2020-02-05 21:15 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.25 KB, application/x-bzip)
2020-02-05 21:15 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,16.97 KB, application/x-bzip)
2020-02-05 21:15 UTC, Toralf Förster
Details
net-proxy:squidguard-1.6.0:20200205-211050.log (net-proxy:squidguard-1.6.0:20200205-211050.log,15.20 KB, text/plain)
2020-02-05 21:15 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.73 KB, application/x-bzip)
2020-02-05 21:15 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-02-05 21:15:09 UTC
 2581 |   if (strlen(domain)+strlen(suffix)+1>MAX_BUF)
      |       ^~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -I.. -I. -I. -I/usr/include/db5.3 -I/usr/include -DHAVE_CONFIG_H -O2 -pipe -march=native -fno-common -DLDAP_DEPRECATED -I/usr/include/db5.3 -I/usr/include -c lex.yy.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L/usr/local/BerkeleyDB/lib -L/usr/lib -o squidGuard main.o sgLog.o sgDb.o HTParse.o sgDiv.o sgFree.o y.tab.o lex.yy.o -lpthread  -lldap -L/usr/lib -ldb-5.3
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sgLog.o:(.bss+0x0): multiple definition of `lineno'; main.o:(.bss+0x108): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sgLog.o:(.bss+0x8): multiple definition of `progname'; main.o:(.bss+0x110): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-libressl-20200202-211607

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

  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.41.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 05 Feb 2020 20:08:58 +0000

emerge -qpvO net-proxy/squidguard
[ebuild  N    ] net-proxy/squidguard-1.6.0  USE="ldap"
Comment 1 Toralf Förster gentoo-dev 2020-02-05 21:15:12 UTC
Created attachment 612036 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-05 21:15:14 UTC
Created attachment 612038 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-05 21:15:17 UTC
Created attachment 612040 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-05 21:15:20 UTC
Created attachment 612042 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-05 21:15:23 UTC
Created attachment 612044 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-05 21:15:25 UTC
Created attachment 612046 [details]
net-proxy:squidguard-1.6.0:20200205-211050.log
Comment 7 Toralf Förster gentoo-dev 2020-02-05 21:15:28 UTC
Created attachment 612048 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-03-08 17:24:51 UTC
The bug has been closed via the following commit(s):

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

commit f66de12b306604b21464672b1d477c9d92e82618
Author:     Sergey Popov <pinkbyte@gentoo.org>
AuthorDate: 2020-03-08 17:23:26 +0000
Commit:     Sergey Popov <pinkbyte@gentoo.org>
CommitDate: 2020-03-08 17:24:44 +0000

    net-proxy/squidguard-1.6.0: fix building with -fno-common
    
    Closes: https://bugs.gentoo.org/708420
    Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>
    Package-Manager: Portage-2.3.89, Repoman-2.3.11

 .../squidguard/files/squidguard-1.6.0-gcc-10.patch | 54 ++++++++++++++++++++++
 net-proxy/squidguard/squidguard-1.6.0.ebuild       |  3 +-
 2 files changed, 56 insertions(+), 1 deletion(-)