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

Bug 535796

Summary: Failures for dev-haskell/crypto-pubkey-0.2.6:0/0.2.6::gentoo, dev-haskell/pandoc-types-1.12.4.1:0/1.12.4.1::gentoo, dev-haskell/aeson-pretty-0.7.2:0/0.7.2::gentoo, dev-haskell/x509-validation-1.5.1:0/1.5.1::gentoo, dev-haskell/yaml-0.8.10.1:0/0.8.10.1,etc
Product: Gentoo Linux Reporter: Anton Kochkov <anton.kochkov>
Component: [OLD] DevelopmentAssignee: Gentoo's Haskell Language team <haskell>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info output
full build log for failure packages
dev-haskell/aeson-pretty-0.7.2 build log
dev-haskell/crypto-pubkey-0.2.6 build log
dev-haskell/pandoc-types-1.12.4.1 build log
dev-haskell/texmath-0.8.0.1 build log
dev-haskell/x509-validation-1.5.1 build log
dev-haskell/yaml-0.8.10.1 build log
haskell-updater -l output

Description Anton Kochkov 2015-01-06 15:32:21 UTC
Created attachment 393330 [details]
emerge --info output

* Messages for package dev-haskell/texmath-0.8.0.1:

 * ghc-pkg check: 'checking for other broken packages:'
 * Detected broken packages: aeson-0.8.0.2 aeson-pretty-0.7.2 conduit-extra-1.1.5.1 http-client-0.4.6.1 http-client-tls-0.2.2 http-conduit-2.1.5 pandoc-1.13.2 
pandoc-citeproc-0.6 pandoc-types-1.12.4.1 pandoc-types-1.12.4.1 texmath-0.8.0.1 xml-conduit-1.2.3.1 yaml-0.8.10.1
 * ERROR: dev-haskell/texmath-0.8.0.1::gentoo failed (configure phase):
 *   //==-- Please, run 'haskell-updater' to fix broken packages --==//
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 2784:  Called haskell-cabal_src_configure '--flags=-executable' '--flags=network-uri'
 *   environment, line 1910:  Called cabal-configure '--flags=-executable' '--flags=network-uri'
 *   environment, line  567:  Called cabal-show-brokens-and-die 'setup configure failed'
 *   environment, line  660:  Called cabal-show-brokens
 *   environment, line  656:  Called cabal-die-if-nonempty 'broken' 'aeson-0.8.0.2' 'aeson-pretty-0.7.2' 'conduit-extra-1.1.5.1' 'http-client-0.4.6.1' 
'http-client-tls-0.2.2' 'http-conduit-2.1.5' 'pandoc-1.13.2' 'pandoc-citeproc-0.6' 'pandoc-types-1.12.4.1' 'pandoc-types-1.12.4.1' 'texmath-0.8.0.1' 
'xml-conduit-1.2.3.1' 'yaml-0.8.10.1'
 *   environment, line  589:  Called die
 * The specific snippet of code:
 *       die "//==-- Please, run 'haskell-updater' to fix ${breakage_type} packages --==//"
 * 
 * If you need support, post the output of `emerge --info '=dev-haskell/texmath-0.8.0.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-haskell/texmath-0.8.0.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-haskell/texmath-0.8.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/texmath-0.8.0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-haskell/texmath-0.8.0.1/work/texmath-0.8.0.1'
 * S: '/var/tmp/portage/dev-haskell/texmath-0.8.0.1/work/texmath-0.8.0.1'
 * One or more packages are either masked or have missing dependencies:
 * 
 *   dev-haskell/syb:0/0.4.2= pulled in by:
 *     (dev-haskell/texmath-0.8.0.1:0/0.8.0.1::gentoo, installed)
 * 
 * The resume list contains packages that are either masked or have
 * unsatisfied dependencies. Please restart/continue the operation
 * manually, or use --skipfirst to skip the first package in the list and
 * any other packages that may be masked or have missing dependencies.
 * 
 * The following 6 packages have failed to build or install:
 * 
 *  (dev-haskell/crypto-pubkey-0.2.6:0/0.2.6::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-haskell/crypto-pubkey-0.2.6/temp/build.log'
 *  (dev-haskell/pandoc-types-1.12.4.1:0/1.12.4.1::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-haskell/pandoc-types-1.12.4.1/temp/build.log'
 *  (dev-haskell/aeson-pretty-0.7.2:0/0.7.2::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-haskell/aeson-pretty-0.7.2/temp/build.log'
 *  (dev-haskell/x509-validation-1.5.1:0/1.5.1::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-haskell/x509-validation-1.5.1/temp/build.log'
 *  (dev-haskell/yaml-0.8.10.1:0/0.8.10.1::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-haskell/yaml-0.8.10.1/temp/build.log'
 *  (dev-haskell/texmath-0.8.0.1:0/0.8.0.1::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-haskell/texmath-0.8.0.1/temp/build.log'
 *
Comment 1 Anton Kochkov 2015-01-06 15:33:05 UTC
Created attachment 393332 [details]
full build log for failure packages
Comment 2 Anton Kochkov 2015-01-06 15:39:23 UTC
Created attachment 393334 [details]
dev-haskell/aeson-pretty-0.7.2 build log
Comment 3 Anton Kochkov 2015-01-06 15:40:00 UTC
Created attachment 393336 [details]
dev-haskell/crypto-pubkey-0.2.6 build log
Comment 4 Anton Kochkov 2015-01-06 15:40:37 UTC
Created attachment 393338 [details]
dev-haskell/pandoc-types-1.12.4.1 build log
Comment 5 Anton Kochkov 2015-01-06 15:41:13 UTC
Created attachment 393340 [details]
dev-haskell/texmath-0.8.0.1 build log
Comment 6 Anton Kochkov 2015-01-06 15:41:47 UTC
Created attachment 393342 [details]
dev-haskell/x509-validation-1.5.1 build log
Comment 7 Anton Kochkov 2015-01-06 15:42:14 UTC
Created attachment 393344 [details]
dev-haskell/yaml-0.8.10.1 build log
Comment 8 Anton Kochkov 2015-01-06 15:43:56 UTC
Just for clarification, I've run 'haskell-updater --all' more than 5 times, error still the same, while other packages updating ok.
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-06 18:11:22 UTC
Please file separate bug reports for separate packages.
Comment 10 Sergei Trofimovich (RETIRED) gentoo-dev 2015-01-06 19:49:57 UTC
(In reply to Anton Kochkov from comment #8)
> Just for clarification, I've run 'haskell-updater --all' more than 5 times,
> error still the same, while other packages updating ok.

Please update to latest haskell-updater and show us output of
    haskell-updater -l
command.
Comment 11 Anton Kochkov 2015-01-06 20:42:27 UTC
Created attachment 393372 [details]
haskell-updater -l output

Attaching 'haskell-updater -l' output as requested
Comment 12 Sergei Trofimovich (RETIRED) gentoo-dev 2015-01-06 21:22:39 UTC
(In reply to Anton Kochkov from comment #11)
> Created attachment 393372 [details]
> haskell-updater -l output
> 
> Attaching 'haskell-updater -l' output as requested

The interesting part there is:

> It is strongly advised to remove orphans:
>    One of known sources of orphans is packages installed before 01 Jan 2015.
>    If you know it's your case you can easily remove such files:
>        # rm -v -- `qfile -o $(ghc --print-libdir)/package.conf.d/*.conf`
>    It will likely need one more 'haskell-updater' run.

Might also need a 'ghc-pkg recache'. After that haskell-updater
will hopefully be able to restore your system.

For more details on what is actually broken:
https://bugs.gentoo.org/show_bug.cgi?id=534416#c6

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