Jump to content
funtoo forums


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by cardinal

  1. The openssl patches for building those programs are in the next release branch of their respective kits. To build the programs now you have to temporarily add them to local patches. Click link, File/Save page as: telepathy-gabble-0.18.4-openssl-1.1.patch telepathy-salut-0.8.1-openssl-1.1.patch # mkdir -p /etc/portage/patches/net-voip/telepathy-{gabble,salut} # cp telepathy-gabble-0.18.4-openssl-1.1.patch /etc/portage/patches/net-voip/telepathy-gabble/ # cp telepathy-salut-0.8.1-openssl-1.1.patch /etc/portage/patches/net-voip/telepathy-salut/ # emerge -av telepathy-connection-managers
  2. Pulse-socket permissions explained in this closed upstream issue report: [Security] socket access granted to users outside auth-group
  3. You can't upgrade to xorg-server-1.20.1-r1 and use nvidia-drivers-304.137 Trying to force it is a waste of time. Gentoo has removed nvidia-drivers-304.137.ebuild from their portage due to this. The easiest solution is to try nouveau although I'm reading reports that indicate nouveau doesn't work well with geforce 6150 If you can accept no 3d-acceleration the nv driver is another alternative. Otherwise to keep nvidia-drivers-304.137 you will have to mask >xorg-server-1.19.5 and every package from updating that is listed here: (x11-base/xorg-server-1.20.1-r1:0/1.20.1::xorg-kit, installed) pulled in by
  4. Notice the subject line of the email message: Subject: [PATCH] opengl: fix compilation with Mesa 18.2.5 and later Email is a primary method of users sharing patches to solve compilation failure. This entire email message of multiple diffs is the patch, download it in your browser (Ctrl+s), save as allegro.opengl.fix.compilation.with.mesa.18.2.5.patch Follow the directions in my previous reply. Reference: https://www.funtoo.org/Applying_Local_Patches_to_Ebuilds https://wiki.gentoo.org/wiki//etc/portage/patches
  5. Download the allegro.opengl.fix.compilation.with.mesa.18.2.5.patch # mkdir -p /etc/portage/patches/media-libs/allegro- # cp allegro.opengl.fix.compilation.with.mesa.18.2.5.patch /etc/portage/patches/media-libs/allegro- # emerge -1av =media-libs/allegro- These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-libs/allegro- USE="X alsa flac gtk jpeg opengl png truetype vorbis webp -dumb -openal -opus -oss -physfs -pulseaudio -test -xinerama" 0 KiB media-libs:allegro-
  6. # epro mix-ins Remove gfxcard-nvidia mix-ins if enabled in your profile. # epro mix-ins -gfxcard-nvidia Reference: https://www.funtoo.org/Funtoo_Profiles
  7. https://bugs.gentoo.org/672820 https://bugs.gentoo.org/672820#c3 This only happens when enabling the USE flag component-build
  8. Add qt-creator-4.8.2.ebuild to your local overlay or make a request at bugs.funtoo.org I have USE="-bindist" disabled globally in /etc/portage/make.conf funtoo /usr/local/portage/dev-qt/qt-creator # emerge -av qt-creator These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] media-libs/opus-1.3::media-kit USE="-custom-modes -doc -static-libs" CPU_FLAGS_X86="sse" 1,009 KiB [ebuild N ] dev-libs/re2-0.2018.10.01:0/gentoo-2017-03-01::dev-kit USE="icu" 383 KiB [ebuild N ] dev-libs/nss-3.43::dev-kit USE="nss-pem -cacert -utils" 22,917 KiB [ebuild N ] dev-libs/botan-2.8.0:2/2.8::dev-kit USE="bzip2 python ssl zlib -bindist -boost -doc -libressl -lzma -sqlite -static-libs" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5" 0 KiB [ebuild N ] sys-devel/gdb-8.2-r1::nokit USE="client nls python server xml -lzma -multitarget -test -vanilla" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_4 -python3_5" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5" 19,709 KiB [ebuild R ] media-libs/libvpx-1.7.0:0/5::media-kit USE="highbitdepth postproc svc* threads -doc -static-libs -test" CPU_FLAGS_X86="mmx sse sse2 sse3 ssse3 -avx -avx2 -sse4_1" 0 KiB [ebuild N ] app-arch/snappy-1.1.7:0/1::nokit USE="(-static-libs) -test" 1,065 KiB [ebuild N ] sys-libs/libomp-7.0.1_rc2::llvm-kit USE="-cuda -hwloc -offload -ompt -test" 888 KiB [ebuild N ] dev-qt/qtsql-5.11.2:5/5.11.2::core-ui-kit USE="sqlite -debug -freetds -mysql -oci8 -odbc -postgres -test" 0 KiB [ebuild N ] dev-qt/qtconcurrent-5.11.2:5/5.11::core-ui-kit USE="-debug -test" 0 KiB [ebuild N ] dev-qt/qtscript-5.11.2:5/5.11::core-ui-kit USE="jit -debug -scripttools -test" 2,599 KiB [ebuild N ] sys-devel/clang-7.0.1_rc2:7::llvm-kit USE="static-analyzer xml -debug -default-compiler-rt (-default-libcxx) -doc -test (-z3)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -Lanai -MSP430 -Mips -PowerPC -Sparc -SystemZ -XCore" PYTHON_TARGETS="python2_7" 13,076 KiB [ebuild N ] sys-devel/clang-common-7.0.1_rc2::llvm-kit 0 KiB [ebuild N ] sys-libs/compiler-rt-7.0.1_rc2:7.0.1::llvm-kit USE="clang -test" 1,821 KiB [ebuild N ] sys-libs/compiler-rt-sanitizers-7.0.1_rc2:7.0.1::llvm-kit USE="clang -test" 0 KiB [ebuild N ] sys-devel/clang-runtime-7.0.1_rc2:7.0.1::llvm-kit USE="compiler-rt openmp sanitize -crt -libcxx" 0 KiB [ebuild N ] dev-qt/qtprintsupport-5.11.2:5/5.11::core-ui-kit USE="cups -debug -gles2 -test" 0 KiB [ebuild N ] dev-qt/qthelp-5.11.2:5/5.11::core-ui-kit USE="-debug -test" 0 KiB [ebuild N ] dev-qt/qtquickcontrols-5.11.2:5/5.11::core-ui-kit USE="widgets -debug -test" 5,906 KiB [ebuild N ] dev-qt/designer-5.11.2:5/5.11::core-ui-kit USE="-debug -declarative -test -webkit" 0 KiB [ebuild N ] dev-qt/qtwebchannel-5.11.2:5/5.11::core-ui-kit USE="qml -debug -test" 170 KiB [ebuild N ] dev-qt/qtwebengine-5.11.2:5/5.11::core-ui-kit USE="alsa jumbo-build system-ffmpeg widgets -bindist -debug -designer -geolocation -pax_kernel -pulseaudio (-system-icu) -test" 228,167 KiB [ebuild N ] dev-qt/qt-creator-4.8.2::rj USE="clang designer help ios python webengine -android -autotools -baremetal -bazaar -clearcase -cmake -cppcheck -cvs -doc -git -glsl -lsp -mercurial -modeling -nim -perforce -qbs -qnx -scxml -serialterminal -silversearcher -subversion -systemd -test -valgrind -winrt" L10N="-cs -da -de -fr -ja -pl -ru -sl -uk -zh-CN -zh-TW" 0 KiB Total: 23 packages (22 new, 1 reinstall), Size of downloads: 297,706 KiB The following USE changes are necessary to proceed: (see "package.use" in the portage(5) man page for more details) # required by dev-qt/qt-creator-4.8.2::rj[help,webengine] # required by qt-creator (argument) >=dev-qt/qtwebengine-5.11.2 widgets # required by dev-qt/qtwebengine-5.11.2::core-ui-kit # required by dev-qt/qt-creator-4.8.2::rj[help,webengine] # required by qt-creator (argument) >=dev-qt/qtwebchannel-5.11.2 qml # required by dev-qt/qtwebengine-5.11.2::core-ui-kit # required by dev-qt/qt-creator-4.8.2::rj[help,webengine] # required by qt-creator (argument) >=media-libs/libvpx-1.7.0 svc Would you like to add these changes to your config files? [Yes/No]
  9. Don't use sudo before source. The Funtoo_Linux_Installation_on_RPI instructions indicate the user should log in as root by # in the command prompt: # source sysroot.sh && sysroot_install Reference: https://www.computerhope.com/unix/bash/source.htm
  10. I'm using python-2.7.15 and python-3.6.6 with python-kit/3.7-release: rj@funtoo ~ $ ego query v python dev-lang/python| slot| repo ----------------+---------+----------------------- * 2.7.15| 2.7| python-kit/3.7-release ----------------+---------+----------------------- 3.4.8-r1| 3.4/3.4m| python-kit/3.7-release ----------------+---------+----------------------- 3.5.5-r1| 3.5/3.5m| python-kit/3.7-release ----------------+---------+----------------------- * 3.6.6| 3.6/3.6m| python-kit/3.7-release ----------------+---------+----------------------- 3.7.0| 3.7/3.7m| python-kit/3.7-release PYTHON_TARGETS="python3_6 python2_7" All the packages you mention would re-install/install on my system: rj@funtoo ~ $ emerge -pv icu libevent openssl net-libs/http-parser These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] net-libs/http-parser-2.9.2:0/2.9.0::core-server-kit USE="-static-libs" 51 KiB [ebuild R ] dev-libs/openssl-1.1.1b-r2:0/1.1.1b-r2::core-kit USE="asm zlib -bindist -rfc3779 -sctp -sslv3 -static-libs -test -tls-heartbeat -vanilla" CPU_FLAGS_X86="(sse2)" 0 KiB [ebuild R ] dev-libs/icu-64.2:0/64.2::core-kit USE="-debug -doc -examples -static-libs" 0 KiB [ebuild R ] dev-libs/libevent-2.1.8:0/2.1-6::core-kit USE="ssl threads -debug -libressl -static-libs -test" 0 KiB Total: 4 packages (1 new, 3 reinstalls), Size of downloads: 51 KiB Explanation of preserve-libs and preserved-rebuild group : https://wiki.gentoo.org/wiki/Preserve-libs https://wiki.gentoo.org/wiki/Preserved-rebuild
  11. Welcome walterw, Gentoo has specific information for kernel configuration and touchpad setup here: https://wiki.gentoo.org/wiki/Dell_Latitude_5580 Reference: https://forums.gentoo.org/viewtopic-t-1075806-start-0.html https://wiki.archlinux.org/index.php/Dell_Latitude_7490 https://wiki.archlinux.org/index.php/Dell_Latitude_7480
  12. /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnsl # pkg-config --libs libnsl -lnsl -ltirpc Verify you have libnsl-1.2.0 installed. My sys-libs:ldb-1.4.3:20190526-041530.log
  13. @synteejol You will only see /proc/sys/kernel/unprivileged_userns_clone if you are booted into debian-sources or debian-sources-lts kernel. I use vanilla kernel sources, had to enable CONFIG_{USER_NS, UTS_NS, IPC_NS, PID_NS} and recompile. Flatpak has pulseaudio error and I have no sound with any flatpak programs. @stamasd I installed flatpac and am unable to get sound to work. Perhaps you can help if it works for you?
  14. I can't install php-5.6.38 due to the icu problem , it should be removed from core-server-kit It's not possible on my system to install 2 versions of icu at the same time to satisfy this older version of php. If you have an older version of php installed that's trying to upgrade/downgrade to php-5.6.38 then you will have to remove it. Portage would install dev-lang/php-7.2.12 on my updated 1.3-release php free system without any conflicts: rj@funtoo ~ $ sudo emerge -pv php These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-libs/oniguruma-6.9.0:0/5::dev-kit USE="-crnl-as-line-terminator -static-libs" 0 KiB [ebuild N ] dev-libs/libsodium-1.0.16-r2:0/23::dev-kit USE="asm urandom -minimal -static-libs" CPU_FLAGS_X86="-aes -sse4_1" 0 KiB [ebuild N ] dev-libs/libzip-1.3.0:0/5::dev-kit USE="bzip2 -static-libs" 0 KiB [ebuild N ] app-text/tidy-html5-5.6.0::text-kit 0 KiB [ebuild N ] app-eselect/eselect-php-0.9.5::core-kit USE="fpm -apache2" 0 KiB [ebuild N ] app-text/aspell-0.60.7_rc1::text-kit USE="nls unicode" L10N="en -af -be -bg -br -ca -cs -cy -da -de -de-1901 -el -eo -es -et -fi -fo -fr -ga -gl -he -hr -hu -hy -is -it -la -lt -nl -no -pl -pt -pt-BR -ro -ru -sk -sl -sr -sv -uk -vi" 0 KiB [ebuild N ] app-dicts/aspell-en-2017.01.22.0::text-kit 0 KiB [ebuild N ] dev-lang/php-7.2.12:7.2::core-server-kit USE="acl argon2 berkdb bzip2 cgi cli ctype curl exif fileinfo filter fpm gd gdbm hash iconv intl ipv6 json mysql mysqli nls opcache pcntl pdo phar posix readline session simplexml sockets sodium spell sqlite ssl tidy tokenizer truetype unicode webp xml xmlreader xmlrpc xmlwriter xslt zip zip-encryption zlib -apache2 -bcmath -calendar -cdb -cjk -coverage -debug -embed -enchant -firebird -flatfile -ftp -gmp -imap -inifile -iodbc -kerberos -ldap -ldap-sasl -libedit -libressl -lmdb -mhash -mssql -oci8-instant-client -odbc -phpdbg -postgres -qdbm -recode (-selinux) -session-mm -sharedmem -snmp -soap -systemd -sysvipc -test -threads -tokyocabinet -wddx -xpm" 5,010 KiB Total: 8 packages (8 new), Size of downloads: 5,010 KiB
  15. Each kit is a git repo that is set to the active branch that has it's release name. # ego kit funtoo /home/rj # ego kit /var/git/meta-repo (updated 17 hours 23 minutes ago): kit active branch default stability core-kit 1.3-release (same) prime core-hw-kit 1.3-release (same) prime core-ui-kit 1.3-release (same) prime core-server-kit 1.3-release (same) prime core-gl-kit 1.3-release (same) prime security-kit 1.3-release (same) prime xorg-kit 1.20-release (same) prime gnome-kit 3.30-prime (same) prime rust-kit 1.32-prime (same) prime xfce-kit 4.13-release (same) prime kde-kit 1.3-release (same) prime desktop-kit 1.3-release (same) prime media-kit 1.3-release (same) prime editors-kit 1.3-release (same) prime net-kit 1.3-release (same) prime text-kit 1.3-release (same) prime science-kit 1.3-release (same) prime games-kit 1.3-release (same) prime perl-kit 5.28-release (same) prime java-kit 1.3-release (same) prime ruby-kit 1.3-release (same) prime haskell-kit 1.3-release (same) prime ml-lang-kit 1.3-release (same) prime lisp-scheme-kit 1.3-release (same) prime python-kit 3.7-release (same) prime lang-kit 1.3-release (same) prime llvm-kit 1.3-release (same) prime dev-kit 1.3-release (same) prime python-modules-kit 1.3-release (same) prime nokit 1.3-release (same) 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. Additional Information comes from /var/git/meta-repo/metadata/kit-info.json Specific revision number for each kits git repo: /var/git/meta-repo/metadata/kit-sha1.json
  16. If you have rust-bin installed then it includes cargo. /opt/rust-bin-1.32.0/bin/cargo-bin-1.32.0 You have to manually run this command to symlink the cargo-bin-1.32.0 executable to /usr/bin/cargo : # eselect rust set 1 Verify cargo: # which cargo /usr/bin/cargo # file `which cargo` /usr/bin/cargo: symbolic link to /usr/bin/cargo-bin-1.32.0 # file `which cargo-bin-1.32.0` /usr/bin/cargo-bin-1.32.0: symbolic link to ../../opt/rust-bin-1.32.0/bin/cargo-bin-1.32.0 # file /opt/rust-bin-1.32.0/bin/cargo-bin-1.32.0 /opt/rust-bin-1.32.0/bin/cargo-bin-1.32.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.9, stripped Reference: https://bugs.funtoo.org/browse/FL-5843 dev-util:cbindgen-0.8.2:20190519-154310.log
  17. Your processor doesn't support aes which is in your CPU_FLAGS_86 and CFLAGS="- march=westmere" Building nettle with aes cpu flag set on gcc when your processor doesn't support aes could be the cause of the error. Reference: https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html ‘westmere’ Intel Westmere CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, POPCNT, AES and PCLMUL instruction set support. Set to native and add the proper flags to match your processor. Install cpuid2cpuflags Follow my directions here starting at Remove any gcc override settings you've made previously. After you've finished configuring gcc to match your processor rebuild nettle.
  18. @nigga-china The source code for media-kit/1.3-release media-libs/allegro-4.4.2-r1 is the vanilla version from sourceforge. To build aseprite: # mkdir -p /etc/portage/patches/media-libs/allegro-4.4.2-r1 Download the allegro_GLX_RGBA_FLOAT_BIT_fix.patch # cp allegro_GLX_RGBA_FLOAT_BIT_fix.patch /etc/portage/patches/media-libs/allegro-4.4.2-r1 Enable bundled-libs use flag for aseprit or you can't resize the window it runs in: # echo "dev-games/aseprite bundled-libs" > /etc/portage/package.use/aseprite Build aseprite: # emerge -av aseprite
  19. @nigga-china Why are you building allegro-4.4.2-r1? The patch only works for allegro- Emerge should build allegro- unless your overriding it. rj@funtoo ~ $ ego query v allegro media-libs/allegro| slot| repo -------------------+-----+---------------------- 4.4.2-r1| 0| media-kit/1.3-release -------------------+-----+---------------------- 5.0.11| 5| media-kit/1.3-release *| | media-kit/1.3-release Please always post your commands and use wgetpaste to push your failed build logs. Post the link to the pasted build logs in your reply. The screen shot doesn't show the whole log and my eye sight is bad. It's difficult for me to read the text on your prints.
  20. @nigga-china I was able to build allegro- after adding this patch to /etc/portage/patches/media-libs/allegro funtoo /home/rj # wgetpaste /var/log/portage/media-libs\:allegro-\:20190514-220248.log https://bpaste.net/show/171ed7e8d8a8 Don't re-install your system, if you keep it updated you will eventually rebuild every package with the correct GCC settings. If for some reason a program doesn't work then rebuild it.
  21. Gcc sandybridge m{tune,arch} sets the aes flag that doesn't match your CPU. This is what is triggering the compile error. The GCC settings for sandybridge: ‘sandybridge’ Intel Sandy Bridge CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, POPCNT, AVX, AES and PCLMUL instruction set support. Reference: https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html Remove any gcc override settings you've made previously. Set the correct subarch here: # ego profile subarch native_64 === Enabled Profiles: === arch: x86-64bit build: current subarch: native_64 flavor: desktop mix-ins: lxde >>> Set subarch to native_64. Updating profiles at /etc/portage/make.profile/parent... Set your CPU flags: # echo "*/* $(cpuid2cpuflags)" >> /etc/portage/package.use/00cpuflags Verify with "emerge --info" and grep that cpuflags are correct for your cpu: # emerge --info | grep 'CFLAGS\|CPU_FLAGS_X86' Reference: https://wiki.gentoo.org/wiki/GCC_optimization
  22. This user override only exists if booted into a debian patched kernel: /proc/sys/kernel/unprivileged_userns_clone
  23. Default setting is disabled: # cat /proc/sys/kernel/unprivileged_userns_clone 0 Enable on reboot: # echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/unprivileged_userns_clone.conf Verify enabled: # cat /proc/sys/kernel/unprivileged_userns_clone 1
  24. Remove the package.use disabling pulseaudio for firefox-bin If pulseaudio has the alsa-plugins use flag enabled, then alsa-plugins becomes a depends of pulseaudio. rj@funtoo ~ $ equery depends alsa-plugins * These packages depend on alsa-plugins: media-sound/pulseaudio-12.2 (alsa-plugin ? >=media-plugins/alsa-plugins-1.0.27-r1[pulseaudio,-mgorny(-)]) Disable alsa-plugin use flag for pulseaudio depends and you will not be forced into installing alsa-plugins. rj@funtoo ~ $ cat /etc/portage/package.use/pulseaudio media-sound/pulseaudio -alsa-plugin
  • Create New...