[Pkg-haskell-maintainers] Bug#773768: ghc: fails to install: cannot open shared object file: No such file or directory
Joachim Breitner
nomeata at debian.org
Tue Dec 23 09:47:15 UTC 2014
Hi Jonas,
Am Dienstag, den 23.12.2014, 02:55 +0100 schrieb Jonas Smedegaard:
> Package: ghc
> Version: 7.8.20141119-8
> Severity: grave
> Justification: renders package unusable
>
> ghc fails to install (in clean cowbuilder chroot):
>
> Setting up ghc (7.8.20141119-8) ...
> /usr/lib/ghc/bin/ghc: error while loading shared libraries: libHShaskeline-0.7.1.2-ghc7.8.3.20141119.so: cannot open shared object file: No such file or directory
> /usr/lib/ghc/bin/ghc-pkg: error while loading shared libraries: libHSterminfo-0.4.0.0-ghc7.8.3.20141119.so: cannot open shared object file: No such file or directory
> dpkg: error processing package ghc (--configure):
> subprocess installed post-installation script returned error exit status 127
> Errors were encountered while processing:
> ghc
> E: Sub-process /usr/bin/dpkg returned an error code (1)
I cannot reproduce it here:
/home/jojo $ schroot -c experimental
(experimental)root at kirk:/home/jojo# apt-get update
Get:1 http://http.debian.net sid InRelease [242 kB]
Get:2 http://http.debian.net experimental InRelease [162 kB]
Get:3 http://http.debian.net sid/main amd64 Packages/DiffIndex [7876 B]
Get:4 http://http.debian.net sid/main Translation-en/DiffIndex [7876 B]
Get:5 http://http.debian.net experimental/main amd64 Packages/DiffIndex [7819 B]
Get:6 http://http.debian.net experimental/main Translation-en/DiffIndex [7819 B]
Get:7 http://http.debian.net sid/main amd64 Packages [7109 kB]
Get:8 http://http.debian.net sid/main Translation-en [4823 kB]
Err http://http.debian.net experimental/main amd64 Packages
Get:9 http://http.debian.net experimental/main amd64 Packages [820 kB]
Get:10 http://http.debian.net experimental/main Translation-en [413 kB]
Fetched 13.6 MB in 4s (3039 kB/s)
Reading package lists... Done
(experimental)root at kirk:/home/jojo# apt-get install -t experimental ghc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
ghc-prof ghc-doc haskell-doc llvm-3.4
The following packages will be upgraded:
ghc
1 upgraded, 0 newly installed, 0 to remove and 150 not upgraded.
Need to get 0 B/35.7 MB of archives.
After this operation, 3385 kB of additional disk space will be used.
(Reading database ... 17693 files and directories currently installed.)
Preparing to unpack .../ghc_7.8.20141119-8_amd64.deb ...
Unpacking ghc (7.8.20141119-8) over (7.8.20140710-4) ...
Processing triggers for man-db (2.7.0.2-1) ...
(experimental)root at kirk:/home/jojo# ghc
ghc: no input files
Usage: For basic information, try the `--help' option.
(experimental)root at kirk:/home/jojo# ghc-pkg
ghc-pkg: missing command
For usage information see 'ghc-pkg --help'.
(experimental)root at kirk:/home/jojo# apt-get install -t experimental libghc-binary-shared-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libghc-mtl-dev
Suggested packages:
libghc-binary-shared-doc libghc-binary-shared-prof libghc-mtl-doc libghc-mtl-prof
The following NEW packages will be installed:
libghc-binary-shared-dev libghc-mtl-dev
0 upgraded, 2 newly installed, 0 to remove and 150 not upgraded.
Need to get 102 kB/183 kB of archives.
After this operation, 2135 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://http.debian.net/debian/ experimental/main libghc-binary-shared-dev amd64 0.8.3-2 [102 kB]
Fetched 102 kB in 0s (1484 kB/s)
Selecting previously unselected package libghc-mtl-dev.
(Reading database ... 17693 files and directories currently installed.)
Preparing to unpack .../libghc-mtl-dev_2.1.3.1-2_amd64.deb ...
Unpacking libghc-mtl-dev (2.1.3.1-2) ...
Selecting previously unselected package libghc-binary-shared-dev.
Preparing to unpack .../libghc-binary-shared-dev_0.8.3-2_amd64.deb ...
Unpacking libghc-binary-shared-dev (0.8.3-2) ...
Processing triggers for ghc (7.8.20141119-8) ...
(experimental)root at kirk:/home/jojo# ghc-pkg list
/usr/lib/ghc/package.conf.d
Cabal-1.18.1.3
array-0.5.0.0
base-4.7.0.2
bin-package-db-0.0.0.0
binary-0.7.1.0
binary-shared-0.8.3
bytestring-0.10.4.0
containers-0.5.5.1
deepseq-1.3.0.2
directory-1.2.1.0
filepath-1.3.0.2
ghc-7.8.3.20141119
ghc-prim-0.3.1.0
haskeline-0.7.1.2
haskell2010-1.1.2.0
haskell98-2.0.0.3
hoopl-3.10.0.1
hpc-0.6.0.1
integer-gmp-0.5.1.0
mtl-2.1.3.1
old-locale-1.0.0.6
old-time-1.1.0.2
pretty-1.1.1.1
process-1.2.0.0
rts-1.0
template-haskell-2.9.0.0
terminfo-0.4.0.0
time-1.4.2
transformers-0.3.0.0
unix-2.7.0.1
xhtml-3000.2.1
Or is this on another architecture?
Greetings,
Joachim
--
Joachim "nomeata" Breitner
Debian Developer
nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: F0FBF51F
JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20141223/14fb06e6/attachment.sig>
More information about the Pkg-haskell-maintainers
mailing list