Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#27340 - MPD from ABS won't build
Attached to Project:
Arch Linux
Opened by Matthew Lawson (the_vorpal_blade) - Wednesday, 30 November 2011, 04:28 GMT
Last edited by Andrea Scarpino (BaSh) - Thursday, 19 January 2012, 19:56 GMT
Opened by Matthew Lawson (the_vorpal_blade) - Wednesday, 30 November 2011, 04:28 GMT
Last edited by Andrea Scarpino (BaSh) - Thursday, 19 January 2012, 19:56 GMT
|
DetailsMPD will not compile.
To reproduce: cp -r /var/abs/extra/mpd ~/builds cd ~/builds/mpd mkpkg -s Result: src/decoder/src_mpd-mpcdec_decoder_plugin.o: In function `mpcdec_get_file_duration': mpcdec_decoder_plugin.c:(.text+0x93): undefined reference to `mpc_demux_init' mpcdec_decoder_plugin.c:(.text+0xb0): undefined reference to `mpc_demux_get_info' mpcdec_decoder_plugin.c:(.text+0xb8): undefined reference to `mpc_demux_exit' src/decoder/src_mpd-mpcdec_decoder_plugin.o: In function `mpcdec_decode': mpcdec_decoder_plugin.c:(.text+0x1f9): undefined reference to `mpc_demux_init' mpcdec_decoder_plugin.c:(.text+0x215): undefined reference to `mpc_demux_get_info' mpcdec_decoder_plugin.c:(.text+0x3ef): undefined reference to `mpc_demux_decode' mpcdec_decoder_plugin.c:(.text+0x4bb): undefined reference to `mpc_demux_seek_sample' mpcdec_decoder_plugin.c:(.text+0x4f6): undefined reference to `mpc_demux_exit' mpcdec_decoder_plugin.c:(.text+0x56a): undefined reference to `mpc_demux_exit' collect2: ld returned 1 exit status make[1]: *** [src/mpd] Error 1 make[1]: Leaving directory `/home/matthew/builds/mpd/src/mpd-0.16.5' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... |
This task depends upon
My system is completly up to date. I'm using standard flags:
CFLAGS="-march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
/usr/include/mpc/mpcdec.h is owned by musepack-tools 475-1
With -march=x86-64 -mtune=generic rather than -march=native I get the same build error, same for removing the concurrency flag (-j3)
I am not sure who exactly of musepack-tools and mpd is at fault here: their header files just do not interact well with each others...