Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346451 - Stabilize dev-lang/mercury-10.04.2-r1 and dev-lang/mercury-extras-10.04.2-r1
Summary: Stabilize dev-lang/mercury-10.04.2-r1 and dev-lang/mercury-extras-10.04.2-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Keri Harris
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on: 350030
Blocks:
  Show dependency tree
 
Reported: 2010-11-22 17:30 UTC by Keri Harris
Modified: 2011-08-12 21:38 UTC (History)
0 users

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


Attachments
build.log with access violation (build.log,270.75 KB, text/plain)
2010-11-24 18:54 UTC, Thomas Kahle (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Keri Harris gentoo-dev 2010-11-22 17:30:17 UTC
Please stabilize:
=dev-lang/mercury-10.04.2-r1
=dev-lang/mercury-extras-10.04.2-r1

Be advised that on a slow machine mercury can take many hours to compile and
run through its testsuite.
Comment 1 Agostino Sarubbo gentoo-dev 2010-11-22 22:06:09 UTC
for mercury: 


 * QA Notice: make jobserver unavailable:
 * 
 * gmake[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
 * gmake[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
 * gmake[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
 * gmake[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
 * gmake[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.


is a serious error? you need the whole log?
Comment 2 Keri Harris gentoo-dev 2010-11-23 05:51:47 UTC
(In reply to comment #1)
> for mercury: 
>  * QA Notice: make jobserver unavailable:
>  * 
>  * gmake[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
<snip> 
> 
> is a serious error? you need the whole log?
> 

There exists a limitation of the Mercury boehm_gc package where it is only safe to compile single threaded. The gc Makefile includes the following comment:

# WARNING: This makefile is not safe for parallel makes.
# This makefile should only be invoked with `-j1'.
#
# (The reason parallel makes break is because of the use of constructs like
# `./if_not_there on_sparc_sunos5_so $(MAKE) dyn_load.o)' to handle
# OS-specific dependencies; this can lead to one process noticing
# a partially build dyn_load.o and trying to use it before it is
# completely built.)

Fortunately, the rest of Mercury compiles with a parallel make.
Comment 3 Agostino Sarubbo gentoo-dev 2010-11-23 09:12:48 UTC
np ;)
ok for me on amd64
Comment 4 Thomas Kahle (RETIRED) gentoo-dev 2010-11-24 18:54:39 UTC
Created attachment 255351 [details]
build.log with access violation

I'm getting an access violation:  Tests seem to try to write into root's home directory?  

This is on x86 
# emerge --info
Portage 2.1.9.24 (default/linux/x86/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.35-gentoo-r12 i686)
=================================================================
System uname: Linux-2.6.35-gentoo-r12-i686-Intel-R-_Core-TM-2_Duo_CPU_L7500_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 24 Nov 2010 09:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA nauty PUEL googleearth AdobeFlash-10.1 dlj-1.1 skype-eula"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms sign splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en en_US de ja es fr it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=180"
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="/var/lib/layman/sunrise /var/lib/layman/java-overlay /var/lib/layman/x11 /var/lib/layman/lisp /var/lib/layman/emacs /home/tom/tom-overlay /home/tom/gentoo/sci"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa anthy apache2 avahi bash-completion berkdb bluetooth branding bzip2 cairo cddb cdparanoia cdr cjk cli consolekit cracklib crypt ctype cups curl cxx daap dbus djvu dri dts dvd dvdr emacs encode exif expat fam fbcon ffmpeg firefox flac fortran ftp gd gdbm gif gimp glut gmp gnome gnome-keyring gnutls gpm graphviz gstreamer gtk guile hal hdaps iconv ieee1394 imagemagick imap imlib ipod ipv6 java javascript jpeg kde latex lcms ldap leim libnotify lm_sensors lzma m17n-lib mad migemo mikmod mime mmx mng modules mp3 mp4 mpeg mplayer mudflap mule musicbrainz mysql mysqli ncurses nls nptl nptlonly nsplugin obex ocaml ogg oggvorbis openal opengl openmp pam pango pcmcia pcre pdf perl php plasma plotutils png policykit ppds pppd python qt3support qt4 readline samba sasl sdl semantic-desktop session slang smartcard spell sqlite sqlite3 sse ssl startup-notification svg sysfs tcpd texlive theora threads tiff tk truetype uim unicode usb v4l v4l2 visualization vorbis wicd wifi win32codecs wxwindows x264 x86 xcb xcomposite xft xine xinerama xml xorg xulrunner xv xvid zeroconf zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="usb-dib0700" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US de ja es fr it" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 5 Keri Harris gentoo-dev 2010-11-25 06:03:53 UTC
(In reply to comment #4)
> I'm getting an access violation:  Tests seem to try to write into root's home
> directory?  

Thanks for the build.log. There's a mono test during configure that runs msc. It looks like that's trying to scribble outside the sandbox. I've explicitely disabled that test since we pass --disable-dotnet-grade to configure anyway.
Comment 6 Alex Buell 2010-11-26 15:42:58 UTC
Tested on SPARC, mercury passed all its tests. Testing mercury-extras at the moment.
Comment 7 Alex Buell 2010-11-26 16:59:42 UTC
mercury-extras-10.04.2-r1 has been tested OK on SPARC. It can stabilised.
Comment 8 Alex Buell 2010-11-26 16:59:48 UTC
mercury-extras-10.04.2-r1 has been tested OK on SPARC. It can stabilised.
Comment 9 Markos Chandras (RETIRED) gentoo-dev 2010-12-22 11:50:13 UTC
amd64 done. Thanks Agostino
Comment 10 Myckel Habets 2010-12-29 10:47:19 UTC
I get a failed test on x86 when USE="-java". I'll post it as a new bug.
Comment 11 Myckel Habets 2011-01-06 19:05:39 UTC
Builds fine on x86, no problems with the tests. Don't know how to test further. Please mark both stable for x86.
Comment 12 Christian Faulhammer (RETIRED) gentoo-dev 2011-01-07 22:56:47 UTC
stable x86, thanks Myckel
Comment 13 Raúl Porcel (RETIRED) gentoo-dev 2011-02-12 18:28:37 UTC
sparc keyword dropped
Comment 14 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-08-12 21:38:37 UTC
ppc keywords dropped