View previous topic :: View next topic |
Author |
Message |
gentoo181 n00b
Joined: 30 Mar 2021 Posts: 18
|
Posted: Sun Apr 11, 2021 3:23 pm Post subject: [SOLVED] Error that's related to python while updating world |
|
|
Hi guys, I just tried to update @world and it gave me an error related to python.
The packages the portage was trying to update are:
Code: |
[ebuild U ] sys-apps/util-linux-2.36.2 [2.35.2] PYTHON_TARGETS="-python3_9%"
[ebuild U ] dev-lang/python-3.8.8_p1 [3.8.8]
[ebuild U ] dev-lang/python-3.9.2_p1 [3.9.2]
[ebuild rR ] x11-libs/cairo-1.16.0-r4
[ebuild U ] sys-devel/binutils-2.35.2 [2.35.1-r1]
[ebuild U ] xfce-base/xfce4-panel-4.16.2-r1 [4.16.1]
[ebuild U ] xfce-base/thunar-4.16.6 [4.16.5]
|
The error:
Code: |
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = '/usr/bin/python3.9'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = '/usr/bin/python3.9'
sys.base_prefix = '/usr'
sys.base_exec_prefix = '/usr'
sys.platlibdir = 'lib'
sys.executable = '/usr/bin/python3.9'
sys.prefix = '/usr'
sys.exec_prefix = '/usr'
sys.path = [
'/usr/lib/python39.zip',
'/usr/lib/python3.9',
'/usr/lib/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00007fe2f479b740 (most recent call first):
<no Python frame>
* ERROR: sys-apps/util-linux-2.36.2::gentoo failed:
* (no error message)
*
* Call stack:
* misc-functions.sh, line 596: Called install_qa_check
* misc-functions.sh, line 132: Called source 'install_symlink_html_docs'
* 60python-pyc, line 82: Called python_pyc_check
* 60python-pyc, line 15: Called python_get_sitedir 'install_hooks'
* environment, line 3112: Called _python_export '/var/db/repos/gentoo/metadata/install-qa-check.d/60python-pyc' 'python3_9'
* environment, line 536: Called die
* The specific snippet of code:
* PYTHON_SITEDIR=$("${PYTHON}" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_python_lib())') || die;
*
* If you need support, post the output of `emerge --info '=sys-apps/util-linux-2.36.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-apps/util-linux-2.36.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-apps/util-linux-2.36.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/util-linux-2.36.2/temp/environment'.
* Working directory: '/var/tmp/portage/sys-apps/util-linux-2.36.2/image'
* S: '/var/tmp/portage/sys-apps/util-linux-2.36.2/work/util-linux-2.36.2'
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = '/usr/bin/python3.9'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = '/usr/bin/python3.9'
sys.base_prefix = '/usr'
sys.base_exec_prefix = '/usr'
sys.platlibdir = 'lib'
sys.executable = '/usr/bin/python3.9'
sys.prefix = '/usr'
sys.exec_prefix = '/usr'
sys.path = [
'/usr/lib/python39.zip',
'/usr/lib/python3.9',
'/usr/lib/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00007fcacae9c740 (most recent call first):
<no Python frame>
* Verifying compiled files in
!!! post install failed; exiting.
>>> Failed to emerge sys-apps/util-linux-2.36.2, Log file:
>>> '/var/tmp/portage/sys-apps/util-linux-2.36.2/temp/build.log'
* Messages for package sys-apps/util-linux-2.36.2:
* ERROR: sys-apps/util-linux-2.36.2::gentoo failed:
* (no error message)
*
* Call stack:
* misc-functions.sh, line 596: Called install_qa_check
* misc-functions.sh, line 132: Called source 'install_symlink_html_docs'
* 60python-pyc, line 82: Called python_pyc_check
* 60python-pyc, line 15: Called python_get_sitedir 'install_hooks'
* environment, line 3112: Called _python_export '/var/db/repos/gentoo/metadata/install-qa-check.d/60python-pyc' 'python3_9'
* environment, line 536: Called die
* The specific snippet of code:
* PYTHON_SITEDIR=$("${PYTHON}" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_python_lib())') || die;
*
* If you need support, post the output of `emerge --info '=sys-apps/util-linux-2.36.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-apps/util-linux-2.36.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-apps/util-linux-2.36.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/util-linux-2.36.2/temp/environment'.
* Working directory: '/var/tmp/portage/sys-apps/util-linux-2.36.2/image'
* S: '/var/tmp/portage/sys-apps/util-linux-2.36.2/work/util-linux-2.36.2'
|
emerge --info output:
Code: |
Portage 3.0.17 (python 3.8.8-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r7, 5.10.27-gentoo x86_64)
=================================================================
System uname: Linux-5.10.27-gentoo-x86_64-Intel-R-_Core-TM-_i7-1065G7_CPU_@_1.30GHz-with-glibc2.2.5
KiB Mem: 7802784 total, 3270204 free
KiB Swap: 4194300 total, 4194300 free
Timestamp of repository gentoo: Sun, 11 Apr 2021 14:30:01 +0000
Head commit of repository gentoo: 0b643bcaa5ea1ef29d82f42bc63e74983e46dd17
sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
app-shells/bash: 5.0_p18::gentoo
dev-lang/perl: 5.30.3::gentoo
dev-lang/python: 3.8.8::gentoo, 3.9.2::gentoo
dev-lang/rust: 1.47.0-r2::gentoo
dev-util/cmake: 3.18.5::gentoo
sys-apps/baselayout: 2.7::gentoo
sys-apps/openrc: 0.42.1-r1::gentoo
sys-apps/sandbox: 2.20::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake: 1.16.2-r1::gentoo
sys-devel/binutils: 2.35.1-r1::gentoo
sys-devel/gcc: 10.2.0-r5::gentoo
sys-devel/gcc-config: 2.3.3::gentoo
sys-devel/libtool: 2.4.6-r6::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc: 2.32-r7::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 24
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: yes
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS=""
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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 qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirrors.gethosted.online/gentoo http://mirror.init7.net/gentoo/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ http://mirror.netcologne.de/gentoo/ http://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirror.leaseweb.com/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
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 alisp alsa amd64 berkdb bluetooth btpclient bzip2 cli crypt dbus dri elogind fortran gdbm gtk iconv ipv6 jpeg lcms libglvnd libtirpc midi multilib native-headset ncurses nptl ofono-headset openmp pam png pulseaudio readline savedconfig seccomp split-usr ssl swaymsg tcpd terminal ttf udisks 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" 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 proto 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, RUSTFLAGS
|
Thanks for any help guys.
Last edited by gentoo181 on Tue Apr 13, 2021 9:45 am; edited 1 time in total |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Sun Apr 11, 2021 8:55 pm Post subject: |
|
|
Maybe
Code: |
emerge -1av python-exec
emerge -a --depclean
|
Am ""eselect python set <>
couldnt hurt also. _________________
|
|
Back to top |
|
|
Buffoon Veteran
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
|
Posted: Sun Apr 11, 2021 9:54 pm Post subject: |
|
|
What happened to your CFLAGS? _________________ Life is a tragedy for those who feel and a comedy for those who think. |
|
Back to top |
|
|
gentoo181 n00b
Joined: 30 Mar 2021 Posts: 18
|
Posted: Mon Apr 12, 2021 3:48 am Post subject: |
|
|
alamahant wrote: | Maybe
Code: |
emerge -1av python-exec
emerge -a --depclean
|
Am ""eselect python set <>
couldnt hurt also. |
Thank you for the response, when ill get back to home ill try and give you an update if it solves it. |
|
Back to top |
|
|
gentoo181 n00b
Joined: 30 Mar 2021 Posts: 18
|
Posted: Mon Apr 12, 2021 3:50 am Post subject: |
|
|
Sorry @Buffoon I’m still kinda new here. So what about my CFLAGS is there something wrong with them? |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Mon Apr 12, 2021 8:40 am Post subject: |
|
|
Try please
Code: |
grep FLAGS /etc/portage/make.conf
|
_________________
|
|
Back to top |
|
|
gentoo181 n00b
Joined: 30 Mar 2021 Posts: 18
|
Posted: Mon Apr 12, 2021 11:28 am Post subject: |
|
|
Sorry for the late respons guys I was at school. So doing:
Code: |
emerge -1av python-exec
emerge -a --depclean
eselect python set 1 | ( which is python3.8 )
Didn't solve the problem.
The output of grep FLAGS /etc/portage/make.conf is:
Code: |
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
|
Any ideas?? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30909 Location: here
|
Posted: Mon Apr 12, 2021 11:56 am Post subject: |
|
|
You can post full make.conf and emerge --info again?
This because from your emerge --info teh CFLAGS variable seems unset but it seems in your make.conf is set. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
gentoo181 n00b
Joined: 30 Mar 2021 Posts: 18
|
Posted: Mon Apr 12, 2021 12:25 pm Post subject: |
|
|
fedeliallalinea wrote: | You can post full make.conf and emerge --info again?
This because from your emerge --info teh CFLAGS variable seems unset but it seems in your make.conf is set. |
Here you go:
Code: |
Portage 3.0.17 (python 3.8.8-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r7, 5.10.27-gentoo x86_64)
=================================================================
System uname: Linux-5.10.27-gentoo-x86_64-Intel-R-_Core-TM-_i7-1065G7_CPU_@_1.30GHz-with-glibc2.2.5
KiB Mem: 7802788 total, 4632276 free
KiB Swap: 4194300 total, 4194300 free
Timestamp of repository gentoo: Mon, 12 Apr 2021 11:00:01 +0000
Head commit of repository gentoo: 017b786bb37745a339cb2cab1643f146fd50025c
sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
app-shells/bash: 5.0_p18::gentoo
dev-lang/perl: 5.30.3::gentoo
dev-lang/python: 3.8.8::gentoo, 3.9.2::gentoo
dev-lang/rust: 1.47.0-r2::gentoo
dev-util/cmake: 3.18.5::gentoo
sys-apps/baselayout: 2.7::gentoo
sys-apps/openrc: 0.42.1-r1::gentoo
sys-apps/sandbox: 2.20::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake: 1.16.2-r1::gentoo
sys-devel/binutils: 2.35.1-r1::gentoo
sys-devel/gcc: 10.2.0-r5::gentoo
sys-devel/gcc-config: 2.3.3::gentoo
sys-devel/libtool: 2.4.6-r6::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc: 2.32-r7::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 24
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: yes
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS=""
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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 qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirrors.gethosted.online/gentoo http://mirror.init7.net/gentoo/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ http://mirror.netcologne.de/gentoo/ http://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirror.leaseweb.com/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
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 alisp alsa amd64 berkdb bluetooth btpclient bzip2 cli crypt dbus dri elogind fortran gdbm gtk iconv ipv6 jpeg lcms libglvnd libtirpc midi multilib native-headset ncurses nptl ofono-headset openmp pam png pulseaudio readline savedconfig seccomp split-usr ssl swaymsg tcpd terminal ttf udisks 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" 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 proto 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, RUSTFLAGS
|
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30909 Location: here
|
Posted: Mon Apr 12, 2021 12:28 pm Post subject: |
|
|
Please, post also all content of make.conf. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
gentoo181 n00b
Joined: 30 Mar 2021 Posts: 18
|
Posted: Mon Apr 12, 2021 12:31 pm Post subject: |
|
|
fedeliallalinea wrote: | Please, post also all content of make.conf. |
First of all thank you for the help. Second here is the content of make.conf:
Code: |
COMMON_FLAGS="-march=native -O2 -pipe"
MAKEOPTS="-j7"
USE="savedconfig native-headset ofono-headset pulseaudio alisp alsa terminal btpclient midi lcms gtk udisks jpeg png bluetooth wayland swaymsg ttf pulseaudio elogind dbus -lto -geolocation -gstreamer -gif -webrtc-aec -asyncns -vala -snippets -projects -handbook -emacs -qmanifest -qtegrity -nls -cgi -pcre -pcre-jit -xorg -utils -jpeg2k -experimental -netlink -clang -hwaccel -X -sendmail -zsh-completion -systemd -gnome-keyring -selinux -user-session -system-webp -system-libevent -system-harfbuzz -system-av1 -motif -gtk2 -qt5 -qt"
CFLAGS="${COMMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
GRUB_PLATFORMS="efi-64"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirrors.gethosted.online/gentoo http://mirror.init7.net/gentoo/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ http://mirror.netcologne.de/gentoo/ http://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirror.leaseweb.com/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
|
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30909 Location: here
|
Posted: Mon Apr 12, 2021 12:44 pm Post subject: |
|
|
You should change
Quote: | CFLAGS="${COMMMON_FLAGS}" |
with
Quote: | CFLAGS="${COMMON_FLAGS}" |
(only two MM) _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
gentoo181 n00b
Joined: 30 Mar 2021 Posts: 18
|
Posted: Mon Apr 12, 2021 12:54 pm Post subject: |
|
|
I changed it and updated @world but it still gives me the same error.
/etc/portage/make.conf :
Code: |
COMMON_FLAGS="-march=native -O2 -pipe"
MAKEOPTS="-j7"
USE="savedconfig native-headset ofono-headset pulseaudio alisp alsa terminal btpclient midi lcms gtk udisks jpeg png bluetooth wayland swaymsg ttf elogind dbus -lto -geolocation -gstreamer -gif -webrtc-aec -asyncns -vala -snippets -projects -handbook -emacs -qmanifest -qtegrity -nls -cgi -pcre -pcre-jit -xorg -utils -jpeg2k -experimental -netlink -clang -hwaccel -X -sendmail -zsh-completion -systemd -gnome-keyring -selinux -user-session -system-webp -system-libevent -system-harfbuzz -system-av1 -motif -gtk2 -qt5 -qt"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
GRUB_PLATFORMS="efi-64"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirrors.gethosted.online/gentoo http://mirror.init7.net/gentoo/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ http://mirror.netcologne.de/gentoo/ http://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirror.leaseweb.com/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
|
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30909 Location: here
|
Posted: Mon Apr 12, 2021 1:28 pm Post subject: |
|
|
The error say
Code: | * Call stack:
* misc-functions.sh, line 596: Called install_qa_check
* misc-functions.sh, line 132: Called source 'install_symlink_html_docs'
* 60python-pyc, line 82: Called python_pyc_check
* 60python-pyc, line 15: Called python_get_sitedir 'install_hooks'
* environment, line 3112: Called _python_export '/var/db/repos/gentoo/metadata/install-qa-check.d/60python-pyc' 'python3_9'
* environment, line 536: Called die
* The specific snippet of code:
* PYTHON_SITEDIR=$("${PYTHON}" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_python_lib())') || die; |
and it seems to want to install python3_9 support but you have only python3_8 as target which is correct.
I don't understand because this happens.
You can post full build.log and emerge -pv sys-apps/util-linux output? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
gentoo181 n00b
Joined: 30 Mar 2021 Posts: 18
|
Posted: Mon Apr 12, 2021 2:05 pm Post subject: |
|
|
Here is the output of emerge -pv sys-apps/util-linux :
Code: |
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] sys-apps/util-linux-2.36.2::gentoo [2.35.2::gentoo] USE="cramfs logger ncurses pam readline (split-usr) suid (unicode) -audit -build -caps -cryptsetup -fdformat -hardlink -kill -nls -python (-selinux) -slang -static-libs -su -systemd -test -tty-helpers -udev" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_8 -python3_7 -python3_9%" 0 KiB
Total: 1 package (1 upgrade), Size of downloads: 0 KiB
|
Note: The -python3_9% has an odd yellow color, does that mean something? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30909 Location: here
|
Posted: Mon Apr 12, 2021 2:10 pm Post subject: |
|
|
You can post also full build.log with wgetpaste (/var/tmp/portage/sys-apps/util-linux-2.36.2/temp/build.log)? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
gentoo181 n00b
Joined: 30 Mar 2021 Posts: 18
|
|
Back to top |
|
|
gentoo181 n00b
Joined: 30 Mar 2021 Posts: 18
|
Posted: Tue Apr 13, 2021 9:52 am Post subject: |
|
|
Hi guys I managed to solve the problem. Since the problem was related to python3.9 I wanted to delete it but first I checked if it is a dependency for any package:
Code: | emerge -pv --depclean dev-lang/python:3.9 |
I noticed that few packages are depended on it so I just reinstalled python3.9:
Code: | emerge -a dev-lang/python:3.9 |
And it actually solved the problem so my guess is I removed by mistake something that is necessary for python3.9 when cleaning my system.
Thanks for anyone who tried to help and I really appreciate it.
I hope that my solution will help anyone who faces the same problem. |
|
Back to top |
|
|
|