FS#24473 - [gnome-sharp] is broken.

Attached to Project: Arch Linux
Opened by morakh (morakh) - Friday, 27 May 2011, 19:33 GMT
Last edited by Ionut Biru (wonder) - Friday, 12 August 2011, 07:40 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Package in repository is broken. Version 2.24.1 was ok.

Additional info:
* gnome-sharp 2.24.2-1
* config and/or log files etc.


Steps to reproduce:
pacman -Syu gnome-sharp
pacman -Ql gnome-sharp
This task depends upon

Closed by  Ionut Biru (wonder)
Friday, 12 August 2011, 07:40 GMT
Reason for closing:  Not a bug
Comment by Ionut Biru (wonder) - Friday, 27 May 2011, 20:20 GMT
can you explain what you want to do? gnome-sharp is just a meta package for a smooth update to a split build.
Comment by morakh (morakh) - Friday, 27 May 2011, 22:15 GMT
I'm just tried to compile monodevelop-git. Compilation failed with './GnomePlatform.cs(45,23): error CS0234: The type or namespace name `ThumbnailFactory' does not exist in the namespace `Gnome'. Are you missing an assembly reference?. I installed gnome-sharp 2.24.1-1 (from ARM) and the package compiled successfully.
Comment by Jelle van der Waa (jelly) - Saturday, 28 May 2011, 10:34 GMT
And how couldn't it be a problem with monodevelop-git? Did you check the changelog for gnome-sharp
Comment by morakh (morakh) - Sunday, 29 May 2011, 10:52 GMT
Before the upgrade I have compiled monodevelop 2.6 beta 2 (2.5.91) and than monodevelop-git with gnome-sharp 2.24.1. After pacman update I tried to compile monodevelop 2.6 beta 3 (2.5.92) an got an error than tried 2.6 beta 2 and gon an error again. Where I can check changelog? pacman -Qc gnome-sharp shows me nothing.
Comment by Nicklas Overgaard (nicklas) - Wednesday, 15 June 2011, 13:05 GMT
I am experiencing the same problems as morakh...

I've been running with beta 2 for a while with gnome-sharp 2.24.1. I just recently upgraded my computer to the whole gnome-3 shebang, and received the new gnome-sharp package. I'm no longer able to build monodevelop 2.6 beta 2 or beta 3.

Downgrading the package solves the build problems.
@morakh
Untill it's fixed you can find the old package here: http://schlunix.org/archlinux/extra/os/x86_64/
Then you can build the new monodevelop :)
Comment by Nicklas Overgaard (nicklas) - Wednesday, 15 June 2011, 13:08 GMT
I believe the problem is that the new gnome-sharp package does not include a "gnome-sharp-2.0.pc" file inside /usr/lib/pkgconfig - monodevelop is looking for it, and it exists for package 2.24.1.
Comment by Ionut Biru (wonder) - Wednesday, 15 June 2011, 14:35 GMT
gnome-sharp 2.24.2 depends on libgnome-sharp and it has the right pkg-config files. Can somebody at least paste some logs?
Comment by Nicklas Overgaard (nicklas) - Thursday, 16 June 2011, 06:29 GMT
Doing a:
pacman -S gnome-sharp
ls /usr/lib/pkgconfig/ | grep "gnome-sharp"

Returns nothing, whereas:
wget http://schlunix.org/archlinux/extra/os/x86_64/gnome-sharp-2.24.1-1-x86_64.pkg.tar.gz
pacman -U gnome-sharp-2.24.1-1-x86_64.pkg.tar.gz
ls /usr/lib/pkgconfig/ | grep "gnome-sharp"

Gives " gnome-sharp-2.0.pc". So somethig *is* broken in the new gnome-sharp. Building monodevelop 2.6. beta 3 with this pkgbuild: http://pastebin.com/RtspAABJ

Gives this log (with broken gnome-sharp): http://pastebin.com/GVxbvBqu

Building with working gnome-sharp produces this output: http://pastebin.com/rCNFZZUG

Whereafter I can install and run monodevelop. Upgrading gnome-sharp after successfull build makes monodevelop bitch out with 20 null reference exceptions during startup...
Comment by Nicklas Overgaard (nicklas) - Thursday, 16 June 2011, 06:32 GMT
Funniy thing though (sorry for the spamming).

Performing:
pacman -S gnome-sharp
pacman -Ql libgnome-sharp

Returns that there should be a "gnome-sharp-2.0.pc" file in "/usr/lib/pkgconfig" - but it is not there, as my previous post also suggests.
Comment by Ionut Biru (wonder) - Thursday, 16 June 2011, 09:04 GMT
pacman -Qo /usr/lib/pkgconfig/gnome-sharp-2.0.pc
/usr/lib/pkgconfig/gnome-sharp-2.0.pc is owned by libgnome-sharp 2.24.2-1

i suspect you did pacman -Uf gnome-sharp-old and you lost the pkgconfg while having libgnome-sharp installed. you should reinstall this package

i couldn't try to build that since it needs mono-addios 0.6 and we have 0.5. Can you paste config.log ?
Comment by Ionut Biru (wonder) - Thursday, 16 June 2011, 09:12 GMT
i can recompile monodevelop from extra fine and i don't see any reasons not to build the beta version. I'm going to close this as not a bug soon
Comment by Nicklas Overgaard (nicklas) - Thursday, 16 June 2011, 09:57 GMT
Okay,

Doing a
pacman -Rddncs gnome-sharp
pacman -S gnome-sharp

Does not solve the problem. However, reinstalling all the packages that gnome-sharp is providing solves the problem of building monodevelop 2.6 beta. Since the issue started occurring after an update, something must be wrong with the update-script or something?
Comment by Ionut Biru (wonder) - Thursday, 16 June 2011, 10:02 GMT
no

Loading...