so where is the catch in CloverOs? I want to use gentoo on my secondary computer but I don't have time to install it so I thought Clover might be a good option
Looks like they use aggressive CFLAGS (may cause wierd breakage)
-Ofast
Gentoo doesn't take long to install either, for your base system you download binaries as well. The reason the handbook is long is because of the choices it offers.
As for a kernel if you don't want to take the time to hand configure it genkernel works just fine.
You may think I'm an idiot (and I am), but I've googled a lot and not found a good answer.
For example, I want a version of emerge --depclean www-client/firefox-bin that would remove www-client/firefox-bin AND its dependencies.
If I run emerge --depclean www-client/firefox-bin, it only removes firefox, but not its dependencies. I have to run emerge --depclean again to remove them.
Is there some way to do this in one command? emerge --depclean www-client/firefox-bin && emerge --depclean doesn't count
Hello all,
I've been away from Gentoo for a year, but I'm coming back and trying to install it on a Lenovo Thinkpad X250. My goal is Gentoo without systemd, with Wayland and Sway, eventually migrating (once stable) to hardened+selinux. I used the current-stage3-amd64 build and followed Full Disk Encryption From Scratch Simplified. My systems boots perfectly to runlevel 3 and has no issues with LUKS or networking.
Since first boot, I have installed lm-sensors and laptop-mode-tools, following the wiki for appropriate kernel options to recompile with. Then I wanted to install Wayland + Sway, so I installed dev-libs/wayland, then tried installing gui-wm/sway, but the dependencies failed on graphite2.
I updated the system with emerge -avuDU --keep-going --with-bdeps=y @world, I think graphite2 finished at that point, but then another dependency failed to install. One of the lines was meson: command not found, so I installed meson. Repeat. "ninja: command not found". So I install ninja. Repeat. "cmake: command not found". So I try to install cmake. Except when I install cmake, I get "cmake: command not found".
Is something wrong with my installation? I don't remember these issues last year, and was able to get to a X11/KDE environment without issue.
Here is my build.log for cmake
* Package: dev-util/cmake-3.14.6
* Repository: gentoo
* Maintainer: kde@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux ncurses userland_GNU
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking cmake-3.14.6.tar.gz to /var/tmp/portage/dev-util/cmake-3.14.6/work
>>> Source unpacked in /var/tmp/portage/dev-util/cmake-3.14.6/work
>>> Preparing source in /var/tmp/portage/dev-util/cmake-3.14.6/work/cmake-3.14.6 ...
* Applying cmake-3.4.0_rc1-darwin-bundle.patch ... [ ok ]
* Applying cmake-3.14.0_rc3-prefix-dirs.patch ... [ ok ]
* Applying cmake-3.14.0_rc1-FindBLAS.patch ... [ ok ]
* Applying cmake-3.14.0_rc1-FindLAPACK.patch ... [ ok ]
* Applying cmake-3.5.2-FindQt4.patch ... [ ok ]
* Applying cmake-2.8.10.2-FindPythonLibs.patch ...
patching file Modules/FindPythonLibs.cmake
Hunk #1 succeeded at 117 with fuzz 2 (offset 43 lines). [ ok ]
* Applying cmake-3.9.0_rc2-FindPythonInterp.patch ... [ ok ]
* Working in BUILD_DIR: "/var/tmp/portage/dev-util/cmake-3.14.6/work/cmake-3.14.6_build"
* Hardcoded definition(s) removed in CMakeLists.txt:
* set(CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}/")
* Hardcoded definition(s) removed in Tests/JavaJavah/CMakeLists.txt:
* set(CMAKE_VERBOSE_MAKEFILE 1)
* Hardcoded definition(s) removed in Tests/QtAutogen/UicInterface/CMakeLists.txt:
* set(CMAKE_VERBOSE_MAKEFILE ON)
* Hardcoded definition(s) removed in Tests/JavaNativeHeaders/CMakeLists.txt:
* set(CMAKE_VERBOSE_MAKEFILE 1)
* Hardcoded definition(s) removed in Tests/Qt4Deploy/CMakeLists.txt:
* set(CMAKE_INSTALL_PREFIX ${CMAKE_CURRENT_BINARY_DIR}/install)
* Hardcoded definition(s) removed in Tests/CPackComponents/CMakeLists.txt:
* set(CMAKE_INSTALL_PREFIX "/opt/mylib")
* Hardcoded definition(s) removed in Tests/SetLang/CMakeLists.txt:
* set(CMAKE_VERBOSE_MAKEFILE 1)
* Hardcoded definition(s) removed in Tests/CMakeOnly/SelectLibraryConfigurations/CMakeLists.txt:
* set(CMAKE_BUILD_TYPE Debug)
* Hardcoded definition(s) removed in Tests/CMakeOnly/CheckCXXCompilerFlag/CMakeLists.txt:
* set(CMAKE_VERBOSE_MAKEFILE 1)
* Hardcoded definition(s) removed in Tests/Java/CMakeLists.txt:
* set(CMAKE_VERBOSE_MAKEFILE 1)
* Hardcoded definition(s) removed in Tests/Assembler/CMakeLists.txt:
* set(CMAKE_VERBOSE_MAKEFILE 1)
* Hardcoded definition(s) removed in Tests/FindPackageTest/CMakeLists.txt:
* set(CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_BINARY_DIR}/NotDefaultPrefix")
* Hardcoded definition(s) removed in Tests/OutDir/CMakeLists.txt:
* set(CMAKE_BUILD_TYPE)
* set(CMAKE_BUILD_TYPE Debug)
* Hardcoded definition(s) removed in Tests/RunCMake/CPack/CMakeLists.txt:
* set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "")
* Hardcoded definition(s) removed in Tests/JavaExportImport/BuildExport/CMakeLists.txt:
* set(CMAKE_VERBOSE_MAKEFILE 1)
* Hardcoded definition(s) removed in Tests/JavaExportImport/InstallExport/CMakeLists.txt:
* set(CMAKE_VERBOSE_MAKEFILE 1)
* Hardcoded definition(s) removed in Tests/JavaExportImport/Import/CMakeLists.txt:
* set(CMAKE_VERBOSE_MAKEFILE 1)
* Hardcoded definition(s) removed in Tests/Fortran/CMakeLists.txt:
* set(CMAKE_VERBOSE_MAKEFILE 1)
* Hardcoded definition(s) removed in Tests/SubDirSpaces/CMakeLists.txt:
* set(CMAKE_VERBOSE_MAKEFILE 1)
* Hardcoded definition(s) removed in Tests/CMakeCommands/target_compile_features/CMakeLists.txt:
* set(CMAKE_VERBOSE_MAKEFILE ON)
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-util/cmake-3.14.6/work/cmake-3.14.6 ...
* Working in BUILD_DIR: "/var/tmp/portage/dev-util/cmake-3.14.6/work/cmake-3.14.6_build"
cmake -C /var/tmp/portage/dev-util/cmake-3.14.6/work/cmake-3.14.6_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_USE_SYSTEM_LIBRARIES=ON -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=no -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_DOC_DIR=/share/doc/cmake-3.14.6 -DCMAKE_MAN_DIR=/share/man -DCMAKE_DATA_DIR=/share/cmake -DSPHINX_MAN=no -DSPHINX_HTML=no -DBUILD_CursesDialog=yes -DBUILD_TESTING=no -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-util/cmake-3.14.6/work/cmake-3.14.6_build/gentoo_toolchain.cmake /var/tmp/portage/dev-util/cmake-3.14.6/work/cmake-3.14.6
/var/tmp/portage/dev-util/cmake-3.14.6/temp/environment: line 920: cmake: command not found
* ERROR: dev-util/cmake-3.14.6::gentoo failed (configure phase):
* cmake failed
*
* Call stack:
* ebuild.sh, line 125: Called src_configure
* environment, line 2230: Called cmake_src_configure
* environment, line 920: Called die
* The specific snippet of code:
* "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
*
* If you need support, post the output of `emerge --info '=dev-util/cmake-3.14.6::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-util/cmake-3.14.6::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-util/cmake-3.14.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-util/cmake-3.14.6/temp/environment'.
* Working directory: '/var/tmp/portage/dev-util/cmake-3.14.6/work/cmake-3.14.6_build'
* S: '/var/tmp/portage/dev-util/cmake-3.14.6/work/cmake-3.14.6'
And the output from emerge --info '=dev-util/cmake-3.14.6::gentoo'
Portage 2.3.84 (python 3.6.9-final-0, default/linux/amd64/17.1, gcc-9.2.0, glibc-2.29-r7, 4.19.97-gentoo-x86_64 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-4.19.97-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i5-5300U_CPU_@_2.30GHz-with-gentoo-2.6
KiB Mem: 16292612 total, 15779948 free
KiB Swap: 4194300 total, 4194300 free
Timestamp of repository gentoo: Mon, 03 Feb 2020 00:45:01 +0000
Head commit of repository gentoo: cf12d7fd5d98f5209513bcc9b93388e98d785fd5
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash: 4.4_p23-r1::gentoo
dev-lang/perl: 5.30.1::gentoo
dev-lang/python: 2.7.17::gentoo, 3.6.9::gentoo
dev-util/cmake: 3.14.6::gentoo
sys-apps/baselayout: 2.6-r1::gentoo
sys-apps/openrc: 0.42.1::gentoo
sys-apps/sandbox: 2.13::gentoo
sys-devel/autoconf: 2.69-r4::gentoo
sys-devel/automake: 1.16.1-r1::gentoo
sys-devel/binutils: 2.32-r1::gentoo
sys-devel/gcc: 9.2.0-r2::gentoo
sys-devel/gcc-config: 2.1::gentoo
sys-devel/libtool: 2.4.6-r6::gentoo
sys-devel/make: 4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc: 2.29-r7::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-jobs: 1
sync-rsync-verify-max-age: 24
sync-rsync-extra-opts:
sync-rsync-verify-metamanifest: yes
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 berkdb bzip2 cli crypt cxx dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode wayland xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
=================================================================
Package Settings
=================================================================
dev-util/cmake-3.14.6::gentoo was built with the following:
USE="ncurses -doc -emacs -qt5 -system-jsoncpp -test" ABI_X86="(64)"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox parallel-fetch preserve-libs protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
Thank you for looking at this! Any guidance would be appreciated!
I noticed that when I was configuring my kernel at install, it was version 4.19, not 5.4.whatever. Do I have to update it after the install is done, and how would I do about that?
Referring to: https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Base#Updating_the_.40world_set
Why is it done in this order? Wouldn't it be more efficient to configure your USE flags and then update @world?
Hi,
I'm just a casual user. The last time I was using it it was like 10-15 years ago. It was decently popular back then before Ubuntu and Arch Linux became known.
So how is it today? My only but big problem was constant errors with updates. Always some dependencies missing or something. Does updates work or should I be ready to fix problems whenever I want to update world?
This version is now masked but I (and most likely a few others) managed to pull it in before that happened.
Downgrade to 0.52.0 to resolve.
Bugs:
As the title says, for a uni class my professor asked for everyone to embed Gentoo into our system (RIP my windows partition), it took me 1 week and several tries to get it working.
I have GNOME setup but Im struggling with getting the wifi and audio to work, my wifi driver is RTL8723be, it appears on the kernel and I have it as a module, previously I had it with the “*” symbol.
I dont really need the wi-fi for my class but its really stopping me from fully loving Gentoo.
There are two effects I'm trying to achieve, I've been running into dead ends with both of them and would greatly appreciate suggestions for either.
The first is that I'd like to emulate a monochrome display, ideally with a red or amber hue. I need to be able to disable this effect--ideally only in selected portions of the screen--without restarting X. Adjusting the monitor isn't an option with my current setup.
The second effect I'm trying to create is a vertical and horizontal line spanning the entire screen which intersect at the cursor position. I've tried using xcursorgen for this and it was slow to draw whenever I moved the cursor.
With both of these, the most promising solutions I've seen mentioned seemed to be the use of a compositor, for the monochrome display I've even come across what looked like a solution but unfortunately it relied on an option that seems to have since been removed from compton. Should I be looking elsewhere? Do these things sound doable?
Please help...
How to put Selenium on gentoo using wget, so I could make python tests for app testing on gentoo?
I have a Dell XPS 13 9360 been running gentoo on it for a while. Whole reason I'm upgrading kernel is to get virtualbox working for this OS class for school so i can run a specific linux VM... ugh anyways here we go
when I boot GRUB says that it cant find the linux image 4.19.66(old one, I want 4.19.97).
So I go to edit the menuselection file and change the linux and initrd entries. It ORIGINALLY says(originally configured kernel using GENKERNEL)
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
..blahblah if statement
echo 'Loading Linux x86_64-4.19.66-gentoo ...'
linux /kernel-genkernel-x86_64-4.19.66-gentoo root=UUID=818b8a11-8eb4-4056-ae12-0f0f388abc56 ro
echo 'Loading initial ramdisk ...'
initrd /initramfs-genkernel-x86_64-4.19.66-gentoo
So to successfully boot i changed it to the following
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
..blahblah if statement
echo 'Loading Linux x86_64-4.19.66-gentoo ...'
linux /boot/vmlinuz-4.19.97-gentoo root=UUID=818b8a11-8eb4-4056-ae12-0f0f388abc56 ro
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-4.19.97-gentoo.img
and boom it boots!
But my keyboard doesn't work...probably didn't load a module or include support for it in the kernel config. I thought that make localmodconfig would include the drivers used, including the driver currently allowing me to type at that time.
Anyways to manually upgrade kernel I typed in the following commands in order(mind you the partition scheme is [ / (sda1) , none (sda2) , /home (sda3) ]:
eselect list
sudo eselect set 1 (showed linux-4.19.97 as the only entry)
ls -al /usr/src/linux (linux -> linux-4.19.97)
cd /usr/src/linux
sudo make localmodconfig
sudo make gconfig
sudo make -j8
sudo make modules_prepare
sudo make modules
sudo emerge \@module-rebuild
sudo make modules_install
sudo make install
sudo genkernel --install initramfs
sudo grub-mkconfig -o /boot/grub/grub.cfg
sudo reboot
grub did find previous(4.19.66) and current(4.19.97) linux & initrd image, located at
/boot/vmlinuz-4.19.97-gentoo
and
/boot/initramfs-4.19.97-gentoo
EDIT: fixed the keyboard not working by booting into a live cd and remaking the kernel from there
In regards to the grub MENUENTRY file, I've tried:
Editing /boot/grub/grub.cfg to reflect the changes, Still trying to boot old kernel
Editing /etc/default/grub and /etc/grub.d/40_custom and _chmod_+x_'d it. When I did the
grub-mkconfig -o /boot/grub/grub.cfg
3. Realized that there was a /grub directory in the root folder from when i first installed a year ago. Deleted that and then i ran the command
grub-install --boot-directory=/boot /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
Aaand it was fixed!
Members
Online