Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832419 - net-analyzer/driftnet-1.3.0 fails to compile: image.c:291:5: error: unknown type name u_int32_t
Summary: net-analyzer/driftnet-1.3.0 fails to compile: image.c:291:5: error: unknown t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-31 09:44 UTC by Agostino Sarubbo
Modified: 2022-02-16 03:23 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,43.84 KB, text/plain)
2022-01-31 09:44 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-01-31 09:44:34 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-analyzer/driftnet-1.3.0 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-31 09:44:37 UTC
Created attachment 764025 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-31 09:44:38 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


configure: WARNING: cannot find lib cmocka, the testsuite will not run
image.c:291:5: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
Comment 3 Larry the Git Cow gentoo-dev 2022-02-16 03:22:55 UTC
The bug has been closed via the following commit(s):

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

commit 3220c59fa39743e8ed6787c2a33faf474ab0fba6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-02-16 03:21:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-16 03:22:30 +0000

    net-analyzer/driftnet: fix build on musl
    
    Closes: https://bugs.gentoo.org/832419
    Signed-off-by: Sam James <sam@gentoo.org>

 net-analyzer/driftnet/driftnet-1.3.0.ebuild        |   3 +-
 .../files/driftnet-1.3.0-musl-stdint.patch         | 113 +++++++++++++++++++++
 2 files changed, 115 insertions(+), 1 deletion(-)