Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 873403 - sci-libs/indilib-1.9.8 fails to compile (MUSL): pegasus_upb.h:144:69: error: u_int8_t has not been declared
Summary: sci-libs/indilib-1.9.8 fails to compile (MUSL): pegasus_upb.h:144:69: error: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: PATCH, UPSTREAM
Depends on:
Blocks:
 
Reported: 2022-09-29 06:46 UTC by Agostino Sarubbo
Modified: 2023-07-31 16:26 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,613.04 KB, text/plain)
2022-09-29 06:46 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-09-29 06:46:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/indilib-1.9.7 fails to compile (MUSL).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-09-29 06:46:41 UTC
Created attachment 814585 [details]
build.log

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


FAILED: CMakeFiles/indi_pegasus_upb.dir/drivers/auxiliary/pegasus_upb.cpp.o 
fatal: not a git repository (or any parent up to mount point /var/tmp)
/var/tmp/portage/sci-libs/indilib-1.9.7/work/indi-1.9.7/drivers/auxiliary/pegasus_upb.h:144:69: error: 'u_int8_t' has not been declared
Comment 3 Agostino Sarubbo gentoo-dev 2023-06-13 08:15:38 UTC
tinderbox_musl has reproduced this issue with version 1.9.8 - Updating summary.
Comment 4 Andreas Sturmlechner gentoo-dev 2023-07-25 13:13:41 UTC
Sam, does it mean the linked changes were not enough yet?
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-26 04:13:45 UTC
(In reply to Andreas Sturmlechner from comment #4)
> Sam, does it mean the linked changes were not enough yet?

Bleh. This regressed in https://github.com/indilib/indi/commit/37860f05cb3e4aa55cf7f0d67968b1bcf579e6c3 (after my changes).
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-26 04:16:47 UTC
New upstream PR: https://github.com/indilib/indi/pull/1914.
Comment 7 Larry the Git Cow gentoo-dev 2023-07-31 16:26:19 UTC
The bug has been closed via the following commit(s):

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

commit 5fe9b7a2fcbef952d86aa0bdafecdc2a734ed3fd
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-07-31 16:25:41 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-07-31 16:25:58 +0000

    sci-libs/indilib: Fix musl build
    
    Closes: https://bugs.gentoo.org/873403
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 sci-libs/indilib/files/indilib-2.0.2-musl.patch | 37 +++++++++++++++++++++++++
 sci-libs/indilib/indilib-2.0.2.ebuild           |  2 ++
 2 files changed, 39 insertions(+)