Bug#744648: postgis: run dh-autoreconf to update config.{sub, guess} and {libtool, aclocal}.m4

Matthias Klose doko at debian.org
Sun Apr 13 16:51:54 UTC 2014


Package: src:postgis
Version: 2.1.1-5
User: debian-devel at lists.debian.org
Usertags: autoreconf

The package fails to build on ppc64el (powerpc64le-linux-gnu), because
the config.{guess,sub} files are out of date, and are not updated during
the build.  If possible, please do not update these files directly,
but build-depend on autotools-dev instead, and use the tools provided
by autotools-dev to update these files.

  - For dh, call dh --with autoreconf.

  - For cdbs based build systems, include
    /usr/share/cdbs/1/rules/autoreconf.mk

  - For other rules files, call dh_autoreconf before calling
    configure (in the build or configure target), and call
    dh_autoreconf_clean before dh_clean in the clean target.

For combining autoreconf and autotools_dev, see bug #698765.

After the build on any architecture, and before a clean, a grep for
powerpc64le in the configure, aclocal.m4 and/or libtool.m4 file(s)
should print some lines. It is not enough to just update the
config.guess and config.sub files.

The full build log can be found at:
http://people.debian.org/~doko/logs/ppc64el-20140414/buildlog_ubuntu-trusty-ppc64el.postgis_2.1.1-5_FAILEDTOBUILD.txt
The last lines of the build log are at the end of this report.

Please note that these builds were done in an Ubuntu development,
environment there may be a few false positives in these bug reports.

See https://wiki.debian.org/qa.debian.org/FTBFS for a guide how to
address these.

[...]
for OLD_VERSION in 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.1.0rc1 2.1.0rc2 2.1.0rc3 2.1.0; do \
  	  cat ../postgis_extension_helper.sql sql_bits/remove_from_extension.sql.in sql/topology_upgrade_minor.sql sql_bits/mark_editable_objects.sql.in sql_bits/topology_comments.sql ../postgis_extension_helper_uninstall.sql > sql/postgis_topology--$OLD_VERSION--2.1.1.sql; \
	done
/bin/mkdir -p '/build/buildd/postgis-2.1.1/debian/tmp/usr/share/postgresql/9.3/extension'
/bin/mkdir -p '/build/buildd/postgis-2.1.1/debian/tmp/usr/share/postgresql/9.3/extension'
/usr/bin/install -c -m 644 postgis_topology.control '/build/buildd/postgis-2.1.1/debian/tmp/usr/share/postgresql/9.3/extension/'
/usr/bin/install -c -m 644 sql/postgis_topology--2.0.0--2.1.1.sql sql/postgis_topology--2.0.1--2.1.1.sql sql/postgis_topology--2.0.2--2.1.1.sql sql/postgis_topology--2.0.3--2.1.1.sql sql/postgis_topology--2.0.4--2.1.1.sql sql/postgis_topology--2.1.0--2.1.1.sql sql/postgis_topology--2.1.0rc1--2.1.1.sql sql/postgis_topology--2.1.0rc2--2.1.1.sql sql/postgis_topology--2.1.0rc3--2.1.1.sql sql/postgis_topology--2.1.1--2.1.1next.sql sql/postgis_topology--2.1.1.sql sql/postgis_topology--2.1.1next--2.1.1.sql sql/postgis_topology--unpackaged--2.1.1.sql '/build/buildd/postgis-2.1.1/debian/tmp/usr/share/postgresql/9.3/extension/'
make[3]: Leaving directory `/build/buildd/postgis-2.1.1/extensions/postgis_topology'
make[2]: Leaving directory `/build/buildd/postgis-2.1.1/extensions'
make[1]: Leaving directory `/build/buildd/postgis-2.1.1'
(set -e; \
	for PGVER in ; do \
		/usr/bin/make -C /build/buildd/postgis-2.1.1/debian/build-$PGVER \
			install DESTDIR=/build/buildd/postgis-2.1.1/debian/tmp; \
	done)
/usr/bin/make -C doc man-install \
			DESTDIR=/build/buildd/postgis-2.1.1/debian/tmp \
			PGSQL_DOCDIR=/usr/share/doc \
			PGSQL_MANDIR=/usr/share/man
make[1]: Entering directory `/build/buildd/postgis-2.1.1/doc'
mkdir -p /build/buildd/postgis-2.1.1/debian/tmp/usr/share/man/man1
/usr/bin/install -c -m 644 man/pgsql2shp.1 /build/buildd/postgis-2.1.1/debian/tmp/usr/share/man/man1/pgsql2shp.1
/usr/bin/install -c -m 644 man/shp2pgsql.1 /build/buildd/postgis-2.1.1/debian/tmp/usr/share/man/man1/shp2pgsql.1
make[1]: Leaving directory `/build/buildd/postgis-2.1.1/doc'
(set -e; \
	for PGVER in  9.3; do \
		cat /build/buildd/postgis-2.1.1/debian/postgresql-generic-postgis-2.1.install.in \
			| sed -e "s/@PGVERSION@/$PGVER/" \
			> /build/buildd/postgis-2.1.1/debian/postgresql-$PGVER-postgis-2.1.install; \
		cat /build/buildd/postgis-2.1.1/debian/postgresql-generic-postgis-scripts.install.in \
			| sed -e "s/@PGVERSION@/$PGVER/" \
			> /build/buildd/postgis-2.1.1/debian/postgresql-$PGVER-postgis-scripts.install; \
		cat /build/buildd/postgis-2.1.1/debian/postgresql-generic-postgis-2.0-scripts.postinst.in \
			| sed -e "s/@PGVERSION@/$PGVER/" \
			> /build/buildd/postgis-2.1.1/debian/postgresql-$PGVER-postgis-2.0-scripts.postinst; \
		cat /build/buildd/postgis-2.1.1/debian/postgresql-generic-postgis-2.0-scripts.templates.in \
			| sed -e "s/@PGVERSION@/$PGVER/" \
			> /build/buildd/postgis-2.1.1/debian/postgresql-$PGVER-postgis-2.0-scripts.templates; \
		cat /build/buildd/postgis-2.1.1/debian/postgresql-generic-postgis-2.0-scripts.config.in \
			| sed -e "s/@PGVERSION@/$PGVER/" \
			> /build/buildd/postgis-2.1.1/debian/postgresql-$PGVER-postgis-2.0-scripts.config; \
	done)
mkdir -p /build/buildd/postgis-2.1.1/debian/postgis/usr/bin
cp -r /build/buildd/postgis-2.1.1/debian/tmp/usr/lib/postgresql/9.3/bin/* \
		/build/buildd/postgis-2.1.1/debian/postgis/usr/bin/
dh_install -s
cp: cannot stat 'debian/tmp/usr/lib/liblwgeom-2.1.1.so': No such file or directory
dh_install: cp -a debian/tmp/usr/lib/liblwgeom-2.1.1.so debian/liblwgeom-2.1.1//usr/lib/ returned exit code 1
make: *** [install-arch] Error 2
dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary-arch gave error exit status 2



More information about the Pkg-grass-devel mailing list