Bug 207 - make uninstall in master branch uninstalls glib-sharp from 2.12 branch...
Summary: make uninstall in master branch uninstalls glib-sharp from 2.12 branch...
Status: RESOLVED FIXED
Alias: None
Product: Gtk#
Classification: Mono
Component: gtk-sharp ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-08-05 17:09 UTC by Andres G. Aragoneses
Modified: 2011-09-09 13:30 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Andres G. Aragoneses 2011-08-05 17:09:57 UTC
Steps to reproduce:
1. Have glib-sharp 2.12.10 installed (opensuse 11.4 in my case).
2. Build some mono-based software: it works.
3. Clone gtk-sharp master
4. configure it with the /usr prefix.
5. make && sudo make install
6. sudo make uninstall
7. Do step 2 again.

Expected results: it should still build.
Actual results:

error CS0006: Metadata file `/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll' could not be found
Comment 1 Bertrand Lorentz 2011-08-11 12:11:24 UTC
I can confirm this :
"make uninstall" runs this, which will remove all glib-sharp assemblies :
gacutil -u glib-sharp /package gtk-sharp-3.0

We'd need to do something like :
gacutil -u glib-sharp,Version=3.0.0.0 /package gtk-sharp-3.0
Comment 2 Bertrand Lorentz 2011-08-11 12:49:38 UTC
I have created a pull request with a fix for this issue :
https://github.com/mono/gtk-sharp/pull/23
Comment 3 Bertrand Lorentz 2011-09-09 13:30:20 UTC
My pull request was merged in git master, so I'm marking this as FIXED.

https://github.com/mono/gtk-sharp/commit/18d1af69