cannot install ghc on armhf

Bug #1330418 reported by Gianfranco Costamagna
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qemu (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Step to reproduce:

pbuilder-dist sid armhf login

apt-get install libghc-random-dev

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  binfmt-support ghc init-system-helpers libbsd-dev libbsd0 libffi-dev libffi6 libgmp-dev libgmpxx4ldbl libllvm3.3 libpipeline1 llvm llvm-3.3
  llvm-3.3-runtime llvm-runtime
Suggested packages:
  ghc-prof ghc-doc haskell-doc libghc-random-doc libghc-random-prof libgmp10-doc libmpfr-dev llvm-3.3-doc
Recommended packages:
  llvm-3.3-dev
The following NEW packages will be installed:
  binfmt-support ghc init-system-helpers libbsd-dev libbsd0 libffi-dev libffi6 libghc-random-dev libgmp-dev libgmpxx4ldbl libllvm3.3 libpipeline1
  llvm llvm-3.3 llvm-3.3-runtime llvm-runtime
0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
Need to get 29.5 MB/37.3 MB of archives.
After this operation, 255 MB of additional disk space will be used.
Do you want to continue? [Y/n]
0% [Working]qemu: Unsupported syscall: 374
Get:1 http://ftp.debian.org/debian/ sid/main ghc armhf 7.6.3-13 [29.1 MB]
Get:2 http://ftp.debian.org/debian/ sid/main libghc-random-dev armhf 1.0.1.1-3 [399 kB]
Fetched 29.5 MB in 14min 32s (33.8 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libpipeline1:armhf.
(Reading database ... 12109 files and directories currently installed.)
Preparing to unpack .../libpipeline1_1.3.0-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.3.0-1) ...
Selecting previously unselected package libbsd0:armhf.
Preparing to unpack .../libbsd0_0.6.0-2_armhf.deb ...
Unpacking libbsd0:armhf (0.6.0-2) ...
Selecting previously unselected package libffi6:armhf.
Preparing to unpack .../libffi6_3.1-2_armhf.deb ...
Unpacking libffi6:armhf (3.1-2) ...
Selecting previously unselected package libgmpxx4ldbl:armhf.
Preparing to unpack .../libgmpxx4ldbl_2%3a6.0.0+dfsg-4_armhf.deb ...
Unpacking libgmpxx4ldbl:armhf (2:6.0.0+dfsg-4) ...
Selecting previously unselected package libllvm3.3:armhf.
Preparing to unpack .../libllvm3.3_1%3a3.3-16_armhf.deb ...
Unpacking libllvm3.3:armhf (1:3.3-16) ...
Selecting previously unselected package init-system-helpers.
Preparing to unpack .../init-system-helpers_1.19_all.deb ...
Unpacking init-system-helpers (1.19) ...
Selecting previously unselected package binfmt-support.
Preparing to unpack .../binfmt-support_2.1.4-1_armhf.deb ...
Unpacking binfmt-support (2.1.4-1) ...
Selecting previously unselected package libbsd-dev.
Preparing to unpack .../libbsd-dev_0.6.0-2_armhf.deb ...
Unpacking libbsd-dev (0.6.0-2) ...
Selecting previously unselected package libffi-dev:armhf.
Preparing to unpack .../libffi-dev_3.1-2_armhf.deb ...
Unpacking libffi-dev:armhf (3.1-2) ...
Selecting previously unselected package libgmp-dev:armhf.
Preparing to unpack .../libgmp-dev_2%3a6.0.0+dfsg-4_armhf.deb ...
Unpacking libgmp-dev:armhf (2:6.0.0+dfsg-4) ...
Selecting previously unselected package llvm-3.3-runtime.
Preparing to unpack .../llvm-3.3-runtime_1%3a3.3-16_armhf.deb ...
Unpacking llvm-3.3-runtime (1:3.3-16) ...
Selecting previously unselected package llvm-runtime.
Preparing to unpack .../llvm-runtime_1%3a3.3-21+nmu1_armhf.deb ...
Unpacking llvm-runtime (1:3.3-21+nmu1) ...
Selecting previously unselected package llvm-3.3.
Preparing to unpack .../llvm-3.3_1%3a3.3-16_armhf.deb ...
Unpacking llvm-3.3 (1:3.3-16) ...
Selecting previously unselected package llvm.
Preparing to unpack .../llvm_1%3a3.3-21+nmu1_armhf.deb ...
Unpacking llvm (1:3.3-21+nmu1) ...
Selecting previously unselected package ghc.
Preparing to unpack .../ghc_7.6.3-13_armhf.deb ...
Unpacking ghc (7.6.3-13) ...
Selecting previously unselected package libghc-random-dev.
Preparing to unpack .../libghc-random-dev_1.0.1.1-3_armhf.deb ...
Unpacking libghc-random-dev (1.0.1.1-3) ...
Setting up libpipeline1:armhf (1.3.0-1) ...
Setting up libbsd0:armhf (0.6.0-2) ...
Setting up libffi6:armhf (3.1-2) ...
Setting up libgmpxx4ldbl:armhf (2:6.0.0+dfsg-4) ...
Setting up libllvm3.3:armhf (1:3.3-16) ...
Setting up init-system-helpers (1.19) ...
Setting up binfmt-support (2.1.4-1) ...
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libbsd-dev (0.6.0-2) ...
Setting up libffi-dev:armhf (3.1-2) ...
Setting up libgmp-dev:armhf (2:6.0.0+dfsg-4) ...
Setting up llvm-3.3-runtime (1:3.3-16) ...
Setting up llvm-runtime (1:3.3-21+nmu1) ...
Setting up llvm-3.3 (1:3.3-16) ...
Setting up llvm (1:3.3-21+nmu1) ...
Setting up ghc (7.6.3-13) ...
qemu: Unsupported syscall: 257
ghc: timer_create: Function not implemented
update-alternatives: using /usr/bin/ghc to provide /usr/bin/haskell-compiler (haskell-compiler) in auto mode
qemu: Unsupported syscall: 257
ghc-pkg: timer_create: Function not implemented
dpkg: error processing package ghc (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libghc-random-dev:
 libghc-random-dev depends on libghc-base-dev-4.6.0.1-96bf6; however:
  Package libghc-base-dev-4.6.0.1-96bf6 is not installed.
  Package ghc which provides libghc-base-dev-4.6.0.1-96bf6 is not configured yet.
 libghc-random-dev depends on libghc-time-dev-1.4.0.1-97076; however:
  Package libghc-time-dev-1.4.0.1-97076 is not installed.
  Package ghc which provides libghc-time-dev-1.4.0.1-97076 is not configured yet.

dpkg: error processing package libghc-random-dev (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-1) ...
Errors were encountered while processing:
 ghc
 libghc-random-dev

Adam Conrad (adconrad)
affects: ubuntu-dev-tools (Ubuntu) → qemu (Ubuntu)
Changed in qemu (Ubuntu):
status: New → Fix Released
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

it was probably a transition issue in haskell itself.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.