[postgis-tickets] [PostGIS] #5448: Test failures on i386
PostGIS
trac at osgeo.org
Wed Jul 26 22:57:44 PDT 2023
#5448: Test failures on i386
------------------------------------+---------------------------
Reporter: Bas Couwenberg | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.4.0
Component: build/upgrade/install | Version: master
Resolution: | Keywords:
------------------------------------+---------------------------
Comment (by robe):
I'm able to replicate the error, using chroot
Sorry for detail, just for future reference since I never remember these
{{{
apt install git-buildpackage
DIST=sid ARCH=i386 git-pbuilder create
sudo cowbuilder --login --basepath /var/cache/pbuilder/base-sid-i386.cow
## 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
## Build the package
DEB_BUILD_OPTIONS="parallel=3" dpkg-buildpackage -uc -uc 2>&1 | tee
../postgis.build
}}}
Are you building with lto by chance. I didn't check that closely but saw a
bunch of flto notices.
I recall we had issues before with lto when we were shipping 3.3.0 and you
disabled that switch as a work-around.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5448#comment:6>
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