Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707472 - net-misc/uftp-4.9.8 : fails to build with -fno-common or gcc-10
Summary: net-misc/uftp-4.9.8 : 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: Azamat H. Hackimov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-30 19:25 UTC by Toralf Förster
Modified: 2020-02-07 14:25 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.60 KB, text/plain)
2020-01-30 19:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,172.52 KB, text/plain)
2020-01-30 19:25 UTC, Toralf Förster
Details
environment (environment,48.05 KB, text/plain)
2020-01-30 19:25 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.52 KB, application/x-bzip)
2020-01-30 19:25 UTC, Toralf Förster
Details
net-misc:uftp-4.9.8:20200130-123604.log (net-misc:uftp-4.9.8:20200130-123604.log,19.63 KB, text/plain)
2020-01-30 19:25 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,14.68 KB, application/x-bzip)
2020-01-30 19:25 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-30 19:25:04 UTC
  209 |         chdir("/");
      |         ^~~~~~~~~~
x86_64-pc-linux-gnu-gcc  -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS   -O2 -pipe -march=native -fno-common `getconf LFS_CFLAGS`  -c proxy_main.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS   -o uftpproxyd uftp_common.o encrypt_openssl.o proxy_loop.o proxy_upstream.o proxy_downstream.o proxy_common.o proxy_config.o proxy_init.o proxy_main.o heartbeat_send.o -lm -lcrypto
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: proxy_upstream.o:(.bss+0x0): multiple definition of `out_port'; proxy_loop.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: proxy_upstream.o:(.bss+0x4): multiple definition of `port'; proxy_loop.o:(.bss+0x4): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20200126-201521

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

  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) *
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
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 30 Jan 2020 11:31:53 +0000

emerge -qpvO net-misc/uftp
[ebuild  N    ] net-misc/uftp-4.9.8  USE="server ssl"
Comment 1 Toralf Förster gentoo-dev 2020-01-30 19:25:06 UTC
Created attachment 609146 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 19:25:11 UTC
Created attachment 609150 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-30 19:25:14 UTC
Created attachment 609152 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-30 19:25:16 UTC
Created attachment 609154 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-30 19:25:19 UTC
Created attachment 609156 [details]
net-misc:uftp-4.9.8:20200130-123604.log
Comment 6 Toralf Förster gentoo-dev 2020-01-30 19:25:22 UTC
Created attachment 609158 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-02-07 14:25:25 UTC
The bug has been closed via the following commit(s):

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

commit d8e73a98117c0c53391f13eebc4e8b08a8473d32
Author:     Azamat H. Hackimov <azamat.hackimov@gmail.com>
AuthorDate: 2020-02-06 14:34:36 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-02-07 14:22:00 +0000

    net-misc/uftp: version 4.10.1
    
    Fix GCC 10 build failure (#707472)
    Closes: https://bugs.gentoo.org/707472
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-misc/uftp/Manifest                      |  1 +
 net-misc/uftp/files/uftp-4.10.1_gcc10.patch | 14 +++++++
 net-misc/uftp/uftp-4.10.1.ebuild            | 57 +++++++++++++++++++++++++++++
 3 files changed, 72 insertions(+)