Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531168 - net-libs/libnfsidmap-0.24 - add support for building against sys-libs/musl
Summary: net-libs/libnfsidmap-0.24 - add support for building against sys-libs/musl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo musl team
URL:
Whiteboard: hardened-dev overlay, musl branch
Keywords: InOverlay, PATCH
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2014-11-29 20:10 UTC by DaggyStyle
Modified: 2021-02-06 11:14 UTC (History)
3 users (show)

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


Attachments
add_missing_include patch (libnfsidmap-add_missing_include.patch,186 bytes, patch)
2014-11-29 20:11 UTC, DaggyStyle
Details | Diff
patch against hardened musl branch (0001-add-musl-based-libnfsidmap.patch,17.68 KB, patch)
2015-01-10 14:38 UTC, DaggyStyle
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description DaggyStyle 2014-11-29 20:10:27 UTC
this patch allows net-libs/libtirpc-0.2.4-r1 to be build against musl libc

this patch isn't intended for inclusion to official portage tree, it is intended for the musl branch in the hardened-dev overlay.

Reproducible: Always
Comment 1 DaggyStyle 2014-11-29 20:11:41 UTC
Created attachment 390606 [details, diff]
add_missing_include patch
Comment 2 DaggyStyle 2014-11-29 20:34:28 UTC
(In reply to DaggyStyle from comment #0)
> this patch allows net-libs/libtirpc-0.2.4-r1 to be build against musl libc
> 
> this patch isn't intended for inclusion to official portage tree, it is
> intended for the musl branch in the hardened-dev overlay.
> 
> Reproducible: Always

s/libtirpc-0.2.4-r1/libnfsidmap-0.24/g

damm copy paste...
Comment 3 Anthony Basile gentoo-dev 2015-01-03 16:36:27 UTC
@Dagg,

Thanks for all this work.  But its hard to implement these patches.  Here's what you do:

1) Clone the hardened-dev overlay.

2) git checkout musl

3) copy all the files for net-libs/libtirpc that you need into the overlay

4) renumber libtirpc-0.2.4-r1 to  libtirpc-0.2.4-r99 and drop keywords to just ~amd64 ~arm ~mips ~ppc ~x86.

5) add your fixups etc.

6) test and if it works, commit

7) do git format-patch HEAD^ and attach that to this bug.

This makes life easier for all of us because there's no confusion as to what works.
Comment 4 DaggyStyle 2015-01-10 14:38:00 UTC
Created attachment 393608 [details, diff]
patch against hardened musl branch
Comment 5 SpanKY gentoo-dev 2015-02-24 16:13:04 UTC
there's an upstream mailing list that the maintainers watch (the nfs one).  these patches really should get sent there.
Comment 6 Anthony Basile gentoo-dev 2015-03-08 01:54:49 UTC
(In reply to SpanKY from comment #5)
> there's an upstream mailing list that the maintainers watch (the nfs one). 
> these patches really should get sent there.

your right.  we're getting lazy with the overlay.  reopening to make sure it gets upstream
Comment 7 Felix Janda 2015-03-08 12:31:59 UTC
Patch sent to

http://article.gmane.org/gmane.linux.nfs/69699
Comment 8 Anthony Basile gentoo-dev 2015-03-08 16:20:21 UTC
(In reply to Felix Janda from comment #7)
> Patch sent to
> 
> http://article.gmane.org/gmane.linux.nfs/69699

Thanks!!!
Comment 9 Michael 'veremitz' Everitt 2019-10-20 15:11:50 UTC
Available in ::musl overlay since https://gitweb.gentoo.org/proj/musl.git/commit/net-libs/libnfsidmap?id=8eddda8072add075ebf56cf6d288bc1450d6b5f8 .