Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706806 - 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'
Summary: net-misc/dibbler-1.0.1 - ld: ./Port-linux/libLowLevel.a(libLowLevel_a-interfa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 14:02 UTC by Jeroen Roovers
Modified: 2020-01-29 18:27 UTC (History)
0 users

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


Attachments
net-misc:dibbler-1.0.1:20200127-203134.log (net-misc:dibbler-1.0.1:20200127-203134.log,134.60 KB, text/plain)
2020-01-28 14:02 UTC, Jeroen Roovers
Details
dibbler-1.0.1-fno-common.patch (dibbler-1.0.1-fno-common.patch,562 bytes, patch)
2020-01-28 14:11 UTC, Jeroen Roovers
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers 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 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(-)