Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge xorg-server ask for 32bits on 64bits system
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
blugendoo
n00b
n00b


Joined: 11 Apr 2016
Posts: 23

PostPosted: Thu Apr 14, 2016 10:02 am    Post subject: emerge xorg-server ask for 32bits on 64bits system Reply with quote

Hi. New Gentoo user here, first install. :P

When I emerge x11-base/xorg-server, there is
- 31 new packages (with "64" in the USE flags listed for each)
- 12 existing packages to rebuild with USE flag 32, instead of 64 : +32 -64
Code:
[ebuild R ] x11-libs/libxcb-1.11.1 ABI_X86="32*"


It says that "The following USE changes are necessary to proceed:" :roll:
and for each package:
Code:
>=x11-libs/libxcb-1.11.1 abi_x86_32


Shall I accept those changes and proceed?
It seems quite strange, I would rather try something to keep the 64bits version of those tools and libs already built.

I've been searching some info here and there, only to find more confusing discussions about 32/64 flags.

Context:
My system is a new one, I want a 64bits with multilib support, nothing special here for a new PC with Intel core i5 processor.
I've chosen the profile default/linux/amd64/13.0/desktop/plasma/systemd.
The emerge world was ok (just a small circular ref, easily solved).

Base system seems ok now: EFI boot, user login, network, emerge.
I'm doing the X.org emerge from Linux Mint chrooted environment to keep some graphical tools at hand (web browser for help).


Thanks for any help, tips.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Thu Apr 14, 2016 10:52 am    Post subject: Reply with quote

You should add the --tree option to the emerge command, then it would tell you why that happens.
Code:
# emerge --oneshot --ask --tree --vorbose x11-base/xorg-server


In case you can't find the solution, please pastebin your output of emerge --info.
Code:
$ emerge --info x11-base/xorg-server
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8708
Location: ~Brussels - Belgique

PostPosted: Thu Apr 14, 2016 12:12 pm    Post subject: Reply with quote

I would add that emerge don't ask to compile only the 32 bit version, but to provide the multilib version of this package. Probably due to a 32 bits dependancy (emerge --tree will show the culprit(s))
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
blugendoo
n00b
n00b


Joined: 11 Apr 2016
Posts: 23

PostPosted: Thu Apr 14, 2016 8:42 pm    Post subject: Reply with quote

Thanks for helping.
I'm really new to all Portage system, I have still a lot to learn.

With this output I'm not sure in which direction I should go:
a- admit that nvidia-drivers need 32 and accept proposed changes for flags ?
b- find out a way to force them in 64 ?
c- something else ?

Here are the culprits for the '32' flag asked by emerge:
(a tree chunk, the full tree bellow in pastebin, along with info command result)

Code:

[nomerge       ] x11-drivers/nvidia-drivers-361.28:0/361::gentoo  USE="X acpi driver kms multilib tools -gtk3 -pax_kernel -static-libs -uvm"
[ebuild   R    ]  x11-libs/libXext-1.3.3::gentoo  USE="-doc -static-libs" ABI_X86="32* (64) (-x32)" 0 KiB
[ebuild   R    ]   x11-libs/libX11-1.6.3::gentoo  USE="ipv6 -doc -static-libs {-test}" ABI_X86="32* (64) (-x32)" 0 KiB
[ebuild   R    ]    x11-libs/libxcb-1.11.1:0/1.11.1::gentoo  USE="xkb -doc (-selinux) -static-libs {-test}" ABI_X86="32* (64) (-x32)" 0 KiB
[ebuild   R    ]     x11-proto/xcb-proto-1.11::gentoo  ABI_X86="32* (64) (-x32)" PYTHON_TARGETS="python2_7 python3_4 -python3_3" 0 KiB

[nomerge       ] x11-base/xorg-server-1.17.4:0/1.17.4::gentoo  USE="glamor ipv6 nptl suid systemd udev xorg -dmx -doc -kdrive (-libressl) -minimal (-selinux) -static-libs
                                          -tslib -unwind -wayland -xephyr -xnest -xvfb"
[nomerge       ]  media-libs/mesa-11.0.6::gentoo  USE="bindist classic dri3 egl gallium gbm llvm nptl udev wayland -d3d9 -debug -gles1 -gles2 -opencl -openmax -osmesa
                                          -pax_kernel -pic (-selinux) -vaapi -vdpau -xa -xvmc" ABI_X86="(64) -32 (-x32)" VIDEO_CARDS="intel (-freedreno) -i915 -i965 -ilo -nouveau
                                          -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware"
[nomerge       ]   x11-libs/libxcb-1.11.1:0/1.11.1::gentoo  USE="xkb -doc (-selinux) -static-libs {-test}" ABI_X86="32* (64) (-x32)"
[ebuild   R    ]    x11-libs/libXdmcp-1.1.2::gentoo  USE="-doc -static-libs" ABI_X86="32* (64) (-x32)" 0 KiB
[ebuild   R    ]    x11-libs/libXau-1.0.8::gentoo  USE="-static-libs" ABI_X86="32* (64) (-x32)" 0 KiB

[nomerge       ] x11-drivers/nvidia-drivers-361.28:0/361::gentoo  USE="X acpi driver kms multilib tools -gtk3 -pax_kernel -static-libs -uvm"
[nomerge       ]  x11-libs/libX11-1.6.3::gentoo  USE="ipv6 -doc -static-libs {-test}" ABI_X86="32* (64) (-x32)"
[ebuild   R    ]   x11-proto/inputproto-2.3.1::gentoo  ABI_X86="32* (64) (-x32)" 0 KiB
[ebuild   R    ]   x11-proto/xf86bigfontproto-1.2.0-r1::gentoo  ABI_X86="32* (64) (-x32)" 0 KiB
[ebuild   R    ]   x11-proto/kbproto-1.0.7::gentoo  ABI_X86="32* (64) (-x32)" 0 KiB

[nomerge       ] x11-drivers/xf86-video-intel-2.99.917-r2::gentoo  USE="dri sna udev -debug -uxa -xvmc"
[nomerge       ]  x11-libs/libdrm-2.4.65::gentoo  USE="-libkms -static-libs -valgrind" ABI_X86="(64) -32 (-x32)" VIDEO_CARDS="intel -amdgpu (-exynos) (-freedreno)
                                          -nouveau (-omap) -radeon (-tegra) -vmware"
[ebuild   R    ]   dev-libs/libpthread-stubs-0.3-r1::gentoo  USE="-static-libs" ABI_X86="32* (64) (-x32)" 0 KiB

[nomerge       ] dev-qt/designer-4.8.6-r1:4::gentoo  USE="declarative exceptions kde phonon qt3support (-aqua) -debug -pch -webkit" ABI_X86="(64) -32 (-x32)"
[nomerge       ]  media-libs/phonon-4.7.2::gentoo  USE="designer qt4 qt5 vlc (-aqua) -debug -gstreamer -pulseaudio (-zeitgeist)"
[nomerge       ]   media-libs/phonon-vlc-0.7.2::gentoo  USE="qt4 qt5 -debug"
[nomerge       ]    media-video/vlc-2.2.1-r1:0/5-8::gentoo  USE="X a52 alsa avcodec avformat cdda dbus dts dvbpsi dvd encode ffmpeg flac gcrypt jpeg kde libnotify
                                          libsamplerate mp3 mpeg ncurses ogg opengl png qt5 sdl svg swscale truetype udev vorbis x264 xcb xml xv -aalib (-altivec) -atmo
                                          (-audioqueue) -bidi -bluray -cddb -chromaprint -dc1394 -debug -directfb (-directx) -dvb (-dxva2) -faad -fdk -fluidsynth -fontconfig
                                          -gme -gnome -gnutls -growl -httpd -ieee1394 -jack -kate -libass -libav -libcaca -libtar -libtiger -linsys -lirc -live -lua (-macosx-dialog-provider)
                                          (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) -matroska (-media-library) -modplug -mtp -musepack (-neon) -omxil -opencv
                                          -optimisememory (-opus) -postproc -projectm -pulseaudio -qt4 -rdp -rtsp -run-as-root -samba -schroedinger -sdl-image -sftp -shout -sid
                                          -skins -speex -taglib {-test} -theora -tremor -twolame -upnp -v4l -vaapi -vcdx -vdpau -vlm -vnc -vpx -wma-fixed -x265 -zeroconf -zvbi"
                                          CPU_FLAGS_X86="mmx sse"
[nomerge       ]     x11-libs/libnotify-0.7.6-r3::gentoo  USE="introspection {-test}" ABI_X86="(64) -32 (-x32)"
[nomerge       ]      virtual/notification-daemon-0::gentoo  USE="-gnome"
[nomerge       ]       kde-frameworks/knotifications-5.18.0:5/5.18::gentoo  USE="X dbus nls -debug -doc (-speech)"
[nomerge       ]        x11-libs/libX11-1.6.3::gentoo  USE="ipv6 -doc -static-libs {-test}" ABI_X86="32* (64) (-x32)"
[ebuild   R    ]         x11-proto/xproto-7.0.28::gentoo  USE="-doc" ABI_X86="32* (64) (-x32)" 0 KiB
[ebuild   R    ]         x11-proto/xextproto-7.3.0::gentoo  USE="-doc" ABI_X86="32* (64) (-x32)" 0 KiB


The emerge tree (chrooted env.)
http://pastebin.com/TKQd9A6Y

The emerge info (chrooted env.)
http://pastebin.com/GLAf6Y1F
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Thu Apr 14, 2016 9:34 pm    Post subject: Reply with quote

As already mentioned by xaviermiller, try again with -multilib for the driver:
Code:
/etc/portage/package.use

x11-drivers/nvidia-drivers -multilib
Back to top
View user's profile Send private message
blugendoo
n00b
n00b


Joined: 11 Apr 2016
Posts: 23

PostPosted: Thu Apr 14, 2016 10:05 pm    Post subject: Reply with quote

@charles17: I see. I really didn't have enough knowledge for that part.

On my new Gentoo the /etc/portage/package.use isn't a file but a directory.
The wiki has example only for the file syntax (not what to put in that dir):
https://wiki.gentoo.org/wiki//etc/portage/package.use

So I try with a new file there, "nvidia-drivers" with the line you mention.
x11-drivers/nvidia-drivers -multilib

And... tadaaam!
No more USE flag asked for this emerge 8)

I'll try to understand all this, thanks for helping.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Fri Apr 15, 2016 5:16 am    Post subject: Reply with quote

blugendoo wrote:
The wiki has example only for the file syntax (not what to put in that dir):
https://wiki.gentoo.org/wiki//etc/portage/package.use

Just delete that directory and create /etc/portage/package.use as a file.
Back to top
View user's profile Send private message
blugendoo
n00b
n00b


Joined: 11 Apr 2016
Posts: 23

PostPosted: Fri Apr 15, 2016 8:09 am    Post subject: Reply with quote

charles17 wrote:
Just delete that directory and create /etc/portage/package.use as a file.
It worked with the directory.

I understand that you like it better when all those files in that directory are merged into a single one, also named package.use.
It's simpler and the directory may be not worth it, right ?

Right now I don't really mind, I have a new issue, as expected, with NVidia drivers, I'll write about that on my chat thread and if I need help I'll make a new thread here.
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