Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792507 - dev-haskell/hsyaml-aeson-0.2.0.0 setup: Encountered missing or private dependencies: aeson >=1.4.0.0 && <1.5
Summary: dev-haskell/hsyaml-aeson-0.2.0.0 setup: Encountered missing or private depend...
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: 2021-05-27 15:28 UTC by hoarau.fabrice
Modified: 2021-07-27 09:26 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge_info.txt,7.33 KB, text/plain)
2021-05-27 15:28 UTC, hoarau.fabrice
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hoarau.fabrice 2021-05-27 15:28:52 UTC
Created attachment 711747 [details]
emerge --info

When trying to install stylish-haskell this error message appeared :

$ sudo emerge -avq dev-haskell/stylish-haskell
Mot de passe : 

Local copy of remote index is up-to-date and will be used.
[ebuild  N    ] dev-haskell/hsyaml-aeson-0.2.0.0  USE="doc hscolour -profile" 
[ebuild  N    ] dev-haskell/stylish-haskell-0.12.2.0  USE="doc hoogle hscolour -profile -test" 

Would you like to merge these packages? [Yes/No] 
>>> Verifying ebuild manifests
>>> Emerging (1 of 2) dev-haskell/hsyaml-aeson-0.2.0.0::gentoo
>>> Failed to emerge dev-haskell/hsyaml-aeson-0.2.0.0, Log file:
>>>  '/var/calculate/tmp/portage/dev-haskell/hsyaml-aeson-0.2.0.0/temp/build.log'
>>> Jobs: 0 of 2 complete, 1 failed                 Load avg: 0.47, 0.59, 0.44
 * Package:    dev-haskell/hsyaml-aeson-0.2.0.0
 * Repository: gentoo
 * Maintainer: haskell@gentoo.org
 * USE:        abi_x86_64 amd64 doc elibc_glibc hscolour kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox usersandbox
 * CHDEP: 'base         >= 4.5 && < 4.14' -> 'base         >= 4.5'
 * CHDEP: 'containers   >=0.4.2 && <0.7' -> 'containers   >=0.4.2'
 * No Setup.lhs or Setup.hs found. Either add Setup.hs to package or call cabal-mksetup from ebuild
 * Creating 'Setup.hs' for 'Simple' build type.
 * Using cabal-3.2.1.0.
 * Prepending /usr/lib64/ghc-8.10.4 to LD_LIBRARY_PATH
/usr/bin/ghc -package Cabal-3.2.1.0 --make /var/calculate/tmp/portage/dev-haskell/hsyaml-aeson-0.2.0.0/work/HsYAML-aeson-0.2.0.0/Setup.hs -j5 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup
[1 of 1] Compiling Main             ( /var/calculate/tmp/portage/dev-haskell/hsyaml-aeson-0.2.0.0/work/HsYAML-aeson-0.2.0.0/Setup.hs, /var/calculate/tmp/portage/dev-haskell/hsyaml-aeson-0.2.0.0/work/HsYAML-aeson-0.2.0.0/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=hsyaml-aeson-0.2.0.0/ghc-8.10.4 --datadir=/usr/share/ --datasubdir=hsyaml-aeson-0.2.0.0/ghc-8.10.4 --with-haddock=/usr/bin/haddock-ghc-8.10.4 --ghc-options=-j5 +RTS -A256M -qb0 -RTS --with-ar=x86_64-pc-linux-gnu-ar --ghc-option=-optc-O2 --ghc-option=-optc-march=x86-64 --ghc-option=-optc-pipe --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/hsyaml-aeson-0.2.0.0 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping
Using Parsec parser
Configuring HsYAML-aeson-0.2.0.0...
CallStack (from HasCallStack):
  $, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:1024:20 in Cabal-3.2.1.0:Distribution.Simple.Configure
  configureFinalizedPackage, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:477:12 in Cabal-3.2.1.0:Distribution.Simple.Configure
  configure, called at libraries/Cabal/Cabal/Distribution/Simple.hs:625:20 in Cabal-3.2.1.0:Distribution.Simple
  confHook, called at libraries/Cabal/Cabal/Distribution/Simple/UserHooks.hs:65:5 in Cabal-3.2.1.0:Distribution.Simple.UserHooks
  configureAction, called at libraries/Cabal/Cabal/Distribution/Simple.hs:180:19 in Cabal-3.2.1.0:Distribution.Simple
  defaultMainHelper, called at libraries/Cabal/Cabal/Distribution/Simple.hs:116:27 in Cabal-3.2.1.0:Distribution.Simple
  defaultMain, called at /var/calculate/tmp/portage/dev-haskell/hsyaml-aeson-0.2.0.0/work/HsYAML-aeson-0.2.0.0/Setup.hs:1:36 in main:Main
setup: Encountered missing or private dependencies:
aeson >=1.4.0.0 && <1.5

 * ghc-pkg check: 'checking for other broken packages:'
 * ERROR: dev-haskell/hsyaml-aeson-0.2.0.0::gentoo failed (configure phase):
 *   setup configure failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 2114:  Called haskell-cabal_src_configure
 *   environment, line 1601:  Called cabal-configure
 *   environment, line  547:  Called cabal-show-brokens-and-die 'setup configure failed'
 *   environment, line  620:  Called die
 * The specific snippet of code:
 *       die "$@"
 * 
 * If you need support, post the output of `emerge --info '=dev-haskell/hsyaml-aeson-0.2.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-haskell/hsyaml-aeson-0.2.0.0::gentoo'`.
 * The complete build log is located at '/var/calculate/tmp/portage/dev-haskell/hsyaml-aeson-0.2.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/calculate/tmp/portage/dev-haskell/hsyaml-aeson-0.2.0.0/temp/environment'.
 * Working directory: '/var/calculate/tmp/portage/dev-haskell/hsyaml-aeson-0.2.0.0/work/HsYAML-aeson-0.2.0.0'
 * S: '/var/calculate/tmp/portage/dev-haskell/hsyaml-aeson-0.2.0.0/work/HsYAML-aeson-0.2.0.0'

 * Messages for package dev-haskell/hsyaml-aeson-0.2.0.0:

 * Creating 'Setup.hs' for 'Simple' build type.
 * ghc-pkg check: 'checking for other broken packages:'
 * ERROR: dev-haskell/hsyaml-aeson-0.2.0.0::gentoo failed (configure phase):
 *   setup configure failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 2114:  Called haskell-cabal_src_configure
 *   environment, line 1601:  Called cabal-configure
 *   environment, line  547:  Called cabal-show-brokens-and-die 'setup configure failed'
 *   environment, line  620:  Called die
 * The specific snippet of code:
 *       die "$@"
Comment 1 Ionen Wolkens gentoo-dev 2021-05-27 18:40:02 UTC
output of `emerge -pvq dev-haskell/aeson` may be useful.

But if "aeson >=1.4.0.0 && <1.5" then ebuild may have wrong ranges:
>=dev-haskell/aeson-1.4.0.0:=[profile?] <dev-haskell/aeson-1.6:=[profile?]
Comment 2 hoarau.fabrice 2021-05-28 12:12:53 UTC
This is the result of : emerge -pvq dev-haskell/aeson

Local copy of remote index is up-to-date and will be used.
[ebuild   R   ] dev-haskell/aeson-1.5.6.0  USE="doc hoogle hscolour -cffi -fast -profile -test"
Comment 3 Larry the Git Cow gentoo-dev 2021-07-27 09:26:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2990cea5c6c600f602ed2f3e4e47c231b272fca

commit f2990cea5c6c600f602ed2f3e4e47c231b272fca
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2021-07-27 09:26:42 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2021-07-27 09:26:46 +0000

    dev-haskell/hsyaml-aeson: allow latest aeson
    
    Reported-by: hoarau.fabrice@free.fr
    Closes: https://bugs.gentoo.org/792507
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 dev-haskell/hsyaml-aeson/hsyaml-aeson-0.2.0.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)