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#14219 - ABS lastfm-client does not compile
Attached to Project:
Community Packages
Opened by Christer Edwards (zelut) - Monday, 13 April 2009, 17:57 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 14 April 2009, 01:51 GMT
Opened by Christer Edwards (zelut) - Monday, 13 April 2009, 17:57 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 14 April 2009, 01:51 GMT
|
DetailsDescription: Trying to build the lastfm-client via ABS fails with the following information:
make[1]: Leaving directory `/home/username/abs/lastfm-client/src/last.fm-1.5.1.31879/src/libMoose' cd src/libFingerprint/fplib/pro_qmake/ && make -f Makefile.fplib make[1]: Entering directory `/home/username/abs/lastfm-client/src/last.fm-1.5.1.31879/src/libFingerprint/fplib/pro_qmake' make[1]: *** No rule to make target `/usr/share/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile.fplib'. Stop. make[1]: Leaving directory `/home/username/abs/lastfm-client/src/last.fm-1.5.1.31879/src/libFingerprint/fplib/pro_qmake' make: *** [sub-src-libFingerprint-fplib-pro_qmake-fplib-pro-make_default-ordered] Error 2 ==> ERROR: Build Failed. Aborting... Additional info: * package version: pkgver=1.5.1.31879 * config and/or log files etc. CARCH="i686" CHOST="i686-pc-linux-gnu" #-- Exclusive: will only run on -march=i686 # -march (or -mcpu) builds exclusively for an architecture # -mtune optimizes for an architecture, but builds for whole processor family CFLAGS="-march=nocona -O2 -pipe" CXXFLAGS="-march=nocona -O2 -pipe" #-- Make Flags: change this for DistCC/SMP systems MAKEFLAGS="-j3" Steps to reproduce: try to build lastfm-client via ABS |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Tuesday, 14 April 2009, 01:51 GMT
Reason for closing: Upstream
Additional comments about closing: the package in communuty works; to rebuild it mail the maintainer or use google to fix it
Tuesday, 14 April 2009, 01:51 GMT
Reason for closing: Upstream
Additional comments about closing: the package in communuty works; to rebuild it mail the maintainer or use google to fix it
Hi.
You're using a newer version of gcc/g++ which is more strict about requiring certain includes. That's what the memcpy error is about. This can be fixed pretty quickly though.
Edit the following files to add the listed include statements. Put them with the other includes near the beginning of the file.
file: src/libFingerprint/fplib/src/FingerprintExtractor.cpp
#include <cstring>
file: src/libFingerprint/fplib/src/OptFFT.cpp
#include <cstdlib>
file: src/libFingerprint/MP3_Source_Qt.cpp
#include <climits>
#include <cstdlib>
Now run 'make' again from the top level source directory. It should successfully compile, assuming that you have installed all of the necessary -devel packages.
That should help?
If I need additional -devel packages I'm not sure which ones. I would assume those should be listed in the makedepends for the PKGBUILD.
I have emailed the maintainer as listed in the PKGBUILD. Hopefully he will be able to provide more information.