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

Bug 829633

Summary: net-analyzer/arpwatch-3.1-r4 - dns.c:(.text+<snip>): undefined reference to _getshort
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo, netmon
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-analyzer:arpwatch-3.1-r4:20211219-175500.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-12-19 18:33:03 UTC
too long lines were shrinked:

x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2   -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_
x86_64-gentoo-linux-musl-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L/usr/local/lib -o arpwatch arpwatch.o db.o dns.o ec.o file.o intoa.o machdep.o util.o report.o setsignal.o version.o  -lresolv  -lpcap
x86_64-gentoo-linux-musl-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L/usr/local/lib -o arpsnmp arpsnmp.o db.o dns.o ec.o file.o intoa.o machdep.o util.o report.o setsignal.o version.o  -lresolv 
/usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: dns.o: in function `gethinfo':
dns.c:(.text+0xbb): undefined reference to `_getshort'
/usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: dns.c:(.text+0xc8): undefined reference to `_getshort'
collect2: error: ld returned 1 exit status

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20211218-140106

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.57.0
  [2]   rust-1.57.0 *
php cli:

  HEAD of ::gentoo
commit c87847c867e3ba2849e076f8a477c46c07ad2715
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Dec 19 16:51:47 2021 +0000

    2021-12-19 16:51:46 UTC

emerge -qpvO net-analyzer/arpwatch
[ebuild  N    ] net-analyzer/arpwatch-3.1-r4  USE="(-selinux)"
Comment 1 Toralf Förster gentoo-dev 2021-12-19 18:33:04 UTC
Created attachment 759792 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-19 18:33:06 UTC
Created attachment 759793 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-19 18:33:07 UTC
Created attachment 759794 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-19 18:33:08 UTC
Created attachment 759795 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-19 18:33:09 UTC
Created attachment 759796 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-19 18:33:10 UTC
Created attachment 759797 [details]
net-analyzer:arpwatch-3.1-r4:20211219-175500.log
Comment 7 Toralf Förster gentoo-dev 2021-12-19 18:33:11 UTC
Created attachment 759798 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-05 08:42:41 UTC
*** Bug 870847 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2023-12-05 10:32:48 UTC
The bug has been closed via the following commit(s):

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

commit e2b221825348c4264fc6cb7420d391d1d0110a09
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-05 08:50:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-05 10:32:04 +0000

    net-analyzer/arpwatch: add 3.5
    
    Closes: https://bugs.gentoo.org/829633
    Signed-off-by: Sam James <sam@gentoo.org>

 net-analyzer/arpwatch/Manifest                     |  1 +
 net-analyzer/arpwatch/arpwatch-3.5.ebuild          | 83 ++++++++++++++++++++++
 .../0001-Fix-configure-check-for-time.h.patch      | 36 ++++++++++
 ...void-using-undocumented-internals-for-DNS.patch | 35 +++++++++
 4 files changed, 155 insertions(+)
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-08 09:50:40 UTC
*** Bug 919440 has been marked as a duplicate of this bug. ***