Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 382491

Summary: Problems for bumping gtk-sharp packages
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: dotnet project <dotnet>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: crabbedhaloablution, cynede, god, kripton, leho, timo
Priority: Normal Keywords: NeedPatch
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 458810, 482502, 497034    
Attachments: gtk-sharp-module.eclass.diff
gtk-sharp-2.12.11.patch
atk-sharp build.log
gtk-sharp-module-2.12.11.patch
gtk-sharp-2.12.21.ebuild
gnome-sharp-2.24.2-r1.ebuild

Description Pacho Ramos gentoo-dev 2011-09-10 10:04:08 UTC
Hello team, I need help to bump gtk-sharp modules to 2.12.11 versions. I will attach my updated patch and eclass, but I don't know how to fix atk-sharp compilation.

Thanks a lot

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2011-09-10 10:05:19 UTC
Created attachment 286053 [details, diff]
gtk-sharp-module.eclass.diff
Comment 2 Pacho Ramos gentoo-dev 2011-09-10 10:05:52 UTC
Created attachment 286055 [details, diff]
gtk-sharp-2.12.11.patch
Comment 3 Pacho Ramos gentoo-dev 2011-09-10 10:07:01 UTC
Created attachment 286057 [details]
atk-sharp build.log

This is the build failure, probably gtk-sharp-2.12.11.patch needs some additional changes :-/
Comment 4 Pacho Ramos gentoo-dev 2011-09-14 11:29:18 UTC
Maybe Peter could help us as author of original patch :)

Thanks
Comment 5 Pacho Ramos gentoo-dev 2011-12-18 11:54:05 UTC
Created attachment 296233 [details, diff]
gtk-sharp-module-2.12.11.patch

This patch from Peter allows atk-compilation, but now glade-sharp is still failing with:
>>> Compiling source
in /var/tmp/portage/dev-dotnet/gdk-sharp-2.12.11/work/gtk-sharp-2.12.11 ...
make -j5 CSC=/usr/bin/gmcs 
Making all in .
make[1]: Entering directory
`/var/tmp/portage/dev-dotnet/gdk-sharp-2.12.11/work/gtk-sharp-2.12.11/gdk'
cp ./gdk-api.raw gdk-api.xml
make[1]: *** No rule to make target `../pango/pango-api.xml', needed by
`generated-stamp'.  Stop.
make[1]: *** Waiting for unfinished jobs....
chmod u+w gdk-api.xml
/usr/bin/gapi2-fixup --api=gdk-api.xml --metadata=./Gdk.metadata
--symbols=./gdk-symbols.xml
make[1]: Leaving directory
`/var/tmp/portage/dev-dotnet/gdk-sharp-2.12.11/work/gtk-sharp-2.12.11/gdk'
make: *** [all-recursive] Error 1
emake failed
 * ERROR: dev-dotnet/gdk-sharp-2.12.11 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   75:  Called src_compile
 *   environment, line 3327:  Called gtk-sharp-module_src_compile
 *   environment, line 2608:  Called die
 * The specific snippet of code:
 *       emake CSC=/usr/bin/gmcs || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info
=dev-dotnet/gdk-sharp-2.12.11',
 * the complete build log and the output of 'emerge -pqv
=dev-dotnet/gdk-sharp-2.12.11'.
 * The complete build log is located at
'/var/log/portage/build/dev-dotnet/gdk-sharp-2.12.11:20111215-222955.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/dev-dotnet/gdk-sharp-2.12.11/temp/environment'.
 * S:
'/var/tmp/portage/dev-dotnet/gdk-sharp-2.12.11/work/gtk-sharp-2.12.11'
Comment 6 Marijn Schouten (RETIRED) gentoo-dev 2012-03-05 08:39:36 UTC
It looks like this failure might be caused by faulty deps exposed by trying to build in parallel. Try forcing -j1.
Comment 7 Pacho Ramos gentoo-dev 2012-04-28 18:21:31 UTC
It's the same error :(
Comment 8 Pacho Ramos gentoo-dev 2013-08-16 12:38:32 UTC
*** Bug 458812 has been marked as a duplicate of this bug. ***
Comment 9 Pacho Ramos gentoo-dev 2013-08-16 12:40:14 UTC
We clearly need help here: the idea is to go away of splitting stuff and try to bump gtk-sharp with a monolithic ebuild
Comment 10 Timo Rothenpieler 2013-08-26 03:49:21 UTC
Created attachment 357040 [details]
gtk-sharp-2.12.21.ebuild
Comment 11 Timo Rothenpieler 2013-08-26 03:50:14 UTC
Created attachment 357042 [details]
gnome-sharp-2.24.2-r1.ebuild
Comment 12 Timo Rothenpieler 2013-08-26 03:51:29 UTC
I added two possible monolithic ebuild for gtk-sharp and gnome-sharp.
I successfully use them for monodevelop-4.0.12, but I'm sure they still need some work.
Comment 13 Pacho Ramos gentoo-dev 2013-08-26 07:30:07 UTC
Thanks a lot, will test them next week as I cannot download full tarballs until then
Comment 14 Leho Kraav (:macmaN @lkraav) 2013-10-27 20:53:35 UTC
Not sure if this is the 100% right spot, but net-misc/sparkleshare is moving to GTK3 and is requiring gtk-sharp >= 2.99.1. "gtk-sharp" search currently doesn't return anything other than this bug and current portage only has GTK2 slot.
Comment 15 Cynede (RETIRED) gentoo-dev 2013-10-28 11:58:30 UTC
(In reply to Leho Kraav (:macmaN @lkraav) from comment #14)
> Not sure if this is the 100% right spot, but net-misc/sparkleshare is moving
> to GTK3 and is requiring gtk-sharp >= 2.99.1. "gtk-sharp" search currently
> doesn't return anything other than this bug and current portage only has
> GTK2 slot.

Hello, I've got it in dotnet overlay. https://github.com/gentoo/dotnet/tree/master/dev-dotnet/gtk-sharp

It's possible to get it in tree but there are some is work and testing for all -sharp packages.
Comment 16 Cynede (RETIRED) gentoo-dev 2015-08-14 09:44:26 UTC
Unmasked monolithic ebuilds, waiting for conflict bugs, will resolve them as they will appear... or we will never get this done :/