ANN: ghc 6.8.2 from MacPorts
Wouter Swierstra
wss at Cs.Nott.AC.UK
Thu May 1 11:50:38 EDT 2008
On 1 May 2008, at 13:59, Gregory Wright wrote:
>
> I've patched MacPorts' ghc-6.8.2 to include the -no-user-package-conf
> flag. Wouter, could you check if this fixes the problem you had?
I tried a "port selfupdate" and "port clean --all ghc", followed by a
"port install ghc". I ran into the error below (seems like another
file-locking bug).
I Bjorn's advice (getting rid of the .ghc directory) - the build went
through smoothly.
I'm not sure what's going on here. Hope this helps,
Wouter
---> Fetching ghc
---> Attempting to fetch ghc-6.8.2-src.tar.bz2 from http://haskell.org/ghc/dist/6.8.2/
---> Attempting to fetch ghc-6.8.2-src-extralibs.tar.bz2 from http://haskell.org/ghc/dist/6.8.2/
---> Attempting to fetch ghc-6.8.2-darwin-i386-leopard-
bootstrap.tar.bz2 from http://haskell.org/ghc/dist/6.8.2/
---> Verifying checksum(s) for ghc
---> Extracting ghc
---> Applying patches to ghc
---> Configuring ghc
---> Building ghc with target all
---> Staging ghc into destroot
Error: Target org.macports.destroot returned: shell command "cd /opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/ghc-6.8.2 && make install"
returned error 2
Command output: Writing new package config file... done.
Installing: /opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/lib/
ghc-6.8.2/lib/hpc-0.5.0.0
Registering hpc-0.5.0.0...
if ifBuildable/ifBuildable template-haskell; then \
cd template-haskell && \
../installPackage/installPackage '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/ghc-6.8.2/utils/ghc-pkg/ghc-
pkg-inplace' '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/lib/
ghc-6.8.2/package.conf' '' '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local' '/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local' '/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/bin' '/
opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/lib/
ghc-6.8.2/lib' '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/lib/
ghc-6.8.2/lib' '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/share/
ghc-6.8.2' '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/share/doc/
ghc/libraries/$pkg' '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/share/doc/
ghc/libraries/$pkg' '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/share/doc/
ghc/libraries/$pkg' ; \
fi
Reading package info from "dist/installed-pkg-config" ... done.
Saving old package config file... done.
Writing new package config file... done.
Installing: /opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/lib/
ghc-6.8.2/lib/template-haskell-2.2.0.0
Registering template-haskell-2.2.0.0...
if ifBuildable/ifBuildable readline; then \
cd readline && \
../installPackage/installPackage '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/ghc-6.8.2/utils/ghc-pkg/ghc-
pkg-inplace' '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/lib/
ghc-6.8.2/package.conf' '' '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local' '/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local' '/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/bin' '/
opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/lib/
ghc-6.8.2/lib' '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/lib/
ghc-6.8.2/lib' '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/share/
ghc-6.8.2' '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/share/doc/
ghc/libraries/$pkg' '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/share/doc/
ghc/libraries/$pkg' '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/share/doc/
ghc/libraries/$pkg' ; \
fi
Reading package info from "dist/installed-pkg-config" ... done.
Saving old package config file... done.
Writing new package config file... done.
Installing: /opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/lib/
ghc-6.8.2/lib/readline-1.0.1.0
Registering readline-1.0.1.0...
if ifBuildable/ifBuildable Cabal; then \
cd Cabal && \
../installPackage/installPackage '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/ghc-6.8.2/utils/ghc-pkg/ghc-
pkg-inplace' '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/lib/
ghc-6.8.2/package.conf' '' '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local' '/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local' '/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/bin' '/
opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/lib/
ghc-6.8.2/lib' '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/lib/
ghc-6.8.2/lib' '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/share/
ghc-6.8.2' '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/share/doc/
ghc/libraries/$pkg' '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/share/doc/
ghc/libraries/$pkg' '/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/share/doc/
ghc/libraries/$pkg' ; \
fi
Installing: /opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_ghc/work/destroot/opt/local/lib/
ghc-6.8.2/lib/Cabal-1.2.3.0
installPackage: copyFile: resource busy (file is locked)
make[1]: *** [install.library.Cabal] Error 1
make: *** [install] Error 1
Error: Status 1 encountered during processing.
More information about the Glasgow-haskell-users
mailing list