I: pbuilder: network access will be disabled during build I: Current time: Sun Jul 26 16:00:11 -12 2020 I: pbuilder-time-stamp: 1595822411 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: using eatmydata during job I: Copying source file I: copying [sparql-wrapper-python_1.8.2-0.1.dsc] I: copying [./sparql-wrapper-python_1.8.2.orig.tar.gz] I: copying [./sparql-wrapper-python_1.8.2-0.1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Tue Feb 12 03:04:16 2019 -12 gpgv: using RSA key 9FE3E9C36691A69FF53CC6842C7C3146C1A00121 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./sparql-wrapper-python_1.8.2-0.1.dsc dpkg-source: info: extracting sparql-wrapper-python in sparql-wrapper-python-1.8.2 dpkg-source: info: unpacking sparql-wrapper-python_1.8.2.orig.tar.gz dpkg-source: info: unpacking sparql-wrapper-python_1.8.2-0.1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: i386 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: 2to3, debhelper-compat (= 12), dh-python, python-all (>= 2.6.6-3~), python-nose, python-setuptools, python3-all, python3-nose, python3-setuptools dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19231 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on 2to3; however: Package 2to3 is not installed. pbuilder-satisfydepends-dummy depends on debhelper-compat (= 12); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-python; however: Package dh-python is not installed. pbuilder-satisfydepends-dummy depends on python-all (>= 2.6.6-3~); however: Package python-all is not installed. pbuilder-satisfydepends-dummy depends on python-nose; however: Package python-nose is not installed. pbuilder-satisfydepends-dummy depends on python-setuptools; however: Package python-setuptools is not installed. pbuilder-satisfydepends-dummy depends on python3-all; however: Package python3-all is not installed. pbuilder-satisfydepends-dummy depends on python3-nose; however: Package python3-nose is not installed. pbuilder-satisfydepends-dummy depends on python3-setuptools; however: Package python3-setuptools is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: 2to3{a} autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdmainutils{a} debhelper{a} dh-autoreconf{a} dh-python{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libelf1{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu63{a} libmagic-mgc{a} libmagic1{a} libmpdec2{a} libncurses6{a} libpipeline1{a} libpython-stdlib{a} libpython2-stdlib{a} libpython2.7-minimal{a} libpython2.7-stdlib{a} libpython3-stdlib{a} libpython3.7-minimal{a} libpython3.7-stdlib{a} libreadline7{a} libsigsegv2{a} libssl1.1{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} mime-support{a} po-debconf{a} python{a} python-all{a} python-minimal{a} python-nose{a} python-pkg-resources{a} python-setuptools{a} python2{a} python2-minimal{a} python2.7{a} python2.7-minimal{a} python3{a} python3-all{a} python3-distutils{a} python3-lib2to3{a} python3-minimal{a} python3-nose{a} python3-pkg-resources{a} python3-setuptools{a} python3.7{a} python3.7-minimal{a} readline-common{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl lynx shared-mime-info wget xdg-user-dirs 0 packages upgraded, 68 newly installed, 0 to remove and 0 not upgraded. Need to get 31.7 MB of archives. After unpacking 122 MB will be used. Writing extended state information... Get: 1 http://cdn-fastly.deb.debian.org/debian buster/main i386 libbsd0 i386 0.9.1-2 [104 kB] Get: 2 http://cdn-fastly.deb.debian.org/debian buster/main i386 bsdmainutils i386 11.1.2+b1 [193 kB] Get: 3 http://cdn-fastly.deb.debian.org/debian buster/main i386 libuchardet0 i386 0.0.6-3 [65.2 kB] Get: 4 http://cdn-fastly.deb.debian.org/debian buster/main i386 groff-base i386 1.22.4-3 [935 kB] Get: 5 http://cdn-fastly.deb.debian.org/debian buster/main i386 libpipeline1 i386 1.5.1-2 [33.3 kB] Get: 6 http://cdn-fastly.deb.debian.org/debian buster/main i386 man-db i386 2.8.5-2 [1284 kB] Get: 7 http://cdn-fastly.deb.debian.org/debian buster/main i386 libpython2.7-minimal i386 2.7.16-2 [395 kB] Get: 8 http://cdn-fastly.deb.debian.org/debian buster/main i386 python2.7-minimal i386 2.7.16-2 [1383 kB] Get: 9 http://cdn-fastly.deb.debian.org/debian buster/main i386 python2-minimal i386 2.7.16-1 [41.4 kB] Get: 10 http://cdn-fastly.deb.debian.org/debian buster/main i386 python-minimal i386 2.7.16-1 [21.0 kB] Get: 11 http://cdn-fastly.deb.debian.org/debian buster/main i386 libssl1.1 i386 1.1.1c-1 [1532 kB] Get: 12 http://cdn-fastly.deb.debian.org/debian buster/main i386 mime-support all 3.62 [37.2 kB] Get: 13 http://cdn-fastly.deb.debian.org/debian buster/main i386 libexpat1 i386 2.2.6-1 [102 kB] Get: 14 http://cdn-fastly.deb.debian.org/debian buster/main i386 readline-common all 7.0-5 [70.6 kB] Get: 15 http://cdn-fastly.deb.debian.org/debian buster/main i386 libreadline7 i386 7.0-5 [156 kB] Get: 16 http://cdn-fastly.deb.debian.org/debian buster/main i386 libpython2.7-stdlib i386 2.7.16-2 [1935 kB] Get: 17 http://cdn-fastly.deb.debian.org/debian buster/main i386 python2.7 i386 2.7.16-2 [305 kB] Get: 18 http://cdn-fastly.deb.debian.org/debian buster/main i386 libpython2-stdlib i386 2.7.16-1 [20.8 kB] Get: 19 http://cdn-fastly.deb.debian.org/debian buster/main i386 libpython-stdlib i386 2.7.16-1 [20.8 kB] Get: 20 http://cdn-fastly.deb.debian.org/debian buster/main i386 python2 i386 2.7.16-1 [41.6 kB] Get: 21 http://cdn-fastly.deb.debian.org/debian buster/main i386 python i386 2.7.16-1 [22.8 kB] Get: 22 http://cdn-fastly.deb.debian.org/debian buster/main i386 libpython3.7-minimal i386 3.7.3-2 [590 kB] Get: 23 http://cdn-fastly.deb.debian.org/debian buster/main i386 python3.7-minimal i386 3.7.3-2 [1746 kB] Get: 24 http://cdn-fastly.deb.debian.org/debian buster/main i386 python3-minimal i386 3.7.3-1 [36.6 kB] Get: 25 http://cdn-fastly.deb.debian.org/debian buster/main i386 libmpdec2 i386 2.4.2-2 [83.2 kB] Get: 26 http://cdn-fastly.deb.debian.org/debian buster/main i386 libpython3.7-stdlib i386 3.7.3-2 [1751 kB] Get: 27 http://cdn-fastly.deb.debian.org/debian buster/main i386 python3.7 i386 3.7.3-2 [330 kB] Get: 28 http://cdn-fastly.deb.debian.org/debian buster/main i386 libpython3-stdlib i386 3.7.3-1 [20.0 kB] Get: 29 http://cdn-fastly.deb.debian.org/debian buster/main i386 python3 i386 3.7.3-1 [61.5 kB] Get: 30 http://cdn-fastly.deb.debian.org/debian buster/main i386 sensible-utils all 0.0.12 [15.8 kB] Get: 31 http://cdn-fastly.deb.debian.org/debian buster/main i386 libmagic-mgc i386 1:5.35-4 [242 kB] Get: 32 http://cdn-fastly.deb.debian.org/debian buster/main i386 libmagic1 i386 1:5.35-4 [124 kB] Get: 33 http://cdn-fastly.deb.debian.org/debian buster/main i386 file i386 1:5.35-4 [66.3 kB] Get: 34 http://cdn-fastly.deb.debian.org/debian buster/main i386 gettext-base i386 0.19.8.1-9 [124 kB] Get: 35 http://cdn-fastly.deb.debian.org/debian buster/main i386 python3-lib2to3 all 3.7.3-1 [76.7 kB] Get: 36 http://cdn-fastly.deb.debian.org/debian buster/main i386 2to3 all 3.7.3-1 [20.8 kB] Get: 37 http://cdn-fastly.deb.debian.org/debian buster/main i386 libsigsegv2 i386 2.12-2 [33.2 kB] Get: 38 http://cdn-fastly.deb.debian.org/debian buster/main i386 m4 i386 1.4.18-2 [205 kB] Get: 39 http://cdn-fastly.deb.debian.org/debian buster/main i386 autoconf all 2.69-11 [341 kB] Get: 40 http://cdn-fastly.deb.debian.org/debian buster/main i386 autotools-dev all 20180224.1 [77.0 kB] Get: 41 http://cdn-fastly.deb.debian.org/debian buster/main i386 automake all 1:1.16.1-4 [771 kB] Get: 42 http://cdn-fastly.deb.debian.org/debian buster/main i386 autopoint all 0.19.8.1-9 [434 kB] Get: 43 http://cdn-fastly.deb.debian.org/debian buster/main i386 libtool all 2.4.6-9 [547 kB] Get: 44 http://cdn-fastly.deb.debian.org/debian buster/main i386 dh-autoreconf all 19 [16.9 kB] Get: 45 http://cdn-fastly.deb.debian.org/debian buster/main i386 libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 46 http://cdn-fastly.deb.debian.org/debian buster/main i386 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 47 http://cdn-fastly.deb.debian.org/debian buster/main i386 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 48 http://cdn-fastly.deb.debian.org/debian buster/main i386 libelf1 i386 0.176-1.1 [166 kB] Get: 49 http://cdn-fastly.deb.debian.org/debian buster/main i386 dwz i386 0.12-3 [81.4 kB] Get: 50 http://cdn-fastly.deb.debian.org/debian buster/main i386 libglib2.0-0 i386 2.58.3-2 [1333 kB] Get: 51 http://cdn-fastly.deb.debian.org/debian buster/main i386 libicu63 i386 63.1-6 [8443 kB] Get: 52 http://cdn-fastly.deb.debian.org/debian buster/main i386 libxml2 i386 2.9.4+dfsg1-7+b3 [721 kB] Get: 53 http://cdn-fastly.deb.debian.org/debian buster/main i386 libcroco3 i386 0.6.12-3 [151 kB] Get: 54 http://cdn-fastly.deb.debian.org/debian buster/main i386 libncurses6 i386 6.1+20181013-2 [109 kB] Get: 55 http://cdn-fastly.deb.debian.org/debian buster/main i386 gettext i386 0.19.8.1-9 [1314 kB] Get: 56 http://cdn-fastly.deb.debian.org/debian buster/main i386 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 57 http://cdn-fastly.deb.debian.org/debian buster/main i386 po-debconf all 1.0.21 [248 kB] Get: 58 http://cdn-fastly.deb.debian.org/debian buster/main i386 debhelper all 12.1.1 [1016 kB] Get: 59 http://cdn-fastly.deb.debian.org/debian buster/main i386 python3-distutils all 3.7.3-1 [142 kB] Get: 60 http://cdn-fastly.deb.debian.org/debian buster/main i386 dh-python all 3.20190308 [99.3 kB] Get: 61 http://cdn-fastly.deb.debian.org/debian buster/main i386 python-all i386 2.7.16-1 [1044 B] Get: 62 http://cdn-fastly.deb.debian.org/debian buster/main i386 python-pkg-resources all 40.8.0-1 [182 kB] Get: 63 http://cdn-fastly.deb.debian.org/debian buster/main i386 python-nose all 1.3.7-4 [132 kB] Get: 64 http://cdn-fastly.deb.debian.org/debian buster/main i386 python-setuptools all 40.8.0-1 [382 kB] Get: 65 http://cdn-fastly.deb.debian.org/debian buster/main i386 python3-all i386 3.7.3-1 [1068 B] Get: 66 http://cdn-fastly.deb.debian.org/debian buster/main i386 python3-pkg-resources all 40.8.0-1 [153 kB] Get: 67 http://cdn-fastly.deb.debian.org/debian buster/main i386 python3-nose all 1.3.7-4 [132 kB] Get: 68 http://cdn-fastly.deb.debian.org/debian buster/main i386 python3-setuptools all 40.8.0-1 [306 kB] Fetched 31.7 MB in 8s (3880 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19231 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_i386.deb ... Unpacking libbsd0:i386 (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_i386.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../02-libuchardet0_0.0.6-3_i386.deb ... Unpacking libuchardet0:i386 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_i386.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../04-libpipeline1_1.5.1-2_i386.deb ... Unpacking libpipeline1:i386 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_i386.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package libpython2.7-minimal:i386. Preparing to unpack .../06-libpython2.7-minimal_2.7.16-2_i386.deb ... Unpacking libpython2.7-minimal:i386 (2.7.16-2) ... Selecting previously unselected package python2.7-minimal. Preparing to unpack .../07-python2.7-minimal_2.7.16-2_i386.deb ... Unpacking python2.7-minimal (2.7.16-2) ... Selecting previously unselected package python2-minimal. Preparing to unpack .../08-python2-minimal_2.7.16-1_i386.deb ... Unpacking python2-minimal (2.7.16-1) ... Selecting previously unselected package python-minimal. Preparing to unpack .../09-python-minimal_2.7.16-1_i386.deb ... Unpacking python-minimal (2.7.16-1) ... Selecting previously unselected package libssl1.1:i386. Preparing to unpack .../10-libssl1.1_1.1.1c-1_i386.deb ... Unpacking libssl1.1:i386 (1.1.1c-1) ... Selecting previously unselected package mime-support. Preparing to unpack .../11-mime-support_3.62_all.deb ... Unpacking mime-support (3.62) ... Selecting previously unselected package libexpat1:i386. Preparing to unpack .../12-libexpat1_2.2.6-1_i386.deb ... Unpacking libexpat1:i386 (2.2.6-1) ... Selecting previously unselected package readline-common. Preparing to unpack .../13-readline-common_7.0-5_all.deb ... Unpacking readline-common (7.0-5) ... Selecting previously unselected package libreadline7:i386. Preparing to unpack .../14-libreadline7_7.0-5_i386.deb ... Unpacking libreadline7:i386 (7.0-5) ... Selecting previously unselected package libpython2.7-stdlib:i386. Preparing to unpack .../15-libpython2.7-stdlib_2.7.16-2_i386.deb ... Unpacking libpython2.7-stdlib:i386 (2.7.16-2) ... Selecting previously unselected package python2.7. Preparing to unpack .../16-python2.7_2.7.16-2_i386.deb ... Unpacking python2.7 (2.7.16-2) ... Selecting previously unselected package libpython2-stdlib:i386. Preparing to unpack .../17-libpython2-stdlib_2.7.16-1_i386.deb ... Unpacking libpython2-stdlib:i386 (2.7.16-1) ... Selecting previously unselected package libpython-stdlib:i386. Preparing to unpack .../18-libpython-stdlib_2.7.16-1_i386.deb ... Unpacking libpython-stdlib:i386 (2.7.16-1) ... Setting up libpython2.7-minimal:i386 (2.7.16-2) ... Setting up python2.7-minimal (2.7.16-2) ... Setting up python2-minimal (2.7.16-1) ... Selecting previously unselected package python2. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20696 files and directories currently installed.) Preparing to unpack .../python2_2.7.16-1_i386.deb ... Unpacking python2 (2.7.16-1) ... Setting up python-minimal (2.7.16-1) ... Selecting previously unselected package python. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20729 files and directories currently installed.) Preparing to unpack .../python_2.7.16-1_i386.deb ... Unpacking python (2.7.16-1) ... Selecting previously unselected package libpython3.7-minimal:i386. Preparing to unpack .../libpython3.7-minimal_3.7.3-2_i386.deb ... Unpacking libpython3.7-minimal:i386 (3.7.3-2) ... Selecting previously unselected package python3.7-minimal. Preparing to unpack .../python3.7-minimal_3.7.3-2_i386.deb ... Unpacking python3.7-minimal (3.7.3-2) ... Setting up libssl1.1:i386 (1.1.1c-1) ... Setting up libpython3.7-minimal:i386 (3.7.3-2) ... Setting up libexpat1:i386 (2.2.6-1) ... Setting up python3.7-minimal (3.7.3-2) ... Selecting previously unselected package python3-minimal. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20983 files and directories currently installed.) Preparing to unpack .../python3-minimal_3.7.3-1_i386.deb ... Unpacking python3-minimal (3.7.3-1) ... Selecting previously unselected package libmpdec2:i386. Preparing to unpack .../libmpdec2_2.4.2-2_i386.deb ... Unpacking libmpdec2:i386 (2.4.2-2) ... Selecting previously unselected package libpython3.7-stdlib:i386. Preparing to unpack .../libpython3.7-stdlib_3.7.3-2_i386.deb ... Unpacking libpython3.7-stdlib:i386 (3.7.3-2) ... Selecting previously unselected package python3.7. Preparing to unpack .../python3.7_3.7.3-2_i386.deb ... Unpacking python3.7 (3.7.3-2) ... Selecting previously unselected package libpython3-stdlib:i386. Preparing to unpack .../libpython3-stdlib_3.7.3-1_i386.deb ... Unpacking libpython3-stdlib:i386 (3.7.3-1) ... Setting up python3-minimal (3.7.3-1) ... Selecting previously unselected package python3. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21395 files and directories currently installed.) Preparing to unpack .../00-python3_3.7.3-1_i386.deb ... Unpacking python3 (3.7.3-1) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../01-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../02-libmagic-mgc_1%3a5.35-4_i386.deb ... Unpacking libmagic-mgc (1:5.35-4) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../03-libmagic1_1%3a5.35-4_i386.deb ... Unpacking libmagic1:i386 (1:5.35-4) ... Selecting previously unselected package file. Preparing to unpack .../04-file_1%3a5.35-4_i386.deb ... Unpacking file (1:5.35-4) ... Selecting previously unselected package gettext-base. Preparing to unpack .../05-gettext-base_0.19.8.1-9_i386.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../06-python3-lib2to3_3.7.3-1_all.deb ... Unpacking python3-lib2to3 (3.7.3-1) ... Selecting previously unselected package 2to3. Preparing to unpack .../07-2to3_3.7.3-1_all.deb ... Unpacking 2to3 (3.7.3-1) ... Selecting previously unselected package libsigsegv2:i386. Preparing to unpack .../08-libsigsegv2_2.12-2_i386.deb ... Unpacking libsigsegv2:i386 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../09-m4_1.4.18-2_i386.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../10-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../11-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../12-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../13-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package libtool. Preparing to unpack .../14-libtool_2.4.6-9_all.deb ... Unpacking libtool (2.4.6-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../15-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../16-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../17-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../18-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:i386. Preparing to unpack .../19-libelf1_0.176-1.1_i386.deb ... Unpacking libelf1:i386 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../20-dwz_0.12-3_i386.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:i386. Preparing to unpack .../21-libglib2.0-0_2.58.3-2_i386.deb ... Unpacking libglib2.0-0:i386 (2.58.3-2) ... Selecting previously unselected package libicu63:i386. Preparing to unpack .../22-libicu63_63.1-6_i386.deb ... Unpacking libicu63:i386 (63.1-6) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../23-libxml2_2.9.4+dfsg1-7+b3_i386.deb ... Unpacking libxml2:i386 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:i386. Preparing to unpack .../24-libcroco3_0.6.12-3_i386.deb ... Unpacking libcroco3:i386 (0.6.12-3) ... Selecting previously unselected package libncurses6:i386. Preparing to unpack .../25-libncurses6_6.1+20181013-2_i386.deb ... Unpacking libncurses6:i386 (6.1+20181013-2) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.19.8.1-9_i386.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../27-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../28-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../29-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../30-python3-distutils_3.7.3-1_all.deb ... Unpacking python3-distutils (3.7.3-1) ... Selecting previously unselected package dh-python. Preparing to unpack .../31-dh-python_3.20190308_all.deb ... Unpacking dh-python (3.20190308) ... Selecting previously unselected package python-all. Preparing to unpack .../32-python-all_2.7.16-1_i386.deb ... Unpacking python-all (2.7.16-1) ... Selecting previously unselected package python-pkg-resources. Preparing to unpack .../33-python-pkg-resources_40.8.0-1_all.deb ... Unpacking python-pkg-resources (40.8.0-1) ... Selecting previously unselected package python-nose. Preparing to unpack .../34-python-nose_1.3.7-4_all.deb ... Unpacking python-nose (1.3.7-4) ... Selecting previously unselected package python-setuptools. Preparing to unpack .../35-python-setuptools_40.8.0-1_all.deb ... Unpacking python-setuptools (40.8.0-1) ... Selecting previously unselected package python3-all. Preparing to unpack .../36-python3-all_3.7.3-1_i386.deb ... Unpacking python3-all (3.7.3-1) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../37-python3-pkg-resources_40.8.0-1_all.deb ... Unpacking python3-pkg-resources (40.8.0-1) ... Selecting previously unselected package python3-nose. Preparing to unpack .../38-python3-nose_1.3.7-4_all.deb ... Unpacking python3-nose (1.3.7-4) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../39-python3-setuptools_40.8.0-1_all.deb ... Unpacking python3-setuptools (40.8.0-1) ... Setting up libpipeline1:i386 (1.5.1-2) ... Setting up mime-support (3.62) ... Setting up libmagic-mgc (1:5.35-4) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:i386 (2.58.3-2) ... No schema files found: doing nothing. Setting up libmagic1:i386 (1:5.35-4) ... Setting up gettext-base (0.19.8.1-9) ... Setting up file (1:5.35-4) ... Setting up libicu63:i386 (63.1-6) ... Setting up autotools-dev (20180224.1) ... Setting up libncurses6:i386 (6.1+20181013-2) ... Setting up libsigsegv2:i386 (2.12-2) ... Setting up autopoint (0.19.8.1-9) ... Setting up sensible-utils (0.0.12) ... Setting up libuchardet0:i386 (0.0.6-3) ... Setting up libmpdec2:i386 (2.4.2-2) ... Setting up libbsd0:i386 (0.9.1-2) ... Setting up libelf1:i386 (0.176-1.1) ... Setting up readline-common (7.0-5) ... Setting up libxml2:i386 (2.9.4+dfsg1-7+b3) ... Setting up libreadline7:i386 (7.0-5) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up libpython3.7-stdlib:i386 (3.7.3-2) ... Setting up libtool (2.4.6-9) ... Setting up m4 (1.4.18-2) ... Setting up libpython2.7-stdlib:i386 (2.7.16-2) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libcroco3:i386 (0.6.12-3) ... Setting up autoconf (2.69-11) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3) ... Setting up libpython3-stdlib:i386 (3.7.3-1) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up python3.7 (3.7.3-2) ... Setting up gettext (0.19.8.1-9) ... Setting up python2.7 (2.7.16-2) ... Setting up libpython2-stdlib:i386 (2.7.16-1) ... Setting up python3 (3.7.3-1) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up python2 (2.7.16-1) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libpython-stdlib:i386 (2.7.16-1) ... Setting up python3-lib2to3 (3.7.3-1) ... Setting up python (2.7.16-1) ... Setting up python3-pkg-resources (40.8.0-1) ... Setting up python3-distutils (3.7.3-1) ... Setting up dh-python (3.20190308) ... Setting up python3-setuptools (40.8.0-1) ... Setting up python-pkg-resources (40.8.0-1) ... Setting up po-debconf (1.0.21) ... Setting up python3-all (3.7.3-1) ... Setting up python-all (2.7.16-1) ... Setting up 2to3 (3.7.3-1) ... Setting up python3-nose (1.3.7-4) ... Setting up python-setuptools (40.8.0-1) ... Setting up python-nose (1.3.7-4) ... Setting up debhelper (12.1.1) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Processing triggers for libc-bin (2.28-10) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/sparql-wrapper-python-1.8.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package sparql-wrapper-python dpkg-buildpackage: info: source version 1.8.2-0.1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Jonas Smedegaard dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 debian/rules clean dh clean --with python2,python3 --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:217: python2.7 setup.py clean running clean removing '/build/sparql-wrapper-python-1.8.2/.pybuild/cpython2_2.7_sparqlwrapper/build' (and everything under it) 'build/bdist.linux-i386' does not exist -- can't clean it 'build/scripts-2.7' does not exist -- can't clean it I: pybuild base:217: python3.7 setup.py clean running clean removing '/build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build' (and everything under it) 'build/bdist.linux-i386' does not exist -- can't clean it 'build/scripts-3.7' does not exist -- can't clean it dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --with python2,python3 --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild base:217: python2.7 setup.py config running config I: pybuild base:217: python3.7 setup.py config running config dh_auto_build -O--buildsystem=pybuild I: pybuild base:217: /usr/bin/python setup.py build running build running build_py creating /build/sparql-wrapper-python-1.8.2/.pybuild/cpython2_2.7_sparqlwrapper/build/SPARQLWrapper copying SPARQLWrapper/KeyCaseInsensitiveDict.py -> /build/sparql-wrapper-python-1.8.2/.pybuild/cpython2_2.7_sparqlwrapper/build/SPARQLWrapper copying SPARQLWrapper/Wrapper.py -> /build/sparql-wrapper-python-1.8.2/.pybuild/cpython2_2.7_sparqlwrapper/build/SPARQLWrapper copying SPARQLWrapper/__init__.py -> /build/sparql-wrapper-python-1.8.2/.pybuild/cpython2_2.7_sparqlwrapper/build/SPARQLWrapper copying SPARQLWrapper/SPARQLExceptions.py -> /build/sparql-wrapper-python-1.8.2/.pybuild/cpython2_2.7_sparqlwrapper/build/SPARQLWrapper copying SPARQLWrapper/SmartWrapper.py -> /build/sparql-wrapper-python-1.8.2/.pybuild/cpython2_2.7_sparqlwrapper/build/SPARQLWrapper I: pybuild pybuild:298: cp -r test /build/sparql-wrapper-python-1.8.2/.pybuild/cpython2_2.7_sparqlwrapper/build I: pybuild base:217: /usr/bin/python3 setup.py build running build running build_py creating /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper copying SPARQLWrapper/KeyCaseInsensitiveDict.py -> /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper copying SPARQLWrapper/Wrapper.py -> /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper copying SPARQLWrapper/__init__.py -> /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper copying SPARQLWrapper/SPARQLExceptions.py -> /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper copying SPARQLWrapper/SmartWrapper.py -> /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper Fixing /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper/KeyCaseInsensitiveDict.py /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper/Wrapper.py /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper/__init__.py /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper/SPARQLExceptions.py /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper/SmartWrapper.py Skipping optional fixer: buffer Skipping optional fixer: idioms Skipping optional fixer: set_literal Skipping optional fixer: ws_comma Fixing /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper/KeyCaseInsensitiveDict.py /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper/Wrapper.py /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper/__init__.py /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper/SPARQLExceptions.py /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper/SmartWrapper.py Skipping optional fixer: buffer Skipping optional fixer: idioms Skipping optional fixer: set_literal Skipping optional fixer: ws_comma I: pybuild pybuild:298: cp -r test /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build debian/rules override_dh_auto_test make[1]: Entering directory '/build/sparql-wrapper-python-1.8.2' # sed command is a custom hack that's also present in upstream's run_tests_py3.sh script PYBUILD_BEFORE_TEST_python3='cp -r {dir}/test {build_dir}; 2to3 -w {build_dir}/test; sed -i.sedbak -e "s/urllib2._opener/urllib.request._opener/g" {build_dir}/test/wrapper_test.py' \ PYBUILD_AFTER_TEST='rm -rf {build_dir}/test' \ dh_auto_test --buildsystem=pybuild I: pybuild base:217: cd /build/sparql-wrapper-python-1.8.2/.pybuild/cpython2_2.7_sparqlwrapper/build; python2.7 -m nose -v test testConstructor (wrapper_test.QueryResult_Test) ... ok testConvert (wrapper_test.QueryResult_Test) ... ok testProxyingToResponse (wrapper_test.QueryResult_Test) ... ok testAddCustomHttpHeader (wrapper_test.SPARQLWrapper_Test) ... ok testAddParameter (wrapper_test.SPARQLWrapper_Test) ... ok testClearCustomHttpHeader (wrapper_test.SPARQLWrapper_Test) ... ok testClearParameter (wrapper_test.SPARQLWrapper_Test) ... ok testCommentAfterStatements (wrapper_test.SPARQLWrapper_Test) ... SKIP: issue #80 testCommentBeginningLine (wrapper_test.SPARQLWrapper_Test) ... ok testCommentEmtpyLine (wrapper_test.SPARQLWrapper_Test) ... ok testComments (wrapper_test.SPARQLWrapper_Test) ... ok testCommentsFirstLine (wrapper_test.SPARQLWrapper_Test) ... ok testConstructor (wrapper_test.SPARQLWrapper_Test) ... ok testHashInPrefixComplex (wrapper_test.SPARQLWrapper_Test) ... ok testHashInPrefixes (wrapper_test.SPARQLWrapper_Test) ... ok testHashWithNoComments (wrapper_test.SPARQLWrapper_Test) ... ok testIsSparqlQueryRequest (wrapper_test.SPARQLWrapper_Test) ... ok testIsSparqlUpdateRequest (wrapper_test.SPARQLWrapper_Test) ... ok testOnlyConneg (wrapper_test.SPARQLWrapper_Test) ... ok testQuery (wrapper_test.SPARQLWrapper_Test) ... ok testQueryAndConvert (wrapper_test.SPARQLWrapper_Test) ... ok testQueryEncoding (wrapper_test.SPARQLWrapper_Test) ... ok testReset (wrapper_test.SPARQLWrapper_Test) ... ok testSetCredentials (wrapper_test.SPARQLWrapper_Test) ... ok testSetHTTPAuth (wrapper_test.SPARQLWrapper_Test) ... ok testSetMethod (wrapper_test.SPARQLWrapper_Test) ... ok testSetQuery (wrapper_test.SPARQLWrapper_Test) ... ok testSetQueryEncodingIssues (wrapper_test.SPARQLWrapper_Test) ... ok testSetRequestMethod (wrapper_test.SPARQLWrapper_Test) ... ok testSetReturnFormat (wrapper_test.SPARQLWrapper_Test) ... ok testSetTimeout (wrapper_test.SPARQLWrapper_Test) ... ok testSingleLineQueryLine (wrapper_test.SPARQLWrapper_Test) ... ok testsSupportsReturnFormat (wrapper_test.SPARQLWrapper_Test) ... ok ---------------------------------------------------------------------- Ran 33 tests in 0.029s OK (SKIP=1) I: pybuild pybuild:298: rm -rf /build/sparql-wrapper-python-1.8.2/.pybuild/cpython2_2.7_sparqlwrapper/build/test I: pybuild pybuild:272: cp -r /build/sparql-wrapper-python-1.8.2/test /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build; 2to3 -w /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/test; sed -i.sedbak -e "s/urllib2._opener/urllib.request._opener/g" /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/test/wrapper_test.py RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/test/agrovoc-allegrograph.py RefactoringTool: Refactored /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/test/dbpedia-virtuoso.py RefactoringTool: Refactored /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/test/wrapper_test.py RefactoringTool: Files that were modified: RefactoringTool: /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/test/agrovoc-allegrograph.py RefactoringTool: /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/test/dbpedia-virtuoso.py RefactoringTool: /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/test/wrapper_test.py --- /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/test/agrovoc-allegrograph.py (original) +++ /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/test/agrovoc-allegrograph.py (refactored) @@ -31,7 +31,7 @@ try: from urllib.error import HTTPError # Python 3 except ImportError: - from urllib2 import HTTPError # Python 2 + from urllib.error import HTTPError # Python 2 try: bytes # Python 2.6 and above --- /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/test/dbpedia-virtuoso.py (original) +++ /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/test/dbpedia-virtuoso.py (refactored) @@ -31,7 +31,7 @@ try: from urllib.error import HTTPError # Python 3 except ImportError: - from urllib2 import HTTPError # Python 2 + from urllib.error import HTTPError # Python 2 try: bytes # Python 2.6 and above --- /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/test/wrapper_test.py (original) +++ /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/test/wrapper_test.py (refactored) @@ -6,9 +6,9 @@ import logging import unittest -import urllib2 -from urlparse import urlparse, parse_qsl, parse_qs -from urllib2 import Request +import urllib.request, urllib.error, urllib.parse +from urllib.parse import urlparse, parse_qsl, parse_qs +from urllib.request import Request logging.basicConfig() @@ -24,7 +24,7 @@ # we don't want to let Wrapper do real web-requests. so, we are… # constructing a simple Mock! -from urllib2 import HTTPError +from urllib.error import HTTPError from io import StringIO import warnings @@ -49,14 +49,14 @@ def urlopener_error_generator(code): def urlopener_error(request): - raise HTTPError(request.get_full_url, code, '', {}, StringIO(u'')) + raise HTTPError(request.get_full_url, code, '', {}, StringIO('')) return urlopener_error def urlopener_check_data_encoding(request): if sys.version < '3': # have to write it like this, for 2to3 compatibility - if isinstance(request.data, unicode): + if isinstance(request.data, str): raise TypeError else: if isinstance(request.data, str): @@ -118,7 +118,7 @@ return parameters else: result = {} - for k, vs in parameters.iteritems(): + for k, vs in parameters.items(): result[k] = [v.encode('utf-8') for v in vs] return result @@ -305,7 +305,7 @@ request = self._get_request(self.wrapper) self.assertFalse(request.has_header('Authorization')) self.assertEqual(self.wrapper.http_auth, DIGEST) - self.assertIsInstance(urllib2._opener, urllib2.OpenerDirector) + self.assertIsInstance(urllib2._opener, urllib.request.OpenerDirector) self.assertRaises(ValueError, self.wrapper.setHTTPAuth, 'OAuth') @@ -330,7 +330,7 @@ def testSetQueryEncodingIssues(self): #further details from issue #35 - query = u'INSERT DATA { "これはテストです" }' + query = 'INSERT DATA { "これはテストです" }' query_bytes = query.encode('utf-8') self.wrapper.setMethod(POST) @@ -338,21 +338,21 @@ self.wrapper.setQuery(query) request = self._get_request(self.wrapper) - self.assertEquals(query_bytes, request.data) + self.assertEqual(query_bytes, request.data) self.wrapper.setQuery(query_bytes) request = self._get_request(self.wrapper) - self.assertEquals(query_bytes, request.data) + self.assertEqual(query_bytes, request.data) self.wrapper.setRequestMethod(URLENCODED) self.wrapper.setQuery(query) parameters = self._get_request_parameters_as_bytes(self.wrapper) - self.assertEquals(query_bytes, parameters['update'][0]) + self.assertEqual(query_bytes, parameters['update'][0]) self.wrapper.setQuery(query_bytes) parameters = self._get_request_parameters_as_bytes(self.wrapper) - self.assertEquals(query_bytes, parameters['update'][0]) + self.assertEqual(query_bytes, parameters['update'][0]) try: self.wrapper.setQuery(query.encode('sjis')) @@ -595,7 +595,7 @@ } """ parsed_query = self.wrapper._cleanComments(query) - self.assertEquals(query, parsed_query) + self.assertEqual(query, parsed_query) def testCommentBeginningLine(self): # see issue #77 @@ -616,7 +616,7 @@ } """ parsed_query = self.wrapper._cleanComments(query) - self.assertEquals(expected_parsed_query, parsed_query) + self.assertEqual(expected_parsed_query, parsed_query) def testCommentEmtpyLine(self): # see issue #77 @@ -637,7 +637,7 @@ } """ parsed_query = self.wrapper._cleanComments(query) - self.assertEquals(expected_parsed_query, parsed_query) + self.assertEqual(expected_parsed_query, parsed_query) def testCommentsFirstLine(self): # see issue #77 @@ -650,7 +650,7 @@ WHERE {?s ?p ?o}""" parsed_query = self.wrapper._cleanComments(query) - self.assertEquals(expected_parsed_query, parsed_query) + self.assertEqual(expected_parsed_query, parsed_query) @unittest.skip("issue #80") def testCommentAfterStatements(self): @@ -672,13 +672,13 @@ } """ parsed_query = self.wrapper._cleanComments(query) - self.assertEquals(expected_parsed_query, parsed_query) + self.assertEqual(expected_parsed_query, parsed_query) def testSingleLineQueryLine(self): # see issue #74 query = "prefix whatever: ASK { ?s ?p ?o }" parsed_query = self.wrapper._cleanComments(query) - self.assertEquals(query, parsed_query) + self.assertEqual(query, parsed_query) self.wrapper.setQuery(query) self.assertTrue(self.wrapper.isSparqlQueryRequest()) @@ -736,7 +736,7 @@ def __iter__(self): self.iter_called = True - def next(self): + def __next__(self): self.next_called = True result = FakeResponse() @@ -744,7 +744,7 @@ qr = QueryResult(result) qr.geturl() qr.__iter__() - qr.next() + next(qr) self.assertTrue(result.geturl_called) self.assertTrue(result.iter_called) I: pybuild base:217: cd /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build; python3.7 -m nose -v test testConstructor (wrapper_test.QueryResult_Test) ... ok testConvert (wrapper_test.QueryResult_Test) ... ok testProxyingToResponse (wrapper_test.QueryResult_Test) ... ok testAddCustomHttpHeader (wrapper_test.SPARQLWrapper_Test) ... ok testAddParameter (wrapper_test.SPARQLWrapper_Test) ... ok testClearCustomHttpHeader (wrapper_test.SPARQLWrapper_Test) ... ok testClearParameter (wrapper_test.SPARQLWrapper_Test) ... ok testCommentAfterStatements (wrapper_test.SPARQLWrapper_Test) ... SKIP: issue #80 testCommentBeginningLine (wrapper_test.SPARQLWrapper_Test) ... ok testCommentEmtpyLine (wrapper_test.SPARQLWrapper_Test) ... ok testComments (wrapper_test.SPARQLWrapper_Test) ... ok testCommentsFirstLine (wrapper_test.SPARQLWrapper_Test) ... ok testConstructor (wrapper_test.SPARQLWrapper_Test) ... ok testHashInPrefixComplex (wrapper_test.SPARQLWrapper_Test) ... ok testHashInPrefixes (wrapper_test.SPARQLWrapper_Test) ... ok testHashWithNoComments (wrapper_test.SPARQLWrapper_Test) ... ok testIsSparqlQueryRequest (wrapper_test.SPARQLWrapper_Test) ... ok testIsSparqlUpdateRequest (wrapper_test.SPARQLWrapper_Test) ... ok testOnlyConneg (wrapper_test.SPARQLWrapper_Test) ... ok testQuery (wrapper_test.SPARQLWrapper_Test) ... ok testQueryAndConvert (wrapper_test.SPARQLWrapper_Test) ... ok testQueryEncoding (wrapper_test.SPARQLWrapper_Test) ... ok testReset (wrapper_test.SPARQLWrapper_Test) ... ok testSetCredentials (wrapper_test.SPARQLWrapper_Test) ... ok testSetHTTPAuth (wrapper_test.SPARQLWrapper_Test) ... ok testSetMethod (wrapper_test.SPARQLWrapper_Test) ... ok testSetQuery (wrapper_test.SPARQLWrapper_Test) ... ok testSetQueryEncodingIssues (wrapper_test.SPARQLWrapper_Test) ... ok testSetRequestMethod (wrapper_test.SPARQLWrapper_Test) ... ok testSetReturnFormat (wrapper_test.SPARQLWrapper_Test) ... ok testSetTimeout (wrapper_test.SPARQLWrapper_Test) ... ok testSingleLineQueryLine (wrapper_test.SPARQLWrapper_Test) ... ok testsSupportsReturnFormat (wrapper_test.SPARQLWrapper_Test) ... ok ---------------------------------------------------------------------- Ran 33 tests in 0.032s OK (SKIP=1) I: pybuild pybuild:298: rm -rf /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/test make[1]: Leaving directory '/build/sparql-wrapper-python-1.8.2' create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=pybuild dh_prep -O--buildsystem=pybuild dh_auto_install -O--buildsystem=pybuild I: pybuild pybuild:272: rm -fr /build/sparql-wrapper-python-1.8.2/.pybuild/cpython2_2.7_sparqlwrapper/build/test I: pybuild base:217: /usr/bin/python setup.py install --root /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper running install running build running build_py running install_lib creating /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper creating /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper/usr creating /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper/usr/lib creating /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper/usr/lib/python2.7 creating /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper/usr/lib/python2.7/dist-packages creating /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper/usr/lib/python2.7/dist-packages/SPARQLWrapper copying /build/sparql-wrapper-python-1.8.2/.pybuild/cpython2_2.7_sparqlwrapper/build/SPARQLWrapper/KeyCaseInsensitiveDict.py -> /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper/usr/lib/python2.7/dist-packages/SPARQLWrapper copying /build/sparql-wrapper-python-1.8.2/.pybuild/cpython2_2.7_sparqlwrapper/build/SPARQLWrapper/Wrapper.py -> /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper/usr/lib/python2.7/dist-packages/SPARQLWrapper copying /build/sparql-wrapper-python-1.8.2/.pybuild/cpython2_2.7_sparqlwrapper/build/SPARQLWrapper/__init__.py -> /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper/usr/lib/python2.7/dist-packages/SPARQLWrapper copying /build/sparql-wrapper-python-1.8.2/.pybuild/cpython2_2.7_sparqlwrapper/build/SPARQLWrapper/SPARQLExceptions.py -> /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper/usr/lib/python2.7/dist-packages/SPARQLWrapper copying /build/sparql-wrapper-python-1.8.2/.pybuild/cpython2_2.7_sparqlwrapper/build/SPARQLWrapper/__init__.pyc -> /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper/usr/lib/python2.7/dist-packages/SPARQLWrapper copying /build/sparql-wrapper-python-1.8.2/.pybuild/cpython2_2.7_sparqlwrapper/build/SPARQLWrapper/Wrapper.pyc -> /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper/usr/lib/python2.7/dist-packages/SPARQLWrapper copying /build/sparql-wrapper-python-1.8.2/.pybuild/cpython2_2.7_sparqlwrapper/build/SPARQLWrapper/SmartWrapper.py -> /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper/usr/lib/python2.7/dist-packages/SPARQLWrapper copying /build/sparql-wrapper-python-1.8.2/.pybuild/cpython2_2.7_sparqlwrapper/build/SPARQLWrapper/SmartWrapper.pyc -> /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper/usr/lib/python2.7/dist-packages/SPARQLWrapper copying /build/sparql-wrapper-python-1.8.2/.pybuild/cpython2_2.7_sparqlwrapper/build/SPARQLWrapper/SPARQLExceptions.pyc -> /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper/usr/lib/python2.7/dist-packages/SPARQLWrapper copying /build/sparql-wrapper-python-1.8.2/.pybuild/cpython2_2.7_sparqlwrapper/build/SPARQLWrapper/KeyCaseInsensitiveDict.pyc -> /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper/usr/lib/python2.7/dist-packages/SPARQLWrapper byte-compiling /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper/usr/lib/python2.7/dist-packages/SPARQLWrapper/KeyCaseInsensitiveDict.py to KeyCaseInsensitiveDict.pyc byte-compiling /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper/usr/lib/python2.7/dist-packages/SPARQLWrapper/Wrapper.py to Wrapper.pyc byte-compiling /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper/usr/lib/python2.7/dist-packages/SPARQLWrapper/__init__.py to __init__.pyc byte-compiling /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper/usr/lib/python2.7/dist-packages/SPARQLWrapper/SPARQLExceptions.py to SPARQLExceptions.pyc byte-compiling /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper/usr/lib/python2.7/dist-packages/SPARQLWrapper/SmartWrapper.py to SmartWrapper.pyc running install_egg_info running egg_info creating SPARQLWrapper.egg-info writing requirements to SPARQLWrapper.egg-info/requires.txt writing SPARQLWrapper.egg-info/PKG-INFO writing top-level names to SPARQLWrapper.egg-info/top_level.txt writing dependency_links to SPARQLWrapper.egg-info/dependency_links.txt writing manifest file 'SPARQLWrapper.egg-info/SOURCES.txt' reading manifest file 'SPARQLWrapper.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'Makefile' writing manifest file 'SPARQLWrapper.egg-info/SOURCES.txt' Copying SPARQLWrapper.egg-info to /build/sparql-wrapper-python-1.8.2/debian/python-sparqlwrapper/usr/lib/python2.7/dist-packages/SPARQLWrapper-1.8.2.egg-info Skipping SOURCES.txt running install_scripts I: pybuild pybuild:272: rm -fr /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/test I: pybuild base:217: /usr/bin/python3 setup.py install --root /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper running install running build running build_py running install_lib creating /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper creating /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr creating /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr/lib creating /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr/lib/python3.7 creating /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr/lib/python3.7/dist-packages creating /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr/lib/python3.7/dist-packages/SPARQLWrapper copying /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper/KeyCaseInsensitiveDict.py -> /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr/lib/python3.7/dist-packages/SPARQLWrapper copying /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper/Wrapper.py -> /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr/lib/python3.7/dist-packages/SPARQLWrapper copying /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper/__init__.py -> /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr/lib/python3.7/dist-packages/SPARQLWrapper copying /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper/SPARQLExceptions.py -> /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr/lib/python3.7/dist-packages/SPARQLWrapper creating /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr/lib/python3.7/dist-packages/SPARQLWrapper/__pycache__ copying /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper/__pycache__/SPARQLExceptions.cpython-37.pyc -> /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr/lib/python3.7/dist-packages/SPARQLWrapper/__pycache__ copying /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper/__pycache__/__init__.cpython-37.pyc -> /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr/lib/python3.7/dist-packages/SPARQLWrapper/__pycache__ copying /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper/__pycache__/SmartWrapper.cpython-37.pyc -> /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr/lib/python3.7/dist-packages/SPARQLWrapper/__pycache__ copying /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper/__pycache__/Wrapper.cpython-37.pyc -> /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr/lib/python3.7/dist-packages/SPARQLWrapper/__pycache__ copying /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper/__pycache__/KeyCaseInsensitiveDict.cpython-37.pyc -> /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr/lib/python3.7/dist-packages/SPARQLWrapper/__pycache__ copying /build/sparql-wrapper-python-1.8.2/.pybuild/cpython3_3.7_sparqlwrapper/build/SPARQLWrapper/SmartWrapper.py -> /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr/lib/python3.7/dist-packages/SPARQLWrapper byte-compiling /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr/lib/python3.7/dist-packages/SPARQLWrapper/KeyCaseInsensitiveDict.py to KeyCaseInsensitiveDict.cpython-37.pyc byte-compiling /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr/lib/python3.7/dist-packages/SPARQLWrapper/Wrapper.py to Wrapper.cpython-37.pyc byte-compiling /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr/lib/python3.7/dist-packages/SPARQLWrapper/__init__.py to __init__.cpython-37.pyc byte-compiling /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr/lib/python3.7/dist-packages/SPARQLWrapper/SPARQLExceptions.py to SPARQLExceptions.cpython-37.pyc byte-compiling /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr/lib/python3.7/dist-packages/SPARQLWrapper/SmartWrapper.py to SmartWrapper.cpython-37.pyc running install_egg_info running egg_info writing SPARQLWrapper.egg-info/PKG-INFO writing dependency_links to SPARQLWrapper.egg-info/dependency_links.txt writing requirements to SPARQLWrapper.egg-info/requires.txt writing top-level names to SPARQLWrapper.egg-info/top_level.txt reading manifest file 'SPARQLWrapper.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'Makefile' writing manifest file 'SPARQLWrapper.egg-info/SOURCES.txt' Copying SPARQLWrapper.egg-info to /build/sparql-wrapper-python-1.8.2/debian/python3-sparqlwrapper/usr/lib/python3.7/dist-packages/SPARQLWrapper-1.8.2.egg-info Skipping SOURCES.txt running install_scripts dh_installdocs -O--buildsystem=pybuild dh_installchangelogs -O--buildsystem=pybuild dh_installexamples -O--buildsystem=pybuild dh_python2 -O--buildsystem=pybuild dh_python3 -O--buildsystem=pybuild dh_installinit -O--buildsystem=pybuild dh_installsystemduser -O--buildsystem=pybuild dh_perl -O--buildsystem=pybuild dh_link -O--buildsystem=pybuild dh_strip_nondeterminism -O--buildsystem=pybuild dh_compress -O--buildsystem=pybuild dh_fixperms -O--buildsystem=pybuild dh_missing -O--buildsystem=pybuild dh_installdeb -O--buildsystem=pybuild dh_gencontrol -O--buildsystem=pybuild dpkg-gencontrol: warning: package python-sparqlwrapper: substitution variable ${python:Provides} unused, but is defined dpkg-gencontrol: warning: package python-sparqlwrapper: substitution variable ${python:Versions} unused, but is defined dh_md5sums -O--buildsystem=pybuild dh_builddeb -O--buildsystem=pybuild dpkg-deb: building package 'python-sparqlwrapper' in '../python-sparqlwrapper_1.8.2-0.1_all.deb'. dpkg-deb: building package 'python3-sparqlwrapper' in '../python3-sparqlwrapper_1.8.2-0.1_all.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../sparql-wrapper-python_1.8.2-0.1_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/8653 and its subdirectories I: Current time: Sun Jul 26 16:00:42 -12 2020 I: pbuilder-time-stamp: 1595822442