Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
multiple compile problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2214
Location: Near Toronto

PostPosted: Fri Jan 24, 2014 5:16 am    Post subject: multiple compile problems Reply with quote

just installed gentoo; I see all stage 3 amd64 are nomultilib

install goes fine

switch to kde profile

hell breaks loose

can't emerge xorg-server because libaio fails with
"fatal error: gnu/stubs-32.h: No such file or directory"

try to rebuild toolchain

glibc fails with "can't find -lgcc"

gcc fails with "missing stubs32.h"

etc. etc. etc.

to a naive eye it *looks* like a multilib stage 3 would have been a good idea
but there are none

so, completely lost and frustrated
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1814

PostPosted: Fri Jan 24, 2014 8:47 am    Post subject: Re: multiple compile problems Reply with quote

Quote:

to a naive eye it *looks* like a multilib stage 3 would have been a good idea
but there are none


Try:
http://distfiles.gentoo.org/releases/amd64/autobuilds/20140116/
(There may be others.)

Will
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2214
Location: Near Toronto

PostPosted: Fri Jan 24, 2014 2:35 pm    Post subject: Reply with quote

Quote:
Try:
http://distfiles.gentoo.org/releases/amd64/autobuilds/20140116/
(There may be others.)


.... so ... re-install is the only option here if I want KDE profile?
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9470

PostPosted: Fri Jan 24, 2014 10:24 pm    Post subject: Reply with quote

You could use a no-multilib profile and install KDE. The KDE profiles are only a convenience to set flags the way KDE users typically want them set.
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 8341

PostPosted: Sat Jan 25, 2014 4:58 am    Post subject: Re: multiple compile problems Reply with quote

cwr wrote:
Try:
http://distfiles.gentoo.org/releases/amd64/autobuilds/20140116/
(There may be others.)

Will
In general, the easiest way to find a recent stage of a given type is to check the latest file for that type, in this case: http://distfiles.gentoo.org/releases/amd64/autobuilds/latest-stage3-amd64.txt.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2214
Location: Near Toronto

PostPosted: Sat Jan 25, 2014 7:19 pm    Post subject: Reply with quote

Quote:

You could use a no-multilib profile and install KDE. The KDE profiles are only a convenience to set flags the way KDE users typically want them set.


sorry - I need more advice on how to do this

as it appears, libaio requires multilib and can't be built in
nomulitilib system

but libaio is an aboslute requirement for various core features of KDE

so, I don't see how your advice could work...
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9470

PostPosted: Sat Jan 25, 2014 9:24 pm    Post subject: Reply with quote

Your first post states that you had a problem building libaio, but that was after you chose a multilib profile on a system that is not multilib. Did you change your profile back to a no-multilib profile and try again? If yes, what went wrong that time? If no, then please do so. I do not expect multilib-aware packages to build correctly when the profile calls for multilib and the system does not support it. If you choose a no-multilib profile, and the package still tries to use multilib features, then that would be a bug.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2214
Location: Near Toronto

PostPosted: Sat Jan 25, 2014 10:50 pm    Post subject: Reply with quote

Quote:
If you choose a no-multilib profile, and the package still tries to use multilib features, then that would be a bug


there is no bug; this is just the consequence of my selecting the nomultilib at install time
(which was based on ignorance)

to pick a nomultilib profile leaves many useflags having to be manually selected,
but it *does* allow libaio to be installed so I'll keep going and see what happens
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
mv
Advocate
Advocate


Joined: 20 Apr 2005
Posts: 4893

PostPosted: Sat Jan 25, 2014 11:05 pm    Post subject: Reply with quote

AFAIK there is no easy route to go from nomultilib to multilib: Once gcc and glibc are compiled with nomultilib you must use a cross-compiler to get multilib. This is rather tricky, and you have to be an expert how multilib is handled in gentoo. It is probably easier to do a reinstall.
Back to top
View user's profile Send private message
diablo465
Apprentice
Apprentice


Joined: 10 Sep 2013
Posts: 184

PostPosted: Wed Feb 19, 2014 5:58 am    Post subject: Reply with quote

mv wrote:
AFAIK there is no easy route to go from nomultilib to multilib: Once gcc and glibc are compiled with nomultilib you must use a cross-compiler to get multilib. This is rather tricky, and you have to be an expert how multilib is handled in gentoo. It is probably easier to do a reinstall.


Specifically what to do?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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