Bug#915319: kde-runtime FTBFS with samba 4.9

2019-04-13 Thread Ivo De Decker
Hi Giovanni,

On Sat, Mar 30, 2019 at 07:10:40PM +0100, Giovanni Mascellani wrote:
> I did some further diagnosis on this bug: the reason why CMake fails to
> discover libsmbclient is because CMake tries to compile a little program
> including libsmbclient.h using -std=c90, which is insufficient for
> libsmbclient.h. However libsmbclient.h works with more recent C
> standards, like the GCC default -std=gnu11.
> 
> The attached patch should fix the problem. I can NMU if this is ok for
> you. Probably it is not the cleanest solution ever (if would be better
> to fix CMake files from kdelibs5-dev), but it seems to work.

I would suggest you upload this NMU. If this isn't the right fix, it can
always be reverted.

Thanks,

Ivo



Bug#915319: kde-runtime FTBFS with samba 4.9

2018-12-02 Thread Adrian Bunk
Source: kde-runtime
Version: 4:17.08.3-2
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/kde-runtime.html

...
-- 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
...
dh_install  --list-missing
dh_install: Please use dh_missing --list-missing/--fail-missing instead
dh_install: This feature will be removed in compat 12.
dh_install: Cannot find (any matches for) "usr/lib/kde4/kio_smb.so" (tried in 
., debian/tmp)

dh_install: kde-runtime missing files: usr/lib/kde4/kio_smb.so
dh_install: Cannot find (any matches for) 
"usr/share/kde4/apps/remoteview/smb-network.desktop" (tried in ., debian/tmp)

dh_install: kde-runtime-data missing files: 
usr/share/kde4/apps/remoteview/smb-network.desktop
dh_install: Cannot find (any matches for) 
"usr/share/kde4/services/smb.protocol" (tried in ., debian/tmp)

dh_install: kde-runtime-data missing files: usr/share/kde4/services/smb.protocol
dh_install: missing files, aborting
make[2]: *** [debian/rules:53: override_dh_install] Error 25
make[2]: Leaving directory '/build/1st/kde-runtime-17.08.3'