Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709404 - net-misc/proxytunnel-1.9.1-r2 : fails to build with -fno-common or gcc-10
Summary: net-misc/proxytunnel-1.9.1-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: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-12 17:35 UTC by Toralf Förster
Modified: 2020-02-12 20:23 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.02 KB, text/plain)
2020-02-12 17:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,118.60 KB, text/plain)
2020-02-12 17:36 UTC, Toralf Förster
Details
environment (environment,66.16 KB, text/plain)
2020-02-12 17:36 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.16 KB, application/x-bzip)
2020-02-12 17:36 UTC, Toralf Förster
Details
net-misc:proxytunnel-1.9.1-r2:20200212-140448.log (net-misc:proxytunnel-1.9.1-r2:20200212-140448.log,19.29 KB, text/plain)
2020-02-12 17:36 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,18.10 KB, application/x-bzip)
2020-02-12 17:36 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-12 17:35:55 UTC
ptstream.c:154:7: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  154 |  meth = SSLv23_client_method();
      |       ^
x86_64-pc-linux-gnu-gcc -o proxytunnel -O2 -pipe -march=native -fno-common -DREVISION=\"$Revision$\" -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT proxytunnel.o base64.o strlcpy.o strlcat.o strzcat.o setproctitle.o io.o http.o basicauth.o readpassphrase.o messages.o cmdline.o ntlm.o ptstream.o -Wl,-O1 -Wl,--as-needed -lssl -lcrypto 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: setproctitle.o:(.bss+0x10000): multiple definition of `args_info'; proxytunnel.o:(.bss+0x110a0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: setproctitle.o:(.bss+0x0): multiple definition of `buf'; proxytunnel.o:(.bss+0x10a0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20200209-185605

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

  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) *

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
  [2]   jamvm 
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 12 Feb 2020 12:38:06 +0000

emerge -qpvO net-misc/proxytunnel
[ebuild  N    ] net-misc/proxytunnel-1.9.1-r2  USE="-static"
Comment 1 Toralf Förster gentoo-dev 2020-02-12 17:35:58 UTC
Created attachment 613518 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-12 17:36:01 UTC
Created attachment 613520 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-12 17:36:04 UTC
Created attachment 613522 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-12 17:36:07 UTC
Created attachment 613524 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-12 17:36:10 UTC
Created attachment 613526 [details]
net-misc:proxytunnel-1.9.1-r2:20200212-140448.log
Comment 6 Toralf Förster gentoo-dev 2020-02-12 17:36:13 UTC
Created attachment 613528 [details]
temp.tbz2
Comment 7 Craig Andrews gentoo-dev 2020-02-12 20:21:44 UTC
Reported upstream at https://github.com/proxytunnel/proxytunnel/pull/43
Comment 8 Larry the Git Cow gentoo-dev 2020-02-12 20:23:09 UTC
The bug has been closed via the following commit(s):

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

commit fb5c1f37eaf25007d39f8bb30d4fde8db9564af1
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2020-02-12 20:22:39 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2020-02-12 20:23:02 +0000

    net-misc/proxytunnel: Fix building with -fno-common or gcc-10
    
    Closes: https://bugs.gentoo.org/709404
    Package-Manager: Portage-2.3.88, Repoman-2.3.20
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 .../files/proxytunnel-1.9.1-gcc-10.patch           | 128 +++++++++++++++++++++
 net-misc/proxytunnel/proxytunnel-1.9.1-r2.ebuild   |   3 +-
 2 files changed, 130 insertions(+), 1 deletion(-)