Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519644 - =dev-haskell/terminfo-0.4.0.0 fails to build: "Ebuild author forgot CABAL_CORE_LIB_GHC_PV entry."
Summary: =dev-haskell/terminfo-0.4.0.0 fails to build: "Ebuild author forgot CABAL_COR...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-11 13:16 UTC by Martin Wegner
Modified: 2014-08-11 15:08 UTC (History)
0 users

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


Attachments
build.log of failed build (build.log,9.50 KB, text/plain)
2014-08-11 13:17 UTC, Martin Wegner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Wegner 2014-08-11 13:16:27 UTC
Building =dev-haskell/terminfo-0.4.0.0 fails here with the following error. I will also attach complete build log:

[...]
Creating package registration file:
/var/tmp/portage/dev-haskell/terminfo-0.4.0.0/temp/terminfo-0.4.0.0.conf
Reading package info from stdin ... done.
terminfo-0.4.0.0: Warning: library-dirs: /usr/lib64/terminfo-0.4.0.0/ghc-7.8.3 doesn't exist or isn't a directory
terminfo-0.4.0.0: Warning: haddock-interfaces: /usr/share/doc/terminfo-0.4.0.0/html/terminfo.haddock doesn't exist or isn't a file
terminfo-0.4.0.0: Warning: haddock-html: /usr/share/doc/terminfo-0.4.0.0/html doesn't exist or isn't a directory
terminfo-0.4.0.0: dependency "base-4.7.0.1-1a55ebc8256b39ccbff004d48b3eb834" doesn't exist (ignoring)
terminfo-0.4.0.0: import-dirs: /usr/lib64/terminfo-0.4.0.0/ghc-7.8.3 doesn't exist or isn't a directory (ignoring)
terminfo-0.4.0.0: cannot find any of ["System/Console/Terminfo.hi","System/Console/Terminfo.p_hi","System/Console/Terminfo.dyn_hi"] (ignoring)
terminfo-0.4.0.0: cannot find any of ["System/Console/Terminfo/Base.hi","System/Console/Terminfo/Base.p_hi","System/Console/Terminfo/Base.dyn_hi"] (ignoring)
terminfo-0.4.0.0: cannot find any of ["System/Console/Terminfo/Cursor.hi","System/Console/Terminfo/Cursor.p_hi","System/Console/Terminfo/Cursor.dyn_hi"] (ignoring)
terminfo-0.4.0.0: cannot find any of ["System/Console/Terminfo/Color.hi","System/Console/Terminfo/Color.p_hi","System/Console/Terminfo/Color.dyn_hi"] (ignoring)
terminfo-0.4.0.0: cannot find any of ["System/Console/Terminfo/Edit.hi","System/Console/Terminfo/Edit.p_hi","System/Console/Terminfo/Edit.dyn_hi"] (ignoring)
terminfo-0.4.0.0: cannot find any of ["System/Console/Terminfo/Effects.hi","System/Console/Terminfo/Effects.p_hi","System/Console/Terminfo/Effects.dyn_hi"] (ignoring)
terminfo-0.4.0.0: cannot find any of ["System/Console/Terminfo/Keys.hi","System/Console/Terminfo/Keys.p_hi","System/Console/Terminfo/Keys.dyn_hi"] (ignoring)
terminfo-0.4.0.0: cannot find any of ["libHSterminfo-0.4.0.0.a","libHSterminfo-0.4.0.0.p_a","libHSterminfo-0.4.0.0-ghc7.8.3.so","libHSterminfo-0.4.0.0-ghc7.8.3.dylib","HSterminfo-0.4.0.0-ghc7.8.3.dll"]
 on library path (ignoring)
Writing new package config file... done.
 * Package terminfo-0.4.0.0 is shipped with 7.8.3.
 * Ebuild author forgot CABAL_CORE_LIB_GHC_PV entry.
 * Found in ///usr/lib64/ghc-7.8.3/package.conf.d.initial.
 * ERROR: dev-haskell/terminfo-0.4.0.0::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_install
 *   environment, line 2732:  Called haskell-cabal_src_install
 *   environment, line 1848:  Called cabal_src_install
 *   environment, line  703:  Called die
 * The specific snippet of code:
 *                       die;
 * 
 * If you need support, post the output of `emerge --info '=dev-haskell/terminfo-0.4.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-haskell/terminfo-0.4.0.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-haskell/terminfo-0.4.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/terminfo-0.4.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-haskell/terminfo-0.4.0.0/work/terminfo-0.4.0.0'
 * S: '/var/tmp/portage/dev-haskell/terminfo-0.4.0.0/work/terminfo-0.4.0.0'
 * QA Notice: Unrecognized configure options:
 * 
 *      --with-compiler
 *      --with-hc-pkg
 *      --with-gcc
 *      --with-compiler
 *      --with-hc-pkg
 *      --with-gcc

>>> Failed to emerge dev-haskell/terminfo-0.4.0.0, Log file:

>>>  '/var/tmp/portage/dev-haskell/terminfo-0.4.0.0/temp/build.log'

Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge -uDNav @world
(3. emerge -1 =dev-haskell/terminfo-0.4.0.0)
Actual Results:  
Build fails.

Expected Results:  
Should not fail.

# emerge --info
Portage 2.2.11-r1 (python 3.3.5-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.16.0-gentoo-thor x86_64)
=================================================================
System uname: Linux-3.16.0-gentoo-thor-x86_64-AMD_Athlon-tm-_64_Processor_3700+-with-gentoo-2.2
KiB Mem:     2050048 total,     79144 free
KiB Swap:    2096112 total,   1782712 free
Timestamp of tree: Mon, 11 Aug 2014 12:45:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p47
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo gentoo-haskell x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=1 --load-average=2"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy clean-logs config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-backup unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2 -l2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/haskell /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gnutls iconv ipv6 mmx modules multilib ncurses nls nptl openmp pam pcre readline session sse sse2 ssl tcpd unicode vim-syntax zlib zsh-completion" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Martin Wegner 2014-08-11 13:17:29 UTC
Created attachment 382674 [details]
build.log of failed build
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2014-08-11 15:08:26 UTC
Pushed as:

>  11 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> terminfo-0.4.0.0.ebuild:
>  Mark ebuild as a code librray of ghc-7.8.3 (bug #519644 by Martin Wegner).

Thank you!