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

Bug 717202

Summary: net-dns/dnstop-20140915-r2 : dnstop.c: error: const struct udphdr has no member named dest
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: hendrik, proxy-maint
Priority: Normal Keywords: PATCH, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://git.alpinelinux.org/aports/tree/main/dnstop/musl-fix.patch
See Also: https://github.com/gentoo/gentoo/pull/33108
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-dns:dnstop-20140915-r2:20200412-093007.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-04-12 09:48:38 UTC
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native  -DUSE_IPV6=1   -c -o dnstop.o dnstop.c
dnstop.c: In function handle_udp:
dnstop.c:661:40: error: const struct udphdr has no member named dest
  661 |     if (check_port && check_port != udp->uh_dport && check_port != udp->uh_sport)
      |                                        ^~
dnstop.c:661:71: error: const struct udphdr has no member named source

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
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-bin-1.42.0
  [2]   rust-1.42.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)


timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Apr 12 08:38:05 UTC 2020
/var/db/repos/musl	Wed Apr  8 18:15:58 UTC 2020

emerge -qpvO net-dns/dnstop
[ebuild  N    ] net-dns/dnstop-20140915-r2
Comment 1 Toralf Förster gentoo-dev 2020-04-12 09:48:41 UTC
Created attachment 632440 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-12 09:48:44 UTC
Created attachment 632442 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-12 09:48:47 UTC
Created attachment 632444 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-12 09:48:49 UTC
Created attachment 632446 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-12 09:48:52 UTC
Created attachment 632448 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-12 09:48:55 UTC
Created attachment 632450 [details]
net-dns:dnstop-20140915-r2:20200412-093007.log
Comment 7 Toralf Förster gentoo-dev 2020-04-12 09:48:58 UTC
Created attachment 632452 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2023-11-19 11:21:16 UTC
The bug has been closed via the following commit(s):

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

commit 64a6be1aa26c3736e84f2956dd634a44dc2bb98b
Author:     Michael Mair-Keimberger <mmk@levelnine.at>
AuthorDate: 2023-09-28 17:33:07 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2023-11-19 11:21:10 +0000

    net-dns/dnstop: EAPI8 bump, update HOMEPAGE, SRC_URI, fix #717202
    
    Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
    
    Closes: https://bugs.gentoo.org/717202
    Bug: https://bugs.gentoo.org/907753
    [Paths in patch adjusted.]
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 net-dns/dnstop/dnstop-20140915-r3.ebuild           | 39 ++++++++++++++++++++++
 .../dnstop/files/dnstop-20140915-musl-fix.patch    | 16 +++++++++
 net-dns/dnstop/metadata.xml                        |  2 ++
 3 files changed, 57 insertions(+)