Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875851 - sys-fs/autorun-3.17 fails to compile (MUSL): autorun.cc:153:14: error: PATH_MAX was not declared in this scope
Summary: sys-fs/autorun-3.17 fails to compile (MUSL): autorun.cc:153:14: error: PATH_M...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-07 11:17 UTC by Agostino Sarubbo
Modified: 2023-02-06 22:25 UTC (History)
0 users

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


Attachments
build.log (build.log,59.34 KB, text/plain)
2022-10-07 11:17 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-10-07 11:17:41 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-fs/autorun-3.17 fails to compile (MUSL).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-10-07 11:17:43 UTC
Created attachment 822730 [details]
build.log

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


checking dynamic linker characteristics... cat: 'ld.so.conf.d/*.conf': No such file or directory
autorun.cc:153:14: error: 'PATH_MAX' was not declared in this scope
Comment 3 Larry the Git Cow gentoo-dev 2023-02-06 22:25:51 UTC
The bug has been closed via the following commit(s):

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

commit 5c1bfc0adcc93d7033404ca77a507e2f3be88fc7
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-06 22:25:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-06 22:25:19 +0000

    sys-fs/autorun: add missing includes
    
    Bug: https://bugs.gentoo.org/714140
    Closes: https://bugs.gentoo.org/875851
    Closes: https://bugs.gentoo.org/877125
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/autorun/files/autorun-3.17-headers.patch | 44 ++++++++++++++++++++++++-
 1 file changed, 43 insertions(+), 1 deletion(-)