You are not logged in.
Trying to build the madman-devel PKBUILD in the AUR fails for me, with:
==> Starting build()...
archive already registered: inform@tiker.net--2005-public
Registering archive: inform@tiker.net--2005-public
WARNING: no rule found for checking signatures from inform@tiker.net--2005-public
Consider creating ~/.arch-params/signing/inform@tiker.net--2005-public.check
or ~/.arch-params/signing/=default.check
* from archive cached: inform@tiker.net--2005-public/madman--production--1.0--base-0
...snip...
* patching for revision: inform@tiker.net--2005-public/madman--production--1.0--patch-37
* making pristine copy
* tree version set inform@tiker.net--2005-public/madman--production--1.0
scons: Reading SConscript files ...
Checking for qt at /opt/qt (with lib) failed
Checking for qt-mt at /opt/qt (with lib) ok
Checking for xmms... ok
Checking for glib... ok
Checking for C++ header file taglib.h... yes
Checking for main() in C++ library tag... yes
Checking for C++ header file mp4ff.h... yes
Checking for main() in C++ library mp4ff... yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -pthread -DMADMAN_VERSION=0.94beta1 -DNDEBUG=1 -DWITH_M4A=1 -I/opt/qt/include -I. -I/opt/qt/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/taglib -c -o ,build/release/database/auto_dj.o database/auto_dj.cpp
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.1/../../../../include/c++/4.3.1/ext/hash_map:64,
from ./utility/base.h:40,
from database/auto_dj.h:26,
from database/auto_dj.cpp:37:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.1/../../../../include/c++/4.3.1/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
In file included from database/auto_dj.cpp:38:
./database/criterion.h:71: error: ISO C++ forbids declaration of 'auto_ptr' with no type
./database/criterion.h:71: error: expected ';' before '<' token
./database/criterion.h: In constructor 'tOrCriterion::tOrCriterion(tCriterion*, tCriterion*)':
./database/criterion.h:74: error: class 'tOrCriterion' does not have any field named 'Operand1'
./database/criterion.h:74: error: class 'tOrCriterion' does not have any field named 'Operand2'
./database/criterion.h: In member function 'virtual float tOrCriterion::matchDegree(const tSong*) const':
./database/criterion.h:78: error: 'Operand1' was not declared in this scope
./database/criterion.h:78: error: 'Operand2' was not declared in this scope
./database/criterion.h: In member function 'virtual bool tOrCriterion::notifying() const':
./database/criterion.h:81: error: 'Operand1' was not declared in this scope
./database/criterion.h:81: error: 'Operand2' was not declared in this scope
./database/criterion.h: At global scope:
./database/criterion.h:89: error: ISO C++ forbids declaration of 'auto_ptr' with no type
./database/criterion.h:89: error: expected ';' before '<' token
./database/criterion.h: In constructor 'tAndCriterion::tAndCriterion(tCriterion*, tCriterion*)':
./database/criterion.h:92: error: class 'tAndCriterion' does not have any field named 'Operand1'
./database/criterion.h:92: error: class 'tAndCriterion' does not have any field named 'Operand2'
./database/criterion.h: In member function 'virtual float tAndCriterion::matchDegree(const tSong*) const':
./database/criterion.h:96: error: 'Operand1' was not declared in this scope
./database/criterion.h:96: error: 'Operand2' was not declared in this scope
./database/criterion.h: In member function 'virtual bool tAndCriterion::notifying() const':
./database/criterion.h:99: error: 'Operand1' was not declared in this scope
./database/criterion.h:99: error: 'Operand2' was not declared in this scope
./database/criterion.h: At global scope:
./database/criterion.h:107: error: ISO C++ forbids declaration of 'auto_ptr' with no type
./database/criterion.h:107: error: expected ';' before '<' token
./database/criterion.h: In constructor 'tNotCriterion::tNotCriterion(tCriterion*)':
./database/criterion.h:110: error: class 'tNotCriterion' does not have any field named 'Operand'
./database/criterion.h: In member function 'virtual float tNotCriterion::matchDegree(const tSong*) const':
./database/criterion.h:114: error: 'Operand' was not declared in this scope
./database/criterion.h: In member function 'virtual bool tNotCriterion::notifying() const':
./database/criterion.h:117: error: 'Operand' was not declared in this scope
./database/criterion.h: At global scope:
./database/criterion.h:123: error: expected constructor, destructor, or type conversion before '<' token
database/auto_dj.cpp: In member function 'void tAutoDJ::addCriterion(const QString&, int)':
database/auto_dj.cpp:162: error: 'parseCriterion' was not declared in this scope
scons: *** [,build/release/database/auto_dj.o] Error 1
scons: building terminated because of errors.
==> ERROR: Build Failed.
Aborting...
This worked with qt3 under i686, so I guess its qt4 related. Anyone offer some pointers please, or a modified PKGBUILD?
Offline
bump
Offline
The PKGBUILD uses code from 2005. Newest code from the tla-repo is from 2006. We will have at least a problem with gcc4.3, maybe also with qt3/4 as you mentioned. Also I never heard about a revision control system tla.
Offline
I made a PKGBUILD for a git version:
pkgname=madman-git
pkgver=1
pkgrel=1
arch=('i686')
pkgdesc="I-tunes like music player - development version"
url="http://madman.sourceforge.net/"
license=('GPL')
depends=('qt3' 'xmms' 'taglib' 'faad2')
makedepends=('python' 'git')
source=()
md5sums=()
conflicts=(madman)
provides=(madman)
_gitroot="http://git.tiker.net/trees/madman.git"
_gitname="madman"
build() {
cd $startdir/src
msg "Connecting to GIT server...."
if [ -d $startdir/src/$_gitname ] ; then
cd $_gitname && git-pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -r $startdir/src/$_gitname-build
cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
cd $startdir/src/$_gitname-build
cd madman
tar xfz scons-local-*.tar.gz
./scons.py prefix=/usr|| return 1
./scons.py prefix=$startdir/pkg/usr install || return 1
rm -rf $startdir/pkg/bin/.sconsign
}
But it fails with the following error.
g++ -pthread -DMADMAN_VERSION=0.94beta1 -DNDEBUG=1 -I/opt/qt/include -I. -I/opt/qt/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/taglib -c -o ,build/release/database/auto_dj.o database/auto_dj.cpp
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../../include/c++/4.3.1/ext/hash_map:64,
from ./utility/base.h:40,
from database/auto_dj.h:26,
from database/auto_dj.cpp:37:
/usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../../include/c++/4.3.1/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
In file included from database/auto_dj.cpp:38:
./database/criterion.h:71: error: ISO C++ forbids declaration of 'auto_ptr' with no type
./database/criterion.h:71: error: expected ';' before '<' token
./database/criterion.h: In constructor 'tOrCriterion::tOrCriterion(tCriterion*, tCriterion*)':
./database/criterion.h:74: error: class 'tOrCriterion' does not have any field named 'Operand1'
./database/criterion.h:74: error: class 'tOrCriterion' does not have any field named 'Operand2'
./database/criterion.h: In member function 'virtual float tOrCriterion::matchDegree(const tSong*) const':
./database/criterion.h:78: error: 'Operand1' was not declared in this scope
./database/criterion.h:78: error: 'Operand2' was not declared in this scope
./database/criterion.h: In member function 'virtual bool tOrCriterion::notifying() const':
./database/criterion.h:81: error: 'Operand1' was not declared in this scope
./database/criterion.h:81: error: 'Operand2' was not declared in this scope
./database/criterion.h: At global scope:
./database/criterion.h:89: error: ISO C++ forbids declaration of 'auto_ptr' with no type
./database/criterion.h:89: error: expected ';' before '<' token
./database/criterion.h: In constructor 'tAndCriterion::tAndCriterion(tCriterion*, tCriterion*)':
./database/criterion.h:92: error: class 'tAndCriterion' does not have any field named 'Operand1'
./database/criterion.h:92: error: class 'tAndCriterion' does not have any field named 'Operand2'
./database/criterion.h: In member function 'virtual float tAndCriterion::matchDegree(const tSong*) const':
./database/criterion.h:96: error: 'Operand1' was not declared in this scope
./database/criterion.h:96: error: 'Operand2' was not declared in this scope
./database/criterion.h: In member function 'virtual bool tAndCriterion::notifying() const':
./database/criterion.h:99: error: 'Operand1' was not declared in this scope
./database/criterion.h:99: error: 'Operand2' was not declared in this scope
./database/criterion.h: At global scope:
./database/criterion.h:107: error: ISO C++ forbids declaration of 'auto_ptr' with no type
./database/criterion.h:107: error: expected ';' before '<' token
./database/criterion.h: In constructor 'tNotCriterion::tNotCriterion(tCriterion*)':
./database/criterion.h:110: error: class 'tNotCriterion' does not have any field named 'Operand'
./database/criterion.h: In member function 'virtual float tNotCriterion::matchDegree(const tSong*) const':
./database/criterion.h:114: error: 'Operand' was not declared in this scope
./database/criterion.h: In member function 'virtual bool tNotCriterion::notifying() const':
./database/criterion.h:117: error: 'Operand' was not declared in this scope
./database/criterion.h: At global scope:
./database/criterion.h:123: error: expected constructor, destructor, or type conversion before '<' token
database/auto_dj.cpp: In member function 'void tAutoDJ::addCriterion(const QString&, int)':
database/auto_dj.cpp:162: error: 'parseCriterion' was not declared in this scope
scons: *** [,build/release/database/auto_dj.o] Error 1
scons: building terminated because of errors.
Sorry, I do not know how to fix this. Maybe someone with more knowledge of C++ can fix this.
Offline
Maybe other distros (Gentoo, Debian, etc.) have a patch.
Offline