Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error emerging jinja
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
Art Vandalay
Guru
Guru


Joined: 16 Sep 2003
Posts: 324
Location: Melbourne - VIC

PostPosted: Sat Jan 12, 2013 5:04 am    Post subject: Error emerging jinja Reply with quote

as of the past week when i run an update, portage is now pulling in jinja for some reason...i have no idea what it even does

When I go to compile...
Code:

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-python/jinja-2.6
 * Jinja2-2.6.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                               [ ok ]
>>> Unpacking source...
>>> Unpacking Jinja2-2.6.tar.gz to /var/tmp/portage/dev-python/jinja-2.6/work
>>> Source unpacked in /var/tmp/portage/dev-python/jinja-2.6/work
>>> Preparing source in /var/tmp/portage/dev-python/jinja-2.6/work/Jinja2-2.6 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/jinja-2.6/work/Jinja2-2.6 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/jinja-2.6/work/Jinja2-2.6 ...
 * Building of dev-python/jinja-2.6 with CPython 2.7...
python2.7 setup.py --with-debugsupport build -b build-2.7
running build
running build_py
creating build-2.7
creating build-2.7/lib.linux-x86_64-2.7
creating build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/__init__.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/_stringdefs.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/bccache.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/compiler.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/constants.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/debug.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/defaults.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/environment.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/exceptions.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/ext.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/filters.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/lexer.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/loaders.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/meta.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/nodes.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/optimizer.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/parser.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/runtime.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/sandbox.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/tests.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/utils.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
copying jinja2/visitor.py -> build-2.7/lib.linux-x86_64-2.7/jinja2
creating build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite
copying jinja2/testsuite/__init__.py -> build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite
copying jinja2/testsuite/api.py -> build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite
copying jinja2/testsuite/core_tags.py -> build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite
copying jinja2/testsuite/debug.py -> build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite
copying jinja2/testsuite/doctests.py -> build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite
copying jinja2/testsuite/ext.py -> build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite
copying jinja2/testsuite/filters.py -> build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite
copying jinja2/testsuite/imports.py -> build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite
copying jinja2/testsuite/inheritance.py -> build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite
copying jinja2/testsuite/lexnparse.py -> build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite
copying jinja2/testsuite/loader.py -> build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite
copying jinja2/testsuite/regression.py -> build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite
copying jinja2/testsuite/security.py -> build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite
copying jinja2/testsuite/tests.py -> build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite
copying jinja2/testsuite/utils.py -> build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite
creating build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite/res
copying jinja2/testsuite/res/__init__.py -> build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite/res
creating build-2.7/lib.linux-x86_64-2.7/jinja2/_markupsafe
copying jinja2/_markupsafe/__init__.py -> build-2.7/lib.linux-x86_64-2.7/jinja2/_markupsafe
copying jinja2/_markupsafe/_bundle.py -> build-2.7/lib.linux-x86_64-2.7/jinja2/_markupsafe
copying jinja2/_markupsafe/_constants.py -> build-2.7/lib.linux-x86_64-2.7/jinja2/_markupsafe
copying jinja2/_markupsafe/_native.py -> build-2.7/lib.linux-x86_64-2.7/jinja2/_markupsafe
copying jinja2/_markupsafe/tests.py -> build-2.7/lib.linux-x86_64-2.7/jinja2/_markupsafe
running egg_info
writing requirements to Jinja2.egg-info/requires.txt
writing Jinja2.egg-info/PKG-INFO
writing top-level names to Jinja2.egg-info/top_level.txt
writing dependency_links to Jinja2.egg-info/dependency_links.txt
writing entry points to Jinja2.egg-info/entry_points.txt
reading manifest file 'Jinja2.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
writing manifest file 'Jinja2.egg-info/SOURCES.txt'
copying jinja2/_debugsupport.c -> build-2.7/lib.linux-x86_64-2.7/jinja2
creating build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite/res/templates
copying jinja2/testsuite/res/templates/broken.html -> build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite/res/templates
copying jinja2/testsuite/res/templates/syntaxerror.html -> build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite/res/templates
copying jinja2/testsuite/res/templates/test.html -> build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite/res/templates
creating build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite/res/templates/foo
copying jinja2/testsuite/res/templates/foo/test.html -> build-2.7/lib.linux-x86_64-2.7/jinja2/testsuite/res/templates/foo
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
building 'jinja2._debugsupport' extension
creating build-2.7/temp.linux-x86_64-2.7
creating build-2.7/temp.linux-x86_64-2.7/jinja2
x86_64-pc-linux-gnu-gcc -pthread -march=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe -fPIC -I/usr/include/python2.7 -c jinja2/_debugsupport.c -o build-2.7/temp.linux-x86_64-2.7/jinja2/_debugsupport.o
x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -march=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe build-2.7/temp.linux-x86_64-2.7/jinja2/_debugsupport.o -L/usr/lib64 -lpython2.7 -o build-2.7/lib.linux-x86_64-2.7/jinja2/_debugsupport.so
 * Building of dev-python/jinja-2.6 with CPython 3.1...
python3.1 setup.py --with-debugsupport build -b build-3.1
Traceback (most recent call last):
  File "setup.py", line 40, in <module>
    from setuptools import setup, Extension, Feature
ImportError: No module named setuptools
 * ERROR: dev-python/jinja-2.6 failed (compile phase):
 *   Building failed with CPython 3.1 in distutils_building() function
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3674:  Called distutils_src_compile
 *   environment, line 1004:  Called python_execute_function 'distutils_building'
 *   environment, line 2056:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 *
 * If you need support, post the output of `emerge --info '=dev-python/jinja-2.6'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/jinja-2.6'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/jinja-2.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/jinja-2.6/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/jinja-2.6/work/Jinja2-2.6'
 * S: '/var/tmp/portage/dev-python/jinja-2.6/work/Jinja2-2.6'

>>> Failed to emerge dev-python/jinja-2.6, Log file:

>>>  '/var/tmp/portage/dev-python/jinja-2.6/temp/build.log'

 * Messages for package dev-python/jinja-2.6:

 * ERROR: dev-python/jinja-2.6 failed (compile phase):
 *   Building failed with CPython 3.1 in distutils_building() function
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3674:  Called distutils_src_compile
 *   environment, line 1004:  Called python_execute_function 'distutils_building'
 *   environment, line 2056:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 *
 * If you need support, post the output of `emerge --info '=dev-python/jinja-2.6'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/jinja-2.6'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/jinja-2.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/jinja-2.6/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/jinja-2.6/work/Jinja2-2.6'
 * S: '/var/tmp/portage/dev-python/jinja-2.6/work/Jinja2-2.6'



Have run revdep-rebuild and python-updater ....no change

further info:
Code:

Portage 2.1.11.38 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.16.0, 3.4.4-gentoo x86_64)
=================================================================
System uname: Linux-3.4.4-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_661_@_3.33GHz-with-gentoo-2.2
Timestamp of tree: Sat, 12 Jan 2013 03:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p42
dev-lang/python:          2.6.8-r1, 2.7.3-r3, 3.1.5-r1, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.27.1
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.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /home/mythtv/ /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -msse4 -mcx16 -mpopcnt -msahf -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 protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo ftp://ftp.swin.edu.au/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="64bit X a52 aac acl acpi alsa amd64 apache2 apm autostart bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cdrom cleartype consolekit corefonts cracklib cxx dbus dri dts dvd dvdr encode exif extras fam fbcondecor ffmpeg firefox flac fontconfig g3dvl gd gdbm gif git gnutls goom hddtemp httpd iconv innodb joystick jpeg lcms libnotify libvisual lirc lm_sensors lzo mad mercurial messages mjpeg mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap multilib musicbrainz mysql mythtv ncurses nls nptl nvidia ogg opengl openmp pam pango pcre pdf perl php pmu png policykit posix ppds projectm python qt3support qt4 rar readline sdl sensord session sse sse2 ssl startup-notification static-libs subversion svg tcpd threads tiff transcode truetype type1 udev udisks unicode upower usb v4l2 vaapi vcd vdpau vorbis webserver wxwidgets x264 xcb xine xml xrandr xv xvid xvmc zlib" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="userspace" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" 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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

_________________
I might not have morals...but at least I have standards
Back to top
View user's profile Send private message
megabaks
Apprentice
Apprentice


Joined: 22 Jan 2012
Posts: 237
Location: Russia && Saint-Petersburg

PostPosted: Sat Jan 12, 2013 11:51 am    Post subject: Reply with quote

dev-python/setuptools installed?
re-emerge it
Back to top
View user's profile Send private message
Art Vandalay
Guru
Guru


Joined: 16 Sep 2003
Posts: 324
Location: Melbourne - VIC

PostPosted: Sun Jan 13, 2013 12:08 am    Post subject: Reply with quote

megabaks wrote:
dev-python/setuptools installed?
re-emerge it


yes it is installed and so i re emerged it.

also re-ran python-updater for good measure

same result unfortunately

thx for the suggestion
_________________
I might not have morals...but at least I have standards
Back to top
View user's profile Send private message
megabaks
Apprentice
Apprentice


Joined: 22 Jan 2012
Posts: 237
Location: Russia && Saint-Petersburg

PostPosted: Sun Jan 13, 2013 12:21 am    Post subject: Reply with quote

Code:
cat /var/db/pkg/dev-python/setuptools-*/USE

Code:
eselect python list --python3

Code:
equery u dev-python/setuptools
Back to top
View user's profile Send private message
Art Vandalay
Guru
Guru


Joined: 16 Sep 2003
Posts: 324
Location: Melbourne - VIC

PostPosted: Sun Jan 13, 2013 12:33 am    Post subject: Reply with quote

cat /var/db/pkg/dev-python/setuptools-*/USE

Code:
amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_2 userland_GNU



eselect python list --python3

Code:

Available Python 3 interpreters:
  [1]   python3.1 *
  [2]   python3.2


equery u dev-python/setuptools

Code:

[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for dev-python/setuptools-0.6.33:
 U I
 - - python_targets_pypy1_9   : Build with PyPy 1.9
 - - python_targets_pypy2_0   : Build with PyPy 2.0
 - - python_targets_python2_5 : Build with Python 2.5
 - - python_targets_python2_6 : Build with Python 2.6
 + + python_targets_python2_7 : Build with Python 2.7
 - - python_targets_python3_1 : Build with Python 3.1
 + + python_targets_python3_2 : Build with Python 3.2


i'm guessing i need to set the default compiler to python3.2 ???
_________________
I might not have morals...but at least I have standards
Back to top
View user's profile Send private message
Art Vandalay
Guru
Guru


Joined: 16 Sep 2003
Posts: 324
Location: Melbourne - VIC

PostPosted: Sun Jan 13, 2013 12:36 am    Post subject: Reply with quote

eselect python set --python3 python3.2

and re emerging jinja has fixed it

thx! :D
_________________
I might not have morals...but at least I have standards
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