Source: libdap
Version: 3.20.8-1
Severity: serious
Justification: makes the package in question unusable or mostly so
Control: affects -1 src:gdal

Dear Maintainer,

Removal of dap-config broke the libdap autopkgtest:

 autopkgtest [06:50:51]: test command1: set -e ; dap-config --help 2> /dev/null
 autopkgtest [06:50:51]: test command1: [-----------------------
 autopkgtest [06:50:51]: test command1: -----------------------]
 autopkgtest [06:50:51]: test command1:  - - - - - - - - - - results - - - - - 
- - - - -
 command1             FAIL non-zero exit status 127

https://ci.debian.net/data/autopkgtest/testing/amd64/libd/libdap/15607353/log.gz

This blocks testing migration.

The removal also broke the gdal build which uses dap-config to get the required 
flags:

 configure:40397: checking for qh_new_qhull in -lqhull
 configure:40420: gcc -o conftest -DHAVE_AVX_AT_COMPILE_TIME 
-DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -g -O2 
-ffile-prefix-map=/build/gdal-3.3.2+dfsg=. -fstack-protector-strong -Wformat 
-Werror=format-security -fvisibility=hidden -Wdate-time -D_FORTIFY_SOURCE=2 
-Wl,-z,relro -Wl,-z,now conftest.c -lqhull  -lgeos_c -lodbc -lodbcinst 
-lkmlbase -lkmldom -lkmlengine -lkmlxsd -lkmlregionator -lexpat -lxerces-c 
-lpthread -lopenjp2 -L/usr/lib/x86_64-linux-gnu/hdf5/serial -lnetcdf 
-L/usr/lib/x86_64-linux-gnu/hdf5/serial/lib -lhdf5  -lmfhdfalt -ldfalt -logdi 
-lgif -lcharls -lgeotiff -lpng -lcfitsio -lpq -lzstd -llzma  -lsqlite3 -lproj   
-lsqlite3 -ltiff -ljpeg -ldeflate -lz -lpthread -lm -lrt -ldl  -L/usr/lib 
-lspatialite -L/usr/lib -ldap++ -lpthread -lrx  -lcurl -lxml2 >&5
 /usr/bin/ld: cannot find -ldap++
 /usr/bin/ld: cannot find -lrx
 collect2: error: ld returned 1 exit status

#994670 suggested:

"
 a) Delete dap-config and go without it. Any dap-config users (e.g.
    gadap) need to be converted to using pkg-config.
 b) Revert your change and drop Multi-Arch: same from libdap-dev. As bad
    as this may sound, it doesn't actually break that many practical use
    cases as coinstallability of -dev packages is rarely required.
"

Option a) implies that the dap-config users like gdal are adapted to use 
pkg-config before dap-config is removed.

Please consider re-instating dap-config.

Kind Regards,

Bas

Reply via email to