Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

cardinal

Members
  • Posts

    490
  • Joined

  • Last visited

  • Days Won

    59

Everything posted by cardinal

  1. Genkernel provides a generic configuration that works with gentoo-sources,vanilla-sources. Verify /usr/src/linux is symlinked to the kernel sources to be built: eselect kernel list Available kernel symlink targets: [1] linux-4.4.115 * [2] linux-debian-sources-3.19.3 * is pointing to linux-4.4.115 vanilla sources ls -la /usr/src/linux lrwxrwxrwx 1 root root 13 Feb 23 23:37 /usr/src/linux -> linux-4.4.115 Command to build: genkernel all Genkernel installs my completed build of linux-4.4.115 to /boot ls /boot System.map-debian-sources-x86_64-3.19.3-1~exp1 System.map-genkernel-x86_64-4.4.115 initramfs-debian-sources-x86_64-3.19.3-1~exp1 initramfs-genkernel-x86_64-4.4.115 intel-uc.img kernel-debian-sources-x86_64-3.19.3-1~exp1 kernel-genkernel-x86_64-4.4.115 After configuring grub I reboot into new kernel: uname -a Linux funtoo 4.4.115 #1 SMP Fri Feb 23 22:06:22 EST 2018 x86_64 Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz GenuineIntel GNU/Linux
  2. Radeon graphics cards require firmware. rj@funtoo ~ $ sudo emerge -av linux-firmware These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] sys-kernel/linux-firmware-20180213::core-hw-kit USE="-savedconfig" 136,762 KiB Total: 1 package (1 new), Size of downloads: 136,762 KiB Would you like to merge these packages? [Yes/No] Debian sources kernel includes the radeon kernel module.
  3. https://www.funtoo.org/Install#Chroot_into_Funtoo You'll also want to copy over resolv.conf in order to have proper resolution of Internet hostnames from inside the chroot: # cp /etc/resolv.conf /mnt/funtoo/etc/
  4. Those packages should have been updated months ago. I think most of the packages don't want to install because of no declared python_single_target or python_targets I recall having to add PYTHON_TARGETS="python2_7 python3_4" and PYTHON_SINGLE_TARGET="python3_4" to /etc/portage/make.conf After ego was fixed I removed it. This is the closed bug report: https://bugs.funtoo.org/browse/FL-4123?jql=text ~ "python_single" Verify you have ego-2.3.3-r1 installed
  5. My use case is to create Manifest after adding ebuild to local overlay. ebuild <pkgname-version.ebuild> manifest
  6. The user must recompile their kernel with CONFIG_R8169 disabled so in-tree r8169.ko is not on system. There would be a conflict if in-tree r8169 and out-of-tree realtek r8169 modules were both installed on same system. How the user configures and recompiles the kernel depends on what kernel sources are used, how they are installed, if genkernel is used,etc... rj@funtoo ~ $ less /var/git/meta-repo/kits/net-kit/net-misc/r8168/r8168-8.044.02.ebuild CONFIG_CHECK="!R8169" ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED"
  7. My request to add audacious-3.9 and audacious-plugins-3.9 to media-kit/1.0-prime
  8. Daniel manages this by merging kit-fixups into the meta-repo using his scripts. Commits made in the kit-fixups are merged in stage 3 of the merge-all-kits.py script. If your media-kit is on 1.1- prime and synced then your /var/git/meta-repo/kits/media-kit/media-libs/libbluray should look like this: https://github.com/funtoo/media-kit/tree/1.1-prime/media-libs/libbluray If you have update errors push the error messages/failed build logs to a pastebin service with wgetpaste and post the links with a full bug report to bugs.funtoo.org
  9. Ego no longer changes "gentoo:" to "core-kit:" in profiles The bug report is closed and the source code on git master is fixed. I install the ego-9999 live version built using fixed git source code until epro-2.3.4 is released. funtoo rj # echo "app-admin/ego **" >> /etc/portage/package.accept_keywords/ego funtoo rj # emerge -1a ego
  10. ABI issue was upgrade from gcc-4.9.3 to gcc-5.3.0 ABI compatibility is not an issue when upgrading from gcc-5.4.0 to gcc-6.4.0. Rebuild prevents future build failures if pie is enabled prior to building gcc-6.4.0 This is forced on gentoo stable amd64 when user switch's their gentoo profile from 13.0 to 17.0 Funtoo profile has PIE use masked for gcc. /var/git/meta-repo/kits/core-kit/profiles/base/package.use.mask:sys-devel/gcc pie I unmasked gcc-6.4.0 , left pie disabled, no rebuild of world was required. funtoo rj # emerge -pv gcc These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R #] sys-devel/gcc-6.4.0:6.4.0::core-kit USE="cxx fortran nls openmp -ada (-altivec) -doc (-go) -graphite (-hardened) (-libssp) (-multilib) -objc -objc++ -pch (-pie) (-sanitize) -ssp -vanilla" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB
  11. Eix determines the path from location attribute in /etc/portage/repos.conf/funtoo/core-kit rj@funtoo ~ $ cat /etc/portage/repos.conf/funtoo/default [DEFAULT] main-repo = core-kit rj@funtoo ~ $ cat /etc/portage/repos.conf/funtoo/core-kit [core-kit] location = /var/git/meta-repo/kits/core-kit auto-sync = no priority = 1 Using ports-2012 location attribute was /usr/portage rj@funtoo ~ $ cat /etc/portage/repos.conf.bak/gentoo [DEFAULT] main-repo = gentoo [gentoo] location = /usr/portage sync-type = git sync-uri = git://github.com/funtoo/ports-2012.git auto-sync = yes strace shows file paths scanned by eix strace -o eix.open.txt -e open eix --print PORTDIR strace -o eix.txt eix --print PORTDIR
  12. @dkg Post output: eix --print PORTDIR eix --print PORTDIR_OVERLAY
  13. Your funtoo symlink ends with // Review the directions for installing meta-repo. [root@chopin ~]# ls -l /etc/portage/repos.conf total 8 drwx------ 2 root root 4096 Oct 19 21:13 ./ drwxr-xr-x 9 root root 4096 Oct 19 21:12 ../ lrwxrwxrwx 1 root root 30 Oct 19 21:13 funtoo -> /var/git/meta-repo/repos.conf// On my system : rj@funtoo ~ $ ls -la /etc/portage/repos.conf total 12 drwxr-xr-x 2 root root 4096 Nov 4 12:47 . drwxr-xr-x 16 root root 4096 Nov 4 12:45 .. lrwxrwxrwx 1 root root 30 Nov 4 12:45 funtoo -> /var/git/meta-repo/repos.conf/ -rw-r--r-- 1 root root 83 Nov 4 12:48 local.conf rj@funtoo ~ $ ls -la /etc/portage/repos.conf/funtoo/ total 112 drwxr-xr-x 2 portage portage 4096 Nov 4 12:54 . drwxr-xr-x 6 portage portage 4096 Nov 25 04:15 .. -rw-r--r-- 1 portage portage 89 Jul 23 02:04 core-hw-kit -rw-r--r-- 1 portage portage 83 Aug 19 14:31 core-kit -rw-r--r-- 1 portage portage 31 Jul 23 02:04 default -rw-r--r-- 1 portage portage 89 Jul 23 02:04 desktop-kit -rw-r--r-- 1 portage portage 81 Jul 23 02:04 dev-kit -rw-r--r-- 1 portage portage 89 Jul 23 02:04 editors-kit -rw-r--r-- 1 portage portage 85 Jul 25 12:43 games-kit -rw-r--r-- 1 portage portage 86 Jul 23 02:04 gnome-kit -rw-r--r-- 1 portage portage 89 Oct 23 04:26 haskell-kit -rw-r--r-- 1 portage portage 83 Jul 23 02:04 java-kit -rw-r--r-- 1 portage portage 81 Jul 23 02:04 kde-kit -rw-r--r-- 1 portage portage 83 Oct 27 00:56 lang-kit -rw-r--r-- 1 portage portage 97 Oct 23 04:26 lisp-scheme-kit -rw-r--r-- 1 portage portage 85 Jul 23 02:04 media-kit -rw-r--r-- 1 portage portage 89 Oct 23 04:26 ml-lang-kit -rw-r--r-- 1 portage portage 81 Jul 23 02:04 net-kit -rw-r--r-- 1 portage portage 81 Jul 23 02:04 nokit -rw-r--r-- 1 portage portage 83 Jul 23 02:04 perl-kit -rw-r--r-- 1 portage portage 81 Jul 29 22:33 php-kit -rw-r--r-- 1 portage portage 87 Jul 23 02:04 python-kit -rw-r--r-- 1 portage portage 83 Oct 23 04:26 ruby-kit -rw-r--r-- 1 portage portage 90 Jul 23 02:04 science-kit -rw-r--r-- 1 portage portage 91 Jul 23 02:04 security-kit -rw-r--r-- 1 portage portage 83 Jul 23 02:04 text-kit -rw-r--r-- 1 portage portage 83 Oct 23 04:26 xfce-kit -rw-r--r-- 1 portage portage 83 Jul 23 02:04 xorg-kit Check your eix PORTDIR and PORTDIR_OVERLAY variables after you fix the symlink. If they don't match mine with the exception of my "/usr/local/portage" personal overlay you may have a PORTDIR = "/usr/portage" defined in /etc/portage/make.conf that has to be removed. rj@funtoo ~ $ eix --print PORTDIR /var/git/meta-repo/kits/core-kit/ rj@funtoo ~ $ eix --print PORTDIR_OVERLAY /var/git/meta-repo/kits/core-hw-kit /var/git/meta-repo/kits/desktop-kit /var/git/meta-repo/kits/dev-kit /var/git/meta-repo/kits/editors-kit /var/git/meta-repo/kits/games-kit /var/git/meta-repo/kits/gnome-kit /var/git/meta-repo/kits/haskell-kit /var/git/meta-repo/kits/java-kit /var/git/meta-repo/kits/kde-kit /var/git/meta-repo/kits/lang-kit /var/git/meta-repo/kits/lisp-scheme-kit /var/git/meta-repo/kits/media-kit /var/git/meta-repo/kits/ml-lang-kit /var/git/meta-repo/kits/net-kit /var/git/meta-repo/kits/nokit /var/git/meta-repo/kits/perl-kit /var/git/meta-repo/kits/php-kit /var/git/meta-repo/kits/python-kit /usr/local/portage /var/git/meta-repo/kits/ruby-kit /var/git/meta-repo/kits/science-kit /var/git/meta-repo/kits/security-kit /var/git/meta-repo/kits/text-kit /var/git/meta-repo/kits/xfce-kit /var/git/meta-repo/kits/xorg-kit I use this script to sync and check for updated ebuilds : #!/bin/sh ego sync && if [[ -e /var/cache/eix/portage.eix ]] ; then cp -a /var/cache/eix/portage.eix /var/cache/eix/previous.eix; fi eix-update if [[ -e /var/cache/eix/previous.eix ]] ; then eix-diff; fi
  14. The package versions you listed in the first post are available in core-kit/1.0-prime rj@funtoo ~ $ ego query v bind-tools net-dns/bind-tools| slot| repo -------------------+-----+------------------- 9.10.4_p4| 0| core-kit/1.0-prime 9.11.0_p2| | core-kit/1.0-prime 9.11.0_p3| | core-kit/1.0-prime rj@funtoo ~ $ ego query v file sys-apps/file| slot| repo --------------+-----+------------------- 5.25| 0| core-kit/1.0-prime 5.29| | core-kit/1.0-prime * 5.30| | core-kit/1.0-prime 9999| | core-kit/1.0-prime I stay with the majority of users and leave all active branch on default. rj@funtoo ~ $ ego kit list /var/git/meta-repo (updated 2 days 2 hours 59 minutes ago): kit is active? branch stability core-kit active 1.0-prime prime 1.1-prime dev core-hw-kit active master prime security-kit active 1.0-prime prime 1.1-prime dev xorg-kit 1.17-prime prime active 1.19-prime prime gnome-kit active 3.20-prime prime kde-kit active 5.10-prime prime media-kit active 1.0-prime prime 1.1-prime prime perl-kit active 5.24-prime prime 5.26-prime prime python-kit active 3.4-prime prime 3.6-prime prime 3.6.3-prime prime php-kit active master prime java-kit active 1.1-prime prime ruby-kit active 1.1-prime prime haskell-kit active 1.1-prime prime ml-lang-kit active 1.1-prime prime lisp-scheme-kit active 1.1-prime prime lang-kit active 1.1-prime prime dev-kit active 1.1-prime prime xfce-kit active 4.12-prime prime desktop-kit active 1.1-prime prime editors-kit active master prime net-kit active master prime text-kit active master prime science-kit active master prime games-kit active master prime nokit active master prime NOTE: This information comes from /etc/ego.conf and meta-repo metadata. After making changes to ego.conf, be sure to run ego sync in so that the individual kit repositories on disk are synchronized with the kit branches shown above.
  15. Follow directions here to install/use meta-repo. Funtoo eliminated stable. Funtoo users running stable have to upgrade to current. I had one system running stable that I upgraded to current while still running ports-2012 before switching to meta-repo. Funtoo in many cases upgrades package versions at a slower rate than gentoo. On synced meta-repo dev-db/postgresql-10.0-r1 funtoo rj # emerge -av postgresql These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] app-eselect/eselect-postgresql-2.0-r1::core-kit 0 KiB [ebuild N ] dev-db/postgresql-10.0-r1:10::dev-kit USE="nls pam python readline server ssl xml zlib -doc -kerberos -ldap -libressl -perl (-selinux) -static-libs -systemd -tcl -threads -uuid" LINGUAS="en -af -cs -de -es -fa -fr -hr -hu -it -ko -nb -pl -pt_BR -ro -ru -sk -sl -sv -tr -zh_CN -zh_TW" PYTHON_SINGLE_TARGET="python3_4 -python2_7 -python3_5 -python3_6" PYTHON_TARGETS="python2_7 python3_4 -python3_5 -python3_6" 19,179 KiB Total: 2 packages (2 new), Size of downloads: 19,179 KiB Would you like to merge these packages? [Yes/No]
  16. Patched against krack attack wpa_supplicant-2.6-r3 is available now.
  17. Download: https://launchpad.net/ubuntu/+archive/primary/+files/krita_3.1.2.1.orig.tar.gz mv krita_3.1.2.1.orig.tar.gz krita-3.1.2.1.tar.gz Move krita-3.1.2.1.tar.gz to distfiles directory.
  18. Patched and fixed in gentoo docbook-xsl-stylesheets-1.79.1-r2.ebuild Local patch fix for current funtoo docbook-xsl-stylesheets-1.79.1-r1 Install localpatches foobashrc: http://www.funtoo.org/Applying_Local_Patches_to_Ebuilds Download nonrecursive-string-subst.patch # mkdir -p /etc/portage/localpatches/app-text/docbook-xsl-stylesheets # cp nonrecursive-string-subst.patch /etc/portage/localpatches/app-text/docbook-xsl-stylesheets # emerge -1 docbook-xsl-stylesheets Verify patch was applied : >>> Unpacking source... >>> Unpacking docbook-xsl-1.79.1.tar.bz2 to /var/tmp/portage/app-text/docbook-xsl-stylesheets-1.79.1-r1/work >>> Source unpacked in /var/tmp/portage/app-text/docbook-xsl-stylesheets-1.79.1-r1/work >>> Applying local patches ... [32;01m*[0m Applying nonrecursive-string-subst.patch [localpatch] ... Samba will now complete build/install: emerge -av samba Reference: https://bugs.gentoo.org/488168 https://bugzilla.samba.org/show_bug.cgi?id=9515
  19. My understanding is that master branch is not supported unless it's the default branch of a kit. If true that could explain why master was not used in the example for python-kit or xorg-kit. I leave all my kit branch's to default to have minimum problems. How I list all available branch's for a kit: Change into the directory of the kit for the branch's to be listed. Run this command and read the output: git branch -a For example view all available branch's for python-kit: cd /var/git/meta-repo/kits/python-kit /var/git/meta-repo/kits/python-kit $ git branch -a * 3.4-prime master remotes/origin/3.4-prime remotes/origin/3.6-prime remotes/origin/HEAD -> origin/3.4-prime remotes/origin/master
  20. Every PYTHON_TARGET has a - which is disabled: dev-python/appi-0.1.2::python-kit USE="" PYTHON_TARGETS="-python3_4 -python3_5 -python3_6" On my system python3_4 is enabled for dev-python/appi funtoo rj # emerge -pv dev-python/appi These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-python/appi-0.1.2:0/0.1::python-kit PYTHON_TARGETS="python3_4 -python3_5 -python3_6" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB This command as root will enable it on your system if package.use is a directory: echo "dev-python/appi PYTHON_TARGETS: -* python3_4" >> /etc/portage/package.use/appi If package.use is a file: echo "dev-python/appi PYTHON_TARGETS: -* python3_4" >> /etc/portage/package.use Try to install ego-2.0.9: emerge -1av ego If successful: epro update Reference: https://wiki.gentoo.org/wiki/Project:Python/PYTHON_TARGETS
  21. According to xorg-kit: security backports to 1.17-prime Security fix's have been applied to xorg-server-1.17.4-r1 for vulnerabilities mentioned here: http://www.funtoo.org/News:Xorg_and_other_Updates There is no documentation on an approved method to use other than default branch in a kit. ego sync command does not support this and switches back to the default branch. The script in this post is reported to enable unsupported branch. Instructions for adding an overlay to meta-repo: http://www.funtoo.org/Local_Overlay Funtoo updates supported package versions at a slower rate than gentoo. My advice is to check package versions and other concerns that affect your use case before you install a new distribution.
  22. Rebuild dev-cpp/glibmm https://developer.gnome.org/glibmm/stable/classGlib_1_1ustring.html Glib::ustring::ustring https://wiki.gentoo.org/wiki/Upgrading_from_gcc-4.x_to_gcc-5.x https://www.gentoo.org/support/news-items/2015-10-22-gcc-5-new-c++11-abi.html https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html
  23. The output from this command gives you the subarch for your cpu. gcc -march=native -Q --help=target | grep march Find the output of -march= that matches in the right column printed in red here: http://www.funtoo.org/Subarches#amd64 Click the link to download optimized stage at the beginning of the line where you find the matching march. For example if "-march= amdfam10" Download http://www.funtoo.org/Amd64-k10 Reference: http://www.funtoo.org/Install#Installing_the_Stage_3_tarball http://www.funtoo.org/Subarches
×
×
  • Create New...