Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146659 - dev-dotnet/gconf-sharp-2.16 compilation fix
Summary: dev-dotnet/gconf-sharp-2.16 compilation fix
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-07 01:52 UTC by Hinrik Örn Sigurðsson
Modified: 2006-09-08 18:28 UTC (History)
0 users

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


Attachments
output.txt (output.txt,16.51 KB, text/plain)
2006-09-08 17:15 UTC, Hinrik Örn Sigurðsson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hinrik Örn Sigurðsson 2006-09-07 01:52:40 UTC
Problem:

Making all in GConf.PropertyEditors
make[1]: Entering directory `/var/tmp/portage/gconf-sharp-2.16.0/work/gnome-sharp-2.16.0/gconf/GConf.PropertyEditors'
cp ../../gtk-sharp.snk .
/usr/bin/mcs -define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GNOME_SHARP_2_16 /out:gconf-sharp-peditors.dll /target:library -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/glib-sharp.dll   -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glade-sharp.dll -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/glib-sharp.dll   /r://usr/lib/mono/gtk-sharp-2.0/art-sharp.dll /r://usr/lib/mono/gtk-sharp-2.0/gnome-sharp.dll /r:../GConf/gconf-sharp.dll ./PropertyEditor.cs ./PropertyEditorBool.cs ./PropertyEditorEnum.cs ./PropertyEditorEntry.cs ./PropertyEditorFileEntry.cs ./PropertyEditorOptionMenu.cs ./PropertyEditorRadioButton.cs ./PropertyEditorSpinButton.cs ./PropertyEditorToggleButton.cs ./EditorShell.cs ../../AssemblyInfo.cs
error CS0006: Cannot find assembly `//usr/lib/mono/gtk-sharp-2.0/gnome-sharp.dll'

Solution:

sed -i "s:gtk-sharp-2.0/gnome-sharp.dll:gnome-sharp-2.0/gnome-sharp.dll:" \
        ${S}/gconf/GConf.PropertyEditors/Makefile.in
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2006-09-07 08:22:49 UTC
This is definitely not needed here. The new stuff should all be installing to /usr/$(libdir)/mono/gtk-sharp-2.0/, nothing should be hitting /usr/$(libdir)/mono/gnome-sharp-2.0 at *all*. See here:

peter@mic ~ $ equery f =gnome-sharp-2.16.0 | grep gnome-sharp-2.0
/usr/lib64/pkgconfig/gnome-sharp-2.0.pc
peter@mic ~ $ equery f =gnome-sharp-2.16.0 | grep gtk-sharp-2.0
/usr/lib64/mono/gtk-sharp-2.0
/usr/lib64/mono/gtk-sharp-2.0/gnome-sharp.dll
/usr/lib64/mono/gtk-sharp-2.0/policy.2.4.gnome-sharp.dll
/usr/lib64/mono/gtk-sharp-2.0/policy.2.6.gnome-sharp.dll
/usr/lib64/mono/gtk-sharp-2.0/policy.2.8.gnome-sharp.dll
</snip>

Can you please provide the output of "equery f =gnome-sharp-2.16.0" as well as your emerge --info, etc.

Also, did you previously install any versions of these on your own, via bmg, etc?
Comment 2 Hinrik Örn Sigurðsson 2006-09-08 17:15:34 UTC
Created attachment 96446 [details]
output.txt

No unofficial/non-portage versions installed beforehand.
Comment 3 Peter Johanson (RETIRED) gentoo-dev 2006-09-08 17:45:33 UTC
There's no way this should be getting installed like this. From gtk-sharp-component.eclass:

gtk-sharp-component_src_install() {
    cd ${GTK_SHARP_COMPONENT_BUILD_DIR}
    LANG=C make GACUTIL_FLAGS="/root ${D}/usr/$(get_libdir) /gacdir /usr/$(get_libdir) /package gtk-sharp${GTK_SHARP_COMPONENT_SLOT_DEC}" \
        DESTDIR=${D} install || die
}

And GACUTIL_FLAGS determines how things are installed. Do any of the overlays you have listed have their own gtk-sharp-component.eclass files around?
Comment 4 Hinrik Örn Sigurðsson 2006-09-08 17:53:03 UTC
Nope. No eclasses in the overlays. This is pretty weird.
Comment 5 Hinrik Örn Sigurðsson 2006-09-08 18:10:11 UTC
Bah, never mind. Close bug. I'm an idiot. :)

There actually was a gnome-sharp-2.16 ebuild in the overlay there.
Comment 6 Peter Johanson (RETIRED) gentoo-dev 2006-09-08 18:28:19 UTC
Done.