Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254158 - >=dev-lang/mono-1.2.5.1-r1 fails to build
Summary: >=dev-lang/mono-1.2.5.1-r1 fails to build
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-07 21:50 UTC by silent
Modified: 2009-01-27 08:27 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,482.09 KB, text/plain)
2009-01-08 00:15 UTC, silent
Details
emerge --info (info.txt,3.19 KB, text/plain)
2009-01-08 13:36 UTC, silent
Details
build.log for latest mono (build.log,152.95 KB, text/plain)
2009-01-08 13:54 UTC, silent
Details
x86, mono-1.2.5.1-r1, build.log (build.log,498.62 KB, text/plain)
2009-01-14 22:11 UTC, silent
Details
x86, mono-1.2.5.1-r1, elibtool.log (elibtool.log,231 bytes, text/plain)
2009-01-14 22:11 UTC, silent
Details
x86, mono-1.2.5.1-r1, environment (environment,109.92 KB, text/plain)
2009-01-14 22:11 UTC, silent
Details
x86, mono-2.0.1-r1, build.log (build.log,154.54 KB, text/plain)
2009-01-14 22:25 UTC, silent
Details
x86, mono-2.0.1-r1, environment (environment,114.19 KB, text/plain)
2009-01-14 22:25 UTC, silent
Details

Note You need to log in before you can comment on or make changes to this bug.
Description silent 2009-01-07 21:50:25 UTC
I can't emerge tomboy on my amd64 machine cause of buzz due mono compilation.

Reproducible: Always

Steps to Reproduce:
1. emerge tomboy
Actual Results:  
At the mono compilation:

make[5]: Entering directory `/var/tmp/portage/dev-lang/mono-2.0.1-r1/work/mono-2.0.1/mcs'
make[6]: *** [build/deps/basic-profile-check.exe] Error 1
make[6]: Entering directory `/var/tmp/portage/dev-lang/mono-2.0.1-r1/work/mono-2.0.1/mcs'
*** The compiler 'false' doesn't appear to be usable.
*** Trying the 'monolite' directory.
make[7]: Entering directory `/var/tmp/portage/dev-lang/mono-2.0.1-r1/work/mono-2.0.1/mcs'

And buzz.

Expected Results:  
Emerged tomboy :)

I tried at least 3 different versions of mono with the same end.

Sorry for my bad english.
Comment 1 silent 2009-01-07 21:52:24 UTC
silentnote home # emerge --info

Portage 2.1.6.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-x86_64-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-glibc2.2.5
Timestamp of tree: Wed, 07 Jan 2009 19:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles"
LANG="C"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/bobrik-cleartype"
SYNC="rsync://rsync.mirror.yandex.ru/gentoo-portage/"
USE="X a52 aac acl acpi alsa amd64 beagle berkdb bluetooth bzip2 cairo cli cracklib crypt cups dbus dri dvb dvd exif fam ffmpeg flac fortran fuse gdbm gif gnome gnome-keyring gphoto2 gstreamer gtk hal iconv isdnlog jpeg jpeg2k libnotify lzma mad midi mmx mp3 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly nsplugin opengl openmp pam pcre perl png pppd python readline reflection samba session spl sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype unicode xcomposite xml xorg xulrunner xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="samsung" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-01-07 22:43:35 UTC
mono ain't gnome, thanks for understanding.

please also provide tomboy version and build.log as said in emerge's output.
Comment 3 silent 2009-01-07 23:48:21 UTC
app-misc/tomboy-0.10.2
>=dev-lang/mono-1.2.5.1-r1 (all versions do buzz at the same moment)

Build log I'll attach in next ten minutes.

P.S. in what component I have to move this ticket? =)
Comment 4 silent 2009-01-08 00:15:36 UTC
Created attachment 177725 [details]
build.log

build.log of mono-1.2.5.1-r1

I wait about 10 minutes, but nothing is changed =(
Comment 5 silent 2009-01-08 10:39:44 UTC
full rebuild (emerge -e world) is not helping with this problem.
Comment 6 Peter Alfredsen (RETIRED) gentoo-dev 2009-01-08 11:02:03 UTC
(In reply to comment #5)
> full rebuild (emerge -e world) is not helping with this problem.
> 

Please attach the build.log from mono-2.0.1-r1 and your emerge --info output?
Comment 7 silent 2009-01-08 13:36:22 UTC
Created attachment 177750 [details]
emerge --info
Comment 8 silent 2009-01-08 13:54:34 UTC
Created attachment 177753 [details]
build.log for latest mono
Comment 9 Peter Alfredsen (RETIRED) gentoo-dev 2009-01-08 15:01:47 UTC
The built mono compiler is failing a basic check, compiling this programme:
class X { static int Main () { return 0; } }
I think first we want to make sure that this is not a manifestation of bug 249711:
      How much ram do you have? How much swap?
      Do you already have a version of mono installed?
      If yes, emerge -C mono&&emerge mono.

Also, please attach /var/tmp/portage/dev-lang/mono-2.0.1-r1/temp/environment
Comment 10 silent 2009-01-08 21:50:03 UTC
No, I have no mono installed.
I have 1 GB RAM and 2 GB swap partition.

I can attach environment in a day or two cause I'm not at home now.
Comment 11 silent 2009-01-09 03:41:26 UTC
O.o the same buzz on my x86
at least with mono-1.2.5.1-r1

with [top] I can see that [mono] process eating 100% of my CPU in this time, but nothing on my display after 15 minutes waiting after the same 'mcs' monolite.
Comment 12 silent 2009-01-14 22:11:14 UTC
Created attachment 178521 [details]
x86, mono-1.2.5.1-r1, build.log
Comment 13 silent 2009-01-14 22:11:27 UTC
Created attachment 178523 [details]
x86, mono-1.2.5.1-r1, elibtool.log
Comment 14 silent 2009-01-14 22:11:39 UTC
Created attachment 178525 [details]
x86, mono-1.2.5.1-r1, environment
Comment 15 silent 2009-01-14 22:13:23 UTC
x86, not latest mono log files attached.
now I'll try to build latest mono and do the same.
Comment 16 silent 2009-01-14 22:25:25 UTC
Created attachment 178528 [details]
x86, mono-2.0.1-r1, build.log
Comment 17 silent 2009-01-14 22:25:38 UTC
Created attachment 178529 [details]
x86, mono-2.0.1-r1, environment
Comment 18 silent 2009-01-14 22:26:03 UTC
So, all what you need is attached.
Comment 19 Peter Alfredsen (RETIRED) gentoo-dev 2009-01-14 22:58:32 UTC
Right now, I don't know what's causing your build to fail. We'll probably have to start guessing a bit. 
The overlay I see, bobrik-cleartype, do both computers use that? Anything else that's common for both computers? Be verbose and consider the possibilities. 

Bug 196314 looks a lot like this. There the problem was with sandbox.
To test this, try:
emerge -1 sandbox; emerge mono
OR
FEATURES="-sandbox" emerge mono
Comment 20 silent 2009-01-14 23:41:21 UTC
Both computers are the same configuration, but one of it is amd64 for experiment.
Both computers using bobrik-cleartype overlay. It has several ebuilds for the font antialiasing (patched cairo, libXft and freetype packages).

FEATURES="-sandbox" emerge mono
and
emerge -1 sandbox; emerge mono

doesn't help =(
Comment 21 silent 2009-01-15 00:32:34 UTC
I am with Gentoo about a year and it was no problems before with mono.
It happens after full reinstall my system from stage3.

Maybe something wrong in kernel config?
Comment 22 silent 2009-01-16 22:50:29 UTC
And no result with ACCEPT_KEYWORDS="~x86"
Comment 23 Peter Alfredsen (RETIRED) gentoo-dev 2009-01-16 23:15:54 UTC
(In reply to comment #21)
> I am with Gentoo about a year and it was no problems before with mono.
> It happens after full reinstall my system from stage3.
> 
> Maybe something wrong in kernel config?

I know you can get it to fail in strange ways if you omit installing the PROC filesystem.
Comment 24 silent 2009-01-17 01:17:09 UTC
#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_PROC_VMCORE=y
CONFIG_PROC_SYSCTL=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_CONFIGFS_FS is not set
Comment 25 silent 2009-01-27 08:27:49 UTC
Switched to ugly Ubuntu, sorry