Bug 82254 - Error found while I try to emerge gtk-sharp-1.0.4-r1
|
Bug#:
82254
|
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: s4310212@hotmail.com
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: Error found while I try to emerge gtk-sharp-1.0.4-r1
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-02-16 08:17 0000
|
I try to emerge gtk-sharp 1.0.4-r1 but it have error
cp ../gtk-sharp.snk .
/usr/bin/mcs /unsafe /out:pango-sharp.dll /target:library /r:../glib/glib-sharp.dll ./Scale.cs AssemblyInfo.cs generated/*.cs
generated/AttrList.cs(64) error CS0246: Cannot find type `PangoSharpPangoSharp.AttrFilterFuncNative'
Compilation failed: 1 error(s), 0 warnings
make[3]: *** [pango-sharp.dll] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtk-sharp-1.0.4-r1/work/gtk-sharp-1.0.4/pango'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gtk-sharp-1.0.4-r1/work/gtk-sharp-1.0.4/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk-sharp-1.0.4-r1/work/gtk-sharp-1.0.4'
make: *** [all] Error 2
what should I do to fix this?
thanks
Reproducible: Always
Steps to Reproduce:
1. emerge gtk-sharp-1.0.4-r1
2.
3.
Actual Results:
generated/AttrList.cs(64) error CS0246: Cannot find type
`PangoSharpPangoSharp.AttrFilterFuncNative'
Compilation failed: 1 error(s), 0 warnings
make[3]: *** [pango-sharp.dll] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gtk-sharp-1.0.4-r1/work/gtk-sharp-1.0.4/pango'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gtk-sharp-1.0.4-r1/work/gtk-sharp-1.0.4/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gtk-sharp-1.0.4-r1/work/gtk-sharp-1.0.4'
make: *** [all] Error 2
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 10 2005, 19:35:08)]
dev-lang/python: 2.3.4-r1
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3
sys-devel/binutils: 2.15.92.0.2-r1
sys-devel/libtool: 1.5.10-r4
virtual/os-headers: 2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="th_TH.tis620"
LC_ALL="th_TH.tis620"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd encode esd
f77 fam font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2
imagemagick imlib ipv6 java jpeg junit libg++ libwww mad mikmod motif mozilla
mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime
readline ruby samba sdl spell ssl svga tcltk tcpd tiff truetype truetype-fonts
type1-fonts xml2 xmms xv zlib"
Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Please use "New -> Gentoo Linux -> Component: Ebuilds" in future.
Infrastructure is not the correct addressee.
Can you please attach the file
/var/tmp/portage/gtk-sharp-1.0.4-r1/work/gtk-sharp-1.0.4/pango/generated/AttrList.cs
(i may have the exact path wrong, so you may have to dig the slightest) to this
bug? It seems to me that the code generator is generating things incorrectly,
and I'd like to see what all it's doing wrong there. Thanks.
Hrm.. very odd. What version of mono are you using? Also, do previous versions
(gtk-sharp-1.0.4 or even older) work for you? The gapi generator is definitely
generating that one type decleration wrong, just not sure why it would be doing
that. Thanks.
version of mono is 1.0.5 and I try to emerge gtk-sharp previous versions
(1.0.4, 1.0.2)but found same error. Thanks
Can you give the newly commited 1.0.6 gtk-sharp and friends a try? Thanks.
Now my version of mono is 1.0.6 and I try to emerge gtk-sharp-1.0.6 but found
same error. Thanks
Hrm, can you maybe try with your locale set to C? I don't think the locale
stuff should mess with it, but give it a shot anyway. Thanks.
Sorry, I'm newbie and how my locale set to C? Thanks
do "export LANG=C" then try emerging it again.
I do export LANG=C and try to emerge gtk-sharp but found this error
make all-recursive
make[1]: Entering directory `/var/tmp/portage/gtk-sharp-1.0.6/work/gtk-sharp-1.0.6'
Making all in sources
make[2]: Entering directory `/var/tmp/portage/gtk-sharp-1.0.6/work/gtk-sharp-1.0.6/sources'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/gtk-sharp-1.0.6/work/gtk-sharp-1.0.6/sources'
Making all in generator
make[2]: Entering directory `/var/tmp/portage/gtk-sharp-1.0.6/work/gtk-sharp-1.0.6/generator'
/usr/bin/mcs /out:gapi_codegen.exe ./AliasGen.cs ./BoxedGen.cs ./ByRefGen.cs ./CallbackGen.cs ./ChildProperty.cs ./ClassBase.cs ./ClassGen.cs ./CodeGenerator.cs ./ConstStringGen.cs ./Ctor.cs ./EnumGen.cs ./Field.cs ./GenBase.cs ./GenerationInfo.cs ./GObjectGen.cs ./IGeneratable.cs ./ImportSignature.cs ./InterfaceGen.cs ./LPGen.cs ./LPUGen.cs ./ManagedCallString.cs ./ManualGen.cs ./MarshalGen.cs ./MethodBase.cs ./MethodBody.cs ./Method.cs ./ObjectGen.cs ./OpaqueGen.cs ./Parameters.cs ./Parser.cs ./Property.cs ./ReturnValue.cs ./Signal.cs ./SignalHandler.cs ./Signature.cs ./SimpleBase.cs ./SimpleGen.cs ./Statistics.cs ./StringGen.cs ./StructBase.cs ./StructGen.cs ./SymbolTable.cs ./VirtualMethod.cs ./VMSignature.cs
/usr/bin/mono: error while loading shared libraries: libicui18n.so.28: cannot open shared object file: No such file or directory
make[2]: *** [gapi_codegen.exe] Error 127
make[2]: Leaving directory `/var/tmp/portage/gtk-sharp-1.0.6/work/gtk-sharp-1.0.6/generator'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk-sharp-1.0.6/work/gtk-sharp-1.0.6'
make: *** [all] Error 2
!!! ERROR: dev-dotnet/gtk-sharp-1.0.6 failed.
!!! Function src_compile, Line 52, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Thanks
The library "icu" just got bumped in portage a while ago, which unfortunately
usually breaks mono. Please re-emerge mono, then try again with the LANG=C
stuff. Thanks.
Well, i've tried installing gtk-sharp using your (Thai?) locale, and lo and
behold it fails misserably here. This definitely seems to be locale related,
and is either mono or gtk-sharp's fault.
Waiting to hear back if it works for you there with LANG=C, in which case i'll
add a fix to the *-sharp ebuilds to use that locale while building.
Well, i'm using mono-1.1.4 and i've tried installing gtk-sharp-1.0.6 with
LANG=C, and now everything can work. Thank you for your help very much Peter
I just wonder that sometimes when I've finish update world, it appear
"perform global update" or something like that about portage. What does it
mean? and what should I do? Thanks
I've just fixed the ebuilds in portage to override LANG when compiling, so can
you please try syncing and installing gtk-sharp again without changing LANG to
C just to confirm this works for you? Thanks.
As to the perform global updates, that's probably related ot needing to run
fixpackages, or somesuch. I suggest searching the forums for more info.
Leaving open for now awaiting confirmation of fix. Thanks.
Well, i've tried syncing and installing gtk-sharp again without changing LANG
to C, and now everything can work. Thanks
Ok, great. Marking FXIED. Thanks.