[Git][debian-gis-team/epr-api][master] Set distribution to unstable
Sebastiaan Couwenberg
sebastic at xs4all.nl
Sat Feb 23 12:02:10 GMT 2019
On 2/23/19 12:38 PM, Antonio Valentino wrote:
> Commits:
> 849a2597 by Antonio Valentino at 2019-02-23T11:37:04Z
> Set distribution to unstable
There are a couple of file-references-package-build-path issues that
need to be looked at:
file-references-package-build-path usr/lib/libepr_api.so.2.3.0
file-references-package-build-path usr/lib/libepr_api.a
Looks like __FILE__ is used in these source files, or something like
assert() which also includes the path to the source file in question:
$ strings /tmp/libepr-api2/usr/lib/libepr_api.so.2.3.0 | grep '/build/'
/build/epr-api-2.3~dev20150708/src/epr_core.c
/build/epr-api-2.3~dev20150708/src/epr_product.c
/build/epr-api-2.3~dev20150708/src/epr_dataset.c
/build/epr-api-2.3~dev20150708/src/epr_string.c
0123456789+- .eE/build/epr-api-2.3~dev20150708/src/epr_ptrarray.c
/build/epr-api-2.3~dev20150708/src/epr_record.c
/build/epr-api-2.3~dev20150708/src/epr_msph.c
/build/epr-api-2.3~dev20150708/src/epr_band.c
/build/epr-api-2.3~dev20150708/src/epr_bitmask.c
$ strings /tmp/libepr-api-dev/usr/lib/libepr_api.a | grep '/build/'
/build/epr-api-2.3~dev20150708/src/epr_core.c
/build/epr-api-2.3~dev20150708/src/epr_product.c
/build/epr-api-2.3~dev20150708/src/epr_dataset.c
/build/epr-api-2.3~dev20150708/src/epr_string.c
/build/epr-api-2.3~dev20150708/src/epr_ptrarray.c
/build/epr-api-2.3~dev20150708/src/epr_record.c
/build/epr-api-2.3~dev20150708/src/epr_msph.c
/build/epr-api-2.3~dev20150708/src/epr_band.c
/build/epr-api-2.3~dev20150708/src/epr_bitmask.c
Looking a little deeper, it seems to be assert():
$ grep __FILE__ src/epr_*.c
$ $ grep "assert(" src/epr_*.c | awk -F: '{print $1}' | sort -u
src/epr_band.c
src/epr_bitmask.c
src/epr_core.c
src/epr_dataset.c
src/epr_msph.c
src/epr_product.c
src/epr_ptrarray.c
src/epr_record.c
src/epr_string.c
Adding -DNDEBUG to CFLAGS may suffice to fix these lintian issues, e.g.:
export DEB_CFLAGS_MAINT_APPEND=-DNDEBUG
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
More information about the Pkg-grass-devel
mailing list