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

Bug 706806

Summary: net-misc/dibbler-1.0.1 - ld: ./Port-linux/libLowLevel.a(libLowLevel_a-interface.o):.../work/dibbler-1.0.1/Port-linux/interface.h:27: multiple definition of `interface_do_message'
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: Current packagesAssignee: Bernard Cafarelli <voyageur>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: net-misc:dibbler-1.0.1:20200127-203134.log
dibbler-1.0.1-fno-common.patch

Description Jeroen Roovers (RETIRED) gentoo-dev 2020-01-28 14:02:11 UTC
Created attachment 605884 [details]
net-misc:dibbler-1.0.1:20200127-203134.log

/usr/lib/gcc/hppa2.0-unknown-linux-gnu/9.2.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: ./Port-linux/libLowLevel.a(libLowLevel_a-interface.o):/var/tmp/portage/net-misc/dibbler-1.0.1/work/dibbler-1.0.1/Port-linux/interface.h:27: multiple definition of `interface_do_message'; ./Port-linux/libLowLevel.a(libLowLevel_a-lowlevel-linux-link-state.o):/var/tmp/portage/net-misc/dibbler-1.0.1/work/dibbler-1.0.1/Port-linux/interface.h:27: first defined here
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/9.2.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: ./Port-linux/libLowLevel.a(libLowLevel_a-interface.o):/var/tmp/portage/net-misc/dibbler-1.0.1/work/dibbler-1.0.1/Port-linux/interface.h:26: multiple definition of `interface_auto_up'; ./Port-linux/libLowLevel.a(libLowLevel_a-lowlevel-linux-link-state.o):/var/tmp/portage/net-misc/dibbler-1.0.1/work/dibbler-1.0.1/Port-linux/interface.h:26: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:629: dibbler-client] Error 1
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-01-28 14:11:37 UTC
Created attachment 605886 [details, diff]
dibbler-1.0.1-fno-common.patch
Comment 2 Larry the Git Cow gentoo-dev 2020-01-29 18:27:41 UTC
The bug has been closed via the following commit(s):

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

commit bc9b86c732208adfb737b9431a2bb02289f44f1f
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-01-29 18:26:47 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-01-29 18:27:00 +0000

    net-misc/dibbler: fix build with -fno-common
    
    Thanks jer for patch
    
    Closes: https://bugs.gentoo.org/706806
    Package-Manager: Portage-2.3.86, Repoman-2.3.20
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 net-misc/dibbler/dibbler-1.0.1.ebuild              |  3 ++-
 .../dibbler/files/dibbler-1.0.1-fno-common.patch   | 25 ++++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletion(-)