You are not logged in.

#1 2008-06-14 02:42:31

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

[PKGBUILD] Mutella -- Fixed for gcc 4.3

EDIT: This has been solved, see my post below

Someone asked me to package this, but I wasn't able.
It needs some minor tweaks for 4.3, as per http://gcc.gnu.org/gcc-4.3/porting_to.html

It's bailing during compile after that though,

In file included from controller.cpp:37:
gnushare.h:67: error: ISO C++ forbids declaration of âMShareThreadâ with no type
gnushare.h:67: error: expected â;â before â*â token
make[3]: *** [controller.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from gnuupload.cpp:35:
gnushare.h:67: error: ISO C++ forbids declaration of âMShareThreadâ with no type
gnushare.h:67: error: expected â;â before â*â token
make[3]: *** [gnuupload.o] Error 1
make[3]: Leaving directory `/home/Daenyth/builds/mutella/src/mutella-0.4.5/mutella'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Daenyth/builds/mutella/src/mutella-0.4.5/mutella'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Daenyth/builds/mutella/src/mutella-0.4.5'
make: *** [all] Error 2
==> ERROR: Build Failed.

Here's my unfinished PKGBUILD.

pkgname=mutella
pkgver=0.4.5
pkgrel=1
pkgdesc="A terminal-mode Gnutella client with an intuitive and easy to use interface"
arch=(i686)
url="http://mutella.sourceforge.net/index.php"
license=('GPL')
depends=()
makedepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('1a676eacf562e3b8de90493f99fe059c')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr
  make || return 1
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et:

Anyone who wants, feel free to take this over, I'm done with it.

Last edited by Daenyth (2008-06-16 22:49:41)

Offline

#2 2008-06-14 03:09:13

Square
Member
Registered: 2008-06-11
Posts: 435

Re: [PKGBUILD] Mutella -- Fixed for gcc 4.3

The project site for this application is http://mutella.sourceforge.net/ for anyone interested in taking it on.

Last edited by Square (2008-06-14 03:09:38)


 

Offline

#3 2008-06-14 03:38:34

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [PKGBUILD] Mutella -- Fixed for gcc 4.3

It needs a
options=('!makeflags')
That'll fix the "Waiting for unfinished jobs...." error.  Probably not the   "ISO C++" ones.

Offline

#4 2008-06-14 03:39:27

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [PKGBUILD] Mutella -- Fixed for gcc 4.3

Offline

#5 2008-06-14 03:41:18

neosisani
Member
Registered: 2008-06-14
Posts: 10

Re: [PKGBUILD] Mutella -- Fixed for gcc 4.3

Our friends at gentoo had same problem, here is their patch

https://bugs.gentoo.org/show_bug.cgi?id=135235

Vladislav

Offline

#6 2008-06-14 04:08:10

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: [PKGBUILD] Mutella -- Fixed for gcc 4.3

This was on AUR the whole time...? How in the world did I not notice that...

Offline

#7 2008-06-16 22:11:06

Square
Member
Registered: 2008-06-11
Posts: 435

Re: [PKGBUILD] Mutella -- Fixed for gcc 4.3

The error I've found given during compile time is referred to in http://gcc.gnu.org/gcc-4.3/porting_to.html
It's actually the first error example they give, dealing with changes to the exterm inline. With mutella, it is multiple instances of "QWords"

This may be the first helpful step in porting to gcc 4.3

Last edited by Square (2008-06-16 22:12:14)


 

Offline

#8 2008-06-16 22:45:38

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: [PKGBUILD] Mutella -- Fixed for gcc 4.3

All fixed up!

PKGBUILD

gcc43.patch

Offline

Board footer

Powered by FluxBB