Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 575858 - sci-geosciences/mapnik-2.2.0 with dev-util/scons[python_targets_pypy] - TypeError: __class__ assignment: 'Entry' object layout differs from 'File'
Summary: sci-geosciences/mapnik-2.2.0 with dev-util/scons[python_targets_pypy] - TypeE...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-27 21:25 UTC by Dennis Schridde
Modified: 2016-04-10 11:56 UTC (History)
0 users

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


Attachments
build.log (build.log,7.58 KB, text/plain)
2016-02-27 21:25 UTC, Dennis Schridde
Details
config.log (config.log,47.28 KB, text/plain)
2016-02-27 21:27 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2016-02-27 21:25:09 UTC
Created attachment 426810 [details]
build.log

sci-geosciences/mapnik-2.2.0 fails to build with dev-util/scons[python_targets_pypy]:
```
scons: Configure: Checking for C library z...
.sconf_temp/conftest_2.c <-
  |
  |
  |#include "zlib.h"
  |
  |int
  |main() {
  |
  |return 0;
  |}
  |
scons: Configure: Caught exception while building ".sconf_temp/conftest_2":

Traceback (most recent call last):
  File "/usr/lib64/pypy/site-packages/SCons/Job.py", line 199, in start
    task.prepare()
  File "/usr/lib64/pypy/site-packages/SCons/Taskmaster.py", line 172, in prepare 
    self.exception_raise()
  File "/usr/lib64/pypy/site-packages/SCons/Taskmaster.py", line 951, in next_task
    task.make_ready()
  File "/usr/lib64/pypy/site-packages/SCons/Taskmaster.py", line 402, in make_ready_current
    t.disambiguate().make_ready()
  File "/usr/lib64/pypy/site-packages/SCons/Node/FS.py", line 3089, in make_ready
    self.get_binfo()
  File "/usr/lib64/pypy/site-packages/SCons/Node/__init__.py", line 1102, in get_binfo
    binfo.bactsig = SCons.Util.MD5signature(executor.get_contents())
  File "/usr/lib64/pypy/site-packages/SCons/Executor.py", line 462, in get_contents
    for action in self.get_action_list()])
  File "/usr/lib64/pypy/site-packages/SCons/Action.py", line 434, in get_contents
    result = [ self.get_presig(target, source, env) ]
  File "/usr/lib64/pypy/site-packages/SCons/Action.py", line 979, in get_presig
    return c.get_presig(self, target, source, env)
  File "/usr/lib64/pypy/site-packages/SCons/Action.py", line 831, in get_presig
    return env.subst_target_source(cmd, SUBST_SIG, target, source)
  File "/usr/lib64/pypy/site-packages/SCons/Environment.py", line 514, in subst
    return SCons.Subst.scons_subst(string, self, raw, target, source, gvars, lvars, conv)
  File "/usr/lib64/pypy/site-packages/SCons/Subst.py", line 559, in scons_subst
    result = ss.substitute(strSubst, lvars)
  File "/usr/lib64/pypy/site-packages/SCons/Subst.py", line 523, in substitute
    result.append(self.conv(self.expand(a, lvars)))
  File "/usr/lib64/pypy/site-packages/SCons/Subst.py", line 478, in expand
    return self.substitute(s, lv)
  File "/usr/lib64/pypy/site-packages/SCons/Subst.py", line 523, in substitute
    result.append(self.conv(self.expand(a, lvars)))
  File "/usr/lib64/pypy/site-packages/SCons/Subst.py", line 478, in expand
    return self.substitute(s, lv)
  File "/usr/lib64/pypy/site-packages/SCons/Subst.py", line 530, in substitute
    return self.expand(args, lvars)
  File "/usr/lib64/pypy/site-packages/SCons/Subst.py", line 482, in expand
    return list(map(func, s))
  File "<builtin>/2.7/_abcoll.py", line 602, in __iter__
  File "/usr/lib64/pypy/site-packages/SCons/Subst.py", line 219, in __getitem__
    nl = self.nl._create_nodelist()
  File "/usr/lib64/pypy/site-packages/SCons/Subst.py", line 197, in _gen_nodelist
    self.nodelist = SCons.Util.NodeList(list(map(self.func, mylist)))
  File "/usr/lib64/pypy/site-packages/SCons/Subst.py", line 310, in get_src_subst_proxy
    node = rfile()
  File "/usr/lib64/pypy/site-packages/SCons/Node/FS.py", line 1025, in rfile
    self.__class__ = File
TypeError: __class__ assignment: 'Entry' object layout differs from 'File'
scons: Configure: no
```

```
# sudo emerge --info dev-util/scons sci-geosciences/mapnik
Passwort:
Portage 2.2.26 (python 2.7.10-final-42, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.3.0, glibc-2.22-r2, 4.4.2-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.4.2-gentoo-x86_64-AMD_A10-7800_Radeon_R7,_12_Compute_Cores_4C+8G-with-gentoo-2.2
KiB Mem:    15381240 total,   2081312 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 27 Feb 2016 20:15:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25 p1.2) 2.25
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.4.3::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r2::gentoo
Repositories:

gentoo
    location: /var/cache/portage/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000

aegypius
    location: /var/lib/layman/aegypius
    sync-type: laymansync
    sync-uri: git://github.com/aegypius/overlay.git
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/java.git
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

rust
    location: /var/lib/layman/rust
    sync-type: laymansync
    sync-uri: git://github.com/gentoo/gentoo-rust.git
    masters: gentoo
    priority: 50

sage-on-gentoo
    location: /var/lib/layman/sage-on-gentoo
    sync-type: laymansync
    sync-uri: git://github.com/cschwan/sage-on-gentoo.git
    masters: gentoo science
    priority: 50

science
    location: /var/lib/layman/science
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/sci.git
    masters: gentoo
    priority: 50

local
    location: /var/cache/portage/local
    masters: gentoo science
    priority: 100

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=bdver3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/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="-pipe -O2 -march=bdver3"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --nospinner"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install 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.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j3"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="xz"
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 aacplus aacs acl acpi alsa amd64 appindicator archive audit avahi bash-completion bdplus berkdb bluetooth bluray branding bzip2 cairo caps cdda cddb cdio cdr celt cjk cli colord conntrack cracklib crypt cups cxx dbus declarative dirac dri dts dvb dvd dvdr egl emboss encode exif fam fax ffmpeg firefox flac fontconfig fortran fribidi gdbm geoclue geolocation gif glamor gles gmp gpm gstreamer gtk harfbuzz ibus iconv ipv6 jpeg jpeg2k kde kipi ladspa latex lcms ldap libinput libnotify libproxy libsecret lua_target_lua5-2 lv2 lz4 lzma lzo mad mmx mmxext mng modemmanager modplug modules mp3 mp4 mpeg mplayer mtp multilib multitarget mysql ncurses netlink networkmanager nls nptl ogg openal opencl openexr opengl openmax openmp opus pam pango pcap pch pcre pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt4 qt5 readline rtmp samba scanner schroedinger sctp sdl seccomp semantic-desktop session speex spell sse sse2 ssl startup-notification subversion svg systemd tcpd theora threads tiff truetype udev udisks unicode upnp upnp-av upower usb v4l v4l2 vaapi vdpau vorbis vpx wavpack wayland webp widgets x264 x265 xattr xcb xcomposite xinerama xml xrandr xscreensaver xv xvid xz zeroconf 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="stage words flow sheets gemini" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3 ssse3 sse4 sse4a sse4_1 sse4_2" DRACUT_MODULES="btrfs caps systemd" ELIBC="glibc" ENLIGHTENMENT_MODULES="*" 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" GRUB_PLATFORMS="coreboot efi-64 pc" INPUT_DEVICES="joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en en_GB ar fa tr" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 pypy pypy3" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu radeon radeonsi" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-util/scons-2.4.1::gentoo was built with the following:
USE="-doc" ABI_X86="64" PYTHON_TARGETS="pypy python2_7"


sci-geosciences/mapnik-2.2.0::gentoo was built with the following:
USE="cairo -debug -doc -gdal -postgres -python -sqlite" ABI_X86="64" PYTHON_SINGLE_TARGET="python2_7 -python3_3" PYTHON_TARGETS="python2_7 -python3_3"
```
Comment 1 Dennis Schridde 2016-02-27 21:27:40 UTC
Created attachment 426812 [details]
config.log

```
# emerge --info dev-python/pypy
[...]
dev-python/pypy-4.0.1::gentoo was built with the following:
USE="bzip2 gdbm jit ncurses shadowstack sqlite -doc -low-memory (-sandbox) -test -tk" ABI_X86="64" CPU_FLAGS_X86="-sse2"
```

```
# eselect python list
Available Python interpreters, in order of preference:
  [1]   pypy
  [2]   python3.4
  [3]   python3.5 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
```
Comment 2 David Seifert gentoo-dev 2016-04-09 23:15:07 UTC
Please give the version bump a try and report back, thanks.

commit 4854a76b43c2c6c4c265f0d3b7c3bb477965cf34
Author: David Seifert <soap@gentoo.org>
Date:   Sun Apr 10 01:12:15 2016 +0200

    sci-geosciences/mapnik: Version bump
    
    Gentoo-Bug: 554892
    * EAPI=6
Comment 3 Dennis Schridde 2016-04-10 09:39:05 UTC
I was able to build sci-geosciences/mapnik-3.0.9 without any error.
Comment 4 Amy Liffey gentoo-dev 2016-04-10 11:44:30 UTC
Which however don't solve this bug as long as broken version is in tree.

Amy
Comment 5 Sam Jorna (wraeth) (RETIRED) gentoo-dev 2016-04-10 11:56:07 UTC
commit a94942edfc3ea1643d42017deb8ae9c591e767c2
Author: Sam Jorna <wraeth@gentoo.org>
Date:   Sun Apr 10 21:54:10 2016 +1000

    sci-geosciences/mapnik: remove old

    Remove old versions and related patches.

    Gentoo-bug: 575858
    Gentoo-bug: 578924
    Package-Manager: portage-2.2.28