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

Bug 707276

Summary: net-dialup/kpnadsl4linux-1.11 : 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 Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/18908
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-dialup:kpnadsl4linux-1.11:20200129-181539.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-29 18:42:51 UTC
adslstatus.c:444:4: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
  444 |  { fgets(buffer,80,fp);
      |    ^~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed adsl.o adslstatus.o -o adsl
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: adslstatus.o:(.bss+0x1c8): multiple definition of `tmNow'; adsl.o:(.bss+0x8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: adslstatus.o:(.bss+0x1c0): multiple definition of `uid'; adsl.o:(.bss+0x0): first defined here

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

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

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 29 Jan 2020 18:06:29 +0000

emerge -qpvO net-dialup/kpnadsl4linux
[ebuild  N    ] net-dialup/kpnadsl4linux-1.11
Comment 1 Toralf Förster gentoo-dev 2020-01-29 18:42:54 UTC
Created attachment 608352 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 18:42:57 UTC
Created attachment 608354 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 18:43:00 UTC
Created attachment 608356 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 18:43:03 UTC
Created attachment 608358 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 18:43:06 UTC
Created attachment 608360 [details]
net-dialup:kpnadsl4linux-1.11:20200129-181539.log
Comment 6 Toralf Förster gentoo-dev 2020-01-29 18:43:09 UTC
Created attachment 608362 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2021-01-02 14:26:35 UTC
The bug has been closed via the following commit(s):

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

commit 3cfa87436e51cd873c1c222212db8eb794d49288
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-01-02 14:26:23 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-01-02 14:26:23 +0000

    net-dialup/kpnadsl4linux: Port to EAPI 7
    
    Closes: https://github.com/gentoo/gentoo/pull/18908
    Closes: https://bugs.gentoo.org/670402
    Closes: https://bugs.gentoo.org/707276
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../files/kpnadsl4linux-1.11-Makefile.patch        | 12 +++++------
 .../files/kpnadsl4linux-1.11-fno-common.patch      | 13 +++++++++++
 net-dialup/kpnadsl4linux/kpnadsl4linux-1.11.ebuild | 25 ++++++++++++----------
 3 files changed, 33 insertions(+), 17 deletions(-)