View previous topic :: View next topic |
Author |
Message |
sayusi n00b
Joined: 10 Aug 2006 Posts: 26 Location: Hungary
|
Posted: Fri Oct 14, 2016 7:09 pm Post subject: python3, python2, python interpreter is too old |
|
|
Hi All,
I think I messed up something and I cannot fix it, so I would like to request a little help.
I have tried to recompile dbus with python 2.7 (set up by eselect) and python 3.5 (also eselect) without any vain. I went through a few posts here and python tutorial, but there is no info about my issue below.
I have seen posts about PYTHON variables in make.conf, but it wasn't clear enough what to set up and why, especially PYTHON_SINGLE_TARGET.
Can I fix my system or I have to reinstall it?
Code: | checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gawk... (cached) gawk
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... yes
checking for x86_64-pc-linux-gnu-windres... no
checking for windres... no
checking whether 2.7 version is >= 2.6... no
configure: error: Python interpreter is too old
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-apps/dbus-1.10.12/work/dbus-1.10.12-abi_x86_64.amd64/config.log
* ERROR: sys-apps/dbus-1.10.12::gentoo failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 115: Called src_configure
* environment, line 5804: Called multilib-minimal_src_configure
* environment, line 4038: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
* environment, line 4252: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 3968: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 3966: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
* environment, line 700: Called multilib-minimal_abi_src_configure
* environment, line 4032: Called multilib_src_configure
* environment, line 4498: Called econf '--localstatedir=/var' '--docdir=/usr/share/doc/dbus-1.10.12' '--htmldir=/usr/share/doc/dbus-1.10.12/html' '--disable-static' '--disable-verbose-mode' '--disable-asserts' '--disable-checks' '--disable-selinux' '--disable-libaudit' '--disable-apparmor' '--enable-inotify' '--disable-kqueue' '--disable-systemd' '--disable-user-session' '--disable-embedded-tests' '--disable-modular-tests' '--disable-stats' '--with-session-socket-dir=/tmp' '--with-system-pid-file=/var/run/dbus.pid' '--with-system-socket=/var/run/dbus/system_bus_socket' '--with-systemdsystemunitdir=/usr/lib/systemd/system' '--with-dbus-user=messagebus' '--with-x' '--enable-xml-docs' '--disable-doxygen-docs'
* phase-helpers.sh, line 662: Called __helpers_die 'econf failed'
* isolated-functions.sh, line 117: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=sys-apps/dbus-1.10.12::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-apps/dbus-1.10.12::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-apps/dbus-1.10.12/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/dbus-1.10.12/temp/environment'.
* Working directory: '/var/tmp/portage/sys-apps/dbus-1.10.12/work/dbus-1.10.12-abi_x86_64.amd64'
* S: '/var/tmp/portage/sys-apps/dbus-1.10.12/work/dbus-1.10.12'
>>> Failed to emerge sys-apps/dbus-1.10.12, Log file:
|
Emerge info:
Code: |
sayusi-pc sayusi # emerge --info
Portage 2.3.2 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.23-r2, 4.8.1-gentoo x86_64)
=================================================================
System uname: Linux-4.8.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700_CPU_@_3.40GHz-with-gentoo-2.3
KiB Mem: 32834868 total, 30300648 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Fri, 14 Oct 2016 17:00:01 +0000
sh bash 4.4-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash: 4.4-r1::gentoo
dev-lang/perl: 5.24.0-r1::gentoo
dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo
dev-util/cmake: 3.6.2::gentoo
dev-util/pkgconfig: 0.29.1::gentoo
sys-apps/baselayout: 2.3::gentoo
sys-apps/openrc: 0.22.2::gentoo
sys-apps/sandbox: 2.10-r2::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake: 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils: 2.26.1::gentoo
sys-devel/gcc: 5.4.0::gentoo
sys-devel/gcc-config: 1.8-r1::gentoo
sys-devel/libtool: 2.4.6-r2::gentoo
sys-devel/make: 4.2.1::gentoo
sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers)
sys-libs/glibc: 2.23-r2::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
fuverlay
location: /var/lib/layman/fuverlay
sync-type: laymansync
sync-uri: https://github.com/funkill/fuverlay.git
masters: gentoo
priority: 50
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=broadwell -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=broadwell -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch 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://ftp.swin.edu.au/gentoo http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gentoo.gossamerhost.com http://gentoo.mirrors.tera-byte.com/ http://gentoo.aditsu.net:8000/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
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="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli consolekit corefonts cracklib crypt cups cxx dbus declarative djvu dri dts dvd dvdr emboss encode exif fam firefox flac fontconfig fortran gd gdbm gif git glamor gmp gpm iconv icu introspection ipv6 jbig jit jpeg jpeg2k kde kipi lcms ldap libnotify lua lzma lzo mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp opus pam pango pcre pdf phonon plasma png policykit postgres postscript ppds python qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session smp speex spell sqlite sse sse2 ssl startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis webkit widgets wmf wxwidgets x264 x265 xattr xcb xcomposite xinerama xml xpm xscreensaver xv xvid xvmc zlib" ABI_X86="64" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2 mmxext" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" 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="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_5 python3_4" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="nvidia" 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"
USE_PYTHON="3.5 3.4 2.7"
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
_________________ - -
-- Csanyi Andras/Sayusi Ando -- http://sayusi.hu -- http://facebook.com/andras.csanyi
-- "Trust in God and keep your gunpowder dry!!" - Cromwell |
|
Back to top |
|
|
sayusi n00b
Joined: 10 Aug 2006 Posts: 26 Location: Hungary
|
Posted: Fri Oct 14, 2016 7:25 pm Post subject: |
|
|
Ahh, I commented out PYTHON related things in the make.conf and the system works! Is there a documentation about those variables and when they should be used? _________________ - -
-- Csanyi Andras/Sayusi Ando -- http://sayusi.hu -- http://facebook.com/andras.csanyi
-- "Trust in God and keep your gunpowder dry!!" - Cromwell |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21593
|
Posted: Sat Oct 15, 2016 12:24 am Post subject: |
|
|
Portage exports variables named in make.conf into the build environment. If you create a variable with a name that collides with a well known value, you can cause strange problems. In your case, you defined $PYTHON, but the build system expected to use $PYTHON in a way that was not compatible with whatever value you set. Most likely, they expected $PYTHON to be the path to a working Python interpreter. |
|
Back to top |
|
|
|
|
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
|
|