Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35196 - gtk-sharp 0.14 doesn't build
Summary: gtk-sharp 0.14 doesn't build
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-06 06:17 UTC by Alberto Garcia Hierro (Skyhusker)
Modified: 2004-02-01 23:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto Garcia Hierro (Skyhusker) 2003-12-06 06:17:42 UTC
Reproducible:
Always

Steps to reproduce: emerge /usr/portage/x11-libs/gtk-sharp/gtk-sharp-0.14.ebuild

Short description:
After 2~3 minutes, it hangs. The las output is:
mcs --unsafe -nowarn:0660,0661 --target library         \
-r System.Drawing -r ../glib/glib-sharp.dll             \
-o pango-sharp.dll --recurse '*.cs'
Compilation succeeded

Using pstree -uc we can see three instances of mono running:

-bash
  |   |   |   `-(su,root)
  |   |   |       `-bash
  |   |   |           `-emerge /usr/bin/emerge gtk-sharp-0.14.ebuild
  |   |   |               `-sandbox /usr/sbin/ebuild.sh\040compile
  |   |   |                   `-ebuild.sh /usr/sbin/ebuild.sh compile
  |   |   |                       `-emake /usr/lib/portage/bin/emake
  |   |   |                           `-make -j1
  |   |   |                               `-sh -c ...
  |   |   |                                   `-make -C pango
  |   |   |                                       `-mcs /usr/bin/mcs --unsafe -nowarn:0660,0661 --target library -r System.Drawing -r ...
  |   |   |                                           `-mono /usr/bin/mcs.exe --unsafe -nowarn:0660,0661 --target library -r System.Drawing -r ...
  |   |   |                                               `-mono /usr/bin/mcs.exe --unsafe -nowarn:0660,0661 --target library -r System.Drawing ...
  |   |   |                                                   `-mono /usr/bin/mcs.exe --unsafe -nowarn:0660,0661 --target library -r ...

CPU is at 100%. I've waited for 20 minutes and nothing happens.


Emerge info output:
fiam@ixnay fiam $ emerge info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r9)
=================================================================
System uname: 2.4.20-gentoo-r9 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.3.10
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mfpmath=sse -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/xdvi/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -mfpmath=sse -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs fixpackages"
GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo http://gentoo.oregonstate.edu http://www.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.skynet.be/gentoo-portage/"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts tetex svga X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl cdr 3dnow acpi acpi4linux cscope dga dvd fbcon flash gd gtk2 imap innodb ipv6 java joystick lame lcms maildir mmx qtmt samba socks5 sse tiff usb vim-with-x xml xvid -gnome"
Comment 1 Todd Berman (RETIRED) gentoo-dev 2003-12-06 11:27:47 UTC
Im potentially afraid that we might be seeing some over aggressive cflags with mono, which will end up forcing us to strip some flags.

can you try recompiling mono with -O2 and the rest the same, and see what happens when you compile gtk-sharp?
Comment 2 Alberto Garcia Hierro (Skyhusker) 2003-12-06 11:47:42 UTC
I think the prob cames from USE="-gnome". Some people told me they succesfully build mono and gtk-sharp (with USE="gnome") using CFLAGS and CXXFLAGS as agressive as mine. Anyway, i'll try -O2 tomorrow.
Comment 3 Todd Berman (RETIRED) gentoo-dev 2003-12-06 12:00:16 UTC
pango-sharp doesnt require any gnome components.
Comment 4 Todd Berman (RETIRED) gentoo-dev 2004-02-01 23:02:07 UTC
can we get some status on this? i think it might be better now, and 0.15 is in cvs.