Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182512 - dev-util/darcs-1.0.9 configure fails
Summary: dev-util/darcs-1.0.9 configure fails
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-18 21:40 UTC by Joseph Turian
Modified: 2007-10-31 01:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log that emerge crash message told me to attach (config.log,9.99 KB, text/plain)
2007-06-18 21:42 UTC, Joseph Turian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Turian 2007-06-18 21:40:41 UTC
Here is the output when I try to 'emerge world' (and update darcs):

 * darcs-1.0.9.tar.gz RMD160 ;-) ...                                                                                   [ ok ]
 * darcs-1.0.9.tar.gz SHA1 ;-) ...                                                                                     [ ok ]
 * darcs-1.0.9.tar.gz SHA256 ;-) ...                                                                                   [ ok ]
 * darcs-1.0.9.tar.gz size ;-) ...                                                                                     [ ok ]
 * checking ebuild checksums ;-) ...                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                 [ ok ]
 * checking darcs-1.0.9.tar.gz ;-) ...                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking darcs-1.0.9.tar.gz to /var/tmp/portage/dev-util/darcs-1.0.9/work
 * Applying darcs-1.0.9-bashcomp.patch ...                                                                             [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-util/darcs-1.0.9/work/darcs-1.0.9 ...
 * Running eautoreconf in '/var/tmp/portage/dev-util/darcs-1.0.9/work/darcs-1.0.9' ...
 * Running autoconf ...                                                                                                [ ok ]
 * disabling confcache, binary cannot be found
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --without-docs --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
checking for darcs... darcs
checking the release state... release
checking for x86_64-pc-linux-gnu-gcc... x86_64-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 x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ghc... ghc
configure: error: Compile failed.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/dev-util/darcs-1.0.9/work/darcs-1.0.9/config.log

!!! ERROR: dev-util/darcs-1.0.9 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  darcs-1.0.9.ebuild, line 53:   Called econf '--without-docs'
  ebuild.sh, line 578:   Called die

!!! econf 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-1.0.9/temp/build.log'.



Reproducible: Always



Expected Results:  
It should emerge properly without complaint
Comment 1 Joseph Turian 2007-06-18 21:42:29 UTC
Created attachment 122468 [details]
config.log that emerge crash message told me to attach
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-06-18 21:49:50 UTC
emerge --info please.
Comment 3 Joseph Turian 2007-06-19 00:50:43 UTC
emerge --info
Portage 2.1.2.7 (hardened/amd64, gcc-3.4.6, glibc-2.5-r3, 2.6.18-hardened-20070614.with-sata-and-security-models-and-mouse x86_64)
=================================================================
System uname: 2.6.18-hardened-20070614.with-sata-and-security-models-and-mouse x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 18 Jun 2007 21:20:01 +0000
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fforce-addr --param max-gcse-passes=8 --param max-gcse-memory=900000000"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-mtune=k8 -O2 -pipe -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org/ ftp://mirror.datapipe.net/gentoo"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X amd64 apache2 arts artworkextra async automount avahi bash-completion bcmath bcp berkdb blas bookmarks branding bzip2 cairo calendar caps cdb cdr cgi chroot cjk cli cracklib crypt cscope curl curlwrapper dbus directfb discard-path dmi exif expat fam fbcon firefox fontconfig force-cgi-redirect gcc64 gd gdbm gif glib glitz gmp gnome gnuplot gnutls gpm graphviz gs gtk hal hardened hardenedphp iconv idn imagemagick insecure-savers javascript jpeg jpeg2k justify kde lapack latex lcms libg++ libwww logmail lua mad maildir math memlimit mhash midi ming mng mp3 mpeg mysql ncurses netpbm network-cron nls nntp nsplugin numeric offensive ogg opengl pam pango patented pcre pdf perl php pic plotutils png python qt3support qt4 readline retrict-javascript rrdtool samba session sharedext speedo spell sqlite3 sse sse2 ssl suhosin svg swat sysfs syslog t1lib tcpd tetex threads tidy tiff tokenizer truetype type1 udev unicode unzip urandom userlocales utempter vhosts vorbis wmf xml xml2 xorg xprint xscreensaver xsl zip zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Duncan Coutts (RETIRED) gentoo-dev 2007-07-10 15:06:26 UTC
The salient bit of the config.log is:

configure:3225: ghc  -o conftest conftest.hs
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: conftest.o: relocation R_X86_64_32S against `stg_CAF_BLACKHOLE_info' can not be used when making a shared object; recompile with -fPIC
conftest.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
configure:3228: $? = 1
configure: failed program was:
-- #line 3220 "configure"
main = putStr "Hello world!\n"
end of failed program.
configure:3237: error: Compile failed.

ghc appears to be borked. What version of ghc do you have installed?
Ah, I notice this is a hardened system. I bet that's got something to do with it.
Comment 5 Duncan Coutts (RETIRED) gentoo-dev 2007-10-31 01:23:56 UTC
Need some response to make any progress on this issue.