Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388631 - sci-geosciences/mapnik-0.7.1-r1 - PicklingError: Can't pickle <class 'SCons.Executor.NullEnvironment'>: attribute lookup SCons.Executor.NullEnvironment failed: [...]
Summary: sci-geosciences/mapnik-0.7.1-r1 - PicklingError: Can't pickle <class 'SCons.E...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-27 04:02 UTC by progserega
Modified: 2012-01-11 05:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log.bz2,1.79 KB, application/bzip2)
2011-10-27 04:04 UTC, progserega
Details
build.log of mapnik2 (build.log.bz2,1.92 KB, application/x-bzip2)
2011-11-20 23:17 UTC, progserega
Details

Note You need to log in before you can comment on or make changes to this bug.
Description progserega 2011-10-27 04:02:49 UTC
Sorting lib and inc compiler paths by priority... internal,other,frameworks,user,system(cached) yes
PicklingError: Can't pickle <class 'SCons.Executor.NullEnvironment'>: attribute lookup SCons.Executor.NullEnvironment failed:
  File "/var/tmp/portage/sci-geosciences/mapnik-0.7.1-r1/work/mapnik-0.7.1/SConstruct", line 1099:
    pickle.dump(pickle_dict,env_cache)
 * ERROR: sci-geosciences/mapnik-0.7.1-r1 failed (configure phase):
 *   scons configure failed
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_configure
 *   environment, line 5442:  Called die
 * The specific snippet of code:
 *       scons CC="$(tc-getCC)" CXX="$(tc-getCXX)" ${EMAKEOPTS} configure || die "scons configure failed"
 *
 * If you need support, post the output of 'emerge --info =sci-geosciences/mapnik-0.7.1-r1',
 * the complete build log and the output of 'emerge -pqv =sci-geosciences/mapnik-0.7.1-r1'.
 * The complete build log is located at '/var/tmp/portage/sci-geosciences/mapnik-0.7.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-geosciences/mapnik-0.7.1-r1/temp/environment'.
 * S: '/var/tmp/portage/sci-geosciences/mapnik-0.7.1-r1/work/mapnik-0.7.1'

>>> Failed to emerge sci-geosciences/mapnik-0.7.1-r1, Log file:


Reproducible: Always
Comment 1 progserega 2011-10-27 04:04:15 UTC
Created attachment 290963 [details]
build log
Comment 2 progserega 2011-10-27 04:04:43 UTC
 emerge --info
Portage 2.1.10.11 (default/linux/amd64/10.0/server, gcc-4.4.5, glibc-2.12.2-r0, 2.6.36-sata-64_32 x86_64)
=================================================================
System uname: Linux-2.6.36-sata-64_32-x86_64-Intel-R-_Xeon-R-_CPU_E5504_@_2.00GHz-with-gentoo-2.0.3
Timestamp of tree: Wed, 26 Oct 2011 03:00:01 +0000
distcc[13491] (dcc_trace_version) distcc 3.1 x86_64-pc-linux-gnu; built Dec 24 2010 23:36:59 [enabled]
ccache version 2.4 [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r1, 2.7.1-r1
dev-util/ccache:          2.4-r9
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo jmbsvicetto rion zugaina x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -fPIC"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -pipe -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distcc distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://mirrors/terra-byte.com/pub/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru"
MAKEOPTS="-j17"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/jmbsvicetto /var/lib/layman/rion /var/lib/layman/zugaina /usr/local/portage"
SYNC="rsync://172.21.250.34/gentoo-portage"
USE="7zip aac acpi admin ads agent amd64 apache2 bash-completion bcmath berkdb bzip2 cgi clamdtop cli cpudetection cracklib crypt ctype curl cxx dedicated djvu dri enca encode exif expat ffmpeg flac fontconfig fortran fpx frontend gd gif gnutls gpm graphviz heartbeat iconv imagemagick imap ithreads jabber jpeg jpeg2k json kerberos ldap libvirtd logrotate lvm matroska mbox milter mmx mod_admin_extra mod_irc mod_muc mod_pubsub mod_register_web mod_statsdx modules mp3 mudflap multilib musepack mysql ncurses nfs nls nptl nptlonly ntpl ntplonly odbc ogg openal openipmi openmp pam passwordsave pcre plugins png pop3d postgres pppd proxy qemu qemu-ifup ratio readline rrdcgi rtc ruby sasl sdl search-screen server session sidebar smux snmp sockets speex srt sse sse2 ssh ssl svg svnserve swat sysfs syslog tcpd theora threads tiff tools tordns truetype udev unicode utf8 vhosts vorbis web webinterface winbind x264 xml xvid zip 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="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 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Steve Arnold archtester gentoo-dev 2011-11-05 23:10:27 UTC
I don't see this problem at all (at least on any of my systems).  You'll either have to isolate the problem on your box (eg, overlays) or wait for the 2.0.0 ebuild.
Comment 4 Steve Arnold archtester gentoo-dev 2011-11-15 02:29:15 UTC
If you don't need mapnik for gpsdrive, then try the mapnik2 ebuild (you'll have to unmask to try it).
Comment 5 progserega 2011-11-20 23:15:32 UTC
(In reply to comment #4)
> If you don't need mapnik for gpsdrive, then try the mapnik2 ebuild (you'll have
> to unmask to try it).

emerge mapnik2 failed:

Checking for pycairo... yes

Exiting... the following required dependencies were not found:
   - proj (Proj.4 C Projections library | configure with PROJ_LIBS & PROJ_INCLUDES | more info: http://trac.osgeo.org/proj/)

See '/var/tmp/portage/sci-geosciences/mapnik-2.0.0/work/mapnik-2.0.0/config.log' for details on possible problems.

project in system:

# equery l proj
 * Searching for proj ...
[IP-] [  ] sci-libs/proj-4.7.0:0
Comment 6 progserega 2011-11-20 23:17:23 UTC
Created attachment 293243 [details]
build.log of mapnik2
Comment 7 progserega 2011-11-22 01:04:19 UTC
Sorry!
mapnik-2.0.0 merged with FEATURES="-distcc"
:-)

I am testing 0.7.x with FEATURES="-distcc"
Comment 8 progserega 2012-01-11 05:41:16 UTC
mapnik-2.0 work fine. Sank you very match!