[postgis-tickets] [PostGIS] #5014: flatgeobuf test failure
PostGIS
trac at osgeo.org
Thu Nov 25 17:31:40 PST 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):
okay I just ran in the cow-builder sid setup I have and all tests pass
against git postgis/master and the postgis/3.2.0beta1 tag, 3.2.0beta1 tar
ball, even building with make -j4
but crashes when using the debian build package. Bas, is there something
special this does beyond standard ./configure make check?
# this crashes
{{{
## Build the package
DEB_BUILD_OPTIONS="parallel=3" dpkg-buildpackage -uc -uc 2>&1 | tee
../postgis.build
}}}
to do all above I did:
{{{
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
apt upgrade #this I added I didn't do that before when testing
## 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
##crashes
## Now test direct from git
apt install ca-certificates git #needed for git clone
cd /tmp/buildd
git clone https://git.osgeo.org/gitea/postgis/postgis.git
cd postgis
sh autogen.sh
./configure
make
# all tests passed
pg_virtualenv -v 14 -s make check RUNTESTFLAGS="-v"
# now testing 3.2.0beta1
git clean -fd
git checkout 3.2.0beta1
sh autogen.sh
./configure
make check
}}}
Try building direct from tar ball - regresses just fine
{{{
cd /tmp/build
apt install wget
wget http://download.osgeo.org/postgis/source/postgis-3.2.0beta1.tar.gz
tar -xvf postgis-3.2.0beta1.tar.gz
cd postgis-3.2.0beta1
./configure
make
pg_virtualenv -v 14 -s make check RUNTESTFLAGS="-v"
}}}
Try building with parallel build, regresses fine
{{{
cd /tmp/build
apt install wget
wget http://download.osgeo.org/postgis/source/postgis-3.2.0beta1.tar.gz
tar -xvf postgis-3.2.0beta1.tar.gz
cd postgis-3.2.0beta1
./configure
make -j4
pg_virtualenv -v 14 -s make -j4 check RUNTESTFLAGS="-v"
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5014#comment:11>
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