<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>55388</bug_id>
          
          <creation_ts>2004-06-28 00:18 0000</creation_ts>
          <short_desc>gtk-sharp-0.99 fails</short_desc>
          <delta_ts>2004-06-28 08:14:00 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Development</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>patrik@yes.nu</reporter>
          <assigned_to>dotnet@gentoo.org</assigned_to>
          <cc>richard.torkar@htu.se</cc>

      

      
          <long_desc isprivate="0">
            <who>patrik@yes.nu</who>
            <bug_when>2004-06-28 00:18:02 0000</bug_when>
            <thetext>make[3]: Entering directory `/var/tmp/portage/gtk-sharp-0.99/work/gtk-sharp-0.99/pango&apos;
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/* &amp;&amp;    \
/usr/bin/mono ../generator/gapi_codegen.exe --generate pango-api.xml  \
--outdir=generated --customdir=. --assembly-name=pango-sharp \
&amp;&amp; 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 &lt;0x0005d&gt; 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&apos;
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gtk-sharp-0.99/work/gtk-sharp-0.99/pango&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk-sharp-0.99/work/gtk-sharp-0.99&apos;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=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2 -march=pentium4 -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/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&quot;CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=pentium4 -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache sandbox&quot;
GENTOO_MIRRORS=&quot;http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>richard.torkar@htu.se</who>
            <bug_when>2004-06-28 03:18:08 0000</bug_when>
            <thetext>Confirmed.

I just did a &quot;emerge -u mono&quot; and then &quot;emerge -u gtk-sharp&quot; and it bailed in the exact same spot.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>latexer@gentoo.org</who>
            <bug_when>2004-06-28 04:42:22 0000</bug_when>
            <thetext>This has been reported to the gtk-sharp list, but no solutions have been proposed/found yet from what I&apos;ve seen. This seems to be upstream breakage from somewhere, if i find time i will try to dig into it</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>latexer@gentoo.org</who>
            <bug_when>2004-06-28 04:44:14 0000</bug_when>
            <thetext>While we&apos;re at it, what version of pango do you have installed? 1.4.0 is working fine here.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>richard.torkar@htu.se</who>
            <bug_when>2004-06-28 05:25:02 0000</bug_when>
            <thetext>For me it&apos;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
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>patrik@yes.nu</who>
            <bug_when>2004-06-28 05:46:18 0000</bug_when>
            <thetext>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 &apos;s/^RUNTIME.*$/RUNTIME=\/usr\/bin\/mono --optimize=loop/g&apos; $i/Makefile
done


After instructions from #mono on gimpnet.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>latexer@gentoo.org</who>
            <bug_when>2004-06-28 07:40:29 0000</bug_when>
            <thetext>Created an attachment (id=34332)
Fixed ebuild

Okay, can those who are getting this error please test this attached ebuild?
I&apos;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&apos;ll commit this fix.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>richard.torkar@htu.se</who>
            <bug_when>2004-06-28 07:54:16 0000</bug_when>
            <thetext>Works for me[tm].

Good work Peter.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cm@acc.umu.se</who>
            <bug_when>2004-06-28 08:00:58 0000</bug_when>
            <thetext>Here too, thanks :&apos;)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>latexer@gentoo.org</who>
            <bug_when>2004-06-28 08:14:00 0000</bug_when>
            <thetext>Okay, just commited that fix to CVS.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>34332</attachid>
            <date>2004-06-28 07:40 0000</date>
            <desc>Fixed ebuild</desc>
            <filename>gtk-sharp-0.99.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA0IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0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