LINUX.ORG.RU

darcs failed


0

0

В общем проблема простая :), не компилится darcs. Как я понимаю затык в том, что компил идет с опцией Werror, наверное есть простой путь отключить как то его для ghc. Надеюсь лоровский разум поможет мне


сам лог

emerge -v darcs
Calculating dependencies... done!

>>> Verifying ebuild manifests


>>> Emerging (1 of 1) dev-util/darcs-2.1.0-r1

* Adjusting permissions for FEATURES=ccache: '/var/tmp/ccache'
* darcs-2.1.0.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...

>>> Unpacking darcs-2.1.0.tar.gz to /var/tmp/portage/dev-util/darcs-2.1.0-r1/work

* Applying darcs-1.0.9-bashcomp.patch ... [ ok ]
* Running eautoreconf in '/var/tmp/portage/dev-util/darcs-2.1.0-r1/work/darcs-2.1.0' ...
* Running autoconf ... [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-util/darcs-2.1.0-r1/work

>>> Compiling source in /var/tmp/portage/dev-util/darcs-2.1.0-r1/work/darcs-2.1.0 ...

./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --without-manual --disable-haskeline --disable-haskell-zlib
checking for darcs... no
checking if we're in a darcs repository... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for ghc... ghc
found The Glorious Glasgow Haskell Compilation System, version 6.10.3
checking whether to profile... no
checking whether to use the threaded runtime... yes
checking GHC.Handle.openFd... NOT old API
checking GHC.Handle.openFd new API... NOT 'new' API
checking GHC.Handle.fdToHandle' API... okay

Txe
() автор топика
Ответ на: комментарий от Txe

checking for module System.Posix.Signals(installHandler, raiseSignal, Handler(..), Signal,
sigINT, sigHUP, sigABRT, sigALRM, sigTERM, sigPIPE,)... in package unix
checking siginfo.h usability... no
checking siginfo.h presence... no
checking for siginfo.h... no
checking for module Text.Regex( mkRegex, matchRegex, Regex )... no; and neither in package text
checking for module Text.Regex( mkRegex, matchRegex, Regex )... in package regex-compat
checking for module Network.URI... in package network
checking for module Network.HTTP( urlEncode )... no; and neither in package HTTP
checking for module System.FilePath... in package filepath
checking for module Test.QuickCheck( quickCheck )... in package QuickCheck
checking for module Data.ByteString.Internal( fromForeignPtr )... in package bytestring
checking whether to use ByteString... yes
checking for module System.Console.Haskeline( runInputT, defaultSettings, getInputLine, handleDyn)... no; and neither in package haskeline
checking for module System.Directory... in package directory
checking for module System.Time... in package old-time
checking for module System.Process... in package process
checking for module Data.Array.Unboxed... in package array
checking for module System.Locale... in package old-locale
checking for module Control.Monad.Error... in package mtl
checking for module Text.ParserCombinators.Parsec... in package parsec
checking for module Text.Html... in package html
checking for module Data.Map... in package containers
checking getCurrentDirectory... uses /
checking for module System.Posix.Files( createLink )... yes
checking createDirectoryIfMissing... has createDirectoryIfMissing
checking renameFile... okay
checking for module Control.Exception( bracketOnError )... yes
checking for module System.Posix.Files( fileMode, getFileStatus, setFileMode )... yes
checking for module System.Posix.Files( fileMode, getFileStatus, setFileMode, setFileCreationMask )... yes
checking whether to optimize... yes
checking whether to use Haskell Program Coverage... no
checking whether to use mmap... yes
checking whether to do PackedString debugging... no
checking whether to build manual... no
checking for sendmail... /usr/sbin/sendmail
checking for MAPISendMail in -lmapi32... no
checking for gadt type witnesses... no
checking for library z... no; and not with -lz either
./configure: line 8205: test: !=: unary operator expected
checking for libcurl... 7.19.4
checking for curl_global_init in -lcurl... yes
checking for curl_multi_timeout in -lcurl... yes
checking for libcurl pipelining... yes
checking for term.h... yes
checking for library containing tgetent... -lcurses
checking for gdiff... no
checking for gnudiff... no
checking for diff... diff
checking for makensis.exe... no
checking whether byte ordering is bigendian... no
checking for haddock... no
checking haddock version... version 0
configure: WARNING: You need haddock 2.0.0 or later to build API docs
configure: creating ./config.status
config.status: creating autoconf.mk
config.status: creating src/Autoconf.lhs
config.status: creating tools/cgi/darcs.cgi
config.status: creating tools/cgi/README
config.status: creating tools/cgi/cgi.conf
config.status: creating release/darcs.spec
config.status: executing config.command commands

The build is configured as follows:

bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
mandir = /usr/share/man
datadir = /usr/share
sysconfdir = /etc
libexecdir = ${exec_prefix}/libexec

Build Manual = no

If you want to adjust any of these values, edit autoconf.mk and
src/Autoconf.lhs -- or run configure with appropriate settings.

make -j4 -s all
[ghc] stringify
2.1.0 (release)
Rebuild dependencies ...

on the commandline:
Warning: -optdep-f is deprecated: Use -dep-makefile instead

<no location info>:
Failing due to -Werror.

make: *** [.depend] Ошибка 1
*
* ERROR: dev-util/darcs-2.1.0-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2817: Called die
* The specific snippet of code:
* emake all || die "make failed"
* The die message:
* make 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-util/darcs-2.1.0-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-util/darcs-2.1.0-r1/temp/environment'.
*

>>> Failed to emerge dev-util/darcs-2.1.0-r1, Log file:


>>> '/var/tmp/portage/dev-util/darcs-2.1.0-r1/temp/build.log'

Txe
() автор топика
Ответ на: комментарий от Txe

Поправь ебилд и в локальный оверлей.

PS Ты просто фееричен

tensai_cirno ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.