Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 707432

Summary: net-misc/aget-0.4.1-r2 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: sam, treecleaner
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764, 762907    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
net-misc:aget-0.4.1-r2:20200130-032940.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-30 19:12:13 UTC
Resume.c:77:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
   77 |  fread(h, sizeof(struct hist_data), 1, fp);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -pthread  main.o Aget.o Misc.o Head.o Signal.o Download.o Resume.o -o aget
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: Aget.o:(.bss+0x8): multiple definition of `t_start'; main.o:(.bss+0xc8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: Aget.o:(.bss+0x0): multiple definition of `t_finish'; main.o:(.bss+0xc0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-libressl-20200125-183534

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

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

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 30 Jan 2020 02:49:59 +0000

emerge -qpvO net-misc/aget
[ebuild  N    ] net-misc/aget-0.4.1-r2
Comment 1 Toralf Förster gentoo-dev 2020-01-30 19:12:16 UTC
Created attachment 608878 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 19:12:19 UTC
Created attachment 608880 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-30 19:12:22 UTC
Created attachment 608882 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-30 19:12:25 UTC
Created attachment 608884 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-30 19:12:28 UTC
Created attachment 608886 [details]
net-misc:aget-0.4.1-r2:20200130-032940.log
Comment 6 Toralf Förster gentoo-dev 2020-01-30 19:12:31 UTC
Created attachment 608888 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2021-01-02 12:40:14 UTC
The bug has been closed via the following commit(s):

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

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

    net-misc/aget: Port to EAPI 7
    
    Closes: https://github.com/gentoo/gentoo/pull/18907
    Closes: https://bugs.gentoo.org/707432
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-misc/aget/aget-0.4.1-r2.ebuild                 | 11 +---
 net-misc/aget/files/aget-0.4.1-fno-common.patch    | 66 ++++++++++++++++++++++
 ...et-0.4.1-r1.patch => aget-0.4.1-overflow.patch} |  4 +-
 3 files changed, 71 insertions(+), 10 deletions(-)