Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Gnome/systemd on amd64/nvidia : libepoxy blocks
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
Akela NDE
n00b
n00b


Joined: 18 Jan 2012
Posts: 14
Location: France

PostPosted: Sun Dec 13, 2015 4:10 pm    Post subject: [SOLVED] Gnome/systemd on amd64/nvidia : libepoxy blocks Reply with quote

Hello,

I'm trying to make a fresh Gentoo install with an amd64 / Gnome / systemd profile, and I'm blocked.
I followed the amd64 Handbook and the Installing Gnome 3 from scratch page.

Coming to the X-installation part, I edited make.conf to add INPUT_DEVICES="evdev" and VIDEO_CARDS="nvidia" (I'm running a GTS450).
Then I had to emerge x11-base/xorg-drivers : emerge demanded for USE change adding an abi_x86_32 flag.

So, I Googled that flag and arrived on the Multilib/gx86-multilib wiki page, whose instructions I sheepishly obeyed:
- first creating /etc/portage/profile/use.mask (which didn't exist, not even the profile/ directory) with "-abi_x86_32"
- then adding ABI_X86="32 64" in /etc/portage/make.conf
Then emerge --update --deep --newuse @world

And then, emerging stopped on libepoxy :
Code:
 * Messages for package media-libs/libepoxy-1.3.1:
 * ERROR: media-libs/libepoxy-1.3.1::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line   90:  Called src_configure
 *             environment, line 4155:  Called autotools-multilib_src_configure
 *             environment, line  690:  Called multilib-minimal_src_configure
 *             environment, line 2703:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *             environment, line 2917:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 2633:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 2631:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *             environment, line  529:  Called multilib-minimal_abi_src_configure
 *             environment, line 2697:  Called multilib_src_configure
 *             environment, line 3134:  Called autotools-utils_src_configure
 *             environment, line  731:  Called econf '--docdir=/usr/share/doc/libepoxy-1.3.1'
 *        phase-helpers.sh, line  662:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
 * If you need support, post the output of `emerge --info '=media-libs/libepoxy-1.3.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/libepoxy-1.3.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/libepoxy-1.3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libepoxy-1.3.1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/libepoxy-1.3.1/work/libepoxy-1.3.1-abi_x86_32.x86'
 * S: '/var/tmp/portage/media-libs/libepoxy-1.3.1/work/libepoxy-1.3.1'


I thought it may be related to the abi_x86_32 flag, so I created /etc/portage/package.use/libepoxy and put "media-libs/libepoxy -abi_86_x32" in it.

And now, emerge --update --deep --newuse @world cries for an abi_x86_32 USE flag for libepoxy:
Code:
The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by x11-libs/gtk+-3.16.7::gentoo
# required by gnome-extra/polkit-gnome-0.105-r1::gentoo
# required by sys-auth/polkit-0.113::gentoo[gtk]
# required by sys-apps/systemd-218-r5::gentoo[policykit]
# required by virtual/libgudev-215-r3::gentoo
# required by x11-misc/colord-1.2.12::gentoo
>=media-libs/libepoxy-1.3.1 abi_x86_32

So, it's willing to have an USE flag that makes the compilation fail.
It looks like I'm stuck :(


Last edited by Akela NDE on Mon Dec 14, 2015 11:55 am; edited 1 time in total
Back to top
View user's profile Send private message
dantrell
Guru
Guru


Joined: 01 Jun 2007
Posts: 565
Location: Earth

PostPosted: Sun Dec 13, 2015 6:31 pm    Post subject: Re: Gnome/systemd on amd64/nvidia : libepoxy blocks Reply with quote

Akela NDE wrote:
It looks like I'm stuck :(

Building with USE="abi_x86_32" will cause media-libs/libepoxy to fail. It does the right thing on multilib systems which is to build for x64 only. You setting both ABI_X86="32 64" and USE="-abi_x86_32" won't work as ABI_X86 supersedes USE and overrides the defaults forcing libepoxy (and everything else) to build for both x32 and x64, which will cause libepoxy (and probably other packages) to fail.

First, undo the steps you did (remove ABI_X86 from make.conf, delete use.mask and package.use/libepoxy).

Then, if multilib support is required, set abi_x86_32 on a per package basis in /etc/portage/package.use/ like so:

Code:
x11-base/xorg-drivers abi_x86_32

But if multilib support is not required or you think you don't need it, you should be able to set USE="-multilib".

If you not sure what to do, undo the steps you did and then show the full emerge output. It will be easier to get help that way.

P.S. In the future, if you cut any build logs, start from package error and not the ebuild error (lines starting with a *). Also, please be careful following guides that were not touched upon or referenced to in the Gentoo Handbook, especially ones with warnings at the top.
_________________
Dantrell B.
Back to top
View user's profile Send private message
Akela NDE
n00b
n00b


Joined: 18 Jan 2012
Posts: 14
Location: France

PostPosted: Mon Dec 14, 2015 11:55 am    Post subject: Reply with quote

OK ... I feel pretty stupid :lol:
(And unstuck, which feels good. Thanks a lot, dantrell.)

So the solution was to add to any file in /etc/portage/package.use/ :
Code:

>=x11-proto/xf86bigfontproto-1.2.0-r1 abi_x86_32
>=x11-libs/libX11-1.6.3 abi_x86_32
>=x11-proto/xproto-7.0.28 abi_x86_32
>=x11-libs/libXau-1.0.8 abi_x86_32
>=x11-libs/libxcb-1.11.1 abi_x86_32
>=x11-proto/xcb-proto-1.11 abi_x86_32
>=x11-proto/xextproto-7.3.0 abi_x86_32
>=dev-libs/libpthread-stubs-0.3-r1 abi_x86_32
>=x11-proto/inputproto-2.3.1 abi_x86_32
>=x11-proto/kbproto-1.0.7 abi_x86_32
>=x11-libs/libXdmcp-1.1.2 abi_x86_32
>=x11-libs/libXext-1.3.3 abi_x86_32


Let's say all was due to the late hour, and, maybe, the fact that I was using tty1 and so wasn't able to see the "The following USE changes are necessary to proceed" part, and only the last lines, which were not that clear to me, poor noob that I am.

So, I guess the story's moral is : "start sshd ASAP and continue install distantly", as not being able to look at a complete emerge output sucks.
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