On Tue, 2 Dec 2008, Daenyth Blank wrote:
On Tue, Dec 2, 2008 at 20:33, Baho Utot <baho-utot@xxxxxxxxxxxxxxx> wrote:
OpenSp PKGBUILD fails to compile with the following error:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -march=native -O2 -pipe -fomit-frame-pointer -c
ArcEngine.cxx -MT
ArcEngine.lo -MD -MP -MF .deps/ArcEngine.TPlo -fPIC -DPIC -o .libs/ArcEngine.lo
In file included from ArcEngine.cxx:20:
../include/InternalInputSource.h:37: error: extra
qualification 'OpenSP::InternalInputSource::' on
member 'asInternalInputSource'
make[3]: *** [ArcEngine.lo] Error 1
make[3]: Leaving directory `/home/scrat/ARCH/opensp/src/OpenSP-1.5.1/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/scrat/ARCH/opensp/src/OpenSP-1.5.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/scrat/ARCH/opensp/src/OpenSP-1.5.1'
make: *** [all] Error 2
==> ERROR: Build Failed.
It looks like it is orphaned so
Here is a patch to fix this:
cat InternalInputSource.patch
--- OpenSP-1.5.1~/include/InternalInputSource.h 2003-07-17
14:14:00.000000000 -0400
+++ OpenSP-1.5.1/include/InternalInputSource.h 2008-11-13
12:24:04.591406546 -0500
@@ -34,7 +34,7 @@
void pushCharRef(Char ch, const NamedCharRef &);
Boolean rewind(Messenger &);
const StringC *contents();
- InternalInputSource *InternalInputSource::asInternalInputSource();
+ InternalInputSource *asInternalInputSource();
~InternalInputSource();
private:
InternalInputSource(const InternalInputSource &); // undefined
Here is a patch file for the PKGBUILD
cat PKGBUILD.patch
--- PKGBUILD 2008-12-02 20:27:40.102778984 -0500
+++ pkgbuild 2008-12-02 20:27:29.412780668 -0500
@@ -15,6 +15,7 @@
cd $startdir/src/OpenSP-$pkgver
pwd
patch -Np1 -i ../opensp-gcc34.patch || return 1
+ patch -Np1 -i ../InternalInputSource.patch || return 1
./configure --prefix=/usr \
--disable-nls \
--enable-http \
If it's orphaned in the AUR, simply adopt it and update it with your fixes.
it's in extra. Please submit a bug report.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.