[postgis-tickets] [PostGIS] #5014: flatgeobuf test failure
PostGIS
trac at osgeo.org
Sat Nov 6 18:12:49 PDT 2021
#5014: flatgeobuf test failure
-----------------------------+---------------------------
Reporter: Bas Couwenberg | Owner: pramsey
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 3.2.0
Component: postgis | Version: master
Resolution: | Keywords:
-----------------------------+---------------------------
Comment (by robe):
Replying to [comment:3 Bas Couwenberg]:
> > Is it possible for you to send a backtrace for this or if there is a
way for me to test this via some container thing.
>
> You can setup a cowbuilder chroot to reproduce the issue, see:
>
> https://debian-gis-team.pages.debian.net/policy/packaging.html#git-
pbuilder
>
> After configuring `sudo` as documented:
> {{{
> sudo cowbuilder --create \
> --distribution=sid \
> --basepath=/var/cache/pbuilder/base-sid.cow
> sudo cowbuilder --login --basepath /var/cache/pbuilder/base-sid.cow
>
> # Inside the chroot
>
> ## Add apt sources
> echo "deb http://deb.debian.org/debian/ experimental main contrib non-
free" >> /etc/apt/sources.list
> echo "deb-src http://deb.debian.org/debian/ experimental main contrib
non-free" >> /etc/apt/sources.list
> sed -i 's/^#deb-src/deb-src/' /etc/apt/sources.list
> apt update
>
> ## Install tools you need (vim, less, gdb, etc)
>
> ## Get postgis source package
> cd /tmp/buildd
> apt source -t experimental postgis
> cd postgis-*/
>
> ## Install build dependencies
> apt build-dep postgis
>
> ## Delete patch which skips the failing test
> apt install quilt
> quilt delete flatgeobuff.patch
>
> ## Build the package
> DEB_BUILD_OPTIONS="parallel=3" dpkg-buildpackage -uc -uc 2>&1 | tee
../postgis.build
> }}}
I think I'm missing a step somewhere. I got all the way to the last step:
and after running
{{{
DEB_BUILD_OPTIONS="parallel=3" dpkg-buildpackage -uc -uc 2>&1 | tee
../postgis.build
}}}
I get -
{{{
make[1]: Leaving directory '/build/postgis-3.2.0~beta1+dfsg'
dh_clean
/build/postgis-3.2.0~beta1+dfsg/debian/clean: 2: loader/pgsql2shp: not
found
/build/postgis-3.2.0~beta1+dfsg/debian/clean: 3: loader/shp2pgsql: not
found
dh_clean: warning: debian/clean is marked executable but does not appear
to an executable config.
dh_clean: warning:
dh_clean: warning: If debian/clean is intended to be an executable config
file, please ensure it can
dh_clean: warning: be run as a stand-alone script/program (e.g.
"./debian/clean")
dh_clean: warning: Otherwise, please remove the executable bit from the
file (e.g. chmod -x "debian/clean")
dh_clean: warning:
dh_clean: warning: Please see "Executable debhelper config files" in
debhelper(7) for more information.
dh_clean: warning:
dh_clean: error: debian/clean (executable config) returned exit code 127
make: *** [debian/rules:58: clean] Error 25
}}}
Any thoughts on what I missed?
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5014#comment:4>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list