Bug#818446: roarplaylistd: FTBFS: error: 'SLP_OK' undeclared

2016-03-20 Thread Philipp Schafft
Good morning,

can you please provide the config.h from your build? (it's created by
configure). I don't see why exactly this fails as it builds without
OpenSLP fine for me.

Thank you for your additional information.

-- 
Philipp.
 (Rah of PH2)


signature.asc
Description: This is a digitally signed message part


Bug#818446: roarplaylistd: FTBFS: error: 'SLP_OK' undeclared

2016-03-19 Thread Patrick Matthäi

config.h says, it has got LIB_SLP, which is not true and a fault.
But I can fix it for Debian with the --no-slp switch.

Am 18.03.2016 um 11:36 schrieb Philipp Schafft:

Good morning,

can you please provide the config.h from your build? (it's created by
configure). I don't see why exactly this fails as it builds without
OpenSLP fine for me.

Thank you for your additional information.





Bug#818446: roarplaylistd: FTBFS: error: 'SLP_OK' undeclared

2016-03-19 Thread Martin Michlmayr
Package: roarplaylistd
Version: 0.1.9-2
Severity: serious

This package fails to build in unstable:

> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
> /usr/bin/gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security 
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security 
> -I/usr/include/libxml2 -Wall -Wextra -g -O2 
> -DROAR_DBG_PREFIX=\"roarplaylistd\"   -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
> rpldslp.o rpldslp.c
> rpldslp.c: In function 'register_slp':
> rpldslp.c:50:8: warning: implicit declaration of function 'SLPOpen' 
> [-Wimplicit-function-declaration]
>   err = SLPOpen("en", SLP_FALSE, );
> ^
> rpldslp.c:52:13: error: 'SLP_OK' undeclared (first use in this function)
>   if (err != SLP_OK) {
>  ^
> rpldslp.c:52:13: note: each undeclared identifier is reported only once for 
> each function it appears in
> rpldslp.c:58:9: warning: implicit declaration of function 'SLPReg' 
> [-Wimplicit-function-declaration]
>err = SLPReg(hslp,
>  ^
> rpldslp.c:60:16: error: 'SLP_LIFETIME_MAXIMUM' undeclared (first use in this 
> function)
> SLP_LIFETIME_MAXIMUM,
> ^
> rpldslp.c:68:9: warning: implicit declaration of function 'SLPDereg' 
> [-Wimplicit-function-declaration]
>err = SLPDereg(hslp, addr, register_slp_callback, );
>  ^
> rpldslp.c:71:3: warning: implicit declaration of function 'SLPClose' 
> [-Wimplicit-function-declaration]
>SLPClose(hslp);
>^
> : recipe for target 'rpldslp.o' failed
> make[1]: *** [rpldslp.o] Error 1

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise