Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Compile time problem
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
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 342

PostPosted: Sat Mar 27, 2021 3:57 pm    Post subject: [solved] Compile time problem Reply with quote

Hello and thank you for your help.

I have been using intel i5 4200m with 8 gigs of ram.
Compiling time is rather very slow.
Portage niceness is 11.
I changed rust to rust-bin.
Now I am stucked to llvm, compiling time is too long.
Is there any way to add alternative package, like rust bin ? Thank you.

Quote:
dencies ... done!
[ebuild N ] sys-devel/llvm-11.1.0 USE="libffi ncurses -debug -doc -exegesis -gold -libedit -test -xar -xml -z3" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 (-ARC) -ARM -AVR -Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ (-VE) -WebAssembly -XCore"
[ebuild N ] dev-lang/spidermonkey-78.9.0 USE="-clang -debug -jit -lto -test"
[ebuild N ] dev-libs/glib-2.66.7 USE="dbus mime xattr -debug -fam -gtk-doc (-selinux) -static-libs -sysprof -systemtap -test -utils" ABI_X86="(64) -32 (-x32)"
[ebuild N ] x11-misc/shared-mime-info-2.1
[ebuild N ] dev-util/desktop-file-utils-0.26-r1 USE="-emacs"
[ebuild N ] gnome-base/dconf-0.40.0 USE="-gtk-doc -test"
[ebuild N ] dev-libs/gobject-introspection-1.66.1 USE="-doctool -gtk-doc -test" PYTHON_SINGLE_TARGET="python3_8 -python3_7 -python3_9"
[ebuild N ] sys-auth/elogind-246.9.2 USE="acl pam policykit -audit -debug -doc (-selinux)"
[ebuild N ] sys-auth/polkit-0.118 USE="elogind introspection nls pam -examples -gtk -jit -kde (-selinux) -systemd -test"
[ebuild R ] sys-auth/pambase-20210201.1 USE="elogind*"
[ebuild R ] sys-apps/dbus-1.12.20-r1 USE="elogind*"
[ebuild R ] sys-process/procps-3.3.17 USE="elogind*"


Last edited by RIA77 on Sat Mar 27, 2021 6:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sat Mar 27, 2021 4:33 pm    Post subject: Reply with quote

Hi
please change also firefox to firefox-bin
thunderbird to thunderbird-bin
chromium to google chrome.
As for llvm it is being pulled by spidermonkey and mesa.
Rebuild mesa with USE="- llvm".
Spidermonkey is pulled by polkit.
What you CAN do is this
Code:

emerge -av layman
layman-updater -R
layman -a miramir
echo "sys-auth/polkit::gentoo" > etc/portage/package.mask/polkit
echo "media-libs/mesa  -llvm" > /etc/portage/package.use/mesa
echo "sys-auth/polkit::miramir   duktape" > /etc/portage/package.use/polkit

emerge -1av rust-bin duktape
emerge -1av sys-auth/polkit::miramir  mesa
emerge -a --depclean

Avoid libreoffice.
Just use flatpak version....
Also try having
/var/tmp/portage
on tmpfs.
Please have a look at
https://wiki.gentoo.org/wiki/Portage_TMPDIR_on_tmpfs
Also you can use
MAKEOPTS="-j4"
in
/etc/portage/make.conf
rust is making inroads in the kernel UNFORTUNATELY.
https://www.phoronix.com/scan.php?page=news_item&px=Rust-Hits-Linux-Next
_________________
:)


Last edited by alamahant on Sat Mar 27, 2021 5:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 342

PostPosted: Sat Mar 27, 2021 4:49 pm    Post subject: Reply with quote

Quote:
Adding overlay...
* Warning: an installed db file was not found at: ['/var/lib/layman/cache_930c3ed4a5f89f74fd810585751a06e3.xml']
* Exception: Overlay "miramir" does not exist.

* CLI: Errors occurred processing action add
* Exception: Overlay "miramir" does not exist.


Polkit is masked, should I unmask it ?
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sat Mar 27, 2021 4:52 pm    Post subject: Reply with quote

Code:

layman -l

 * gig                       [Git       ] (https://github.com/Gig-OS/gig.git                                         )
 * jorgicio                  [Git       ] (https://github.com/jorgicio/jorgicio-gentoo.git                           )
 * miramir                   [Git       ] (https://github.com/miramir/miramir-layman.git                      )

Try running
mkdir /etc/portage/repos.conf
layman-updater -R
layman -S

BEFORE
adding overlay "miramir"
Sorry my mistake
:)
_________________
:)
Back to top
View user's profile Send private message
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 342

PostPosted: Sat Mar 27, 2021 4:59 pm    Post subject: Reply with quote

Quote:
These are the packages that would be merged, in order:

Calculating dependencies L

!!! Problem resolving dependencies for media-libs/mesa
... done!

!!! The ebuild selected to satisfy "mesa" has unmet requirements.
- media-libs/mesa-21.0.1::gentoo USE="X classic dri3 egl gallium gbm gles2 zstd -d3d9 -debug -gles1 -llvm -lm-sensors -opencl -osmesa (-selinux) -test -unwind -vaapi -valgrind -vdpau -vulkan -vulkan-overlay -wayland -xa -xvmc -zink" ABI_X86="(64) -32 (-x32)" VIDEO_CARDS="intel nouveau radeon radeonsi (-freedreno) -i915 -i965 -iris (-lima) (-panfrost) -r100 -r200 -r300 -r600 (-v3d) (-vc4) -virgl (-vivante) -vmware"

The following REQUIRED_USE flag constraints are unsatisfied:
video_cards_radeon? ( gallium? ( amd64? ( llvm ) ) ) video_cards_radeonsi? ( llvm )

The above constraints are a subset of the following complete expression:
d3d9? ( dri3 any-of ( video_cards_iris video_cards_r300 video_cards_r600 video_cards_radeonsi video_cards_nouveau video_cards_vmware ) ) gles1? ( egl ) gles2? ( egl ) osmesa? ( gallium ) vulkan? ( dri3 video_cards_radeonsi? ( llvm ) ) vulkan-overlay? ( vulkan ) wayland? ( egl gbm ) video_cards_freedreno? ( gallium ) video_cards_intel? ( classic ) video_cards_i915? ( any-of ( classic gallium ) ) video_cards_i965? ( classic ) video_cards_iris? ( gallium ) video_cards_lima? ( gallium ) video_cards_nouveau? ( any-of ( classic gallium ) ) video_cards_panfrost? ( gallium ) video_cards_radeon? ( any-of ( classic gallium ) gallium? ( x86? ( llvm ) amd64? ( llvm ) ) ) video_cards_r100? ( classic ) video_cards_r200? ( classic ) video_cards_r300? ( gallium x86? ( llvm ) amd64? ( llvm ) ) video_cards_r600? ( gallium ) video_cards_radeonsi? ( gallium llvm ) video_cards_v3d? ( gallium ) video_cards_vc4? ( gallium ) video_cards_virgl? ( gallium ) video_cards_vivante? ( gallium gbm ) video_cards_vmware? ( gallium ) xa? ( X ) xvmc? ( X ) zink? ( gallium vulkan )

devuan / # emerge -a polkit mesa

* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies m

!!! Problem resolving dependencies for media-libs/mesa
... done!

!!! The ebuild selected to satisfy "mesa" has unmet requirements.
- media-libs/mesa-21.0.1::gentoo USE="X classic dri3 egl gallium gbm gles2 zstd -d3d9 -debug -gles1 -llvm -lm-sensors -opencl -osmesa (-selinux) -test -unwind -vaapi -valgrind -vdpau -vulkan -vulkan-overlay -wayland -xa -xvmc -zink" ABI_X86="(64) -32 (-x32)" VIDEO_CARDS="intel nouveau radeon radeonsi (-freedreno) -i915 -i965 -iris (-lima) (-panfrost) -r100 -r200 -r300 -r600 (-v3d) (-vc4) -virgl (-vivante) -vmware"

The following REQUIRED_USE flag constraints are unsatisfied:
video_cards_radeon? ( gallium? ( amd64? ( llvm ) ) ) video_cards_radeonsi? ( llvm )

The above constraints are a subset of the following complete expression:
d3d9? ( dri3 any-of ( video_cards_iris video_cards_r300 video_cards_r600 video_cards_radeonsi video_cards_nouveau video_cards_vmware ) ) gles1? ( egl ) gles2? ( egl ) osmesa? ( gallium ) vulkan? ( dri3 video_cards_radeonsi? ( llvm ) ) vulkan-overlay? ( vulkan ) wayland? ( egl gbm ) video_cards_freedreno? ( gallium ) video_cards_intel? ( classic ) video_cards_i915? ( any-of ( classic gallium ) ) video_cards_i965? ( classic ) video_cards_iris? ( gallium ) video_cards_lima? ( gallium ) video_cards_nouveau? ( any-of ( classic gallium ) ) video_cards_panfrost? ( gallium ) video_cards_radeon? ( any-of ( classic gallium ) gallium? ( x86? ( llvm ) amd64? ( llvm ) ) ) video_cards_r100? ( classic ) video_cards_r200? ( classic ) video_cards_r300? ( gallium x86? ( llvm ) amd64? ( llvm ) ) video_cards_r600? ( gallium ) video_cards_radeonsi? ( gallium llvm ) video_cards_v3d? ( gallium ) video_cards_vc4? ( gallium ) video_cards_virgl? ( gallium ) video_cards_vivante? ( gallium gbm ) video_cards_vmware? ( gallium ) xa? ( X ) xvmc? ( X ) zink? ( gallium vulkan )
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sat Mar 27, 2021 5:03 pm    Post subject: Reply with quote

What is your gpu?
If it is intel and nvidia
you do NOT need radeon also
VIDEO_CARDS="intel i965 nvidia"
or
VIDEO_CARDS="intel i965 nouveau"
Try
USE=".......-gallium"
VIDEO_CARDS=".......-radeonsi"
Polkit is masked because we masked it.
The Gentoo version which pulls spidermokey which pulls llvm.
Try
emerge -1av sys-auth/polkit::miramir
which will NOT pull spidermonkey
if built with USE="duktape"
_________________
:)
Back to top
View user's profile Send private message
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 342

PostPosted: Sat Mar 27, 2021 6:01 pm    Post subject: Reply with quote

The following USE changes are necessary to proceed:
(see "package.use" in the portage(5) man page for more details)
# required by x11-drivers/nvidia-drivers-460.67::gentoo[X]
# required by x11-base/xorg-drivers-1.20-r2::gentoo[video_cards_nvidia]
# required by x11-base/xorg-server-1.20.10-r3::gentoo[xorg]
# required by x11-drivers/xf86-video-intel-2.99.917_p20201215::gentoo
>=media-libs/libglvnd-1.3.2-r2 abi_x86_32
# required by x11-libs/libXext-1.3.4::gentoo
# required by media-libs/libglvnd-1.3.2-r2::gentoo[X]
# required by x11-drivers/nvidia-drivers-460.67::gentoo[X]
# required by x11-base/xorg-drivers-1.20-r2::gentoo[video_cards_nvidia]
# required by x11-base/xorg-server-1.20.10-r3::gentoo[xorg]
# required by x11-drivers/xf86-video-intel-2.99.917_p20201215::gentoo
>=x11-libs/libX11-1.7.0 abi_x86_32
# required by media-libs/libglvnd-1.3.2-r2::gentoo[X]
# required by x11-drivers/nvidia-drivers-460.67::gentoo[X]
# required by x11-base/xorg-drivers-1.20-r2::gentoo[video_cards_nvidia]
# required by x11-base/xorg-server-1.20.10-r3::gentoo[xorg]
# required by x11-drivers/xf86-video-intel-2.99.917_p20201215::gentoo
>=x11-libs/libXext-1.3.4 abi_x86_32
# required by x11-libs/libX11-1.7.0::gentoo
# required by x11-apps/xinit-1.4.1-r1::gentoo
# required by x11-base/xorg-server-1.20.10-r3::gentoo
# required by x11-drivers/xf86-video-intel-2.99.917_p20201215::gentoo
# required by x11-base/xorg-drivers-1.20-r2::gentoo[-video_cards_i965,video_cards_intel]
>=x11-libs/libxcb-1.14 abi_x86_32
# required by x11-libs/libxcb-1.14::gentoo
# required by x11-libs/libX11-1.7.0::gentoo
# required by x11-apps/xinit-1.4.1-r1::gentoo
# required by x11-base/xorg-server-1.20.10-r3::gentoo
# required by x11-drivers/xf86-video-intel-2.99.917_p20201215::gentoo
# required by x11-base/xorg-drivers-1.20-r2::gentoo[-video_cards_i965,video_cards_intel]
>=x11-libs/libXau-1.0.9-r1 abi_x86_32
# required by x11-libs/libxcb-1.14::gentoo
# required by x11-libs/libX11-1.7.0::gentoo
# required by x11-apps/xinit-1.4.1-r1::gentoo
# required by x11-base/xorg-server-1.20.10-r3::gentoo
# required by x11-drivers/xf86-video-intel-2.99.917_p20201215::gentoo
# required by x11-base/xorg-drivers-1.20-r2::gentoo[-video_cards_i965,video_cards_intel]
>=x11-libs/libXdmcp-1.1.3 abi_x86_32
# required by x11-libs/libxcb-1.14::gentoo
# required by x11-libs/libX11-1.7.0::gentoo
# required by x11-apps/xinit-1.4.1-r1::gentoo
# required by x11-base/xorg-server-1.20.10-r3::gentoo
# required by x11-drivers/xf86-video-intel-2.99.917_p20201215::gentoo
# required by x11-base/xorg-drivers-1.20-r2::gentoo[-video_cards_i965,video_cards_intel]
>=x11-base/xcb-proto-1.14.1 abi_x86_32

Would you like to add these changes to your config files? [Yes/No] y

Autounmask changes successfully written.

* IMPORTANT: 2 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.

!!! All ebuilds that could satisfy "media-libs/libglvnd[X,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?]" have been masked.
!!! One of the following masked packages is required to complete your request:
- media-libs/libglvnd-9999::gentoo (masked by: missing keyword)
- media-libs/libglvnd-1.3.2-r2::gentoo (masked by: )

(dependency required by "x11-drivers/nvidia-drivers-460.67::gentoo" [ebuild])
(dependency required by "x11-base/xorg-drivers-1.20-r2::gentoo[video_cards_nvidia]" [ebuild])
(dependency required by "x11-base/xorg-server-1.20.10-r3::gentoo[xorg]" [ebuild])
(dependency required by "x11-drivers/xf86-video-intel-2.99.917_p20201215::gentoo" [ebuild])
For more information, see the MASKED PACKAG
Back to top
View user's profile Send private message
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 342

PostPosted: Sat Mar 27, 2021 6:48 pm    Post subject: Reply with quote

Solved with
VIDEO_CARDS="intel nouveau"
Thank you.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sat Mar 27, 2021 7:42 pm    Post subject: Reply with quote

Please use
VIDEO_CARDS="intel i965 nouveau"
I think your cpu is hashwell.
So you can use the newer i965 intel driver than the older i915.
If not please use
VIDEO_CARDS="intel i915 nouveau"
_________________
:)
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