Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708372 - net-vpn/vtun-3.0.3-r1 : fails to build with -fno-common or gcc-10
Summary: net-vpn/vtun-3.0.3-r1 : 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
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: -fno-common gcc-10-stable
  Show dependency tree
 
Reported: 2020-02-05 18:10 UTC by Toralf Förster
Modified: 2021-01-12 10:49 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.77 KB, text/plain)
2020-02-05 18:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,250.29 KB, text/plain)
2020-02-05 18:10 UTC, Toralf Förster
Details
environment (environment,71.86 KB, text/plain)
2020-02-05 18:10 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.06 KB, application/x-bzip)
2020-02-05 18:10 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.58 KB, application/x-bzip)
2020-02-05 18:10 UTC, Toralf Förster
Details
net-vpn:vtun-3.0.3-r1:20200204-232936.log (net-vpn:vtun-3.0.3-r1:20200204-232936.log,23.14 KB, text/plain)
2020-02-05 18:10 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,20.83 KB, application/x-bzip)
2020-02-05 18:10 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 18:10:12 UTC
vtun.h:234:13: warning: inline function ‘clear_nat_hack_flags’ declared but never defined
  234 | inline void clear_nat_hack_flags(int svr);
      |             ^~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common  -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -o vtund main.o cfg_file.tab.o cfg_file.lex.o server.o client.o lib.o llist.o auth.o tunnel.o lock.o netlib.o tun_dev.o tap_dev.o pty_dev.o pipe_dev.o tcp_proto.o udp_proto.o linkfd.o lfd_shaper.o lfd_zlib.o lfd_lzo.o lfd_encrypt.o lfd_legacy_encrypt.o  -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -lbsd  -lz -lcrypto
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lfd_legacy_encrypt.o:(.bss+0x0): multiple definition of `enc_buf'; lfd_encrypt.o:(.bss+0x78): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lfd_legacy_encrypt.o:(.bss+0x20): multiple definition of `key'; lfd_encrypt.o:(.bss+0x80): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20200129-211601

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

  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:
1)	IcedTea JDK 3.15.0 [icedtea-8]
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 04 Feb 2020 22:07:07 +0000

emerge -qpvO net-vpn/vtun
[ebuild  N    ] net-vpn/vtun-3.0.3-r1  USE="ssl zlib -lzo -socks5"
Comment 1 Toralf Förster gentoo-dev 2020-02-05 18:10:15 UTC
Created attachment 611830 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-05 18:10:17 UTC
Created attachment 611832 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-05 18:10:20 UTC
Created attachment 611834 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-05 18:10:23 UTC
Created attachment 611836 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-05 18:10:25 UTC
Created attachment 611838 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-05 18:10:28 UTC
Created attachment 611840 [details]
net-vpn:vtun-3.0.3-r1:20200204-232936.log
Comment 7 Toralf Förster gentoo-dev 2020-02-05 18:10:31 UTC
Created attachment 611842 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2021-01-12 10:49:16 UTC
The bug has been closed via the following commit(s):

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

commit fe3fa62844449e6a4c6d013aa06abf609f628a10
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-01-12 10:48:46 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-01-12 10:48:46 +0000

    net-vpn/vtun: Port to EAPI 7
    
    Closes: https://bugs.gentoo.org/708372
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../vtun-3.0.2-remove-config-presence-check.patch  |   4 +-
 net-vpn/vtun/files/vtun-3.0.3-C99-inline.patch     |  49 +++
 net-vpn/vtun/files/vtun-3.0.3-fno-common.patch     |  25 ++
 net-vpn/vtun/files/vtun-3.0.3-gcc5.patch           |   6 +-
 net-vpn/vtun/files/vtun-3.0.3-includes.patch       |  24 +-
 net-vpn/vtun/files/vtun-libssl-1.1.patch           | 458 ++++++++++-----------
 .../{vtun-3.0.3-r1.ebuild => vtun-3.0.3-r2.ebuild} |  44 +-
 7 files changed, 342 insertions(+), 268 deletions(-)