'emerge aeson-pretty fails with: ... Dependency vector >=0.9: using vector-0.10.12.2 setup: The following installed packages are broken because other packages they depend on are missing. These broken packages must be rebuilt before they can be used. package aeson-0.8.0.2 is broken due to missing package syb-0.4.2-7226bbf4063b21419e84d76a3a3bc325 * ghc-pkg check: 'checking for other broken packages:' There are problems in package pandoc-1.13.2: dependency "syb-0.4.2-7226bbf4063b21419e84d76a3a3bc325" doesn't exist There are problems in package pandoc-types-1.12.4.1: dependency "syb-0.4.2-7226bbf4063b21419e84d76a3a3bc325" doesn't exist There are problems in package pandoc-citeproc-0.6: dependency "syb-0.4.2-7226bbf4063b21419e84d76a3a3bc325" doesn't exist There are problems in package aeson-0.8.0.2: dependency "syb-0.4.2-7226bbf4063b21419e84d76a3a3bc325" doesn't exist There are problems in package texmath-0.8.0.1: dependency "syb-0.4.2-7226bbf4063b21419e84d76a3a3bc325" doesn't exist The following packages are broken, either because they have a problem listed above, or because they depend on a broken package. pandoc-1.13.2 pandoc-types-1.12.4.1 pandoc-citeproc-0.6 aeson-0.8.0.2 texmath-0.8.0.1 yaml-0.8.10.1 aeson-pretty-0.7.2 * Detected broken packages: aeson-0.8.0.2 aeson-pretty-0.7.2 pandoc-1.13.2 pandoc-citeproc-0.6 pandoc-types-1.12.4.1 texmath-0.8.0.1 yaml-0.8.10.1 * ERROR: dev-haskell/aeson-pretty-0.7.2::gentoo failed (configure phase): * //==-- Please, run 'haskell-updater' to fix broken packages --==// * I just emerged aeson and syb. Every call of 'haskell-updater' tries to reemerge 25 haskell packages starting with cabal, haddock, vector, ..., aeson and then failes first time with crypto-numbers-0.2.3. The resuming emerge then finally fails with "Emerging (4 of 17) dev-haskell/pandoc-types-1.12.4.1". 'MAKEOPTS=-j1 emerge -v1 crypto-numbers' fails with ... Preprocessing library crypto-numbers-0.2.3... <command line>: cannot satisfy -package-id vector-0.10.12.2-fdf81378a9d899a11c6ac97ab5e61939: vector-0.10.12.2-fdf81378a9d899a11c6ac97ab5e61939 is shadowed by package vector-0.10.12.2-d4670b2013377109ae1e8b9a1800ef57 (use -v for more information) * ERROR: dev-haskell/crypto-numbers-0.2.3::gentoo failed (compile phase): 'MAKEOPTS=-j1 emerge -v1 pandoc-types' fails with: ... Configuring pandoc-types-1.12.4.1... Dependency aeson >=0.6.2 && <0.9: using aeson-0.8.0.2 Dependency base ==4.*: using base-4.7.0.2 Dependency bytestring >=0.9 && <0.11: using bytestring-0.10.4.0 Dependency containers >=0.3: using containers-0.5.5.1 Dependency deepseq-generics ==0.1.*: using deepseq-generics-0.1.1.1 Dependency ghc-prim >=0.2: using ghc-prim-0.3.1.0 Dependency syb >=0.1 && <0.5: using syb-0.4.3 setup: The following installed packages are broken because other packages they depend on are missing. These broken packages must be rebuilt before they can be used. package aeson-0.8.0.2 is broken due to missing package syb-0.4.2-7226bbf4063b21419e84d76a3a3bc325 * ghc-pkg check: 'checking for other broken packages:' There are problems in package pandoc-1.13.2: dependency "syb-0.4.2-7226bbf4063b21419e84d76a3a3bc325" doesn't exist There are problems in package pandoc-types-1.12.4.1: dependency "syb-0.4.2-7226bbf4063b21419e84d76a3a3bc325" doesn't exist There are problems in package pandoc-citeproc-0.6: dependency "syb-0.4.2-7226bbf4063b21419e84d76a3a3bc325" doesn't exist There are problems in package aeson-0.8.0.2: dependency "syb-0.4.2-7226bbf4063b21419e84d76a3a3bc325" doesn't exist There are problems in package texmath-0.8.0.1: dependency "syb-0.4.2-7226bbf4063b21419e84d76a3a3bc325" doesn't exist The following packages are broken, either because they have a problem listed above, or because they depend on a broken package. pandoc-1.13.2 pandoc-types-1.12.4.1 pandoc-citeproc-0.6 aeson-0.8.0.2 texmath-0.8.0.1 yaml-0.8.10.1 aeson-pretty-0.7.2 * Detected broken packages: aeson-0.8.0.2 aeson-pretty-0.7.2 pandoc-1.13.2 pandoc-citeproc-0.6 pandoc-types-1.12.4.1 texmath-0.8.0.1 yaml-0.8.10.1 * ERROR: dev-haskell/pandoc-types-1.12.4.1::gentoo failed (configure phase): * //==-- Please, run 'haskell-updater' to fix broken packages --==//
Yeah, it's a result of recent major eclass update. Please, update haskell-updater up to 1.2.8 and try to repair system with it.
I'm getting the same issue when emerging dev-haskell/pandoc-types-1.12.4.1. Upgrading haskell-updater doesn't solve the issue. Haskell-updater reemerge dev-haskell/aeson-0.8.0.2 but this package is still reported as broken by haskell after the reemerging.
(In reply to Guillaume Poulin from comment #2) > I'm getting the same issue when emerging dev-haskell/pandoc-types-1.12.4.1. > Upgrading haskell-updater doesn't solve the issue. Haskell-updater reemerge > dev-haskell/aeson-0.8.0.2 but this package is still reported as broken by > haskell after the reemerging. Please try asking in freenode IRC channel #gentoo-haskell and please wait around for us to notice/wake up.
(In reply to Guillaume Poulin from comment #2) > I'm getting the same issue when emerging dev-haskell/pandoc-types-1.12.4.1. > Upgrading haskell-updater doesn't solve the issue. Haskell-updater reemerge > dev-haskell/aeson-0.8.0.2 but this package is still reported as broken by > haskell after the reemerging. Please, show your 'haskell-updater -l' output.
I have now haskell-updater-1.2.8 but it was not able to reemerge crypto-numbers, pandoc-types, aeson-pretty, yaml and texmath: root@lynx:/root(2)# haskell-updater ... >>> Installing (7 of 22) dev-haskell/aeson-0.8.0.2::gentoo >>> Emerging (8 of 22) dev-haskell/crypto-numbers-0.2.3::gentoo >>> Failed to emerge dev-haskell/crypto-numbers-0.2.3, Log file: >>> '/var/tmp/portage/dev-haskell/crypto-numbers-0.2.3/temp/build.log' *** Resuming merge... >>> Emerging (1 of 14) dev-haskell/crypto-pubkey-0.2.6::gentoo >>> Installing (1 of 14) dev-haskell/crypto-pubkey-0.2.6::gentoo >>> Emerging (2 of 14) dev-haskell/pandoc-types-1.12.4.1::gentoo >>> Failed to emerge dev-haskell/pandoc-types-1.12.4.1, Log file: >>> '/var/tmp/portage/dev-haskell/pandoc-types-1.12.4.1/temp/build.log' *** Resuming merge... >>> Emerging (1 of 12) dev-haskell/aeson-pretty-0.7.2::gentoo >>> Failed to emerge dev-haskell/aeson-pretty-0.7.2, Log file: >>> '/var/tmp/portage/dev-haskell/aeson-pretty-0.7.2/temp/build.log' *** Resuming merge... >>> Emerging (1 of 11) dev-vcs/darcs-2.8.5-r3::gentoo >>> Installing (1 of 11) dev-vcs/darcs-2.8.5-r3::gentoo >>> Emerging (2 of 11) dev-haskell/x509-validation-1.5.1::gentoo >>> Installing (2 of 11) dev-haskell/x509-validation-1.5.1::gentoo >>> Emerging (3 of 11) dev-haskell/yaml-0.8.10.1::gentoo >>> Failed to emerge dev-haskell/yaml-0.8.10.1, Log file: >>> '/var/tmp/portage/dev-haskell/yaml-0.8.10.1/temp/build.log' *** Resuming merge... >>> Emerging (1 of 8) dev-haskell/texmath-0.8.0.1::gentoo >>> Failed to emerge dev-haskell/texmath-0.8.0.1, Log file: >>> '/var/tmp/portage/dev-haskell/texmath-0.8.0.1/temp/build.log' *** Resuming merge... * Error messages for package dev-haskell/crypto-numbers-0.2.3: * ERROR: dev-haskell/crypto-numbers-0.2.3::gentoo failed (compile phase): * setup build failed root@lynx:/root(6)# genlop -t haskell-updater | tail -3 Mon Jan 5 09:09:54 2015 >>> app-admin/haskell-updater-1.2.8 merge time: 34 seconds. 'haskell-update -l' says: .root@lynx:/root(7)# haskell-updater -l Running haskell-updater using GHC 7.8.4 * Executable: /usr/bin/ghc * Library directory: /usr/lib64/ghc-7.8.4 * Package manager (PM): portage Searching for packages installed with a different version of GHC. No old packages found! Searching for Haskell libraries with broken dependencies. failed to parse "/usr/lib64/ghc-7.8.4/gentoo/alex-3.1.3.conf" : "[]\n" ... failed to parse "/usr/lib64/ghc-7.8.4/gentoo/xhtml-3000.2.1-r1.conf" : "[]\n" The following packages are orphan (not installed by your package manager): * http-client-0.4.6.1 * http-client-0.4.6.1 The following files are orphan (not installed by your package manager): * /usr/lib64/ghc-7.8.4/package.conf.d/Cabal-1.20.0.2-fe96ebe6bf85abc787d3a830b985a799.conf * /usr/lib64/ghc-7.8.4/package.conf.d/JuicyPixels-3.2-d2e099ac1aaf94b4b240af86fc71a97f.conf * /usr/lib64/ghc-7.8.4/package.conf.d/aeson-0.8.0.2-af6992da307ae7f5ac3b4c441f7ba815.conf * /usr/lib64/ghc-7.8.4/package.conf.d/aeson-pretty-0.7.2-2cb483aa5bc2ab2bf6bf002a4359241a.conf * /usr/lib64/ghc-7.8.4/package.conf.d/cereal-0.4.1.0-4351f3358e223b262fa316bd5412c474.conf * /usr/lib64/ghc-7.8.4/package.conf.d/connection-0.2.3-57e16f309c55bb21decd89f59ba4731e.conf * /usr/lib64/ghc-7.8.4/package.conf.d/crypto-numbers-0.2.3-9ba479e520d0c3a16e73627e23c0ee6e.conf * /usr/lib64/ghc-7.8.4/package.conf.d/darcs-2.8.5-208b43663ce84c89a66599a117fdfde0.conf * /usr/lib64/ghc-7.8.4/package.conf.d/haddock-2.14.3.0.7.8.3-d0f71c1ad4dbde62fdeba186cf9b549a.conf * /usr/lib64/ghc-7.8.4/package.conf.d/http-client-0.4.6.1-e02cca0ca297bd359f74892c32c9c420.conf * /usr/lib64/ghc-7.8.4/package.conf.d/http-client-tls-0.2.2-aec01fbf35ad7e69ecf3dfdbf9ab51e0.conf * /usr/lib64/ghc-7.8.4/package.conf.d/pandoc-citeproc-0.6-5d7af0013c87e414f375d3cdb85f1872.conf * /usr/lib64/ghc-7.8.4/package.conf.d/pandoc-types-1.12.4.1-cb341c60e46a8faf6d613ffa67c792a9.conf * /usr/lib64/ghc-7.8.4/package.conf.d/socks-0.5.4-67c67ef51344ab27f748b76f8e87ff87.conf * /usr/lib64/ghc-7.8.4/package.conf.d/texmath-0.8.0.1-c1f6f636f307857ea3ddf7ef1a118d04.conf * /usr/lib64/ghc-7.8.4/package.conf.d/tls-1.2.13-b63f477760674d390f8a70b09d115f37.conf * /usr/lib64/ghc-7.8.4/package.conf.d/vector-0.10.12.2-2ac82c0e0ce5175e2b428eeba8e9f775.conf * /usr/lib64/ghc-7.8.4/package.conf.d/x509-system-1.5.0-16a0d22fe447abab4bf0ecb4512f2c32.conf * /usr/lib64/ghc-7.8.4/package.conf.d/xml-conduit-1.2.3.1-18481368779d0b30dd830c6c8db9438f.conf * /usr/lib64/ghc-7.8.4/package.conf.d/yaml-0.8.10.1-767d4b7219dd03c8aa6d15d7e7a3c771.conf * /usr/lib64/ghc-7.8.4/gentoo/pandoc-types-1.12.4.1.conf * /usr/lib64/ghc-7.8.4/gentoo/aeson-0.8.0.2.conf * /usr/lib64/ghc-7.8.4/gentoo/aeson-pretty-0.7.2.conf * /usr/lib64/ghc-7.8.4/gentoo/http-client-tls-0.2.2.conf * /usr/lib64/ghc-7.8.4/gentoo/pandoc-citeproc-0.6.conf * /usr/lib64/ghc-7.8.4/gentoo/pandoc-types-1.12.4.1.conf * /usr/lib64/ghc-7.8.4/gentoo/texmath-0.8.0.1.conf * /usr/lib64/ghc-7.8.4/gentoo/yaml-0.8.10.1.conf 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. Found the following broken packages: * dev-haskell/aeson:0 * dev-haskell/aeson-pretty:0 * dev-haskell/cabal:0 * dev-haskell/cereal:0 * dev-haskell/connection:0 * dev-haskell/crypto-numbers:0 * dev-haskell/haddock:0 * dev-haskell/http-client-tls:0 * dev-haskell/juicypixels:0 * dev-haskell/pandoc-citeproc:0 * dev-haskell/pandoc-types:0 * dev-haskell/socks:0 * dev-haskell/texmath:0 * dev-haskell/tls:0 * dev-haskell/vector:0 * dev-haskell/x509-system:0 * dev-haskell/xml-conduit:0 * dev-haskell/yaml:0 * dev-vcs/darcs:0 dev-haskell/aeson:0 dev-haskell/aeson-pretty:0 dev-haskell/cabal:0 dev-haskell/cereal:0 dev-haskell/connection:0 dev-haskell/crypto-numbers:0 dev-haskell/haddock:0 dev-haskell/http-client-tls:0 dev-haskell/juicypixels:0 dev-haskell/pandoc-citeproc:0 dev-haskell/pandoc-types:0 dev-haskell/socks:0 dev-haskell/texmath:0 dev-haskell/tls:0 dev-haskell/vector:0 dev-haskell/x509-system:0 dev-haskell/xml-conduit:0 dev-haskell/yaml:0 dev-vcs/darcs:0 done! I don not know, why haskell-updater assumes that several packages are not installled by package-manager. All my haskell-packages are install as dependence of root or pandoc. Of course there are installed before 01 Jan 2015. e.g.: root@lynx:/root(9)# genlop -t ghc | tail Tue Aug 12 00:06:12 2014 >>> dev-lang/ghc-7.8.3 merge time: 1 hour, 28 minutes and 33 seconds. Sun Dec 7 18:59:05 2014 >>> dev-lang/ghc-7.8.3 merge time: 1 hour, 16 minutes and 26 seconds. Wed Dec 24 10:20:24 2014 >>> dev-lang/ghc-7.8.4 merge time: 1 hour, 22 minutes and 34 seconds. 'qfile -o $(ghc --print-libdir)/package.conf.d/*.conf' shows: root@lynx:/root(8)# qfile -o $(ghc --print-libdir)/package.conf.d/*.conf /usr/lib64/ghc-7.8.4/package.conf.d/aeson-0.8.0.2-af6992da307ae7f5ac3b4c441f7ba815.conf ... /usr/lib64/ghc-7.8.4/package.conf.d/xml-conduit-1.2.3.1-18481368779d0b30dd830c6c8db9438f.conf /usr/lib64/ghc-7.8.4/package.conf.d/yaml-0.8.10.1-767d4b7219dd03c8aa6d15d7e7a3c771.conf I removed these packages and run once more 'haskell-updater': root@lynx:/root(10)# rm -v -- `qfile -o $(ghc --print-libdir)/package.conf.d/*.conf` removed ‘/usr/lib64/ghc-7.8.4/package.conf.d/aeson-0.8.0.2-af6992da307ae7f5ac3b4c441f7ba815.conf’ ... removed ‘/usr/lib64/ghc-7.8.4/package.conf.d/yaml-0.8.10.1-767d4b7219dd03c8aa6d15d7e7a3c771.conf’ root@lynx:/root(11)# haskell-updater Running haskell-updater using GHC 7.8.4 * Executable: /usr/bin/ghc * Library directory: /usr/lib64/ghc-7.8.4 * Package manager (PM): portage Searching for packages installed with a different version of GHC. No old packages found! Searching for Haskell libraries with broken dependencies. failed to parse "/usr/lib64/ghc-7.8.4/gentoo/alex-3.1.3.conf" : "[]\n" failed to parse "/usr/lib64/ghc-7.8.4/gentoo/deepseq-1.3.0.2.conf" : "[]\n" ... failed to parse "/usr/lib64/ghc-7.8.4/gentoo/terminfo-0.4.0.0.conf" : "[]\n" failed to parse "/usr/lib64/ghc-7.8.4/gentoo/xhtml-3000.2.1-r1.conf" : "[]\n" Found the following broken packages: * dev-haskell/aeson-pretty:0 * dev-haskell/connection:0 ... * dev-haskell/xml-conduit:0 * dev-haskell/yaml:0 emerge --oneshot --keep-going --complete-graph --quiet --deep dev-haskell/aeson-pretty:0 dev-haskell/connection:0 dev-haskell/cprng-aes:0 dev-haskell/crypto-numbers:0 dev-haskell/crypto-pubkey:0 dev-haskell/crypto-random:0 dev-haskell/http-client:0 dev-haskell/http-client-tls:0 dev-haskell/pandoc-citeproc:0 dev-haskell/pandoc-types:0 dev-haskell/publicsuffixlist:0 dev-haskell/socks:0 dev-haskell/texmath:0 dev-haskell/tls:0 dev-haskell/x509-system:0 dev-haskell/x509-validation:0 dev-haskell/xml-conduit:0 dev-haskell/yaml:0 >>> Verifying ebuild manifests >>> Emerging (1 of 19) dev-haskell/crypto-random-0.0.8::gentoo >>> Installing (1 of 19) dev-haskell/crypto-random-0.0.8::gentoo >>> Emerging (2 of 19) dev-haskell/socks-0.5.4::gentoo >>> Installing (2 of 19) dev-haskell/socks-0.5.4::gentoo ... >>> Emerging (16 of 19) dev-haskell/connection-0.2.3::gentoo >>> Installing (16 of 19) dev-haskell/connection-0.2.3::gentoo >>> Emerging (17 of 19) dev-haskell/http-client-tls-0.2.2::gentoo At this point hangs haskel-updater at the first system more than 10 15 minutes. Normally it needs only few seconds. I killed haskell-updater and run 'emerge -v1 http-client-tls' manually, which worked. Then I run haskell-updater again: root@lynx:/root(13)# haskell-updater Running haskell-updater using GHC 7.8.4 * Executable: /usr/bin/ghc * Library directory: /usr/lib64/ghc-7.8.4 * Package manager (PM): portage Searching for packages installed with a different version of GHC. No old packages found! Searching for Haskell libraries with broken dependencies. failed to parse "/usr/lib64/ghc-7.8.4/gentoo/alex-3.1.3.conf" : "[]\n" failed to parse "/usr/lib64/ghc-7.8.4/gentoo/deepseq-1.3.0.2.conf" : "[]\n" ... failed to parse "/usr/lib64/ghc-7.8.4/gentoo/xhtml-3000.2.1-r1.conf" : "[]\n" Found the following broken packages: * dev-haskell/pandoc-citeproc:0 emerge --oneshot --keep-going --complete-graph --quiet --deep dev-haskell/pandoc-citeproc:0 emerge --oneshot --keep-going --complete-graph --quiet --deep dev-haskell/pandoc-citeproc:0 >>> Verifying ebuild manifests >>> Emerging (1 of 2) app-text/pandoc-1.13.2-r1::gentoo >>> Installing (1 of 2) app-text/pandoc-1.13.2-r1::gentoo >>> Emerging (2 of 2) dev-haskell/pandoc-citeproc-0.6::gentoo >>> Installing (2 of 2) dev-haskell/pandoc-citeproc-0.6::gentoo root@lynx:/root(14)# which cames succesfully to the end, At he next system haskell-updater fails again with pandoc-citeproc: root@impala:/root(9)# rm -v -- `qfile -o $(ghc --print-libdir)/package.conf.d/*.conf` removed ‘/usr/lib64/ghc-7.8.4/package.conf.d/aeson-0.8.0.2-fb80b7c2232d424a06efb01c2cb99050.conf’ ... removed ‘/usr/lib64/ghc-7.8.4/package.conf.d/zip-archive-0.2.3.5-0f431be3f49d2e67c663488ba3f07279.conf’ root@impala:/root(10)# haskell-updater Running haskell-updater using GHC 7.8.4 * Executable: /usr/bin/ghc * Library directory: /usr/lib64/ghc-7.8.4 * Package manager (PM): portage Searching for packages installed with a different version of GHC. No old packages found! Searching for Haskell libraries with broken dependencies. failed to parse "/usr/lib64/ghc-7.8.4/gentoo/deepseq-1.3.0.2.conf" : "[]\n" failed to parse "/usr/lib64/ghc-7.8.4/gentoo/terminfo-0.4.0.0.conf" : "[]\n" failed to parse "/usr/lib64/ghc-7.8.4/gentoo/xhtml-3000.2.1-r1.conf" : "[]\n" failed to parse "/usr/lib64/ghc-7.8.4/gentoo/deepseq-1.3.0.2.conf" : "[]\n" failed to parse "/usr/lib64/ghc-7.8.4/gentoo/terminfo-0.4.0.0.conf" : "[]\n" failed to parse "/usr/lib64/ghc-7.8.4/gentoo/xhtml-3000.2.1-r1.conf" : "[]\n" Found the following broken packages: * app-text/pandoc:0 * dev-haskell/aeson:0 * dev-haskell/aeson-pretty:0 ... * dev-haskell/x509-system:0 * dev-haskell/x509-validation:0 * dev-haskell/xml-conduit:0 * dev-haskell/yaml:0 * dev-haskell/zip-archive:0 * dev-vcs/darcs:0 emerge --oneshot --keep-going --complete-graph --quiet --deep app-text/pandoc:0 dev-haskell/aeson:0 dev-haskell/aeson-pretty:0 dev-haskell/conduit-extra:0 dev-haskell/connection:0 dev-haskell/cprng-aes:0 dev-haskell/crypto-numbers:0 dev-haskell/crypto-pubkey:0 dev-haskell/crypto-random:0 dev-haskell/hashed-storage:0 dev-haskell/http-client:0 dev-haskell/http-client-tls:0 dev-haskell/juicypixels:0 dev-haskell/pandoc-citeproc:0 dev-haskell/pandoc-types:0 dev-haskell/publicsuffixlist:0 dev-haskell/sha:0 dev-haskell/texmath:0 dev-haskell/tls:0 dev-haskell/x509-system:0 dev-haskell/x509-validation:0 dev-haskell/xml-conduit:0 dev-haskell/yaml:0 dev-haskell/zip-archive:0 dev-vcs/darcs:0 >>> Verifying ebuild manifests >>> Emerging (1 of 25) dev-haskell/crypto-random-0.0.8::gentoo >>> Installing (1 of 25) dev-haskell/crypto-random-0.0.8::gentoo ... >>> Installing (24 of 25) app-text/pandoc-1.13.2-r1::gentoo >>> Emerging (25 of 25) dev-haskell/pandoc-citeproc-0.6::gentoo >>> Failed to emerge dev-haskell/pandoc-citeproc-0.6, Log file: >>> '/var/tmp/portage/dev-haskell/pandoc-citeproc-0.6/temp/build.log' * Package: dev-haskell/pandoc-citeproc-0.6 * Repository: gentoo * Maintainer: haskell@gentoo.org * USE: abi_x86_64 amd64 bibutils doc elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Using cabal-1.20.0.2. * Prepending /usr/lib64/ghc-7.8.4 to LD_LIBRARY_PATH /usr/bin/ghc -package Cabal-1.20.0.2 --make /var/tmp/portage/dev-haskell/pandoc-citeproc-0.6/work/pandoc-citeproc-0.6/Setup.hs -dynamic -o setup ... If I try to manually emerge pandoc-citeproc, it fails with: root@impala:/root(11)# emerge -v1 pandoc-citeproc These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-haskell/pandoc-citeproc-0.6:0/0.6 USE="bibutils doc -embed_data_files -hscolour -profile {-test} -test_citeproc -unicode_collation" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-haskell/pandoc-citeproc-0.6::gentoo * pandoc-citeproc-0.6.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking pandoc-citeproc-0.6.tar.gz to /var/tmp/portage/dev-haskell/pandoc-citeproc-0.6/work >>> Source unpacked in /var/tmp/portage/dev-haskell/pandoc-citeproc-0.6/work >>> Preparing source in /var/tmp/portage/dev-haskell/pandoc-citeproc-0.6/work/pandoc-citeproc-0.6 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-haskell/pandoc-citeproc-0.6/work/pandoc-citeproc-0.6 ... * Using cabal-1.20.0.2. * Prepending /usr/lib64/ghc-7.8.4 to LD_LIBRARY_PATH /usr/bin/ghc -package Cabal-1.20.0.2 --make /var/tmp/portage/dev-haskell/pandoc-citeproc-0.6/work/pandoc-citeproc-0.6/Setup.hs -dynamic -o setup [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/pandoc-citeproc-0.6/work/pandoc-citeproc-0.6/Setup.hs, /var/tmp/portage/dev-haskell/pandoc-citeproc-0.6/work/pandoc-citeproc-0.6/Setup.o ) Linking setup ... ./setup configure --ghc --prefix=/usr --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 --libsubdir=pandoc-citeproc-0.6/ghc-7.8.4 --datadir=/usr/share/ --datasubdir=pandoc-citeproc-0.6/ghc-7.8.4 --with-haddock=/usr/bin/haddock --disable-tests --ghc-option=-j4 --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/pandoc-citeproc-0.6 --verbose --sysconfdir=/etc --disable-library-stripping --flags=bibutils --flags=-embed_data_files --flag=-small_base --flags=-test_citeproc --flags=-unicode_collation Configuring pandoc-citeproc-0.6... setup: At least the following dependencies are missing: pandoc >=1.12.1 Strange! pandoc-1.13.2-r1 was just emerged by haskell-updater.
(In reply to Juergen Rose from comment #5) > I have now haskell-updater-1.2.8 but it was not able to reemerge > crypto-numbers, pandoc-types, aeson-pretty, yaml and texmath: > > root@lynx:/root(2)# haskell-updater > ... > >>> Installing (7 of 22) dev-haskell/aeson-0.8.0.2::gentoo ... > 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. > > Found the following broken packages: > * dev-haskell/aeson:0 ... > I don not know, why haskell-updater assumes that several packages are not > installled by package-manager. All my haskell-packages are install as > dependence of root or pandoc. It's not your fault, ghc-package and haskell-cabal.eclass were buggy (creating orphan files around) before 1 Jan 2015. It's when I've pushed eclasses to the main tree. I understand that upgrade path is very bumpy :(. Newly installed packages are registered correctly and don't have a chance to bring the system into unrecoverable mess. Alas old installed packages bult with old eclasses leave cruft (orphan .conf files) when get deinstalled (!). haskell-updater-1.2.8 (but not older versions) is able to detect crufty files. It does not delete them as user might install packages manually with 'cabal install --global' or similar. Orphan .conf files do not allow ghc use unbroken packages (ghc does not know which to pick when two are present) and as a result do not allow haskell-updater find all broken packages. > which cames succesfully to the end, At [t]he next system haskell-updater fails > again with pandoc-citeproc: > > root@impala:/root(9)# rm -v -- `qfile -o $(ghc > --print-libdir)/package.conf.d/*.conf` > removed > ‘/usr/lib64/ghc-7.8.4/package.conf.d/aeson-0.8.0.2- > fb80b7c2232d424a06efb01c2cb99050.conf’ > ... > removed > ‘/usr/lib64/ghc-7.8.4/package.conf.d/zip-archive-0.2.3.5- > 0f431be3f49d2e67c663488ba3f07279.conf’ > root@impala:/root(10)# haskell-updater > ... > >>> Installing (24 of 25) app-text/pandoc-1.13.2-r1::gentoo > >>> Emerging (25 of 25) dev-haskell/pandoc-citeproc-0.6::gentoo > >>> Failed to emerge dev-haskell/pandoc-citeproc-0.6, Log file: > >>> '/var/tmp/portage/dev-haskell/pandoc-citeproc-0.6/temp/build.log' It would be interesting to see a build.log at that time. Maybe an order of package merges was not good enough due to a bug in .ebuild DEPENDs (maybe dev-haskell/texmath:0 should be earlier in rebuild queue). Another run of haskell-updater whould very likely heal it without manual intervention. Side note: those warnings are not harmful, but can also be fixed rebuilding packages (they are empty or non-library packages) > failed to parse "/usr/lib64/ghc-7.8.4/gentoo/deepseq-1.3.0.2.conf" : "[]\n" > failed to parse "/usr/lib64/ghc-7.8.4/gentoo/terminfo-0.4.0.0.conf" : "[]\n" > failed to parse "/usr/lib64/ghc-7.8.4/gentoo/xhtml-3000.2.1-r1.conf" : "[]\n" > failed to parse "/usr/lib64/ghc-7.8.4/gentoo/deepseq-1.3.0.2.conf" : "[]\n" > failed to parse "/usr/lib64/ghc-7.8.4/gentoo/terminfo-0.4.0.0.conf" : "[]\n" > failed to parse "/usr/lib64/ghc-7.8.4/gentoo/xhtml-3000.2.1-r1.conf" : "[]\n" $ emerge "/usr/lib64/ghc-7.8.4/gentoo/deepseq-1.3.0.2.conf" will find a package and reinstall it.
*** Bug 535796 has been marked as a duplicate of this bug. ***
I finally decided to remove any reference to haskell and to reinstall from scratch: ``` emerge --unmerge dev-haskell/* ghc haskell-updater pandoc rstudio rm -r /usr/lib64/ghc-* emerge pandoc rstudio ``` It worked!!! Hopefully, next update will be more straightforward.
(In reply to Guillaume Poulin from comment #8) > I finally decided to remove any reference to haskell and to reinstall from > scratch: > > ``` > emerge --unmerge dev-haskell/* ghc haskell-updater pandoc rstudio > rm -r /usr/lib64/ghc-* > emerge pandoc rstudio > ``` > > It worked!!! > > Hopefully, next update will be more straightforward. Using such a big hammer you won't encounter this particular issue on this machine (unless using old binpkgs), but the fix is really as much as: # rm -v -- `qfile -o $(ghc --print-libdir)/package.conf.d/*.conf` # ghc-pkg recache" and run haskell-updater.
Small remark about the last recipe: $(ghc --print-libdir) will return libdir only for the current ghc, on my machine that was 7.8.4 but confs were from 7.8.3 so I needed to insert that path manually
*** Bug 546934 has been marked as a duplicate of this bug. ***