Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
multilib vs no-multilib+chroot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Fran
Guru
Guru


Joined: 29 Feb 2004
Posts: 530
Location: Coruña (Spain)

PostPosted: Sun Feb 24, 2013 9:33 am    Post subject: multilib vs no-multilib+chroot Reply with quote

I was looking for a way to get a 32bit qtcurve working on my system to beautify skype when I realized that, on the one hand, I had a minimal set of packages carefully set up in /usr/lib64 and, on the other, 6 or 7 giant-binary-blobs-of-hell that basically defeat the purpose or using gentoo.

So I switched to no-multilib, set up a 32bit chroot and voilà, everything works as it should, I can choose what I install - I have my qtcurve for Skype :) - and I have updated packages for what I need (mesa). I don't see any disadvantage over multilib (1 extra GB, but who cares).

Are there plans to replace the emul-linux packages for something else? To me, they seem... out of place in gentoo. Maybe putting the multilib overlay in the main tree in the future?
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9523
Location: beyond the rim

PostPosted: Mon Feb 25, 2013 1:57 pm    Post subject: Reply with quote

There have been plans to replace the binary multilib packages for years, wether they will actually be implemented and released as default one day is another question.
Back to top
View user's profile Send private message
grey_dot
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2012
Posts: 142

PostPosted: Tue Feb 26, 2013 12:31 am    Post subject: Reply with quote

There's a third option. You could use crossdev to build i686 sysroot, and then use cross-emerge for everything you need. Works fine for me.
Back to top
View user's profile Send private message
_______0
Guru
Guru


Joined: 15 Oct 2012
Posts: 521

PostPosted: Sat Mar 02, 2013 7:52 pm    Post subject: Reply with quote

would be neat an automated way, tweakable afterwards, of x32 chroot in non-multilib. By means of a USE flag switch or an option in make.conf.

Some things are confusing such as the mixed role of /dev/shm and many graphics cards packages in chroot.
Back to top
View user's profile Send private message
_______0
Guru
Guru


Joined: 15 Oct 2012
Posts: 521

PostPosted: Sat Mar 02, 2013 7:54 pm    Post subject: Reply with quote

grey_dot wrote:
There's a third option. You could use crossdev to build i686 sysroot, and then use cross-emerge for everything you need. Works fine for me.


I find your idea intriguing. Would this forgo the need to install emerge portage and all that in chroot? How't'd work? By compiling in host then copying to chroot??

thnks
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Sat Mar 02, 2013 8:20 pm    Post subject: Reply with quote

_______0,

Install crossdev, use it to build a sysroot of your choice, then play with it.

I use it for ARM (for Raspberry Pi) on amd64, so cannot chroot into it :) but if you make a 32bit install, it will justwork.
You can share /usr/portage and /usr/portage/distfiles but not /usr/portage/packages.

In theory, you can run
Code:
emerge-wrapper --init
then emerge stuff into your cross root but not everything plays nicely there.
Still, you will have more success with x86 on amd64, since x86 code will run on an amd64.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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