Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717202 - net-dns/dnstop-20140915-r2 : dnstop.c: error: const struct udphdr has no member named dest
Summary: net-dns/dnstop-20140915-r2 : dnstop.c: error: const struct udphdr has no memb...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL: https://git.alpinelinux.org/aports/tr...
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2020-04-12 09:48 UTC by Toralf Förster
Modified: 2023-11-19 11:21 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.63 KB, text/plain)
2020-04-12 09:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,456.12 KB, text/plain)
2020-04-12 09:48 UTC, Toralf Förster
Details
environment (environment,60.95 KB, text/plain)
2020-04-12 09:48 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,33.54 KB, application/x-bzip)
2020-04-12 09:48 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.76 KB, application/x-bzip)
2020-04-12 09:48 UTC, Toralf Förster
Details
net-dns:dnstop-20140915-r2:20200412-093007.log (net-dns:dnstop-20140915-r2:20200412-093007.log,6.35 KB, text/plain)
2020-04-12 09:48 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,17.74 KB, application/x-bzip)
2020-04-12 09:48 UTC, Toralf Förster
Details

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