Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73764 - Mono-1.0.4-r1 ebuild Strips libs, Causes dotnet applications to stop working
Summary: Mono-1.0.4-r1 ebuild Strips libs, Causes dotnet applications to stop working
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
: 73765 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-08 01:02 UTC by Greg Bowyer
Modified: 2005-01-12 06:42 UTC (History)
1 user (show)

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 Greg Bowyer 2004-12-08 01:02:09 UTC
The current mono ebuild strips not only its own binaries but also the CLR lib images. The CLR lib images are not elf files and thus strip fudges these libs making them unusable for .net programs

Reproducible: Always
Steps to Reproduce:
1. :) FEATURES="-nostrip" emerge mono
2. Run any mono application eg mcs, monodoc, muine etc
3. Watch it die

Actual Results:  
Error messages similer to 
** (/usr/lib/mono/1.0/mcs.exe:14751): WARNING **: Could not find assembly
System, references from /usr/lib/mono/1.0/mcs.exe (assemblyref_index=1)
     Major/Minor: 1,0
     Build:       5000,0
     Token:       b77a5c561934e089
System error: No such file or directory


Expected Results:  
For the application to work

The best workaround is to use FEAURES="nostrip" when emerging mono (or to set
nostrip off in make.conf
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-12-08 01:45:28 UTC
*** Bug 73765 has been marked as a duplicate of this bug. ***
Comment 2 Peter Johanson (RETIRED) gentoo-dev 2004-12-08 06:35:21 UTC
Not really sure why you are having this problem, as I definitely *don't* have FEATURES="nostrip" and mono, etc still work. Can you please add the output of "emerge info" to this bug?
Comment 3 Greg Bowyer 2004-12-09 01:48:55 UTC
Not sure why this is happening since strip should ignore anythin that isn't an elf file my ebuild info is

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1,
 2.6.9-skas3-v7 i686)
=================================================================
System uname: 2.6.9-skas3-v7 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fprefetch-loop-arrays -fomit-frame-pointer -m
mmx -msse -funroll-loops"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/shar
e/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipd
fm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /
usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/lib/jboss /var/qm
ail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fprefetch-loop-arrays -fomit-frame-pointer
-mmmx -msse -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks notitles sandbox sfperms"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp:/
/ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage-local /usr/portage-bmg"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="S3TC X X509 aac accounting acl adns alsa altcolors apache2 arts audiofile a
vi bash-completion bcmath berkdb bitmap-fonts blas bonobo bzlib cairo canna cap
caps cdparanoia cdr chroot clamav cln cmucl codecs cpdflib crypt cscope ctype cu
ps curl curlwrappers db2 dba dbase dbcp dbm dbmaker dbx dga dhcp dio distcache d
istribution divx4linux djbfft dmx dnd doc dvd dvdread edl eds empress empress-bc
s encode erandom esoob ethereal evo examples exif extensions faac faad fam fastc
gi fbcon ffmpeg fftw filepro flac flash flatfile foomaticdb fortran freetds freetts freetype frontbase ftp fusion gcj gd gdbm geoip gif gimp gimpprint ginac glade glgd glitz glut gmp gmtfull gmthigh gmtsuppl gmttria gnome gnomedb gpm gs gsl gstreamer gtk gtk2 gtkhtml hal hdf hdf5 hyperwave-api icc icc-pgo icq icu idl ifc image imagemagick imap imlib immqt-bc informix ingres inifile innodb interbase iodbc ipv6 ithreads j2ee jack java javacomm javamail javascript jboss jce jikes jit jms jmx jp2 jpeg jpeg2k jta junit jython kde kdexdeltas kerberos krb4 ladcca latex lcms ldap lesstif libcaca libg++ libgda libwww live ltsp lua lufsusermount lzo mad maps matroska mcve mdb memlimit messages mhash mikmod mime ming mixer mmap mmx mng mono motif mozdevelop mozilla moznoirc moznomail mozp3p mozsvg mp3 mpeg mpeg4 mpi mplayer msession msn msql mssql music mysql mysqli native ncurses net netbeans network neural nis nls no_wxgtk1 nptl ntlm nvidia oav objc oci8odbc offensive oggvorbis openal opengl openssh oracle oracle7 orathreads ospfapi oss ovrimos pam pcap pcmcia pcntl pcre pdf pdflib perl pg-hier pg-intdatetime pg-vacuumdelay php physfs pic plotutils png posix postgres ppds print pthreads python qemu-fast qhull qt quicktime readline recode rhino rtc ruby samba sapdb sasl sdl serial servlet-2.3 servlet-2.4 session shared sharedmem simplexml skey slang slp smime sndfile soap sockets softmmu softquota solid sounds speex spell spl sqlite sse ssl stroke struts svg svga sybase sybase-ct sysvipc szip tcltk tcpdtcpmd5 tcsim tetex theora threads tidy tiff transcode truetype truetype-fonts trusted type1-fonts uml unicode usagi usb videos vim vim-with-x wddx wmf wxwindows x86 xbase xchatdccserver xchattext xine xinerama xml xml2 xmlrpc xosd xpm xprint xrandr xscreensaver xsl xv xvid xvmc yv12 zlib"

I only put the nostip on for working with dotnet builds
Comment 4 Peter Johanson (RETIRED) gentoo-dev 2004-12-20 17:22:32 UTC
I currently have sys-devel/binutils-2.15.90.0.1.1-r3 installed and do not exprience this, can you please try that version of binutils? Thanks.
Comment 5 Peter Johanson (RETIRED) gentoo-dev 2005-01-04 19:40:45 UTC
Marking NEEDINFO, pending more information. Please feel free to re-open when you've got more info on binutils versions tried. Thanks.
Comment 6 Greg Bowyer 2005-01-12 05:07:46 UTC
Unfortunaly I have had a harddisk accident ovber christmas and I am rebuilding my box
Comment 7 Peter Johanson (RETIRED) gentoo-dev 2005-01-12 06:42:39 UTC
Sorry to hear. ):

Well, leaving as RESOLVED NEEDINFO, please feel free to re-open if you continue to have the problem after you get your box back up.