During building pugs-fps (from third-party) is installed+registered >> Registering pugs-fps-0.7... but then it tries to install HsSyck and fails on dependency resolving >>Configuring pugs-HsSyck-0.2... >>Setup: At least the following dependencies are missing: >> pugs-fps >=0.7 Checking packages.conf showed that pugs-fps is really registered with version 0.7 Reproducible: Always Actual Results: Preprocessing library pugs-fps-0.7... Building pugs-fps-0.7... [1 of 1] Compiling FPS_Dummy ( FPS_Dummy.hs, dist/build/FPS_Dummy.o ) /usr/bin/ar: creating dist/build/libHSpugs-fps-0.7.a Installing: /.storage002/tmp/portage/dev-lang/pugs-6.2.13/work/Perl6-Pugs-6.2.13/third-party/installed/lib/pugs-fps-0.7/ghc-6.6.1 Registering pugs-fps-0.7... Reading package info from "dist/installed-pkg-config" ... done. Saving old package config file... done. Writing new package config file... done. Saving old package config file... done. Writing new package config file... done. ../../Setup configure --with-compiler=/.storage002/tmp/portage/dev-lang/pugs-6.2.13/work/Perl6-Pugs-6.2.13/util/runcompiler --with-hc-pkg=/.storage002/tmp/portage/dev-lang/pugs-6.2.13/work/Perl6-Pugs-6.2.13/util/ghc-pkg-wrapper --with-hsc2hs=/usr/bin/hsc2hs --prefix=/.storage002/tmp/portage/dev-lang/pugs-6.2.13/work/Perl6-Pugs-6.2.13/third-party/installed Configuring pugs-HsSyck-0.2... Setup: At least the following dependencies are missing: pugs-fps >=0.7 *** Building the 'HsSyck' dependency. Please wait... Setup: error reading dist/setup-config; run "setup configure" command? Setup: error reading dist/setup-config; run "setup configure" command? Installation failed for HsSyck at util/build_pugs.pl line 237. hxt-7.2 cabal-1.2.3.0
Created attachment 138793 [details] build.log
Created attachment 138795 [details] environment
Created attachment 138797 [details] emerge --info
Created attachment 138798 [details] Perl6-Pugs-6.2.13/third-party/installed/packages.conf
I suspect this is down to a change in cabal-1.2.x vs 1.1.x. It is now strict about only looking for package dependencies in the global package database. The default has always been --global with the possibility of using --user to allow satisfying dependencies from the user package database. In the 1.1.x series however there was a bug where it'd get packages from the user database even when you did not specify --user. So one workaround that might work is changing a cabal configure command to pass the --user flag. I'm not sure where that would be, someone familiar with pugs can probably work it out.
*** This bug has been marked as a duplicate of bug 171649 ***