[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#739503: forked-daapd: FTBFS on powerpc: undefined reference to `__stack_chk_guard'



severity 739503 normal
thanks

Hi Sebastian,

On 02/19/2014 01:40 PM, Sebastian Ramacher wrote:
> Source: forked-daapd
> Version: 0.19gcd-3
> Severity: serious
> Justification: fails to build from source (but built successfully in the past)
> 
> forked-daapd fails to build on powerpc:
> | /bin/bash ../libtool --tag=CC   --mode=link clang -fblocks -D_REENTRANT -I/usr/include/taglib   -D_THREAD_SAFE -D_REENTRANT   -I/usr/include/libxml2 -I/usr/include/alsa   -D_FORTIFY_SOURCE=2   -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wall -D_LARGEFILE_SOURCE  -Wl,-z,relro -o forked-daapd forked_daapd-main.o forked_daapd-db.o forked_daapd-logger.o forked_daapd-conffile.o forked_daapd-filescanner.o forked_daapd-filescanner_ffmpeg.o forked_daapd-filescanner_urlfile.o forked_daapd-filescanner_m3u.o forked_daapd-filescanner_itunes.o forked_daapd-mdns_avahi.o forked_daapd-network.o forked_daapd-remote_pairing.o  forked_daapd-avio_evbuffer.o forked_daapd-http.o forked_daapd-httpd.o forked_daapd-httpd_rsp.o forked_daapd-httpd_daap.o forked_daapd-httpd_dacp.o forked_daapd-dmap_common.o forked_daapd-transcode.o forked_daapd-artwork.o forked_daapd-misc.o forked_daapd-rng.o forked_daapd-rsp_query.o forked_daapd-daap_query.o forked_daapd-player
.o forked_daapd-laudio_alsa.o  forked_daapd-raop.o forked_daapd-evbuffer.o forked_daapd-scan-wma.o forked_daapd-scan-flac.o forked_daapd-scan-mpc.o forked_daapd-RSPLexer.o forked_daapd-RSPParser.o forked_daapd-RSP2SQL.o forked_daapd-DAAPLexer.o forked_daapd-DAAPParser.o forked_daapd-DAAP2SQL.o -lrt -lz   -lavahi-common -lavahi-client   -lsqlite3   -lavcodec -lavformat -lswscale -lavutil -lconfuse   -lFLAC   -ltag_c -ltag -lavl -lmxml -lpthread   -lantlr3c -L/usr//usr/lib/powerpc-linux-gnu -lplist -lgcrypt -L/usr/lib/powerpc-linux-gnu -lgpg-error -lasound   -lunistring -ldispatch  -lBlocksRuntime -Wl,-z,relro -ltre   
> | libtool: link: clang -fblocks -D_REENTRANT -I/usr/include/taglib -D_THREAD_SAFE -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/alsa -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wall -D_LARGEFILE_SOURCE -Wl,-z -Wl,relro -o forked-daapd forked_daapd-main.o forked_daapd-db.o forked_daapd-logger.o forked_daapd-conffile.o forked_daapd-filescanner.o forked_daapd-filescanner_ffmpeg.o forked_daapd-filescanner_urlfile.o forked_daapd-filescanner_m3u.o forked_daapd-filescanner_itunes.o forked_daapd-mdns_avahi.o forked_daapd-network.o forked_daapd-remote_pairing.o forked_daapd-avio_evbuffer.o forked_daapd-http.o forked_daapd-httpd.o forked_daapd-httpd_rsp.o forked_daapd-httpd_daap.o forked_daapd-httpd_dacp.o forked_daapd-dmap_common.o forked_daapd-transcode.o forked_daapd-artwork.o forked_daapd-misc.o forked_daapd-rng.o forked_daapd-rsp_query.o forked_daapd-daap_query.o forked_daapd-player.o forked_daapd-laudio_alsa.o forke
d_daapd-raop.o forked_daapd-evbuffer.o forked_daapd-scan-wma.o forked_daapd-scan-flac.o forked_daapd-scan-mpc.o forked_daapd-RSPLexer.o forked_daapd-RSPParser.o forked_daapd-RSP2SQL.o forked_daapd-DAAPLexer.o forked_daapd-DAAPParser.o forked_daapd-DAAP2SQL.o -Wl,-z -Wl,relro  -lrt -lz -lavahi-common -lavahi-client /usr/lib/powerpc-linux-gnu/libsqlite3.so -lavcodec -lavformat -lswscale -lavutil -lconfuse -lFLAC -ltag_c -ltag -lavl -lmxml -lpthread -lantlr3c -L/usr//usr/lib/powerpc-linux-gnu -lplist -lgcrypt -L/usr/lib/powerpc-linux-gnu -lgpg-error -lasound -lunistring -ldispatch -lBlocksRuntime -ltre
> | forked_daapd-logger.o: In function `DPRINTF':
> | /«PKGBUILDDIR»/src/logger.c:192: undefined reference to `__stack_chk_guard'
> | /«PKGBUILDDIR»/src/logger.c:192: undefined reference to `__stack_chk_guard'
> | forked_daapd-logger.o: In function `DPRINTF':
> | /usr/include/powerpc-linux-gnu/bits/stdio2.h:127: undefined reference to `__stack_chk_guard'
> | /usr/include/powerpc-linux-gnu/bits/stdio2.h:127: undefined reference to `__stack_chk_guard'
> | forked_daapd-logger.o: In function `__vlogger_block_invoke':
> | /«PKGBUILDDIR»/src/logger.c:117: undefined reference to `__stack_chk_guard'
> | forked_daapd-logger.o:/«PKGBUILDDIR»/src/logger.c:117: more undefined references to `__stack_chk_guard' follow
> | clang: error: linker command failed with exit code 1 (use -v to see invocation)
> 
> Full build log is available at
> https://buildd.debian.org/status/fetch.php?pkg=forked-daapd&arch=powerpc&ver=0.19gcd-3&stamp=1390081664
Since forked-daapd powerpc build does not exist in stable nor in testing
I think this should not be an RC bug.

I'm working on switching forked-daapd to a new upstream, but it needs a
new libevent release.
See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688538

Cheers,
Balint

> 
> Regards
> 


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: