Bug#983224: sosi2osm: FTBFS with PROJ 8.0.0

Bas Couwenberg sebastic at xs4all.nl
Sun Feb 21 10:10:41 GMT 2021


Source: sosi2osm
Version: 1.0.0-7
Severity: important
Tags: upstream ftbfs
User: debian-gis at lists.debian.org
Usertags: proj-8.0
Control: forwarded -1 https://github.com/Gnonthgol/sosi2osm/issues/9

Dear Maintainer,

Your package FTBFS with PROJ 8.0.0:

 node.cpp:4:10: fatal error: proj_api.h: No such file or directory
     4 | #include <proj_api.h>
       |          ^~~~~~~~~~~~

It needs to be ported to use proj.h instead of proj_api.h which has been removed.

Kind Regards,

Bas
-------------- next part --------------
dpkg-checkbuilddeps: error: Unmet build dependencies: liblua5.1-0-dev
W: Unmet build-dependency in source
dh clean
   dh_auto_clean
	make -j3 clean
make[1]: Entering directory '/home/bas/tmp/debian/sosi2osm-1.0.0'
rm -f sosi2osm sosi2osm.o sosi.o tag.o node.o *~
make[1]: Leaving directory '/home/bas/tmp/debian/sosi2osm-1.0.0'
   dh_clean
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building sosi2osm using existing ./sosi2osm_1.0.0.orig.tar.gz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: building sosi2osm in sosi2osm_1.0.0-8.debian.tar.xz
dpkg-source: info: building sosi2osm in sosi2osm_1.0.0-8.dsc
I: Generating source changes file for original dsc
dpkg-genchanges: info: not including original source code in upload
I: Copying COW directory
I: forking: rm -rf /var/cache/pbuilder/build/cow.28165
I: forking: cp -al /var/cache/pbuilder/base-sid+rebuild.cow /var/cache/pbuilder/build/cow.28165
I: removed stale ilistfile /var/cache/pbuilder/build/cow.28165/.ilist
I: forking: chroot /var/cache/pbuilder/build/cow.28165 cowdancer-ilistcreate /.ilist 'find . -xdev -path ./home -prune -o \( \( -type l -o -type f \) -a -links +1 -print0 \) | xargs -0 stat --format '%d %i ''
I: Invoking pbuilder
I: forking: pbuilder build --debbuildopts  --debbuildopts  --buildplace /var/cache/pbuilder/build/cow.28165 --buildresult /var/cache/pbuilder/result/ --mirror http://ftp.nl.debian.org/debian/ --distribution sid --no-targz --internal-chrootexec 'chroot /var/cache/pbuilder/build/cow.28165 cow-shell' /home/bas/tmp/debian/sosi2osm_1.0.0-8.dsc
I: Running in no-targz mode
I: pbuilder: network access will be disabled during build
I: Current time: Sun Feb 21 11:05:56 CET 2021
I: pbuilder-time-stamp: 1613901957
I: copying local configuration
W: --override-config is not set; not updating apt.conf Read the manpage for details.
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: Obtaining the cached apt archive contents
I: Copying source file
I: copying [/home/bas/tmp/debian/sosi2osm_1.0.0-8.dsc]
I: copying [/home/bas/tmp/debian/sosi2osm_1.0.0.orig.tar.gz]
I: copying [/home/bas/tmp/debian/sosi2osm_1.0.0-8.debian.tar.xz]
I: Extracting source
dpkg-source: warning: extracting unsigned source package (sosi2osm_1.0.0-8.dsc)
dpkg-source: info: extracting sosi2osm in sosi2osm-1.0.0
dpkg-source: info: unpacking sosi2osm_1.0.0.orig.tar.gz
dpkg-source: info: unpacking sosi2osm_1.0.0-8.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 01_fix_libsearchpath.patch
dpkg-source: info: applying 02_fix_install.patch
dpkg-source: info: applying std-max.patch
dpkg-source: info: applying spelling-errors.patch
dpkg-source: info: applying cross.patch
I: using fakeroot in 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: amd64
Maintainer: Debian Pbuilder Team <pbuilder-maint at lists.alioth.debian.org>
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: debhelper (>= 11), liblua5.1-0-dev, libfyba-dev, pkg-config, libproj-dev
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 14463 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 debhelper (>= 11); however:
  Package debhelper is not installed.
 pbuilder-satisfydepends-dummy depends on liblua5.1-0-dev; however:
  Package liblua5.1-0-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libfyba-dev; however:
  Package libfyba-dev is not installed.
 pbuilder-satisfydepends-dummy depends on pkg-config; however:
  Package pkg-config is not installed.
 pbuilder-satisfydepends-dummy depends on libproj-dev; however:
  Package libproj-dev 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:
  autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbrotli1{a} libcurl3-gnutls{a} libcurl4-gnutls-dev{a} libdebhelper-perl{a} libdeflate-dev{a} libdeflate0{a} libelf1{a} libfile-stripnondeterminism-perl{a} libfyba-dev{a} libfyba0{a} libglib2.0-0{a} libicu67{a} libjbig-dev{a} libjbig0{a} libjpeg-dev{a} libjpeg62-turbo{a} libjpeg62-turbo-dev{a} liblua5.1-0{a} liblua5.1-0-dev{a} liblzma-dev{a} libmagic-mgc{a} libmagic1{a} libncurses-dev{a} libncurses6{a} libnghttp2-14{a} libpipeline1{a} libproj-dev{a} libproj22{a} libpsl5{a} libreadline-dev{a} librtmp1{a} libsigsegv2{a} libsqlite3-dev{a} libssh2-1{a} libsub-override-perl{a} libtiff-dev{a} libtiff5{a} libtiffxx5{a} libtool{a} libuchardet0{a} libwebp6{a} libxml2{a} m4{a} man-db{a} pkg-config{a} po-debconf{a} proj-data{a} zlib1g-dev{a} 
The following packages are RECOMMENDED but will NOT be installed:
  ca-certificates curl libarchive-cpio-perl libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl libtool-bin lynx publicsuffix shared-mime-info wget xdg-user-dirs 
0 packages upgraded, 63 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/35.8 MB of archives. After unpacking 131 MB will be used.
Writing extended state information...
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package bsdextrautils.
(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 ... 14463 files and directories currently installed.)
Preparing to unpack .../00-bsdextrautils_2.36.1-7_amd64.deb ...
Unpacking bsdextrautils (2.36.1-7) ...
Selecting previously unselected package libuchardet0:amd64.
Preparing to unpack .../01-libuchardet0_0.0.7-1_amd64.deb ...
Unpacking libuchardet0:amd64 (0.0.7-1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../02-groff-base_1.22.4-6_amd64.deb ...
Unpacking groff-base (1.22.4-6) ...
Selecting previously unselected package libpipeline1:amd64.
Preparing to unpack .../03-libpipeline1_1.5.3-1_amd64.deb ...
Unpacking libpipeline1:amd64 (1.5.3-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../04-man-db_2.9.4-2_amd64.deb ...
Unpacking man-db (2.9.4-2) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../05-libmagic-mgc_1%3a5.39-3_amd64.deb ...
Unpacking libmagic-mgc (1:5.39-3) ...
Selecting previously unselected package libmagic1:amd64.
Preparing to unpack .../06-libmagic1_1%3a5.39-3_amd64.deb ...
Unpacking libmagic1:amd64 (1:5.39-3) ...
Selecting previously unselected package file.
Preparing to unpack .../07-file_1%3a5.39-3_amd64.deb ...
Unpacking file (1:5.39-3) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../08-gettext-base_0.21-4_amd64.deb ...
Unpacking gettext-base (0.21-4) ...
Selecting previously unselected package libsigsegv2:amd64.
Preparing to unpack .../09-libsigsegv2_2.13-1_amd64.deb ...
Unpacking libsigsegv2:amd64 (2.13-1) ...
Selecting previously unselected package m4.
Preparing to unpack .../10-m4_1.4.18-5_amd64.deb ...
Unpacking m4 (1.4.18-5) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../11-autoconf_2.69-14_all.deb ...
Unpacking autoconf (2.69-14) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../12-autotools-dev_20180224.1+nmu1_all.deb ...
Unpacking autotools-dev (20180224.1+nmu1) ...
Selecting previously unselected package automake.
Preparing to unpack .../13-automake_1%3a1.16.3-2_all.deb ...
Unpacking automake (1:1.16.3-2) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../14-autopoint_0.21-4_all.deb ...
Unpacking autopoint (0.21-4) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../15-libdebhelper-perl_13.3.3_all.deb ...
Unpacking libdebhelper-perl (13.3.3) ...
Selecting previously unselected package libtool.
Preparing to unpack .../16-libtool_2.4.6-15_all.deb ...
Unpacking libtool (2.4.6-15) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../17-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ...
Unpacking libarchive-zip-perl (1.68-1) ...
Selecting previously unselected package libsub-override-perl.
Preparing to unpack .../19-libsub-override-perl_0.09-2_all.deb ...
Unpacking libsub-override-perl (0.09-2) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.11.0-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.11.0-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../21-dh-strip-nondeterminism_1.11.0-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.11.0-1) ...
Selecting previously unselected package libelf1:amd64.
Preparing to unpack .../22-libelf1_0.183-1_amd64.deb ...
Unpacking libelf1:amd64 (0.183-1) ...
Selecting previously unselected package dwz.
Preparing to unpack .../23-dwz_0.13+20210201-1_amd64.deb ...
Unpacking dwz (0.13+20210201-1) ...
Selecting previously unselected package libicu67:amd64.
Preparing to unpack .../24-libicu67_67.1-6_amd64.deb ...
Unpacking libicu67:amd64 (67.1-6) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../25-libxml2_2.9.10+dfsg-6.3+b1_amd64.deb ...
Unpacking libxml2:amd64 (2.9.10+dfsg-6.3+b1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../26-gettext_0.21-4_amd64.deb ...
Unpacking gettext (0.21-4) ...
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+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../29-debhelper_13.3.3_all.deb ...
Unpacking debhelper (13.3.3) ...
Selecting previously unselected package libbrotli1:amd64.
Preparing to unpack .../30-libbrotli1_1.0.9-2+b2_amd64.deb ...
Unpacking libbrotli1:amd64 (1.0.9-2+b2) ...
Selecting previously unselected package libnghttp2-14:amd64.
Preparing to unpack .../31-libnghttp2-14_1.43.0-1_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.43.0-1) ...
Selecting previously unselected package libpsl5:amd64.
Preparing to unpack .../32-libpsl5_0.21.0-1.2_amd64.deb ...
Unpacking libpsl5:amd64 (0.21.0-1.2) ...
Selecting previously unselected package librtmp1:amd64.
Preparing to unpack .../33-librtmp1_2.4+20151223.gitfa8646d.1-2+b2_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ...
Selecting previously unselected package libssh2-1:amd64.
Preparing to unpack .../34-libssh2-1_1.9.0-2_amd64.deb ...
Unpacking libssh2-1:amd64 (1.9.0-2) ...
Selecting previously unselected package libcurl3-gnutls:amd64.
Preparing to unpack .../35-libcurl3-gnutls_7.74.0-1.1_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.74.0-1.1) ...
Selecting previously unselected package libcurl4-gnutls-dev:amd64.
Preparing to unpack .../36-libcurl4-gnutls-dev_7.74.0-1.1_amd64.deb ...
Unpacking libcurl4-gnutls-dev:amd64 (7.74.0-1.1) ...
Selecting previously unselected package libdeflate0:amd64.
Preparing to unpack .../37-libdeflate0_1.7-1_amd64.deb ...
Unpacking libdeflate0:amd64 (1.7-1) ...
Selecting previously unselected package libdeflate-dev:amd64.
Preparing to unpack .../38-libdeflate-dev_1.7-1_amd64.deb ...
Unpacking libdeflate-dev:amd64 (1.7-1) ...
Selecting previously unselected package libfyba0:amd64.
Preparing to unpack .../39-libfyba0_4.1.1-7_amd64.deb ...
Unpacking libfyba0:amd64 (4.1.1-7) ...
Selecting previously unselected package libfyba-dev:amd64.
Preparing to unpack .../40-libfyba-dev_4.1.1-7_amd64.deb ...
Unpacking libfyba-dev:amd64 (4.1.1-7) ...
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../41-libglib2.0-0_2.66.7-1_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.66.7-1) ...
Selecting previously unselected package libjbig0:amd64.
Preparing to unpack .../42-libjbig0_2.1-3.1+b2_amd64.deb ...
Unpacking libjbig0:amd64 (2.1-3.1+b2) ...
Selecting previously unselected package libjbig-dev:amd64.
Preparing to unpack .../43-libjbig-dev_2.1-3.1+b2_amd64.deb ...
Unpacking libjbig-dev:amd64 (2.1-3.1+b2) ...
Selecting previously unselected package libjpeg62-turbo:amd64.
Preparing to unpack .../44-libjpeg62-turbo_1%3a2.0.6-1_amd64.deb ...
Unpacking libjpeg62-turbo:amd64 (1:2.0.6-1) ...
Selecting previously unselected package libjpeg62-turbo-dev:amd64.
Preparing to unpack .../45-libjpeg62-turbo-dev_1%3a2.0.6-1_amd64.deb ...
Unpacking libjpeg62-turbo-dev:amd64 (1:2.0.6-1) ...
Selecting previously unselected package libjpeg-dev:amd64.
Preparing to unpack .../46-libjpeg-dev_1%3a2.0.6-1_amd64.deb ...
Unpacking libjpeg-dev:amd64 (1:2.0.6-1) ...
Selecting previously unselected package liblua5.1-0:amd64.
Preparing to unpack .../47-liblua5.1-0_5.1.5-8.1+b3_amd64.deb ...
Unpacking liblua5.1-0:amd64 (5.1.5-8.1+b3) ...
Selecting previously unselected package libncurses6:amd64.
Preparing to unpack .../48-libncurses6_6.2+20201114-2_amd64.deb ...
Unpacking libncurses6:amd64 (6.2+20201114-2) ...
Selecting previously unselected package libncurses-dev:amd64.
Preparing to unpack .../49-libncurses-dev_6.2+20201114-2_amd64.deb ...
Unpacking libncurses-dev:amd64 (6.2+20201114-2) ...
Selecting previously unselected package libreadline-dev:amd64.
Preparing to unpack .../50-libreadline-dev_8.1-1_amd64.deb ...
Unpacking libreadline-dev:amd64 (8.1-1) ...
Selecting previously unselected package liblua5.1-0-dev:amd64.
Preparing to unpack .../51-liblua5.1-0-dev_5.1.5-8.1+b3_amd64.deb ...
Unpacking liblua5.1-0-dev:amd64 (5.1.5-8.1+b3) ...
Selecting previously unselected package liblzma-dev:amd64.
Preparing to unpack .../52-liblzma-dev_5.2.5-1.0_amd64.deb ...
Unpacking liblzma-dev:amd64 (5.2.5-1.0) ...
Selecting previously unselected package proj-data.
Preparing to unpack .../53-proj-data_8.0.0~rc1-1~exp1_all.deb ...
Unpacking proj-data (8.0.0~rc1-1~exp1) ...
Selecting previously unselected package libwebp6:amd64.
Preparing to unpack .../54-libwebp6_0.6.1-2+b1_amd64.deb ...
Unpacking libwebp6:amd64 (0.6.1-2+b1) ...
Selecting previously unselected package libtiff5:amd64.
Preparing to unpack .../55-libtiff5_4.2.0-1_amd64.deb ...
Unpacking libtiff5:amd64 (4.2.0-1) ...
Selecting previously unselected package libproj22:amd64.
Preparing to unpack .../56-libproj22_8.0.0~rc1-1~exp1_amd64.deb ...
Unpacking libproj22:amd64 (8.0.0~rc1-1~exp1) ...
Selecting previously unselected package libsqlite3-dev:amd64.
Preparing to unpack .../57-libsqlite3-dev_3.34.1-2_amd64.deb ...
Unpacking libsqlite3-dev:amd64 (3.34.1-2) ...
Selecting previously unselected package libtiffxx5:amd64.
Preparing to unpack .../58-libtiffxx5_4.2.0-1_amd64.deb ...
Unpacking libtiffxx5:amd64 (4.2.0-1) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../59-zlib1g-dev_1%3a1.2.11.dfsg-2_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2) ...
Selecting previously unselected package libtiff-dev:amd64.
Preparing to unpack .../60-libtiff-dev_4.2.0-1_amd64.deb ...
Unpacking libtiff-dev:amd64 (4.2.0-1) ...
Selecting previously unselected package libproj-dev:amd64.
Preparing to unpack .../61-libproj-dev_8.0.0~rc1-1~exp1_amd64.deb ...
Unpacking libproj-dev:amd64 (8.0.0~rc1-1~exp1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../62-pkg-config_0.29.2-1_amd64.deb ...
Unpacking pkg-config (0.29.2-1) ...
Setting up libpipeline1:amd64 (1.5.3-1) ...
Setting up libpsl5:amd64 (0.21.0-1.2) ...
Setting up proj-data (8.0.0~rc1-1~exp1) ...
Setting up bsdextrautils (2.36.1-7) ...
update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode
Setting up libicu67:amd64 (67.1-6) ...
Setting up libmagic-mgc (1:5.39-3) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libglib2.0-0:amd64 (2.66.7-1) ...
No schema files found: doing nothing.
Setting up libdebhelper-perl (13.3.3) ...
Setting up libbrotli1:amd64 (1.0.9-2+b2) ...
Setting up libnghttp2-14:amd64 (1.43.0-1) ...
Setting up libmagic1:amd64 (1:5.39-3) ...
Setting up libdeflate0:amd64 (1.7-1) ...
Setting up gettext-base (0.21-4) ...
Setting up file (1:5.39-3) ...
Setting up libjbig0:amd64 (2.1-3.1+b2) ...
Setting up autotools-dev (20180224.1+nmu1) ...
Setting up libjpeg62-turbo:amd64 (1:2.0.6-1) ...
Setting up libsqlite3-dev:amd64 (3.34.1-2) ...
Setting up libjpeg62-turbo-dev:amd64 (1:2.0.6-1) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ...
Setting up libncurses6:amd64 (6.2+20201114-2) ...
Setting up libsigsegv2:amd64 (2.13-1) ...
Setting up autopoint (0.21-4) ...
Setting up libwebp6:amd64 (0.6.1-2+b1) ...
Setting up pkg-config (0.29.2-1) ...
Setting up liblzma-dev:amd64 (5.2.5-1.0) ...
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2) ...
Setting up libfyba0:amd64 (4.1.1-7) ...
Setting up libuchardet0:amd64 (0.0.7-1) ...
Setting up liblua5.1-0:amd64 (5.1.5-8.1+b3) ...
Setting up libsub-override-perl (0.09-2) ...
Setting up libssh2-1:amd64 (1.9.0-2) ...
Setting up libtiff5:amd64 (4.2.0-1) ...
Setting up libdeflate-dev:amd64 (1.7-1) ...
Setting up libelf1:amd64 (0.183-1) ...
Setting up libxml2:amd64 (2.9.10+dfsg-6.3+b1) ...
Setting up libtiffxx5:amd64 (4.2.0-1) ...
Setting up libfile-stripnondeterminism-perl (1.11.0-1) ...
Setting up libncurses-dev:amd64 (6.2+20201114-2) ...
Setting up gettext (0.21-4) ...
Setting up libtool (2.4.6-15) ...
Setting up libfyba-dev:amd64 (4.1.1-7) ...
Setting up libjpeg-dev:amd64 (1:2.0.6-1) ...
Setting up libjbig-dev:amd64 (2.1-3.1+b2) ...
Setting up m4 (1.4.18-5) ...
Setting up libcurl3-gnutls:amd64 (7.74.0-1.1) ...
Setting up libproj22:amd64 (8.0.0~rc1-1~exp1) ...
Setting up libreadline-dev:amd64 (8.1-1) ...
Setting up libcurl4-gnutls-dev:amd64 (7.74.0-1.1) ...
Setting up intltool-debian (0.35.0+20060710.5) ...
Setting up libtiff-dev:amd64 (4.2.0-1) ...
Setting up libproj-dev:amd64 (8.0.0~rc1-1~exp1) ...
Setting up autoconf (2.69-14) ...
Setting up dh-strip-nondeterminism (1.11.0-1) ...
Setting up dwz (0.13+20210201-1) ...
Setting up groff-base (1.22.4-6) ...
Setting up automake (1:1.16.3-2) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up liblua5.1-0-dev:amd64 (5.1.5-8.1+b3) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up man-db (2.9.4-2) ...
Building database of manual pages ...
Setting up dh-autoreconf (20) ...
Setting up debhelper (13.3.3) ...
Processing triggers for libc-bin (2.31-9) ...
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
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libfakeroot
The following NEW packages will be installed:
  fakeroot libfakeroot
debconf: delaying package configuration, since apt-utils is not installed
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/134 kB of archives.
After this operation, 397 kB of additional disk space will be used.
Selecting previously unselected package libfakeroot:amd64.
(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 ... 16915 files and directories currently installed.)
Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.25.3-1.1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ...
Unpacking fakeroot (1.25.3-1.1) ...
Setting up libfakeroot:amd64 (1.25.3-1.1) ...
Setting up fakeroot (1.25.3-1.1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-9) ...
I: Copying back the cached apt archive contents
I: Building the package
I: Running cd /build/sosi2osm-1.0.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" HOME="/nonexistent" dpkg-buildpackage -us -uc 
dpkg-buildpackage: info: source package sosi2osm
dpkg-buildpackage: info: source version 1.0.0-8
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Bas Couwenberg <sebastic at debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean
dh clean
   dh_auto_clean
	make -j3 clean
make[1]: Entering directory '/build/sosi2osm-1.0.0'
rm -f sosi2osm sosi2osm.o sosi.o tag.o node.o *~
make[1]: Leaving directory '/build/sosi2osm-1.0.0'
   dh_clean
 dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building sosi2osm using existing ./sosi2osm_1.0.0.orig.tar.gz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: building sosi2osm in sosi2osm_1.0.0-8.debian.tar.xz
dpkg-source: info: building sosi2osm in sosi2osm_1.0.0-8.dsc
 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
	make -j3 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/build/sosi2osm-1.0.0'
g++ -g -O2 -ffile-prefix-map=/build/sosi2osm-1.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H `pkg-config --cflags lua5.1-c++ fyba` -DLINUX -DUNIX -g  -c -o sosi2osm.o sosi2osm.cpp
g++ -g -O2 -ffile-prefix-map=/build/sosi2osm-1.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H `pkg-config --cflags lua5.1-c++ fyba` -DLINUX -DUNIX -g  -c -o sosi.o sosi.cpp
g++ -g -O2 -ffile-prefix-map=/build/sosi2osm-1.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H `pkg-config --cflags lua5.1-c++ fyba` -DLINUX -DUNIX -g  -c -o tag.o tag.cpp
sosi2osm.cpp: In function 'void outputRelation()':
sosi2osm.cpp:44:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   44 |     char* role = "outer";
      |                  ^~~~~~~
sosi2osm.cpp:49:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   49 |             role = "inner";
      |                    ^~~~~~~
sosi2osm.cpp:51:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   51 |             role = "outer";
      |                    ^~~~~~~
sosi2osm.cpp:53:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
   53 |             printf("<member ref=\"%d\" role=\"%s\" type=\"way\"/>", -abs(refs[i]), role);
      |                                   ~^                                ~~~~~~~~~~~~~
      |                                    |                                |
      |                                    int                              long int
      |                                   %ld
g++ -g -O2 -ffile-prefix-map=/build/sosi2osm-1.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H `pkg-config --cflags lua5.1-c++ fyba` -DLINUX -DUNIX -g  -c -o node.o node.cpp
node.cpp:4:10: fatal error: proj_api.h: No such file or directory
    4 | #include <proj_api.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make[1]: *** [<builtin>: node.o] Error 1
make[1]: Leaving directory '/build/sosi2osm-1.0.0'
dh_auto_build: error: make -j3 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:11: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
I: copying local configuration
E: Failed autobuilding of package
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 COW directory
I: forking: rm -rf /var/cache/pbuilder/build/cow.28165


More information about the Pkg-grass-devel mailing list