Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ERROR: sys-apps/portage-2.1.11.60 failed [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
papapenguin
l33t
l33t


Joined: 20 Sep 2005
Posts: 694
Location: Bellevue

PostPosted: Sat Apr 06, 2013 3:19 am    Post subject: ERROR: sys-apps/portage-2.1.11.60 failed [SOLVED] Reply with quote

...been having trouble updating Portage...which is leading to a whole slew of problems...

Code:
>>> Installing (1 of 1) sys-apps/portage-2.1.11.60
 * Running preinst sanity tests...
testBashSyntax (portage.tests.lint.test_bash_syntax.BashSyntaxTestCase) ... ok
testCompileModules (portage.tests.lint.test_compile_modules.CompileModulesTestCase) ... ok
testImportModules (portage.tests.lint.test_import_modules.ImportModulesTestCase) ... FAIL

======================================================================
FAIL: testImportModules (portage.tests.lint.test_import_modules.ImportModulesTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/sys-apps/portage-2.1.11.60/image/usr/lib/portage/pym/portage/cache/anydbm.py", line 8, in <module>
    import anydbm as anydbm_module
ImportError: No module named anydbm

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/tmp/portage/sys-apps/portage-2.1.11.60/image/usr/lib/portage/pym/portage/tests/lint/test_import_modules.py", line 18, in testImportModules
    __import__(mod)
  File "/var/tmp/portage/sys-apps/portage-2.1.11.60/image/usr/lib/portage/pym/portage/cache/anydbm.py", line 11, in <module>
    import dbm as anydbm_module
ImportError: No module named dbm

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/tmp/portage/sys-apps/portage-2.1.11.60/image/usr/lib/portage/pym/portage/tests/__init__.py", line 193, in run
    testMethod()
  File "/var/tmp/portage/sys-apps/portage-2.1.11.60/image/usr/lib/portage/pym/portage/tests/lint/test_import_modules.py", line 21, in testImportModules
    self.assertTrue(False, "failed to import '%s': %s" % (mod, e))
AssertionError: False is not true : failed to import 'portage.cache.anydbm': No module named dbm

----------------------------------------------------------------------
Ran 3 tests in 2.547s

FAILED (failures=1)
 * ERROR: sys-apps/portage-2.1.11.60 failed (preinst phase):
 *   preinst sanity tests failed
 *
 * Call stack:
 *     ebuild.sh, line  93:  Called pkg_preinst
 *   environment, line 2037:  Called die
 * The specific snippet of code:
 *               "$test_runner" || die "preinst sanity tests failed";
 *
 * If you need support, post the output of `emerge --info '=sys-apps/portage-2.1.11.60'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/portage-2.1.11.60'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/portage-2.1.11.60/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/portage-2.1.11.60/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/portage-2.1.11.60'
 * S: '/var/tmp/portage/sys-apps/portage-2.1.11.60/work/portage-2.1.11.60'
!!! FAILED preinst: 1

>>> Failed to install sys-apps/portage-2.1.11.60, Log file:

>>>  '/var/tmp/portage/sys-apps/portage-2.1.11.60/temp/build.log'

 * Messages for package sys-apps/portage-2.1.11.60:

 * ERROR: sys-apps/portage-2.1.11.60 failed (preinst phase):
 *   preinst sanity tests failed
 *
 * Call stack:
 *     ebuild.sh, line  93:  Called pkg_preinst
 *   environment, line 2037:  Called die
 * The specific snippet of code:
 *               "$test_runner" || die "preinst sanity tests failed";
 *
 * If you need support, post the output of `emerge --info '=sys-apps/portage-2.1.11.60'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/portage-2.1.11.60'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/portage-2.1.11.60/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/portage-2.1.11.60/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/portage-2.1.11.60'
 * S: '/var/tmp/portage/sys-apps/portage-2.1.11.60/work/portage-2.1.11.60'

 * GNU info directory index is up-to-date.
papapenguin ~ #

emerge --info
Code:
papapenguin ~ # emerge --info
Portage 2.1.11.57 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.2, glibc-2.16.0, 3.8.3-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.8.3-gentoo-r1-x86_64-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-50-with-gentoo-2.2
KiB Mem:     3977804 total,    998572 free
KiB Swap:    1919760 total,   1919760 free
Timestamp of tree: Sat, 06 Apr 2013 01:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo proaudio
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA skype-4.0.0.7-copyright skype-eula dlj-1.1 AdobeFlash-11.x Google-TOS Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -msse3 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /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.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /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=native -msse3 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/pro-audio"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi aim alsa amd64 apache2 apng berkdb bluetooth branding bzip2 cairo caps cdb cdda cddb cdinstall cdparanoia cdr cgi cgid cli consolekit cracklib crypt css cups curl cxx dbus declarative device-mapper dri dts dv dvb dvd dvdr eigen emboss enca encode exif extras fam ffmpeg firefox flac fontconfig fortran freetype ftp gd gdbm gif glib gmp gnutls gpm gsf gstreamer gtk gudev handbook hwdb iconv icu imap ipod ipv6 jabber jack jadetex java javascript jingle jpeg kdcraw kde kdepim kipi kontact kpathsea ladspa laptop lcms ldap libnotify mad matroska melt minizip mmx mng modules mp3 mp4 mpeg mplayer msn mso mssql mudflap multilib mysql mysqli ncurses nls nptl nsplugin nvidia objc ogg okular openexr opengl openmp openxr oscar pam pango pcmcia pcre pda pdf pdo perl phonon php plasma png policykit ppds python qt-static qt3support qt4 quicktime raw readline reports rss ruby scanner script sdl secure-delete semantic-desktop session snmp source sox speex spell splitdebug sql sqlite3 sse sse2 ssl startup-notification svg syslog tcpd theora threads tidy tiff timidity tools truetype udev udisks unicode upower usb v4l v4l2 vcd video vorbis webkit wifi wv2 wxwidgets x264 xcb xcomposite xetex xine xinerama xml xmlwriter xscreensaver xslt xv xvid yahoo zip 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="keyboard mouse synaptics 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-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia v4l" 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"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

papapenguin ~ #

_________________
--------------
Compaq Presario V6120US
AMD Turion 64X2
------------------------


Last edited by papapenguin on Sat Apr 06, 2013 8:33 am; edited 1 time in total
Back to top
View user's profile Send private message
zmedico
Developer
Developer


Joined: 02 Jan 2004
Posts: 284
Location: California USA

PostPosted: Sat Apr 06, 2013 6:20 am    Post subject: Reply with quote

Those imports should not fail, so it seems as though your python installation is corrupt. Hopefully this fixes it:
Code:
emerge --oneshot python:2.7 python:3.2

_________________
Zac
Back to top
View user's profile Send private message
papapenguin
l33t
l33t


Joined: 20 Sep 2005
Posts: 694
Location: Bellevue

PostPosted: Sat Apr 06, 2013 8:32 am    Post subject: Reply with quote

phew...yep that worked...thanks...
_________________
--------------
Compaq Presario V6120US
AMD Turion 64X2
------------------------
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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