208 | return write(fileno(file), buf, count); | ^~~~~ | fwrite x86_64-pc-linux-gnu-gcc -o linksys-tftp -O2 -pipe -march=native -fno-common -I. -Dsin=sin_x main.o tftp.o tftpsubs.o -Wl,-O1 -Wl,--as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tftp.o:(.bss+0x120): multiple definition of `toplevel'; main.o:(.bss+0x80): first defined here collect2: error: ld returned 1 exit status ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd-libressl-20200125-150902 ------------------------------------------------------------------- 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: *) IcedTea JDK 3.14.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Tue, 28 Jan 2020 20:26:24 +0000 emerge -qpvO net-ftp/linksys-tftp [ebuild N ] net-ftp/linksys-tftp-1.2.1-r3
Created attachment 607280 [details] emerge-info.txt
Created attachment 607282 [details] emerge-history.txt
Created attachment 607284 [details] environment
Created attachment 607286 [details] etc.portage.tbz2
Created attachment 607288 [details] net-ftp:linksys-tftp-1.2.1-r3:20200128-212811.log
Created attachment 607290 [details] temp.tbz2
*** Bug 721228 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bbce1aa65668a27a99be58a006ada7694ecea59 commit 1bbce1aa65668a27a99be58a006ada7694ecea59 Author: Stephan Hartmann <sultan@gentoo.org> AuthorDate: 2021-01-05 15:09:55 +0000 Commit: Stephan Hartmann <sultan@gentoo.org> CommitDate: 2021-01-06 20:58:13 +0000 net-ftp/linksys-tftp: fix -fno-common and clang build, EAPI 7 Closes: https://bugs.gentoo.org/707040 Closes: https://bugs.gentoo.org/731218 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Stephan Hartmann <sultan@gentoo.org> .../files/linksys-tftp-1.2.1-r1-clang.patch | 196 +++++++++++++++++++++ .../files/linksys-tftp-1.2.1-r1-fno-common.patch | 11 ++ net-ftp/linksys-tftp/linksys-tftp-1.2.1-r3.ebuild | 21 +-- 3 files changed, 218 insertions(+), 10 deletions(-)