Bug#915319: Some diagnosis
user debian-release@lists.debian.org
usertag 915319 + bsp-2019-02-de-bonn
tag 915319 + confirmed
thank you
Greetings from the BSP taking place at Teckids e.V./tarent
solutions GmbH in Bonn this weekend.
I have been able to confirm the symptom: The CMake-based build system is
unable to find the smbclient functions it needs:
,----
| -- Checking for module 'smbclient'
| -- Found smbclient, version 0.4.0
| -- Looking for smbc_set_context
| -- Looking for smbc_set_context - not found
| -- Looking for smbc_option_set
| -- Looking for smbc_option_set - not found
`----
I don't yet know how to debug this further, but it seems to me that the
detection code in /usr/share/kde4/apps/cmake/modules/FindSamba.cmake
somehow fails:
,----
| set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${SAMBA_LIBRARIES})
| set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${SAMBA_INCLUDE_DIR})
| check_symbol_exists(smbc_set_context "libsmbclient.h" SAMBA_HAVE_SMBC_SET_CONTEXT)
| check_symbol_exists(smbc_option_set "libsmbclient.h" SAMBA_HAVE_SMBC_OPTION_SET)
`----
The file /usr/include/samba-4.0/libsmbclient.h clearly contains both
symbols.
Cheers,
-Hilko
Reply to: