You are not logged in.
So I have trouble with haskell-setenv, and I tried running /usr/share/haskell/haskell-setenv/register.sh with the --force parameter, and I get the same error saying libHSsetenv-0.1.0.a cannot be found. Any ideas on how I can resolve this? New to Haskell and newish to Arch.
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirrors.liquidweb.com : Resolving timed out after 10519 milliseconds
error: failed retrieving file 'archlinuxfr.db' from repo.archlinux.fr : Resolving timed out after 10519 milliseconds
error: failed to update archlinuxfr (download library error)
core is up to date
extra is up to date
community is up to date
multilib is up to date
Foreign packages: \ 27 / 27
==> New package :
(required by -)
0.1.0-1
aur/haskell-setenv
==> Continue upgrade ? [Y/n]
==> [V]iew package detail [M]anually select packages
==> --------------------------------------------------
==>
==> Downloading haskell-setenv PKGBUILD from AUR...
x haskell-setenv.install
x PKGBUILD
haskell-setenv 0.1.0-1 (Sun Dec 9 11:53:04 AST 2012)
( Unsupported package: Potentially dangerous ! )
==> haskell-setenv dependencies:
- ghc (already installed)
==> Continue building haskell-setenv ? [Y/n]
==> ----------------------------------------
==>
==> Building and installing package
==> Making package: haskell-setenv 0.1.0-1 (Tue Dec 3 20:39:18 AST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading setenv-0.1.0.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 1065 0 0 95 0 --:--:-- 0:00:11 --:--:-- 95
0 0 0 2478 0 0 223 0 --:--:-- 0:00:11 --:--:-- 344k
==> Validating source files with md5sums...
setenv-0.1.0.tar.gz ... Passed
==> Extracting sources...
-> Extracting setenv-0.1.0.tar.gz with bsdtar
==> Starting build()...
Configuring setenv-0.1.0...
Building setenv-0.1.0...
Preprocessing library setenv-0.1.0...
[1 of 1] Compiling System.SetEnv ( src/System/SetEnv.hs, dist/build/System/SetEnv.o )
[1 of 1] Compiling System.SetEnv ( src/System/SetEnv.hs, dist/build/System/SetEnv.p_o )
[1 of 1] Compiling System.SetEnv ( src/System/SetEnv.hs, dist/build/System/SetEnv.dyn_o )
In-place registering setenv-0.1.0...
Running Haddock for setenv-0.1.0...
Preprocessing library setenv-0.1.0...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: rts-1.0
Haddock coverage:
67% ( 2 / 3) in 'System.SetEnv'
Documentation created: dist/doc/html/setenv/index.html
Creating package registration script: register.sh
Unregistering setenv-0.1.0...
==> Entering fakeroot environment...
==> Starting package()...
Installing library in
/tmp/yaourt-tmp-aj/aur-haskell-setenv/pkg/haskell-setenv/usr/lib/ghc-7.6.3/site-local/setenv-0.1.0
==> Tidying install...
-> Purging unwanted files...
-> Removing libtool files...
-> Removing static library files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package "haskell-setenv"...
-> Generating .PKGINFO file...
-> Adding install file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: haskell-setenv 0.1.0-1 (Tue Dec 3 20:39:45 AST 2013)
==> Continue installing haskell-setenv ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
==>
warning: haskell-setenv-0.1.0-1 is up to date -- reinstalling
loading packages...
resolving dependencies...
looking for inter-conflicts...
Packages (1): haskell-setenv-0.1.0-1
Total Installed Size: 0.06 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
reinstalling haskell-setenv...
ghc-pkg: cannot find package setenv-0.1.0
error: command failed to execute correctly
Reading package info from stdin ... done.
setenv-0.1.0: cannot find libHSsetenv-0.1.0.a on library path (use --force to override)
Last edited by ajstein (2014-06-28 08:04:37)
Offline
I talked with the maintainer through AUR and I went with the cop-out workaround like him. I am just using cabal-install, in this case from the cabal-git package, and building my packages myself.
Offline