Bug 55388 - gtk-sharp-0.99 fails
|
Bug#:
55388
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: dotnet@gentoo.org
|
Reported By: patrik@yes.nu
|
|
Component: Development
|
|
|
URL:
|
|
Summary: gtk-sharp-0.99 fails
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-06-28 00:18 0000
|
make[3]: Entering directory
`/var/tmp/portage/gtk-sharp-0.99/work/gtk-sharp-0.99/pango'
cp ./pango-api.raw pango-api.xml
chmod u+w pango-api.xml
/usr/bin/mono ../parser/gapi-fixup.exe --api=pango-api.xml
--metadata=./Pango.metadata
rm -f generated/* && \
/usr/bin/mono ../generator/gapi_codegen.exe --generate pango-api.xml \
--outdir=generated --customdir=. --assembly-name=pango-sharp \
&& touch generated-stamp
Name: pattern Type: FcPattern* in callback PangoFT2SubstituteFunc ****
Stubbing it out ****
Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
in <0x0005d> GtkSharp.Generation.ClassBase:GenMethods
(GtkSharp.Generation.GenerationInfo,System.Collections.Hashtable,GtkSharp.Generation.ClassBase)
make[3]: *** [generated-stamp] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gtk-sharp-0.99/work/gtk-sharp-0.99/pango'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gtk-sharp-0.99/work/gtk-sharp-0.99/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gtk-sharp-0.99/work/gtk-sharp-0.99'make: *** [all] Error 2
!!! ERROR: x11-libs/gtk-sharp-0.99 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! (no error message)
emerge info:
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-gentoo-r5)
=================================================================
System uname: 2.6.7-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi alsa amd apache2 avi berkdb bindist bonobo cddb cdr chroot
clamav client crypt cups curl dga divx4linux dnd encode esd evo faac faad
ffmpeg flac flash foomaticdb freetype fs gb gd gdbm geoip gif gimp gimpprint
gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml i8x0 icq imagemagick imap
imlib imlib2 irmc jabber java javascript jp2 jpeg ldap libg++ libwww live mad
matroska mdb mikmod mmx mng mono motif mozcalendar mozilla moznocompose
moznoirc moznomail mozp3p mozsvg mozxmlterm mpeg mpeg4 mplayer msn mysql nas
ncurses net nls ntlm nvidia oav offensive oggvorbis openal opengl operanom2
oscar oss pam passfile pdflib perl png pnp ppds python quicktime quotes
readline samba sasl sdl silc slang slp snmp speex spell sse ssl svg svga theora
tiff truetype type1 unicode usb v4l v4l2 vim-with-x virus-scan wmf wxwin
wxwindows x86 xforms xml2 xosd xprint xv xvid zlib"
Confirmed.
I just did a "emerge -u mono" and then "emerge -u gtk-sharp" and it bailed in the exact same spot.
This has been reported to the gtk-sharp list, but no solutions have been
proposed/found yet from what I've seen. This seems to be upstream breakage from
somewhere, if i find time i will try to dig into it
While we're at it, what version of pango do you have installed? 1.4.0 is
working fine here.
For me it's:
tux ~$ emerge -p pango
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] x11-libs/pango-1.4.0
Fixed..
Added to src_compile():
for i in . art atk doc gda vte glib rsvg gconf gnome sources generator gnomedb parser gtkhtml gdk gtk glade pango; do
sed -i -e 's/^RUNTIME.*$/RUNTIME=\/usr\/bin\/mono --optimize=loop/g' $i/Makefile
done
After instructions from #mono on gimpnet.
Created an attachment (id=34332) [details]
Fixed ebuild
Okay, can those who are getting this error please test this attached ebuild?
I've moved the sed fix to doing it in ${S}/configure, so it then just
propogates to all the makefiles that are generated. Report back success and
i'll commit this fix.
Works for me[tm].
Good work Peter.
Okay, just commited that fix to CVS.