[Git][debian-gis-team/postgis][master] Have the "postgis" package recommend "postgresql-postgis" instead of a specific version.

Christoph Berg myon at debian.org
Tue Nov 3 08:25:23 GMT 2020


Re: Sebastiaan Couwenberg
> > -debian/control: debian/control.in debian/pgversions
> > +include /usr/share/postgresql-common/pgxs_debian_control.mk
> 
> Please don't do this, this makes building postgis on stable systems
> impossible.

Morning,

I can see your point, but wasn't it already like this before?
Calling clean was already triggering the control generation:

override_dh_auto_clean: debian/control

> The clean target is executed outside the chroot where an older version
> of postgresql will be installed (or none at all), the changes to the
> control file will prevent git-buildpackage from starting the build.
> 
> Requiring the same version of postgresql to be installed outside the
> chroot makes building postgresql related packages a pain in the ass.

Strictly-speaking, B-Ds need to be present for "clean" to work.

We can try to move the control generation to a different point in the
build process, but "clean" has worked well for me in the past. (My
development systems are all running testing, so the version skew is
not a problem there.)

Christoph



More information about the Pkg-grass-devel mailing list