Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712348 - net-analyzer/iptraf-ng-1.1.4-r3 : src/ipfrag.c: error: struct tcphdr has no member named source
Summary: net-analyzer/iptraf-ng-1.1.4-r3 : src/ipfrag.c: error: struct tcphdr has no m...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard: mixed kernel/userspace headers?
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-13 08:23 UTC by Toralf Förster
Modified: 2020-03-22 12:40 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,14.90 KB, text/plain)
2020-03-13 08:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,23.17 KB, text/plain)
2020-03-13 08:23 UTC, Toralf Förster
Details
environment (environment,66.57 KB, text/plain)
2020-03-13 08:23 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.73 KB, application/x-bzip)
2020-03-13 08:23 UTC, Toralf Förster
Details
net-analyzer:iptraf-ng-1.1.4-r3:20200313-034018.log (net-analyzer:iptraf-ng-1.1.4-r3:20200313-034018.log,8.18 KB, text/plain)
2020-03-13 08:23 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,18.04 KB, application/x-bzip)
2020-03-13 08:23 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-03-13 08:23:20 UTC
x86_64-gentoo-linux-musl-gcc -o src/ipfrag.o -c -MF src/.depend/ipfrag.o.d -MMD -MP -I/usr/include/ncursesw  -DLOCKDIR=\/run/lock/iptraf-ng\ -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -W -std=gnu99 -I. -Isrc/  src/ipfrag.c
src/ipfrag.c: In function processfragment:
src/ipfrag.c:193:52: error: struct tcphdr has no member named source
  193 |    ftmp->s_port = ntohs(((struct tcphdr *) tpacket)->source);
      |                                                    ^~
src/ipfrag.c:194:52: error: struct tcphdr has no member named dest

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.2.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) *





repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 12 Mar 2020 23:38:53 +0000

emerge -qpvO net-analyzer/iptraf-ng
[ebuild  N    ] net-analyzer/iptraf-ng-1.1.4-r3  USE="-doc"
Comment 1 Toralf Förster gentoo-dev 2020-03-13 08:23:23 UTC
Created attachment 618366 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-13 08:23:26 UTC
Created attachment 618368 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-13 08:23:28 UTC
Created attachment 618370 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-13 08:23:31 UTC
Created attachment 618372 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-13 08:23:34 UTC
Created attachment 618374 [details]
net-analyzer:iptraf-ng-1.1.4-r3:20200313-034018.log
Comment 6 Toralf Förster gentoo-dev 2020-03-13 08:23:37 UTC
Created attachment 618376 [details]
temp.tbz2
Comment 7 Michael 'veremitz' Everitt 2020-03-16 14:27:22 UTC
musl upstream has a FAQ entry specifically for this error:
https://wiki.musl-libc.org/faq.html#Q:-Why-am-I-getting-

Suggested workarounds are in the FAQ.
Comment 8 Toralf Förster gentoo-dev 2020-03-16 16:12:46 UTC
The first attempt to tinderbox a musl image failed at all.

I'll mass close therefore all filed bug reports of the last days related to this tinderbox image.

Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.