Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 146223

Summary: illegal compiler flags in dev-util/darcs-1.0.8
Product: Gentoo Linux Reporter: Stephen Horner <Protocol.X>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stephen Horner 2006-09-04 00:13:03 UTC
I'm getting the following error in =dev-util/darcs-1.0.8

[code]
config.status: creating autoconf.mk
config.status: creating gitlib.h
config.status: creating Autoconf.lhs
config.status: creating ThisVersion.lhs
config.status: creating cgi/darcs.cgi
config.status: creating cgi/README
config.status: creating cgi/cgi.conf
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
    Git support     = no

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

rm -f Main.hi Main.o
ghc -cpp  -package QuickCheck -package parsec -package unix -O -funbox-strict-fields  -Wall -Werror -I. -DHAVE_CURSES -DHAVE_CURL -optl-Wl,-O1 -optl-Wl,--sort-common -optl-L/usr/lib -optl-lcurl -optl-Wl,-O1 -optl-Wl,--sort-common -optl-L/usr/lib -optl-lssl -optl-lcrypto -optl-ldl -optl-lz -optl-lcurses -o stringify stringify.hs
gcc: unrecognized option '-nopie'
cc1: error: unrecognized command line option "-fno-stack-protector-all"
make: *** [stringify] Error 1

!!! ERROR: dev-util/darcs-1.0.8 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  darcs-1.0.8.ebuild, line 45:   Called die
[/code]

Thanks for your time.

VoidEngineer
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-04 00:17:25 UTC

*** This bug has been marked as a duplicate of 129891 ***