You are not logged in.

#1 2007-07-04 22:58:44

vhscampos
Member
Registered: 2007-06-10
Posts: 2

Unknown error in 'make'

Hi, I'm trying to make a package for Banshee Lyrics Plugin. However, 'make' output returns an error.

This is the PKGBUILD:

# $Id: PKGBUILD,v 1.12 2003/11/06 08:26:13 dorphell Exp $
# Maintainer: vhscampos <xxxxx@xxx.>
# Contributor: vhscampos <xxxxx@xxx>
pkgname=banshee-lyrics-plugin
pkgver=0.1
pkgrel=1
pkgdesc="A Banshee plugin to retrieve lyrics for the currently playing song"
arch=(i686 x86_64)
url="http://battleaxe.net/projects/banshee/plugins/lyrics/"
license=('GPL')
groups=()
provides=()
depends=('banshee')
makedepends=()
conflicts=()
replaces=()
backup=()
install=()
source=(http://battleaxe.net/projects/banshee/plugins/lyrics/$pkgname-$pkgver.tar.gz)
md5sums=('75419f3fc0f9637adc13376e38808d7e')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --enable-user-plugins --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}

And the output of makepkg:

==> Entering fakeroot environment
==> Making package: banshee-lyrics-plugin 0.1-1 (Qua Jul  4 19:55:15 BRT 2007)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
   -> Found banshee-lyrics-plugin-0.1.tar.gz in build dir
==> Validating source files with md5sums
    banshee-lyrics-plugin-0.1.tar.gz ... Passed
==> Extracting Sources...
   -> tar -xf banshee-lyrics-plugin-0.1.tar.gz
==> Starting build()...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
/home/vhscampos/Desktop/lyrics/src/banshee-lyrics-plugin-0.1/missing: Unknown `--run' option
Try `/home/vhscampos/Desktop/lyrics/src/banshee-lyrics-plugin-0.1/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for mono... /usr/bin/mono
checking for gmcs... /usr/bin/gmcs
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BANSHEE... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile

Plugin will be installed in /usr/lib/banshee/Banshee.Plugins
You should now run `make'

Making all in src
make[1]: Entering directory `/home/vhscampos/Desktop/lyrics/src/banshee-lyrics-plugin-0.1/src'
/usr/bin/gmcs -debug /r:System.Web `pkg-config --libs gtkhtml-sharp-2.0` -out:Lyrics.dll -target:library -r:/usr/lib/banshee/Banshee.Base.dll -r:/usr/lib/banshee/Banshee.Widgets.dll -r:/usr/lib/banshee/TagLib.dll -r:/usr/lib/banshee/Hal.dll -r:/usr/lib/banshee/MusicBrainz.dll -r:/usr/lib/banshee/NDesk.DBus.dll -r:/usr/lib/banshee/NDesk.DBus.GLib.dll -r:Mono.Posix -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gconf-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gconf-sharp-peditors.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/art-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-vfs-sharp.dll   ./Lyrics/Base.cs ./Lyrics/Lyrc.cs ./LyricsConfigDialog.cs ./LyricsPane.cs ./LyricsPlugin.cs

** (/usr/lib/mono/2.0/gmcs.exe:11909): CRITICAL **: _wapi_shm_file_open: shared file [/root/.wapi/shared_data-gondolin-Linux-i686-312-11-0] open error: Permission denied

** (/usr/lib/mono/2.0/gmcs.exe:11909): CRITICAL **: _wapi_shm_attach: shared file [/root/.wapi/shared_data-gondolin-Linux-i686-312-11-0] open error

** ERROR **: file shared.c: line 337 (shm_semaphores_init): assertion failed: (tmp_shared != NULL)
aborting...
Stacktrace:


Native stacktrace:

        /usr/bin/mono [0x8174bb4]
        [0x4001c440]
        /lib/libc.so.6(abort+0x101) [0x401429b1]
        /usr/lib/libglib-2.0.so.0 [0x4007a0f5]
        /usr/lib/libglib-2.0.so.0(g_log+0x29) [0x4007a129]
        /usr/lib/libglib-2.0.so.0(g_assert_warning+0x78) [0x4007a1a8]
        /usr/bin/mono [0x8121f49]
        /usr/bin/mono [0x81167e2]
        /usr/bin/mono(mono_once+0x96) [0x811ede6]
        /usr/bin/mono [0x811655c]
        /usr/bin/mono [0x810ed1e]
        /usr/bin/mono [0x810f0f5]
        /usr/bin/mono [0x817d6b7]
        /usr/bin/mono(mono_runtime_init+0x21) [0x80d2881]
        /usr/bin/mono [0x813bcff]
        /usr/bin/mono(mono_main+0x345) [0x80584a5]
        /usr/bin/mono [0x8057c52]
        /lib/libc.so.6(__libc_start_main+0xe0) [0x4012d970]
        /usr/bin/mono [0x8057bc1]

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

make[1]: *** [Lyrics.dll] Aborted
make[1]: Leaving directory `/home/vhscampos/Desktop/lyrics/src/banshee-lyrics-plugin-0.1/src'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.  Aborting...

What is going wrong with that?

Last edited by vhscampos (2007-07-04 22:59:46)

Offline

#2 2007-07-04 23:12:12

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Unknown error in 'make'

MONO PKGBUILDs have a number of unique requirements. Have a look at some of the official ones, like Banshee itself, or F-spot, for example.

Offline

Board footer

Powered by FluxBB