Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 836708

Summary: net-libs/xdp-tools-1.2.8 fails to compile: libxdp.c:319:33: error: PATH_MAX undeclared (first use in this function)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Jason A. Donenfeld <zx2c4>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-04-03 18:16:43 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-libs/xdp-tools-1.2.2 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-04-03 18:16:45 UTC
Created attachment 768617 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-09-21 07:52:54 UTC
tinderbox_musl has reproduced this issue with version 1.2.8 - Updating summary.
Comment 3 Larry the Git Cow gentoo-dev 2023-03-29 01:32:56 UTC
The bug has been closed via the following commit(s):

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

commit eb5fa24cb8025bab6db68cea47240a5968cd6021
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-03-29 01:32:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-29 01:32:10 +0000

    net-libs/xdp-tools: fix build w/ musl
    
    Closes: https://bugs.gentoo.org/836708
    Thanks-to: Stijn Tintel <stijn@linux-ipv6.be>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/xdp-tools/files/1.3.1-musl.patch    | 28 ++++++++++++++++++++++++++++
 net-libs/xdp-tools/xdp-tools-1.3.1-r2.ebuild |  1 +
 2 files changed, 29 insertions(+)