Bug#744613: libhdf4: run dh-autoreconf to update config.{sub, guess} and {libtool, aclocal}.m4
Matthias Klose
doko at debian.org
Sun Apr 13 16:51:17 UTC 2014
Package: src:libhdf4
Version: 4.2r4-13
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.libhdf4_4.2r4-13_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.
[...]
from atom.c:64:
hdfi.h:1198:27: note: previous declaration of 'int32' was here
typedef long int int32;
^
In file included from hdf.h:20:0,
from atom.c:64:
hdfi.h:1682:27: error: conflicting types for 'uint32'
typedef unsigned int uint32;
^
In file included from hdf.h:20:0,
from atom.c:64:
hdfi.h:1199:27: note: previous declaration of 'uint32' was here
typedef unsigned long int uint32;
^
In file included from hdf.h:20:0,
from atom.c:64:
hdfi.h:1685:27: error: conflicting types for 'intf'
typedef int intf; /* size of INTEGERs in Fortran compiler */
^
In file included from hdf.h:20:0,
from atom.c:64:
hdfi.h:1204:27: note: previous declaration of 'intf' was here
typedef long intf; /* size of INTEGERs in Fortran compiler */
^
In file included from hdf.h:20:0,
from atom.c:64:
hdfi.h:1688:27: error: conflicting types for 'hdf_pint_t'
typedef long hdf_pint_t; /* an integer the same size as a pointer */
^
In file included from hdf.h:20:0,
from atom.c:64:
hdfi.h:1205:27: note: previous declaration of 'hdf_pint_t' was here
typedef int hdf_pint_t; /* an integer the same size as a pointer */
^
In file included from hdf.h:20:0,
from atom.c:64:
hdfi.h:1699:0: warning: "BIG_LONGS" redefined [enabled by default]
#define BIG_LONGS
^
<command-line>:0:0: note: this is the location of the previous definition
make[4]: *** [atom.lo] Error 1
make[4]: Leaving directory `/build/buildd/libhdf4-4.2r4/HDF4.2r4/hdf/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/build/buildd/libhdf4-4.2r4/HDF4.2r4/hdf/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/libhdf4-4.2r4/HDF4.2r4/hdf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/buildd/libhdf4-4.2r4/HDF4.2r4'
make: *** [stamps/build-arch-stamp] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
More information about the Pkg-grass-devel
mailing list