Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712644 - net-analyzer/iplog-2.2.3-r3 : ./iplog.h: error: unknown type name u_int32_t
Summary: net-analyzer/iplog-2.2.3-r3 : ./iplog.h: error: unknown type name u_int32_t
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard: stdint.h
Keywords: PullRequest
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-15 09:30 UTC by Toralf Förster
Modified: 2025-02-10 09:33 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.42 KB, text/plain)
2020-03-15 09:30 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,107.71 KB, text/plain)
2020-03-15 09:30 UTC, Toralf Förster
Details
environment (environment,73.43 KB, text/plain)
2020-03-15 09:30 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.19 KB, application/x-bzip)
2020-03-15 09:30 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,2.94 KB, application/x-bzip)
2020-03-15 09:30 UTC, Toralf Förster
Details
net-analyzer:iplog-2.2.3-r2:20200315-042533.log (net-analyzer:iplog-2.2.3-r2:20200315-042533.log,87.63 KB, text/plain)
2020-03-15 09:30 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.62 KB, application/x-bzip)
2020-03-15 09:30 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 09:30:39 UTC
gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -D_REENTRANT -c iplog_config.c
In file included from iplog_config.c:30:
./iplog.h:25:10: error: unknown type name u_int32_t
   25 |  typedef u_int32_t ipaddr_t;
      |          ^~~~~~~~~
In file included from iplog_config.c:30:

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

  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 03:13:46 +0000
emerge -qpvO net-analyzer/iplog
[ebuild  N    ] net-analyzer/iplog-2.2.3-r2
Comment 1 Toralf Förster gentoo-dev 2020-03-15 09:30:42 UTC
Created attachment 619486 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-15 09:30:45 UTC
Created attachment 619488 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-15 09:30:48 UTC
Created attachment 619490 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-15 09:30:51 UTC
Created attachment 619492 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-15 09:30:54 UTC
Created attachment 619494 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-15 09:30:56 UTC
Created attachment 619496 [details]
net-analyzer:iplog-2.2.3-r2:20200315-042533.log
Comment 7 Toralf Förster gentoo-dev 2020-03-15 09:30:59 UTC
Created attachment 619498 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-03-16 16:12:29 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 Michael 'veremitz' Everitt 2020-04-27 00:05:41 UTC
Upstream should consider using portable POSIX-compatible integer types as
defined in
https://pubs.opengroup.org/onlinepubs/009695399/basedefs/stdint.h.html .
Comment 10 Agostino Sarubbo gentoo-dev 2022-01-31 09:43:36 UTC
tinderbox_musl has reproduced this issue with version 2.2.3-r3 - Updating summary.
Comment 11 Larry the Git Cow gentoo-dev 2025-02-10 09:13:54 UTC
The bug has been referenced in the following commit(s):

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

commit 35a01318e88aca4c8bdd80e3d791e04840f277b3
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-01-14 13:40:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-10 09:07:00 +0000

    net-analyzer/iplog: fix implicit declarations in configure, bool
    
    Port to modern compilers and C23, and also fix for MUSL compile problem
    
    Bug: https://bugs.gentoo.org/712644
    Bug: https://bugs.gentoo.org/875155
    Bug: https://bugs.gentoo.org/899936
    Bug: https://bugs.gentoo.org/945194
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40131
    Signed-off-by: Sam James <sam@gentoo.org>

 net-analyzer/iplog/files/iplog-2.2.3-C23.patch | 36 ++++++++++++++++++++++
 net-analyzer/iplog/iplog-2.2.3-r4.ebuild       | 41 ++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)