Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629162 - sci-geosciences/qgis-2.18.12-r100 - emake fails in pyspatialite
Summary: sci-geosciences/qgis-2.18.12-r100 - emake fails in pyspatialite
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-28 10:16 UTC by Stephen Bosch
Modified: 2017-09-16 10:11 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Bosch 2017-08-28 10:16:43 UTC
The new qt5-only build of qgis-2.18.12 fails when trying to make the pyspatialite components:

/var/tmp/portage/sci-geosciences/qgis-2.18.12-r100/work/qgis-2.18.12/python/ext-libs/pyspatialite/src/connect
ion.c: In function ‘pysqlite_connection_create_collation’:
/var/tmp/portage/sci-geosciences/qgis-2.18.12-r100/work/qgis-2.18.12/python/ext-libs/pyspatialite/src/connect
ion.c:1464:74: error: ‘PyString_Type’ undeclared (first use in this function)
     if (!PyArg_ParseTuple(args, "O!O:create_collation(name, callback)", &PyString_Type, &name, &callable)) {
                                                                          ^
/var/tmp/portage/sci-geosciences/qgis-2.18.12-r100/work/qgis-2.18.12/python/ext-libs/pyspatialite/src/connect
ion.c:1464:74: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/portage/sci-geosciences/qgis-2.18.12-r100/work/qgis-2.18.12/python/ext-libs/pyspatialite/src/connect
ion.c: At top level:
/var/tmp/portage/sci-geosciences/qgis-2.18.12-r100/work/qgis-2.18.12/python/ext-libs/pyspatialite/src/connect
ion.c:1614:67: error: ‘RO’ undeclared here (not in a function)
     {"Warning", T_OBJECT, offsetof(pysqlite_Connection, Warning), RO},
                                                                   ^
make[2]: *** [python/ext-libs/pyspatialite/CMakeFiles/pyspatialite.dir/build.make:87: python/ext-libs/pyspati
alite/CMakeFiles/pyspatialite.dir/src/connection.c.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/sci-geosciences/qgis-2.18.12-r100/work/qgis-2.18.12_build'
make[1]: *** [CMakeFiles/Makefile2:8796: python/ext-libs/pyspatialite/CMakeFiles/pyspatialite.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 42%] Building CXX object python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart1.cpp.o

See the attached build.log for all the details.
Comment 1 Stephen Bosch 2017-08-28 10:20:01 UTC
# emerge --info '=sci-geosciences/qgis-2.18.12-r100::gentoo'
Portage 2.3.6 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.4, glibc-2.23-r4, 4.9.16-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.16-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9400_@_2.53GHz-with-gentoo-2.3
KiB Mem:     8088192 total,   2420072 free
KiB Swap:    4095996 total,   4095996 free
Timestamp of repository gentoo: Mon, 28 Aug 2017 09:00:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28 p1.2) 2.28
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.28::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.28-r2::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

testing
    location: /usr/local/portage
    masters: gentoo

haskell
    location: /var/lib/layman/haskell
    masters: gentoo
    priority: 50

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 50

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/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-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 userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 amr bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative device-mapper dri dts dvd dvdr emboss encode exif extras faac fam firefox flac fortran gdbm gif gimp glamor gpm gtk hwdb iconv icu ipv6 jpeg kde kipi kwallet laptop lcms ldap libnotify lm_sensors mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango parport pcre pdf perl phonon plasma png policykit ppds qml qt3support qt4 qt5 readline rtmp sdl seccomp semantic-desktop session spell sqlite sse sse2 sse3 ssl ssse3 startup-notification svg taglib tcpd theora threads tiff truetype udev udisks unicode upower usb v4l video vorbis widgets win32codecs wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid 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" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" L10N="de en fr nb no en-GB en-CA" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en fr nb nb_NO en_GB en_CA" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="intel vesa radeon" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Stephen Bosch 2017-08-28 10:21:58 UTC
The build log is 4.7 MB (!), so I have not attached it here.
Comment 3 Stephen Bosch 2017-08-28 10:36:46 UTC
I've pastebinned the build log. I don't know how long it will stay up.

https://bpaste.net/show/20c2b33853f4
Comment 4 Andreas Sturmlechner gentoo-dev 2017-09-09 16:16:53 UTC
pastebin link no longer accessible, please attach a compressed build.log if it does not fit.
Comment 5 Thomas Beutin 2017-09-15 15:12:28 UTC
(In reply to Andreas Sturmlechner from comment #4)
> pastebin link no longer accessible, please attach a compressed build.log if
> it does not fit.

IMHO this is a dupe of #623780, and there is an attached gzipped build log
Comment 6 Stephen Bosch 2017-09-16 10:11:54 UTC
(In reply to Thomas Beutin from comment #5)
> (In reply to Andreas Sturmlechner from comment #4)
> > pastebin link no longer accessible, please attach a compressed build.log if
> > it does not fit.
> 
> IMHO this is a dupe of #623780, and there is an attached gzipped build log

Sorry, I missed Andreas' message. Yes, this does indeed look like the same bug.