First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 82254
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: dotnet <dotnet@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Navin Khumsub <s4310212@hotmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
AttrList.cs AttrList.cs file text/x-csharp Navin Khumsub 2005-02-18 01:00 0000 3.14 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 82254 depends on: Show dependency tree
Bug 82254 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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

------- Comment #1 From Carsten Lohrke 2005-02-16 08:35:54 0000 -------
Please use "New -> Gentoo Linux -> Component: Ebuilds" in future.
Infrastructure is not the correct addressee.

------- Comment #2 From Peter Johanson (RETIRED) 2005-02-17 19:49:51 0000 -------
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.

------- Comment #3 From Navin Khumsub 2005-02-18 01:00:30 0000 -------
Created an attachment (id=51493) [edit]
AttrList.cs file 

Thanks for comment, This's
/var/tmp/portage/gtk-sharp-1.0.4-r1/work/gtk-sharp-1.0.4/pango/generated/AttrList.cs

------- Comment #4 From Peter Johanson (RETIRED) 2005-02-18 08:44:08 0000 -------
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.

------- Comment #5 From Navin Khumsub 2005-02-18 17:34:25 0000 -------
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

------- Comment #6 From Peter Johanson (RETIRED) 2005-02-21 11:56:09 0000 -------
Can you give the newly commited 1.0.6 gtk-sharp and friends a try? Thanks.

------- Comment #7 From Navin Khumsub 2005-02-22 16:34:39 0000 -------
Now my version of mono is 1.0.6 and I try to emerge gtk-sharp-1.0.6 but found
same error. Thanks 

------- Comment #8 From Peter Johanson (RETIRED) 2005-02-22 17:00:35 0000 -------
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.

------- Comment #9 From Navin Khumsub 2005-02-23 18:56:47 0000 -------
Sorry, I'm newbie and how my locale set to C? Thanks

------- Comment #10 From Peter Johanson (RETIRED) 2005-02-25 08:37:09 0000 -------
do "export LANG=C" then try emerging it again.

------- Comment #11 From Navin Khumsub 2005-02-26 03:19:03 0000 -------
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

------- Comment #12 From Peter Johanson (RETIRED) 2005-02-26 12:52:33 0000 -------
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.

------- Comment #13 From Peter Johanson (RETIRED) 2005-02-28 11:20:54 0000 -------
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.

------- Comment #14 From Navin Khumsub 2005-03-01 06:54:16 0000 -------
    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


------- Comment #15 From Peter Johanson (RETIRED) 2005-03-01 16:05:48 0000 -------
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.

------- Comment #16 From Navin Khumsub 2005-03-03 07:59:59 0000 -------
Well, i've tried syncing and installing gtk-sharp again without changing LANG
to C, and now everything can work. Thanks

------- Comment #17 From Peter Johanson (RETIRED) 2005-03-03 08:28:17 0000 -------
Ok, great. Marking FXIED. Thanks.

First Last Prev Next    No search results available      Search page      Enter new bug