Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202643 - dev-lang/pugs-6.2.13: failed to build with ghc-6.6.1 (pugs-fps can't be found for HsSyck)
Summary: dev-lang/pugs-6.2.13: failed to build with ghc-6.6.1 (pugs-fps can't be found...
Status: RESOLVED DUPLICATE of bug 171649
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-18 06:38 UTC by Nikolay Orlyuk
Modified: 2008-02-27 18:53 UTC (History)
1 user (show)

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


Attachments
build.log (build.log.bz2,4.82 KB, application/x-bzip2)
2007-12-18 06:40 UTC, Nikolay Orlyuk
Details
environment (environment.bz2,22.12 KB, application/x-bzip2)
2007-12-18 06:40 UTC, Nikolay Orlyuk
Details
emerge --info (emerge-info.log.bz2,2.78 KB, application/x-bzip2)
2007-12-18 06:41 UTC, Nikolay Orlyuk
Details
Perl6-Pugs-6.2.13/third-party/installed/packages.conf (packages.conf.bz2,803 bytes, application/x-bzip2)
2007-12-18 06:42 UTC, Nikolay Orlyuk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay Orlyuk 2007-12-18 06:38:23 UTC
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
Comment 1 Nikolay Orlyuk 2007-12-18 06:40:00 UTC
Created attachment 138793 [details]
build.log
Comment 2 Nikolay Orlyuk 2007-12-18 06:40:52 UTC
Created attachment 138795 [details]
environment
Comment 3 Nikolay Orlyuk 2007-12-18 06:41:27 UTC
Created attachment 138797 [details]
emerge --info
Comment 4 Nikolay Orlyuk 2007-12-18 06:42:46 UTC
Created attachment 138798 [details]
Perl6-Pugs-6.2.13/third-party/installed/packages.conf
Comment 5 Duncan Coutts (RETIRED) gentoo-dev 2007-12-18 10:32:21 UTC
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.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2008-02-27 18:53:55 UTC

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