Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: [gold] configure: error: curses library not found, so this package cannot be
built
https://bugzilla.redhat.com/show_bug.cgi?id=635581
Summary: [gold] configure: error: curses library not found, so
this package cannot be built
Product: Fedora
Version: rawhide
Platform: All
OS/Version: Linux
Status: NEW
Severity: medium
Priority: low
Component: ghc
AssignedTo: petersen(a)redhat.com
ReportedBy: mnowak(a)redhat.com
QAContact: extras-qa(a)fedoraproject.org
CC: petersen(a)redhat.com, bos(a)serpentine.com,
loupgaroublond(a)gmail.com,
fedora-haskell-list(a)redhat.com
Classification: Fedora
Target Release: ---
Description of problem:
ghc-6.12.3-5.fc15.src.rpm rebuild with gold (the alternative linker in
binutils) fails because configure script won't find curses:
DEBUG: ncurses.x86_64 0:5.7-8.20100703.fc14
DEBUG: ncurses-base.x86_64 0:5.7-8.20100703.fc14
DEBUG: ncurses-libs.x86_64 0:5.7-8.20100703.fc14
DEBUG: ncurses-base.x86_64 0:5.7-8.20100703.fc14
DEBUG: ncurses-libs.x86_64 0:5.7-8.20100703.fc14
DEBUG: /usr/bin/yum --installroot /var/lib/mock/fedora-rawhide-x86_64/root/
resolvedep ccache 'libffi-devel' 'gmp-devel' 'ghc-rpm-macros >=
0.8.0'
'ncurses-devel' 'python' 'docbook-style-xsl' 'ghc'
'libxslt' 'hscolour' 'happy'
DEBUG: Executing command: /usr/bin/yum --installroot
/var/lib/mock/fedora-rawhide-x86_64/root/ resolvedep ccache 'libffi-devel'
'gmp-devel' 'ghc-rpm-macros >= 0.8.0' 'ncurses-devel'
'python'
'docbook-style-xsl' 'ghc' 'libxslt' 'hscolour'
'happy'
--setopt=tsflags=nocontexts
DEBUG: 0:ncurses-devel-5.7-8.20100703.fc14.x86_64
DEBUG: /usr/bin/yum --installroot /var/lib/mock/fedora-rawhide-x86_64/root/
install ccache 'libffi-devel' 'gmp-devel' 'ghc-rpm-macros >=
0.8.0'
'ncurses-devel' 'python' 'docbook-style-xsl' 'ghc'
'libxslt' 'hscolour' 'happy'
DEBUG: Executing command: /usr/bin/yum --installroot
/var/lib/mock/fedora-rawhide-x86_64/root/ install ccache 'libffi-devel'
'gmp-devel' 'ghc-rpm-macros >= 0.8.0' 'ncurses-devel'
'python'
'docbook-style-xsl' 'ghc' 'libxslt' 'hscolour'
'happy'
--setopt=tsflags=nocontexts
DEBUG: ncurses-devel x86_64 5.7-8.20100703.fc14 fedora
663 k
DEBUG: libxslt.x86_64 0:1.1.26-3.fc14 ncurses-devel.x86_64
0:5.7-8.20100703.fc14
DEBUG: checking ncurses.h usability... yes
DEBUG: checking ncurses.h presence... yes
DEBUG: checking for ncurses.h... yes
DEBUG: checking for setupterm in -lncursesw... no
DEBUG: checking for setupterm in -lncurses... no
Version-Release number of selected component (if applicable):
ghc-6.12.3-5.fc15
How reproducible:
always (x86_64)
Steps to Reproduce:
1. alternatives --config ld
2. set gold
3. rebuild ghc srpm
Actual results:
Expected results:
DEBUG: ncurses.x86_64 0:5.7-8.20100703.fc14
DEBUG: ncurses-base.x86_64 0:5.7-8.20100703.fc14
DEBUG: ncurses-base.x86_64 0:5.7-8.20100703.fc14
DEBUG: ncurses-libs.x86_64 0:5.7-8.20100703.fc14
DEBUG: /usr/bin/yum --installroot /var/lib/mock/fedora-rawhide-x86_64/root/
resolvedep ccache 'libffi-devel' 'gmp-devel' 'ghc-rpm-macros >=
0.8.0'
'ncurses-devel' 'python' 'docbook-style-xsl' 'ghc'
'libxslt' 'hscolour' 'happy'
DEBUG: Executing command: /usr/bin/yum --installroot
/var/lib/mock/fedora-rawhide-x86_64/root/ resolvedep ccache 'libffi-devel'
'gmp-devel' 'ghc-rpm-macros >= 0.8.0' 'ncurses-devel'
'python'
'docbook-style-xsl' 'ghc' 'libxslt' 'hscolour'
'happy'
--setopt=tsflags=nocontexts
DEBUG: 0:ncurses-devel-5.7-8.20100703.fc14.x86_64
DEBUG: /usr/bin/yum --installroot /var/lib/mock/fedora-rawhide-x86_64/root/
install ccache 'libffi-devel' 'gmp-devel' 'ghc-rpm-macros >=
0.8.0'
'ncurses-devel' 'python' 'docbook-style-xsl' 'ghc'
'libxslt' 'hscolour' 'happy'
DEBUG: Executing command: /usr/bin/yum --installroot
/var/lib/mock/fedora-rawhide-x86_64/root/ install ccache 'libffi-devel'
'gmp-devel' 'ghc-rpm-macros >= 0.8.0' 'ncurses-devel'
'python'
'docbook-style-xsl' 'ghc' 'libxslt' 'hscolour'
'happy'
--setopt=tsflags=nocontexts
DEBUG: ncurses-devel x86_64 5.7-8.20100703.fc14 fedora
663 k
DEBUG: libxslt.x86_64 0:1.1.26-3.fc14 ncurses-devel.x86_64
0:5.7-8.20100703.fc14
DEBUG: checking ncurses.h usability... yes
DEBUG: checking ncurses.h presence... yes
DEBUG: checking for ncurses.h... yes
DEBUG: checking for setupterm in -lncursesw... yes
Additional info:
Since gold might be the default linker (per
http://fedoraproject.org/wiki/Features/GoldLinkerDefault) this problem might be
worth fixing.
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.