Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712746 - net-analyzer/pinger-0.33 : globals.h: error: unknown type name u_int
Summary: net-analyzer/pinger-0.33 : globals.h: error: unknown type name u_int
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:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-15 18:48 UTC by Toralf Förster
Modified: 2021-12-29 23:41 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.65 KB, text/plain)
2020-03-15 18:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,142.39 KB, text/plain)
2020-03-15 18:48 UTC, Toralf Förster
Details
environment (environment,98.22 KB, text/plain)
2020-03-15 18:48 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.31 KB, application/x-bzip)
2020-03-15 18:49 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.34 KB, application/x-bzip)
2020-03-15 18:49 UTC, Toralf Förster
Details
net-analyzer:pinger-0.33:20200315-180717.log (net-analyzer:pinger-0.33:20200315-180717.log,11.06 KB, text/plain)
2020-03-15 18:49 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.40 KB, application/x-bzip)
2020-03-15 18:49 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-15 18:48:50 UTC
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..   -D_GNU_SOURCE  -O2 -pipe -march=native -fno-common -falign-functions=32:25:16  -c -o timefunc.o timefunc.c
In file included from timefunc.c:24:
globals.h:96:5: error: unknown type name u_int
   96 |     u_int last_seq_sent;        /* sequence nr. of last packet sent */
      |     ^~~~~
globals.h:97:5: error: unknown type name u_int

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

  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 *
 [2] 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.41.1
  [2]   rust-1.41.1 *
The following VMs are available for generation-2:

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 15 Mar 2020 16:08:55 +0000
emerge -qpvO net-analyzer/pinger
[ebuild  N    ] net-analyzer/pinger-0.33  USE="ncurses nls -gtk2 -gtk3"
Comment 1 Toralf Förster gentoo-dev 2020-03-15 18:48:52 UTC
Created attachment 619932 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-15 18:48:55 UTC
Created attachment 619934 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-15 18:48:59 UTC
Created attachment 619936 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-15 18:49:02 UTC
Created attachment 619938 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-15 18:49:06 UTC
Created attachment 619940 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-15 18:49:09 UTC
Created attachment 619942 [details]
net-analyzer:pinger-0.33:20200315-180717.log
Comment 7 Toralf Förster gentoo-dev 2020-03-15 18:49:12 UTC
Created attachment 619944 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-03-16 16:12:38 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.
Comment 9 Larry the Git Cow gentoo-dev 2021-12-29 07:10:49 UTC
The bug has been closed via the following commit(s):

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

commit 32774675d8734f64e79a98a0e272141a8872fa13
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-29 07:09:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-29 07:10:42 +0000

    net-analyzer/pinger: EAPI 5 -> 8, musl build fix
    
    Also revbumps for ncurses := dep.
    
    Closes: https://bugs.gentoo.org/712746
    Signed-off-by: Sam James <sam@gentoo.org>

 .../pinger/files/pinger-0.33-musl-int-types.patch  | 55 ++++++++++++++++++++++
 .../{pinger-0.33.ebuild => pinger-0.33-r1.ebuild}  | 34 +++++++------
 2 files changed, 71 insertions(+), 18 deletions(-)
Comment 10 Larry the Git Cow gentoo-dev 2021-12-29 23:41:57 UTC
The bug has been referenced in the following commit(s):

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

commit a086a26f2a5442546dd6fbd3ec94f2eb7286c538
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-29 23:41:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-29 23:41:49 +0000

    net-analyzer/pinger: further musl build fixes
    
    Bug: https://bugs.gentoo.org/712746
    Closes: https://bugs.gentoo.org/830226
    Signed-off-by: Sam James <sam@gentoo.org>

 .../pinger/files/pinger-0.33-musl-int-types.patch  | 111 ++++++++++++++++++++-
 1 file changed, 107 insertions(+), 4 deletions(-)