reopen 981725
notfixed 981725 libdap/3.20.7-5
thanks
On 2/4/21 5:39 AM, Sebastiaan Couwenberg wrote:
> On 2/3/21 12:37 PM, Sebastiaan Couwenberg wrote:
>> On 2/3/21 12:03 PM, Sebastiaan Couwenberg wrote:
>>> On 2/3/21 10:48 AM, Gianfranco Costamagna wrote:
>>>> Hello, the new libdap broke in some way the gdal configure script, and now
>>>> the configure step fails with:
>>>>
>>>> checking for libqhull/libqhull.h... yes
>>>> checking for qh_new_qhull in -lqhull... no
>>>> configure: error: --with-qhull requested, but library not found!
>>>>
>>>>
>>>> I don't really understand what is going on here, looks like qhull is not
>>>> found anymore.
>>>>
>>>> libdap might be the library to blame here, feel free to reassign if needed
>>>
>>> libdap-dev no longer provides /usr/bin/dap-config, gdal configure then
>>> adds dap++ to LIBS which breaks the compile test for qhull.
>>>
>>> dap-config should really be provided by libdap-dev instead of
>>> libdap-bin. Or libdap-bin needs to be a dependency of libdap-dev.
>>
>> This is also the cause of the autopkgtest failure which prevents testing
>> migration:
>>
>> Test-Command: set -e
>> ; dap-config --help 2> /dev/null
>> Depends: libdap-dev
>>
>> The attached patch should fix the issue.
>
> The patch has been updated with the changed from -4.
>
> To clarify the issue:
>
> Moving dap-config* from libdap-dev to libdap-bin is wrong,
> from the Debian Library Packaging guide:
>
> "
> -DEV package (e.g. libfooX-dev) should contain the development symlink
> used when linking, static libraries, and header files, and if they
> exist, package configuration scripts.
>
> Table 4.1. Annotated list of files that usually reside in -DEV package
>
> +----------------------------------------------------------------------+
> |files |meaning |
> |----------------------+-----------------------------------------------|
> |usr/lib/*.so |development linkage file, used when other |
> | |programs are linked with -lxxx |
> |----------------------+-----------------------------------------------|
> |usr/lib/*.a |static link files |
> |----------------------+-----------------------------------------------|
> |usr/lib/*.la |libtool linkage information file |
> |----------------------+-----------------------------------------------|
> |usr/include/* |Development include files |
> |----------------------+-----------------------------------------------|
> |usr/bin/*-config |Some configuration script used in obtaining |
> | |the library paths, like gtk-config |
> |----------------------+---------------------------------- ------------|
> |usr/lib/pkgconfig/*.pc|Some information required for pkgconfig |
> +----------------------------------------------------------------------+
> "
>
> https://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html#id249952
>
> Alastair, if you won't move dap-config* back to the -dev package (e.g.
> by applying the attached patch), you must add Depends: libdap-bin to
> libdap-dev to have dap-config available when installing libdap-dev.
Alastair, you should have applied the patch, the changes in -5 are not
sufficient:
* debian/control
** libdap-dev lacks:
Breaks: libdap-bin (<< 3.20.7-5~)
Replaces: libdap-bin (<< 3.20.7-5~)
These need to be added.
** libdap-doc still has erroneous Breaks/Replaces:
Breaks: libdap-dev (<< 3.20.7)
Replaces: libdap-dev (<< 3.20.7)
These need to be removed.
* debian/libdap-bin.install
Still includes:
usr/bin/dap-config-pkgconfig
usr/share/man/man1/dap-config.1
These should move to libdap-dev.install too.
* debian/rules
Installs debian/dap-config.pkg in libdap-bin via
override_dh_installdocs.
It should be installed in override_dh_auto_install.
Now the upstream dap-config is included in libdap-dev and the debian
one in libdap-bin creating a conflict.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1