Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905998 - dev-libs/nspr-4.35-r1 fails to compile (MUSL-SYSTEM): _unixos.h:592:9: error: unknown type name off64_t
Summary: dev-libs/nspr-4.35-r1 fails to compile (MUSL-SYSTEM): _unixos.h:592:9: error:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2023-05-09 06:18 UTC by Agostino Sarubbo
Modified: 2023-05-11 07:01 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,54.55 KB, text/plain)
2023-05-09 06: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 2023-05-09 06:18:08 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/nspr-4.35-r1 fails to compile (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-09 06:18:09 UTC
Created attachment 861361 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-05-09 13:16:47 UTC
The bug has been closed via the following commit(s):

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

commit af8fbdf37728cc694b65e7b297acc21374755934
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2023-05-09 13:16:03 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-05-09 13:16:03 +0000

    dev-libs/nspr: musl fixes
    
    Closes: https://bugs.gentoo.org/905998
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-libs/nspr/files/nspr-4.35-bgo-905998-lfs64-musl.patch | 15 +++++++++++++++
 dev-libs/nspr/nspr-4.35-r1.ebuild                         |  7 +++++--
 2 files changed, 20 insertions(+), 2 deletions(-)
Comment 3 tt_1 2023-05-09 13:20:51 UTC
is there an upstream bug report for this already?
Comment 4 Joonas Niilola gentoo-dev 2023-05-09 16:14:28 UTC
Not that I'm aware of, took the patch from alpine.
Comment 5 Larry the Git Cow gentoo-dev 2023-05-11 07:01:42 UTC
The bug has been referenced in the following commit(s):

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

commit 86b6c8fa090b96e4204bd8fc22c7e5d90162ab3a
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2023-05-11 07:00:38 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-05-11 07:01:38 +0000

    dev-libs/nspr: fix paths in musl patch file
    
    Bug: https://bugs.gentoo.org/905998
    Closes: https://bugs.gentoo.org/906093
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-libs/nspr/files/nspr-4.35-bgo-905998-lfs64-musl.patch | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)