Package: src:postgis
Version: 1.5.3-2
Severity: normal
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

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:
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/ No such file 
or directory
make[2]: *** No rule to make target 
`/usr/local/pgsql/9.1/lib/pgxs/src/makefiles/'.  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...
rm -rvf ./bin bin stubbin postgis.jar postgis_debug.jar \
                compile stubcompile jtscompile jtsbin/ postgis_jts.jar \
                javadoc-build \
                test.log \
                postgis_1.5.3.jar \
                postgis_debug_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 
 debian/rules build-arch
touch build-arch-stamp
 /usr/bin/fakeroot debian/rules binary-arch
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 \
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

Pkg-grass-devel mailing list

Reply via email to