View previous topic :: View next topic |
Author |
Message |
phidip n00b
Joined: 02 Mar 2015 Posts: 6 Location: Denmark
|
Posted: Mon Mar 02, 2015 5:40 pm Post subject: I cannot emerge portage |
|
|
After an emerge sync I was encouraged to emerge portage.
I tried and it went belly up.
I decided after trying various things that I need a total makeover, so I reinstalled everything not in my /home.
After a day or two of succesful work I did an emerge --sync and was encouraged to emerge portage.
Tried with samme miserable results as a week ago.
It says Quote: | Failed to emerge sys-apps/portage-2.2.14, Log file:
>>> '/var/tmp/portage/sys-apps/portage-2.2.14/temp/build.log'
* Messages for package sys-apps/portage-2.2.14:
* ERROR: sys-apps/portage-2.2.14::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 3841: Called distutils-r1_src_compile
* environment, line 1051: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
* environment, line 297: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 3366: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2366: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2364: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 738: Called distutils-r1_run_phase 'distutils-r1_python_compile'
* environment, line 1042: Called distutils-r1_python_compile
* environment, line 927: Called esetup.py 'build'
* environment, line 1524: Called die
* The specific snippet of code:
* "${@}" || die
*
|
Googling seems to suggest some python problem.
I also cannot emerge dev-python/setuptools because of a block.
I have emerged everything --newuse with the exception of one package sys-apps/file that dies with a message similar to the one for portage.
Anyone?
Tia
@phidip _________________ --
phidip, the old professor |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
Posted: Mon Mar 02, 2015 6:30 pm Post subject: |
|
|
need more info, like that build.log or more of the lines that precede the first line you posted. emerge --info would be helpful too. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
phidip n00b
Joined: 02 Mar 2015 Posts: 6 Location: Denmark
|
Posted: Mon Mar 02, 2015 6:54 pm Post subject: |
|
|
Here are the build log, and the emerge --info
/@phidip
Quote: |
cat /var/tmp/portage/sys-apps/portage-2.2.14/temp/build.log
* Package: sys-apps/portage-2.2.14
* Repository: gentoo
* Maintainer: dev-portage@gentoo.org
* Upstream: dev-portage@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc ipc kernel_linux python_targets_python2_7 python_targets_python3_3 userland_GNU
* FEATURES: ccache preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking portage-2.2.14.tar.bz2 to /var/tmp/portage/sys-apps/portage-2.2.14/work
>>> Source unpacked in /var/tmp/portage/sys-apps/portage-2.2.14/work
>>> Preparing source in /var/tmp/portage/sys-apps/portage-2.2.14/work/portage-2.2.14 ...
patching file make.conf.example
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/portage-2.2.14/work/portage-2.2.14 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-apps/portage-2.2.14/work/portage-2.2.14 ...
* python3_3: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python3.3 setup.py build
Traceback (most recent call last):
File "setup.py", line 5, in <module>
from distutils.core import setup, Command
ImportError: No module named 'distutils.core'
* ERROR: sys-apps/portage-2.2.14::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 3841: Called distutils-r1_src_compile
* environment, line 1051: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
* environment, line 297: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 3366: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2366: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2364: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 738: Called distutils-r1_run_phase 'distutils-r1_python_compile'
* environment, line 1042: Called distutils-r1_python_compile
* environment, line 927: Called esetup.py 'build'
* environment, line 1524: Called die
* The specific snippet of code:
* "${@}" || die
*
* If you need support, post the output of `emerge --info '=sys-apps/portage-2.2.14::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-apps/portage-2.2.14::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-apps/portage-2.2.14/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/portage-2.2.14/temp/environment'.
* Working directory: '/var/tmp/portage/sys-apps/portage-2.2.14/work/portage-2.2.14'
* S: '/var/tmp/portage/sys-apps/portage-2.2.14/work/portage-2.2.14'
|
and the info
Quote: |
Portage 2.2.8-r2 (default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.18.7-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.18.7-gentoo-x86_64-Intel-R-_Core-TM-_i3-4005U_CPU_@_1.70GHz-with-gentoo-2.2
KiB Mem: 3927204 total, 165428 free
KiB Swap: 8388604 total, 8385444 free
Timestamp of tree: Mon, 02 Mar 2015 14:30:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash: 4.2_p53
dev-java/java-config: 2.2.0
dev-lang/perl: 5.20.1-r4
dev-lang/python: 2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/cmake: 2.8.12.2-r1
dev-util/pkgconfig: 0.28-r1
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.12.4
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6-r1, 1.13.4
sys-devel/binutils: 2.24-r3
sys-devel/gcc: 4.8.3
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4.4
sys-devel/make: 4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc: 2.19-r1
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /e
tc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/t
exmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc parallel-fetch preserv
e-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://ftp.uni-er
langen.de/pub/mirrors/gentoo "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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-readab
le --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 apache2 berkdb bindist bzip2 cairo cli cracklib crypt cups cxx dbus dri gdbm gtk gtk3 hal iconv imap ipv6 java jpeg kpathsea libav mmx modules mozdevelop multilib mysql ncurses nls nptl nsplugin openmp pam pcre png postgres python qt4 quicktime readline session sse sse2 ssl svg tcpd tiff truetype type1 udev unicode vhosts xinerama xml xpm zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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" 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_3" RUBY_TARGETS="ruby20 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" 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="2.7 3.3"
Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
_________________ --
phidip, the old professor |
|
Back to top |
|
|
jburns Veteran
Joined: 18 Jan 2007 Posts: 1213 Location: Massachusetts USA
|
Posted: Mon Mar 02, 2015 9:51 pm Post subject: |
|
|
Have you tried changing the active version of python using eselect python ?
Have you tried running python-updater |
|
Back to top |
|
|
phidip n00b
Joined: 02 Mar 2015 Posts: 6 Location: Denmark
|
Posted: Mon Mar 02, 2015 10:26 pm Post subject: |
|
|
Have tried with py 2.7 and with 3.3, same result.
I have also tried running python-updater.
No change, unfortunately _________________ --
phidip, the old professor |
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Tue Mar 03, 2015 6:08 am Post subject: |
|
|
This looks like you ran pip / easy_install as root. That will replace the emerge command. You should never run those as root.
Try to emerge portage by using the full path:
Code: | /usr/lib/python-exec/python2.7/emerge -a portage |
_________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
|
phidip n00b
Joined: 02 Mar 2015 Posts: 6 Location: Denmark
|
Posted: Tue Mar 03, 2015 7:44 am Post subject: |
|
|
Quote: |
nml1 ~ # ls -l /usr/lib/python-exec/python2.7
total 64
-rwxr-xr-x 1 root root 300 Feb 27 19:13 cygdb
-rwxr-xr-x 1 root root 302 Feb 27 19:13 cython
-rwxr-xr-x 1 root root 308 Feb 27 19:13 cythonize
-rwxr-xr-x 1 root root 3747 Feb 27 18:39 depend-java-query
-rwxr-xr-x 1 root root 317 Feb 27 16:31 easy_install
-rwxr-xr-x 1 root root 681 Feb 27 16:44 f2py
-rwxr-xr-x 1 root root 1035 Feb 27 17:42 gdbus-codegen
-rwxr-xr-x 1 root root 4210 Feb 27 18:39 gjl
-rwxr-xr-x 1 root root 20462 Feb 27 18:39 java-config-2
-rwxr-xr-x 1 root root 292 Feb 27 16:44 pybabel
lrwxrwxrwx 1 root root 61 Feb 27 16:26 pygobject-codegen-2.0 -> /usr/lib64/python2.7/site-packages/gtk-2.0/codegen/codegen.py
nml1 ~ # ls -l /usr/lib/python-exec/python3.3
total 60
-rwxr-xr-x 1 root root 300 Feb 27 19:13 cygdb
-rwxr-xr-x 1 root root 302 Feb 27 19:13 cython
-rwxr-xr-x 1 root root 308 Feb 27 19:13 cythonize
-rwxr-xr-x 1 root root 3747 Feb 27 18:39 depend-java-query
-rwxr-xr-x 1 root root 317 Feb 27 16:31 easy_install
-rwxr-xr-x 1 root root 681 Feb 27 16:37 f2py
-rwxr-xr-x 1 root root 1035 Feb 27 17:42 gdbus-codegen
-rwxr-xr-x 1 root root 4210 Feb 27 18:39 gjl
-rwxr-xr-x 1 root root 20462 Feb 27 18:39 java-config-2
-rwxr-xr-x 1 root root 292 Feb 27 16:44 pybabel
nml1 ~ # ls -l /usr/lib/python-exec/python3.4
total 60
-rwxr-xr-x 1 root root 300 Feb 27 19:13 cygdb
-rwxr-xr-x 1 root root 302 Feb 27 19:13 cython
-rwxr-xr-x 1 root root 308 Feb 27 19:13 cythonize
-rwxr-xr-x 1 root root 3747 Feb 27 18:39 depend-java-query
-rwxr-xr-x 1 root root 317 Feb 27 16:31 easy_install
-rwxr-xr-x 1 root root 681 Feb 27 16:40 f2py
-rwxr-xr-x 1 root root 1035 Feb 27 17:42 gdbus-codegen
-rwxr-xr-x 1 root root 4210 Feb 27 18:39 gjl
-rwxr-xr-x 1 root root 20462 Feb 27 18:39 java-config-2
-rwxr-xr-x 1 root root 292 Feb 27 16:44 pybabel
|
there is no emerge there?
What is pip / easy_install? _________________ --
phidip, the old professor |
|
Back to top |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Tue Mar 03, 2015 7:51 pm Post subject: |
|
|
distutils.core is part of the main python package. If it is missing, then that python is broken.
You have tried python-2.7 and 3.3 already. So try eselecting python-3.4 and re-emerging the other pythons then portage.
It sounds like you have an older version of portage installed. If the above works, then continue upgrading your system.
If that also fails. Then you might want to check your hard drive is not failing or some other file system problem is not deleting files on your system. _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
Back to top |
|
|
phidip n00b
Joined: 02 Mar 2015 Posts: 6 Location: Denmark
|
Posted: Sat Mar 07, 2015 8:33 am Post subject: Gave up |
|
|
I gave up on the protage update problem.
Did another reinstall, and since portage was then installed in the later version, things have been running smoothly in that respect.
Thanks for taking part. _________________ --
phidip, the old professor |
|
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
|
|