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

Bug 908380

Summary: media-tv/v4l-utils on musl: utils/common/media-info.h:40:34: error: 'dev_t' has not been declared
Product: Gentoo Linux Reporter: Tohka <enigmaticsmile>
Component: Current packagesAssignee: James Le Cuirot <chewi>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info
v4l-utils.patch

Description Tohka 2023-06-11 14:49:21 UTC
Created attachment 863715 [details]
build.log

I have attached a build log.
Comment 1 Mike Gilbert gentoo-dev 2023-06-11 16:46:10 UTC
Please provide emerge --info.
Comment 2 Tohka 2023-06-11 17:12:36 UTC
Created attachment 863717 [details]
emerge --info
Comment 3 Tohka 2023-06-11 17:12:59 UTC
I have now attached emerge --info
Comment 4 Tohka 2023-06-15 01:52:19 UTC
With help from sam_ I have managed to find/create a patch for this. Please find the attatched patch.
Comment 5 Tohka 2023-06-15 01:54:06 UTC
Created attachment 863839 [details, diff]
v4l-utils.patch
Comment 6 Larry the Git Cow gentoo-dev 2023-06-15 02:18:49 UTC
The bug has been closed via the following commit(s):

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

commit be414dd85e64601394f8a0a2a4b3f4ecf73c9180
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-06-15 02:17:16 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-15 02:17:16 +0000

    media-tv/v4l-utils: fix musl build
    
    Closes: https://bugs.gentoo.org/908380
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/v4l-utils-1.24.1-musl-include.patch      | 11 +++++
 .../files/v4l-utils-1.24.1-musl-lfs.patch          | 51 ++++++++++++++++++++++
 media-tv/v4l-utils/v4l-utils-1.24.1.ebuild         |  5 +++
 3 files changed, 67 insertions(+)