Bug#727945: postgis: update config.{sub,guess} for the AArch64 port
Matthias Klose
doko at debian.org
Sun Oct 27 16:01:18 UTC 2013
Package: src:postgis
Version: 1.5.3-2
Severity: normal
User: debian-arm at lists.debian.org
Usertags: arm64
The package fails to build on arm64 (aarch64-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 autotools_dev (yes, underscore).
- For other rules files, call dh_autotools-dev_updateconfig before
calling configure (in the build or configure target), and call
dh_autotools-dev_restoreconfig before calling 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
aarch64 in the config.sub file(s) should print some lines.
The full build log can be found at:
http://people.debian.org/~doko/logs/arm64-20131027/buildlog_ubuntu-trusty-arm64.postgis_1.5.3-2ubuntu1_FAILEDTOBUILD.txt
The last lines of the build log are at the end of this report.
Please note that these build were done in an Ubuntu development,
environment there may be a few false positives in these bug reports.
[...]
rm -f lwspheroid.o
rm -f liblwgeom.a
make[2]: Leaving directory `/build/buildd/postgis-1.5.3/liblwgeom'
/usr/bin/make -C postgis clean
make[2]: Entering directory `/build/buildd/postgis-1.5.3/postgis'
Makefile:80: /usr/local/pgsql/9.1/lib/pgxs/src/makefiles/pgxs.mk: No such file or directory
make[2]: *** No rule to make target `/usr/local/pgsql/9.1/lib/pgxs/src/makefiles/pgxs.mk'. Stop.
make[2]: Leaving directory `/build/buildd/postgis-1.5.3/postgis'
make[1]: *** [postgis-clean] Error 2
make[1]: Leaving directory `/build/buildd/postgis-1.5.3'
[ ! -f java/jdbc/Makefile ] || /usr/bin/make -C java/jdbc clean
make[1]: Entering directory `/build/buildd/postgis-1.5.3/java/jdbc'
echo cleaning...
cleaning...
rm -rvf ./bin bin stubbin postgis.jar postgis_debug.jar \
compile stubcompile jtscompile jtsbin/ postgis_jts.jar \
javadoc-build postgis-jdbc-javadoc.zip \
test.log \
postgis_1.5.3.jar \
postgis_debug_1.5.3.jar \
postgis_jts_1.5.3.jar
make[1]: Leaving directory `/build/buildd/postgis-1.5.3/java/jdbc'
rm -f /build/buildd/postgis-1.5.3/debian/*.postinst /build/buildd/postgis-1.5.3/debian/*.postrm
dh_clean
debian/rules build-arch
touch build-arch-stamp
/usr/bin/fakeroot debian/rules binary-arch
dh_testdir
dh_testroot
dh_prep -s
dh_installdirs -s
# Documentation and common files for PostGIS
[ ! -f doc/html/postgis.html.prev ] && cp doc/html/postgis.html doc/html/postgis.html.prev || true
# PostGIS for PostgreSQL 9.1
./configure \
--host=aarch64-linux-gnu \
--build=aarch64-linux-gnu \
--prefix=/usr \
--with-docdir=/build/buildd/postgis-1.5.3/debian/postgis/usr/share/doc \
--exec-prefix=\${prefix}/lib/postgresql/9.1 \
--datadir=\${prefix}/share/postgresql-9.1-postgis \
--mandir=\${prefix}/share/man \
--infodir=\${prefix}/share/info \
--with-pgconfig=/usr/lib/postgresql/9.1/bin/pg_config \
--with-gui
configure: WARNING: unrecognized options: --with-docdir
checking build system type... Invalid configuration `aarch64-linux-gnu': machine `aarch64' not recognized
configure: error: /bin/bash ./config.sub aarch64-linux-gnu failed
make: *** [install-arch] Error 1
dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary-arch gave error exit status 2
More information about the Pkg-grass-devel
mailing list