Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 867283 - dev-embedded/picotool-1.1.2 fails to compile (MUSL): platform.h:15:10: fatal error: cdefs.h: No such file or directory
Summary: dev-embedded/picotool-1.1.2 fails to compile (MUSL): platform.h:15:10: fatal ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Smith
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-29 07:17 UTC by Agostino Sarubbo
Modified: 2024-03-07 21:29 UTC (History)
0 users

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


Attachments
build.log (build.log,53.45 KB, text/plain)
2022-08-29 07:18 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-08-29 07:17:57 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-embedded/picotool-1.1.0 fails to compile (MUSL).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-08-29 07:18:00 UTC
Created attachment 801769 [details]
build.log

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


/var/tmp/portage/dev-embedded/picotool-1.1.0/work/pico-sdk-1.4.0/src/host/pico_platform/include/pico/platform.h:15:10: fatal error: sys/cdefs.h: No such file or directory
FAILED: CMakeFiles/picotool.dir/main.cpp.o 
FAILED: CMakeFiles/picotool.dir/picoboot_connection/picoboot_connection.c.o 
FAILED: CMakeFiles/picotool.dir/picoboot_connection/picoboot_connection_cxx.cpp.o 
/var/tmp/portage/dev-embedded/picotool-1.1.0/work/pico-sdk-1.4.0/src/host/pico_platform/include/pico/platform.h:15:10: fatal error: sys/cdefs.h: No such file or directory
Comment 3 Agostino Sarubbo gentoo-dev 2024-02-29 14:18:47 UTC
tinderbox_musl has reproduced this issue with version 1.1.2 - Updating summary.
Comment 4 Larry the Git Cow gentoo-dev 2024-03-07 21:29:41 UTC
The bug has been closed via the following commit(s):

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

commit 6aae73c5a4e9b32f8e19388bc831c23c0e19259f
Author:     Matthew Smith <matthew@gentoo.org>
AuthorDate: 2024-03-07 21:28:26 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2024-03-07 21:28:43 +0000

    dev-embedded/picotool: fix musl build
    
    Closes: https://bugs.gentoo.org/867283
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 dev-embedded/picotool/files/picotool-1.1.2-musl.patch | 17 +++++++++++++++++
 dev-embedded/picotool/picotool-1.1.2.ebuild           | 11 +++++++++--
 2 files changed, 26 insertions(+), 2 deletions(-)