Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706896 - net-misc/astmanproxy-1.28.2 : fails to build with -fno-common or gcc-10
Summary: net-misc/astmanproxy-1.28.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: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:33 UTC by Toralf Förster
Modified: 2020-12-28 12:43 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.00 KB, text/plain)
2020-01-28 18:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,182.94 KB, text/plain)
2020-01-28 18:33 UTC, Toralf Förster
Details
environment (environment,77.41 KB, text/plain)
2020-01-28 18:33 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.56 KB, application/x-bzip)
2020-01-28 18:34 UTC, Toralf Förster
Details
net-misc:astmanproxy-1.28.2:20200128-074511.log (net-misc:astmanproxy-1.28.2:20200128-074511.log,16.77 KB, text/plain)
2020-01-28 18:34 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.15 KB, application/x-bzip)
2020-01-28 18:34 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-28 18:33:49 UTC
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -shared -Xlinker -x http.o -o http.so
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -O2 -D_REENTRANT -D_GNU_SOURCE -fPIC -Isrc/include -I/usr/include/openssl -iquotesrc/include '-DPROXY_VERSION="1.28.2"' '-DCDIR="/etc/asterisk"' '-DCFILE="astmanproxy.conf"' '-DMDIR="/usr/lib64/astmanproxy/modules"' '-DPDIR="/etc/asterisk"' '-DPFILE="astmanproxy.users"' -o astmanproxy -Wl,-E astmanproxy.o config.o config_perms.o common.o proxyfunc.o log.o ssl.o md5.o -lssl -ldl -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: config.o:(.bss+0x0): multiple definition of `pc'; astmanproxy.o:(.bss+0x180): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: config_perms.o:(.bss+0x0): multiple definition of `pc'; astmanproxy.o:(.bss+0x180): first defined here

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

  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

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

emerge -qpvO net-misc/astmanproxy
[ebuild  N    ] net-misc/astmanproxy-1.28.2
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:33:52 UTC
Created attachment 606414 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:33:55 UTC
Created attachment 606416 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:33:58 UTC
Created attachment 606418 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:34:01 UTC
Created attachment 606420 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:34:04 UTC
Created attachment 606422 [details]
net-misc:astmanproxy-1.28.2:20200128-074511.log
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:34:07 UTC
Created attachment 606424 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-12-28 12:43:16 UTC
The bug has been closed via the following commit(s):

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

commit 91455eb096bb6f86387e6edceff58354cdb07e98
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-12-28 12:42:55 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-12-28 12:42:55 +0000

    net-misc/astmanproxy: Port to EAPI 7
    
    Closes: https://bugs.gentoo.org/706896
    Closes: https://bugs.gentoo.org/727856
    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>

 net-misc/astmanproxy/astmanproxy-1.28.2.ebuild     | 32 +++++++++-------------
 .../files/astmanproxy-1.28.2-fno-common.patch      | 11 ++++++++
 .../files/astmanproxy-1.28.2-gentoo.diff           | 32 ++++++++++++++++------
 3 files changed, 47 insertions(+), 28 deletions(-)