Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193691 - dev-lang/mercury-0.13.1-r1 doesn't compile
Summary: dev-lang/mercury-0.13.1-r1 doesn't compile
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:
Depends on:
Blocks:
 
Reported: 2007-09-24 22:12 UTC by kaouete
Modified: 2007-12-10 20:47 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 kaouete 2007-09-24 22:12:15 UTC
I tried to compile dev-lang/mercury-0.13.1-r1 and this is what i got :

MERCURY_PROFILER=../profiler/mercury_profile MERCURY_COMPILER=../compiler/mercury_compile MERCURY_MKINIT=../util/mkinit ./make_manpage ../scripts/c2init > c2init.1
MERCURY_PROFILER=../profiler/mercury_profile MERCURY_COMPILER=../compiler/mercury_compile MERCURY_MKINIT=../util/mkinit ./make_manpage ../scripts/mmc > mmc.1
MERCURY_PROFILER=../profiler/mercury_profile MERCURY_COMPILER=../compiler/mercury_compile MERCURY_MKINIT=../util/mkinit ./make_manpage ../scripts/mgnuc > mgnuc.1
MERCURY_PROFILER=../profiler/mercury_profile MERCURY_COMPILER=../compiler/mercury_compile MERCURY_MKINIT=../util/mkinit ./make_manpage ../scripts/ml > ml.1
MERCURY_PROFILER=../profiler/mercury_profile MERCURY_COMPILER=../compiler/mercury_compile MERCURY_MKINIT=../util/mkinit ./make_manpage ../scripts/mmake > mmake.1
MERCURY_PROFILER=../profiler/mercury_profile MERCURY_COMPILER=../compiler/mercury_compile MERCURY_MKINIT=../util/mkinit ./make_manpage ../scripts/mdb > mdb.1
MERCURY_PROFILER=../profiler/mercury_profile MERCURY_COMPILER=../compiler/mercury_compile MERCURY_MKINIT=../util/mkinit ./make_manpage ../scripts/mprof > mprof.1
MERCURY_PROFILER=../profiler/mercury_profile MERCURY_COMPILER=../compiler/mercury_compile MERCURY_MKINIT=../util/mkinit ./make_manpage ../scripts/mercury_config > mercury_config.1
gmake[2]: quittant le répertoire « /var/tmp/portage/dev-lang/mercury-0.13.1-r1/work/mercury-compiler-0.13.1/doc »
cd slice && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake
gmake[2]: entrant dans le répertoire « /var/tmp/portage/dev-lang/mercury-0.13.1-r1/work/mercury-compiler-0.13.1/slice »
../scripts/mgnuc --grade hlc.gc        --      -c mslice.c -o mslice.o
mslice.c:115: erreur: ‘mercury__mslice__mslice__type_ctor_info_option_0’ undeclared here (not in a function)
mslice.c:129: erreur: ‘mercury__getopt__getopt__type_ctor_info_option_data_0’ undeclared here (not in a function)
gmake[2]: *** [mslice.o] Erreur 1
gmake[2]: quittant le répertoire « /var/tmp/portage/dev-lang/mercury-0.13.1-r1/work/mercury-compiler-0.13.1/slice »
gmake[1]: *** [slice] Erreur 2
gmake[1]: quittant le répertoire « /var/tmp/portage/dev-lang/mercury-0.13.1-r1/work/mercury-compiler-0.13.1 »
make: *** [all] Erreur 1
 *
 * ERROR: dev-lang/mercury-0.13.1-r1 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   mercury-0.13.1-r1.ebuild, line 82:   Called die
 *
 * emake stage 2 failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-lang/mercury-0.13.1-r1/temp/build.log'.
 *


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-25 06:04:29 UTC
Post your emerge --info output, please.
Comment 2 kaouete 2007-09-25 09:52:25 UTC
Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r2 i686)
=================================================================
System uname: 2.6.22-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Timestamp of tree: Fri, 21 Sep 2007 08:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr fr_FR"
PKGDIR="/usr/portage/packages/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/voip /usr/portage/local/layman/sunrise /usr/portage/local/layman/spring-unofficial /usr/portage/local/layman/springlobby /usr/local/portage"
SYNC="rsync://rsync.fi.gentoo.org/gentoo-portage"
USE="3ds X Xaw3d a52 aac aalib acl acpi adns aim allegro alsa amr asf audiofile avahi bash-completion berkdb bidi bitmap-fonts bonjour bonobo boost bzip2 bzlib cairo calendar canvas caps ccache cdb cdda cddb cdio cdparanoia cdr cegui cg chardet cli corba cracklib crypt cups curl curlwrappers daap dba dbus devil dga divx4linux djvu dnssd dri dts dv dvb dvd dvdnav dvdr dvdread dvi dxr3 edl emboss enca encode evo exif expat f2c faac faad fam fame fbcon ffmpeg firefox flac fltk font-server fortran fpx freetype ftp gcj gd gdbm geoip gif gimpprint glitz glut gmp gnet gnutls gphoto2 gpm graphviz gsm gstreamer gtk gtk2 gtkhtml guile hal hdri howl iconv icu id3 idn ilbc imagemagick imap imlib immqt-bc inkboard inkjar insecure-drivers ipv6 isdnlog jabber jack java javascript jbig jce jingle joystick jpeg jpeg2k jrtplib kde kerberos kqemu lame lcms ldap libcaca libgda libnotify linuxthreads-tls lirc live lm_sensors logitech-mouse lua lzo m17n-lib mad matroska mcal md5sum mhash midi mikmod mime mjpeg mmap mmx mmx2 mmxext mng modplug mono mozcalendar mozdevelop moznocompose moznoirc moznomail mozsvg mozxmlterm mp2 mp3 mp4 mp4live mpeg mpeg2 mpeg4 mpi mplayer msn mudflap musepack ncurses net network nls nntp no-seamonkey nptl nptlonly nsplugin nvidia objc objc++ objc-gc ode ogg oggvorbis openal openexr opengl openmp oscar oss pam pcre pdf pear perl perlsuid physfs plotutils png pnm portaudio posix ppds pppd python qt qt3 qt3support qt4 quicktime quotas rar rdesktop readline real reflection rrdtool rtc rtsp ruby samba scanner sdl session shout silc simplexml slang slp sndfile soap sockets socks5 sofia-sip softmmu sox speex spell spl sqlite srt srv sse sse2 ssl stream subtitles svg svga sysfs sysvipc t1lib tcltk tcpd tetex tga theora threads tidy tiff tokenizer trayicon truetype truetype-fonts type1-fonts uim unicode usb utf8 v4l v4l2 vcd vidix vim-syntax vlm vorbis win32codecs wma wmf wxwindows x264 x86 xanim xcomposite xhtml xine xinerama xml xml2 xmlrpc xorg xosd xpm xrandr xsl xv xvid xvmc yahoo yv12 zeroconf zip zlib zrtp" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse wacom evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Keri Harris gentoo-dev 2007-10-15 06:07:31 UTC
Thanks for the bug report!

I've updated the mercury-0.13.1-bootstrap.patch to force regeneration of slice C files when the stage1 bootstrap grade != stage2 bootstrap grade. Let me know if this fixes your compile.

Keri
Comment 4 Keri Harris gentoo-dev 2007-12-10 20:47:15 UTC
This bug was confirmed and fixed upstream. Closing.

Keri