Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106830 - Compiling of dev-lang/ghc-6.4 fails.
Summary: Compiling of dev-lang/ghc-6.4 fails.
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: High blocker (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-21 13:28 UTC by Christian Petri
Modified: 2005-10-10 07:02 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 Christian Petri 2005-09-21 13:28:36 UTC
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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-21 13:31:15 UTC
Please, set your locale to C and post the error messages in English. Thanks.
Comment 2 Christian Petri 2005-09-21 13:44:09 UTC
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
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-09-21 13:51:27 UTC
(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
Comment 4 Christian Petri 2005-09-22 07:02:57 UTC
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
Comment 5 Harald van Dijk (RETIRED) gentoo-dev 2005-10-10 07:02:51 UTC
> 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.