Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197600 - net-im/pidgin-2.2.2 build failure w/ USE="mono": error CS0006: cannot find metadata file `PurpleAPI.dll': parallel make issue?
Summary: net-im/pidgin-2.2.2 build failure w/ USE="mono": error CS0006: cannot find me...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-31 06:45 UTC by Ed Catmur
Modified: 2008-02-16 19:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
mono-build.patch (mono-build.patch,440 bytes, patch)
2007-10-31 23:22 UTC, Ed Catmur
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Catmur 2007-10-31 06:45:18 UTC
Making all in api
make[6]: Entering directory `/var/tmp/portage/net-im/pidgin-2.2.2/work/pidgin-2.2.2/libpurple/plugins/mono/api'
 cd ../../../.. && /bin/sh /var/tmp/portage/net-im/pidgin-2.2.2/work/pidgin-2.2.2/missing --run automake-1.10 --gnu  libpurple/plugins/mono/api/Makefile
error CS0006: cannot find metadata file `PurpleAPI.dll'
Compilation failed: 1 error(s), 0 warnings
make[5]: *** [MPlugin.dll] Error 1
make[5]: *** Waiting for unfinished jobs....
libpurple/plugins/mono/api/Makefile.am:19: addprefix $(srcdir: non-POSIX variable name
libpurple/plugins/mono/api/Makefile.am:19: (probably a GNU make extension)
 cd ../../../.. && /bin/sh ./config.status libpurple/plugins/mono/api/Makefile 
config.status: creating libpurple/plugins/mono/api/Makefile
make[6]: Leaving directory `/var/tmp/portage/net-im/pidgin-2.2.2/work/pidgin-2.2.2/libpurple/plugins/mono/api'
make[6]: Entering directory `/var/tmp/portage/net-im/pidgin-2.2.2/work/pidgin-2.2.2/libpurple/plugins/mono/api'
mcs -t:library -out:PurpleAPI.dll ./BlistNode.cs ./BuddyList.cs ./Buddy.cs ./Contact.cs ./Debug.cs ./Event.cs ./PurplePlugin.cs ./Group.cs ./Signal.cs ./Status.cs
make[6]: Leaving directory `/var/tmp/portage/net-im/pidgin-2.2.2/work/pidgin-2.2.2/libpurple/plugins/mono/api'
...
make[5]: Leaving directory `/var/tmp/portage/net-im/pidgin-2.2.2/work/pidgin-2.2.2/libpurple/plugins/mono'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/net-im/pidgin-2.2.2/work/pidgin-2.2.2/libpurple/plugins'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-im/pidgin-2.2.2/work/pidgin-2.2.2/libpurple'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-im/pidgin-2.2.2/work/pidgin-2.2.2/libpurple'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-im/pidgin-2.2.2/work/pidgin-2.2.2'
make: *** [all] Error 2

parallel make issue?
Comment 1 Ed Catmur 2007-10-31 07:14:55 UTC
above that:

Making all in mono
make[5]: Entering directory `/var/tmp/portage/net-im/pidgin-2.2.2/work/pidgin-2.2.2/libpurple/plugins/mono'
 cd ../../.. && /bin/sh /var/tmp/portage/net-im/pidgin-2.2.2/work/pidgin-2.2.2/missing --run automake-1.10 --gnu  libpurple/plugins/mono/Makefile
libpurple/plugins/mono/Makefile.am:10: addprefix $(srcdir: non-POSIX variable name
libpurple/plugins/mono/Makefile.am:10: (probably a GNU make extension)
 cd ../../.. && /bin/sh ./config.status libpurple/plugins/mono/Makefile 
config.status: creating libpurple/plugins/mono/Makefile
make[5]: Leaving directory `/var/tmp/portage/net-im/pidgin-2.2.2/work/pidgin-2.2.2/libpurple/plugins/mono'
make[5]: Entering directory `/var/tmp/portage/net-im/pidgin-2.2.2/work/pidgin-2.2.2/libpurple/plugins/mono'
mcs -t:library -lib:./api -out:MPlugin.dll -r:PurpleAPI.dll MPlugin.cs
Making all in api
make[6]: Entering directory `/var/tmp/portage/net-im/pidgin-2.2.2/work/pidgin-2.2.2/libpurple/plugins/mono/api'
 cd ../../../.. && /bin/sh /var/tmp/portage/net-im/pidgin-2.2.2/work/pidgin-2.2.2/missing --run automake-1.10 --gnu  libpurple/plugins/mono/api/Makefile
error CS0006: cannot find metadata file `PurpleAPI.dll'
Compilation failed: 1 error(s), 0 warnings
make[5]: *** [MPlugin.dll] Error 1
make[5]: *** Waiting for unfinished jobs....
Comment 2 Ed Catmur 2007-10-31 22:21:38 UTC
Idiots.  They've completely unnecesarily added a target to all:

monodir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION)
mono_SCRIPTS = MPlugin.dll GetBuddyBack.dll
mono_build_sources = $(addprefix $(srcdir)/, $(mono_sources))

all: $(mono_SCRIPTS)

This is breaking recursive make.
Comment 3 Ed Catmur 2007-10-31 22:38:29 UTC
Upstream: http://developer.pidgin.im/ticket/3802
Comment 4 Olivier Crete (RETIRED) gentoo-dev 2007-10-31 22:45:35 UTC
Does 2.2.1 build correctly with mono ?
Comment 5 Olivier Crete (RETIRED) gentoo-dev 2007-10-31 22:46:26 UTC
From what I can see here, the mono flag has been disabled in the ebuild... Or do you have a modified ebuild?
Comment 6 Ed Catmur 2007-10-31 23:22:23 UTC
Created attachment 134847 [details, diff]
mono-build.patch
Comment 7 Ed Catmur 2007-11-01 22:15:47 UTC
Ah... looks like I'm using compnerd's tree for this one.  Don't know why I didn't spot that.
Comment 8 Olivier Crete (RETIRED) gentoo-dev 2008-02-16 19:41:12 UTC
mono is disabled