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>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-04-03 18:16:43 UTC

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

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

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):

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

    net-libs/xdp-tools: fix build w/ musl
    Thanks-to: Stijn Tintel <>
    Signed-off-by: Sam James <>

 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(+)