You are not logged in.

#1 2005-12-28 14:32:09

Alexo
Member
From: near a cup of coffee
Registered: 2005-06-27
Posts: 90

riot makepkg problem

Dounloaded and decompressed riot tarball to my /var/abs/local.
Then inside riot dir I did

# makepkg -Sc

missing dependency ghc was downloaded and installed. But something went wrong:

==> Retrieving Sources...
==>     Using local copy of riot-1ds-20041005.tar.gz
==> Validating source files with MD5sums
    riot-1ds-20041005.tar.gz ... Passed
==> Extracting Sources...
==>     tar --use-compress-program=gzip -xf riot-1ds-20041005.tar.gz
==> Removing existing pkg/ directory...
==> Starting build()...
set -e; for i in ginsu; do make -C $i; done
make[1]: Entering directory `/var/abs/local/riot/src/riot-1ds-20041005/ginsu'
ghc -DHAVE_NCURSES_H=1 -DCF_CHARSET_SUPPORT -DCF_WCHAR_SUPPORT -cpp -fglasgow-exts -package posix -package lang -i.. -i../ginsu -I. -#include hs_include.h -c nomacro.c -o nomacro.o
In file included from my_curses.h:12,
                 from nomacro.h:4,
                 from nomacro.c:1:
/usr/lib/ghc-6.4.1/include/config.h:4:2: warning: #warning config.h is deprecated; please use ghcconfig.h instead
hsc2hs -DHAVE_NCURSES_H=1 -DCF_CHARSET_SUPPORT -DCF_WCHAR_SUPPORT CWString.hsc -o CWString.hs
ghc -DHAVE_NCURSES_H=1 -DCF_CHARSET_SUPPORT -DCF_WCHAR_SUPPORT -cpp -fglasgow-exts -package posix -package lang -i.. -i../ginsu -I. -#include hs_include.h -c CWString_hsc.c -o CWString_hsc.o
hsc2hs -DHAVE_NCURSES_H=1 -DCF_CHARSET_SUPPORT -DCF_WCHAR_SUPPORT Curses.hsc -o Curses.hs
In file included from my_curses.h:12,
                 from Curses.hsc:138:
/usr/lib/ghc-6.4.1/include/config.h:4:2: warning: #warning config.h is deprecated; please use ghcconfig.h instead
ghc -DHAVE_NCURSES_H=1 -DCF_CHARSET_SUPPORT -DCF_WCHAR_SUPPORT -cpp -fglasgow-exts -package posix -package lang -i.. -i../ginsu -I. -#include hs_include.h -c Curses_hsc.c -o Curses_hsc.o
In file included from my_curses.h:12,
                 from Curses.hsc:138,
                 from Curses_hsc.c:1:
/usr/lib/ghc-6.4.1/include/config.h:4:2: warning: #warning config.h is deprecated; please use ghcconfig.h instead
hsc2hs -DHAVE_NCURSES_H=1 -DCF_CHARSET_SUPPORT -DCF_WCHAR_SUPPORT Locale.hsc -o Locale.hs
ghc -DHAVE_NCURSES_H=1 -DCF_CHARSET_SUPPORT -DCF_WCHAR_SUPPORT -cpp -fglasgow-exts -package posix -package lang -i.. -i../ginsu -I. -#include hs_include.h -c Locale.hs -o Locale.o

Locale.hsc:1:0:
    conflict: module `Locale' belongs to the current program/library
    and also to package haskell98-1.0
make[1]: *** [Locale.o] Error 1
rm CWString_hsc.c Curses.hs Curses_hsc.c Locale.hs CWString.hs
make[1]: Leaving directory `/var/abs/local/riot/src/riot-1ds-20041005/ginsu'
make: *** [subdirs] Error 2
==> ERROR: Build Failed.  Aborting...

How do I tackle this?

Offline

Board footer

Powered by FluxBB