If I want to emerge dev-lang/ghc-6.4 it fails! Reproducible: Always Steps to Reproduce: 1. emerge ghc Actual Results: Compiling fails with an error. ../../ghc/compiler/ghc-inplace -H16m -O -optc-nopie -optc-fno-stack-protector -optc-fno-stack-protector-all -Wall -fffi -Iinclude '-#include "HsOpenAL.h"' -cpp -DCALLCONV=ccall -ignore-package OpenAL -O -Rghc-timing -fgenerics -package base -package OpenGL -fgenerics -c Sound/OpenAL/ALC/Context.hs -o Sound/OpenAL/ALC/Context.o -ohi Sound/OpenAL/ALC/Context.hi /var/tmp/portage/ghc-6.4/temp/ghc31452.hc: In function `s30a_ret': /var/tmp/portage/ghc-6.4/temp/ghc31452.hc:522: Fehler: void-Wert nicht ignoriert wie es sein sollte /var/tmp/portage/ghc-6.4/temp/ghc31452.hc: In function `s30d_ret': /var/tmp/portage/ghc-6.4/temp/ghc31452.hc:562: Fehler: void-Wert nicht ignoriert wie es sein sollte <<ghc: 129708160 bytes, make[2]: *** [Sound/OpenAL/ALC/Context.o] Speicherzugriffsfehler make[1]: *** [all] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/ghc-6.4/work/ghc-6.4/libraries' make: *** [build] Fehler 1 !!! ERROR: dev-lang/ghc-6.4 failed. !!! Function src_compile, Line 168, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Compile Portage 2.0.52-r1 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo-r1 x86_64) ================================================================= System uname: 2.6.13-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.0_pre8 dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aac aalib ada alsa apache2 arts avi bash-completion berkdb big-tables bitmap-fonts browserplugin bzip2 cdr cgi cli crypt css cups curl dba dvb dvd dvdr dvdread eds emacs emboss encode esd fam ffmpeg flac foomaticdb fortran ftp gcj gd gdbm gif gnome gpm graphviz gstreamer gtk gtk2 haskell ieee1394 imagemagick imap imlib ipv6 java javascript jbig jpeg jpeg2k kde largeterminal libwww logitech-mouse lzw lzw-tiff mad mcal mikmod mozilla mp3 mpeg musicbrainz mysql mysqli ncurses nls nntp nvidia ogg oggvorbis opengl pam pascal pcre pdflib pear perl php png python qt quicktime readline real ruby scanner sdl snmp socks5 spell sql sqlite ssl subversion svg tcltk tcpd theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales v412 v4l vcd visualization vorbis xemacs xine xinerama xml xml2 xmms xpm xv xvid zip zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Please, set your locale to C and post the error messages in English. Thanks.
Set my locale to C? How o.O? I don't know much about this locale thing. Btw: void-Wert nicht ignoriert = void-value not ignored Speicherzugriffsfehler = segmentation fault
(In reply to comment #2) > Set my locale to C? How o.O? I don't know much about this locale thing. echo LC_MESSAGES=\"C\" >> /etc/env.d/02locale && env-update
I've done what you said but same error: Sound/OpenAL/ALC/Device.hs:77:9: Warning: Defined but not used: `ptr' <<ghc: 84292992 bytes, 18 GCs, 3019506/6491112 avg/max bytes residency (3 samples), 20M in use, 0.00 INIT (0.00 elapsed), 0.26 MUT (0.80 elapsed), 0.15 GC (0.18 elapsed) :ghc>> ../../ghc/compiler/ghc-inplace -H16m -O -optc-nopie -optc-fno-stack-protector -optc-fno-stack-protector-all -Wall -fffi -Iinclude '-#include "HsOpenAL.h"' -cpp -DCALLCONV=ccall -ignore-package OpenAL -O -Rghc-timing -fgenerics -package base -package OpenGL -fgenerics -c Sound/OpenAL/ALC/Context.hs -o Sound/OpenAL/ALC/Context.o -ohi Sound/OpenAL/ALC/Context.hi /var/tmp/portage/ghc-6.4/temp/ghc25954.hc: In function `s30a_ret': /var/tmp/portage/ghc-6.4/temp/ghc25954.hc:522: Fehler: void-Wert nicht ignoriert wie es sein sollte /var/tmp/portage/ghc-6.4/temp/ghc25954.hc: In function `s30d_ret': /var/tmp/portage/ghc-6.4/temp/ghc25954.hc:562: Fehler: void-Wert nicht ignoriert wie es sein sollte <<ghc: 129708160 bytes, make[2]: *** [Sound/OpenAL/ALC/Context.o] Speicherzugriffsfehler make[1]: *** [all] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/ghc-6.4/work/ghc-6.4/libraries' make: *** [build] Fehler 1
> LANG="de_DE.utf8" > LC_ALL="de_DE.utf8" LC_ALL overrides everything else, including LC_MESSAGES. The only way to override it is to set LC_ALL itself to something different. You can temporarily override LC_ALL with `export LC_ALL=C`, and then try again.