Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Package version for glibc / uclibc / musl
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
bperegrine
n00b
n00b


Joined: 23 Dec 2017
Posts: 37

PostPosted: Fri Mar 02, 2018 5:40 pm    Post subject: Package version for glibc / uclibc / musl Reply with quote

For people that want to install gentoo, it's useful to know whether some packages (that the user wants to install) are available in uclibc or musl version (rather than standard glibc version). Reason here is that most users would want to use uclibc or musl (as uclibc and musl is faster than glibc) unless the packages he wants to include simply aren't available in uclibc/musl version. Also, even if they're not available, knowing which packages are available in uclibc/musl version is useful as he can then make a decision on what packages he wishes to swap out for other packages (that are available in uclibc/musl version).

So the question is: Is there a way to know which packages are available in uclibc/musl version (and which doesn't require having gentoo installed) ? The https://packages.gentoo.org/packages/ website doesn't seem to provide such info per package (it just tells you whether the package is available for your cpu architecture (x86, x86_64, arm, sparc, ...))
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Fri Mar 02, 2018 6:32 pm    Post subject: Reply with quote

https://github.com/gentoo/gentoo/blob/master/profiles/features/musl/package.mask
Back to top
View user's profile Send private message
Mr. T.
Guru
Guru


Joined: 26 Dec 2016
Posts: 477

PostPosted: Fri Mar 02, 2018 8:13 pm    Post subject: Reply with quote

You may be interested by:

  1. Gentoo Hardened uClibc

  2. Gentoo Hardened musl

I think you have to test a package to see if it works with musl or another standard C library.
Back to top
View user's profile Send private message
bperegrine
n00b
n00b


Joined: 23 Dec 2017
Posts: 37

PostPosted: Sun Mar 04, 2018 10:09 am    Post subject: Reply with quote

I looked at the hardened musl page, and found that there is an unhardened version -vanilla- (which is what I want).
See http://distfiles.gentoo.org/experimental/x86/musl/
The only problem here is that I'd like to have a list with everything in it, because I want to add and remove stuff as well.
I can't find such a list though (there is one for bluedragon (if you click on https://releases.freeharbor.net/ )

Are the packages in the x86 musl the same as in the amd64 musl (bluedragon) version ?
Are the packages in the x86 uclibc the same as in the hardened uclibc (lilblue) version ?
See http://distfiles.gentoo.org/releases/x86/autobuilds/current-stage3-i686-uclibc-vanilla/
and https://releases.freeharbor.net/
If not, how can I get such a list (there's a contents file I can download, but that's too detailed, I just want the programs that are installed on it)

I also can't find a uclibc stage2 ? Or Do I then just need to use the stage 2 at
https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/specs/x86/i686 ?
I btw can't figure out what's the difference between the stage 2 livecd version and the stage 2 regular and stage 2 desktop version.

If it deviates too far from what I'm trying to achieve (depends on packages), I'll probably use a stage 2 and add uclibc later (but then what version do I use ?.
Back to top
View user's profile Send private message
Mr. T.
Guru
Guru


Joined: 26 Dec 2016
Posts: 477

PostPosted: Sun Mar 04, 2018 3:48 pm    Post subject: Reply with quote

Advices that can be given varies depending on the level of the user. Currently, there is no documentation for end-users (or average users).

For example, my operating system (based on musl libc) is partially functional and not operational. I am trying to make progress and hope to arrive safely.

bperegrine wrote:
I also can't find a uclibc stage2 ? Or Do I then just need to use the stage 2 at
https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/specs/x86/i686 ?
I btw can't figure out what's the difference between the stage 2 livecd version and the stage 2 regular and stage 2 desktop version.


bperegrine wrote:
If not, how can I get such a list (there's a contents file I can download, but that's too detailed, I just want the programs that are installed on it)

  • I believe you can get the list of installed packages (a posteriori) using an utility that uses the world set. The process depends on the tool used.
    Otherwise (see "Edit", below), you can view the packages installed looking at /var/db/pkg (see man portage).

bperegrine wrote:
The only problem here is that I'd like to have a list with everything in it, because I want to add and remove stuff as well.



Edit: I believe it is easier to get a list of installed packages and then add or remove packages as usual, e.g. emerge --unmerge.
Personally, I use pquery -I (sys-apps/pkgcore) to get the list of installed packages.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum