You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 6, 2020. It is now read-only.
I successfully built crashcart from sources, but I am now struggling getting through the next step (Building crashcart.img). Running build_image.sh produces those errors:
# ./build_image.sh
...
building path(s) ‘/dev/crashcart/store/v9hkl24aahz6gbcv13qqj2zbc1gblgzw-nghttp2-1.20.0.tar.bz2’
downloading ‘https://github.com/nghttp2/nghttp2/releases/download/v1.20.0/nghttp2-1.20.0.tar.bz2’... [0/0 KiB, 0.0 Ki [1716/1761 KiB, 327.3 KiB/s]
building path(s) ‘/dev/crashcart/store/16xp8vj3y3lgw98sswdw8jm5jyzg1iyh-mpc-1.0.3.tar.gz’
downloading ‘http://www.multiprecision.org/mpc/download/mpc-1.0.3.tar.gz’... [0/0 KiB, 0.0 KiB/s]
error: unable to download ‘http://www.multiprecision.org/mpc/download/mpc-1.0.3.tar.gz’: HTTP response code said error (22)
builder for ‘/dev/crashcart/store/49cfin4ra99d36lcv8vs18rjghq4p6y2-mpc-1.0.3.tar.gz.drv’ failed with exit code 1
cannot build derivation ‘/dev/crashcart/store/7k423rmibnmnn8hwggd3wdq94zs8zk6h-libmpc-1.0.3.drv’: 1 dependencies couldn't be built
building path(s) ‘/dev/crashcart/store/0dm301gls40kgar61a2fxl6h9pr26h8g-mpfr-3.1.3.tar.bz2’
cannot build derivation ‘/dev/crashcart/store/sqad8lmk4inhvfmpzaqpvb74ms589g56-gcc-6.4.0.drv’: 1 dependencies couldn't be built
building path(s) ‘/dev/crashcart/store/5lby4v9jy64p02rgccabx855g0dq4q3v-openssl-1.0.2n.tar.gz’
cannot build derivation ‘/dev/crashcart/store/a244hgf0dd3v7chrsnk3rcc0pzhw5gd9-gcc-wrapper-6.4.0.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/dev/crashcart/store/s09bk3vymycqzg0lm9xnjq9bb5naaj2i-gcc-wrapper-6.4.0.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/dev/crashcart/store/q0p7x1c3lzf6j5cgdv2w2qy10rq40rdp-perl-5.24.3.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/dev/crashcart/store/267a4x9n3zz27kajr8ppcbsj2rjla7cd-stdenv.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/dev/crashcart/store/m80y3i848d42dzb5gf83kd1jc2c0myzk-stdenv.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/dev/crashcart/store/3na2cpf6qj6s507dnk0wrxyi8pjdldsf-bash-4.4-p12.drv’: 1 dependencies couldn't be built
error: build of ‘/dev/crashcart/store/3na2cpf6qj6s507dnk0wrxyi8pjdldsf-bash-4.4-p12.drv’ failed
Nevertheless, a Docker image is built:
# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
crashcart-builder latest 2d7bcd31ce5d About a minute ago 493MB
Trying to run this image manually (by copy-pasting the command from build_image.sh) produces the following errors:
# docker run --privileged --rm -i \
-e "PACKAGES=${PACKAGES}" \
-e http_proxy="${http_proxy}" \
-e https_proxy="${https_proxy}" \
-e ftp_proxy="${ftp_proxy}" \
-v "${PWD}"/vol:/dev/crashcart crashcart-builder /dev/crashcart/build_crashcart.sh
...
error: Package ‘Agda-2.5.2’ in /dev/crashcart/store/c9bqkl3z13zwsrganhkmrf1d195d57by-nixos-17.09-17.09.2754.66b4de79e38/nixos-17.09/pkgs/development/haskell-modules/hackage-packages.nix:726 is marked as broken, refusing to evaluate.
a) For `nixos-rebuild` you can set
{ nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.
b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
{ allowBroken = true; }
to ~/.config/nixpkgs/config.nix.
(use ‘--show-trace’ to show detailed location information)
Any idea what is going wrong/what am I doing wrong?
Note: I am using Linux Mint (Ubuntu-based) in a Virtual Box. I have successfully used this setup before together with Docker.
Thank you,
Brice.
The text was updated successfully, but these errors were encountered:
Hi Brice,
Hopefully this has been fixed. Unfortunately nixos tends to break their packages sometimes when building from scratch. Probably worth trying again.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I successfully built
crashcart
from sources, but I am now struggling getting through the next step (Buildingcrashcart.img
). Runningbuild_image.sh
produces those errors:Nevertheless, a Docker image is built:
Trying to run this image manually (by copy-pasting the command from
build_image.sh
) produces the following errors:Any idea what is going wrong/what am I doing wrong?
Note: I am using Linux Mint (Ubuntu-based) in a Virtual Box. I have successfully used this setup before together with Docker.
Thank you,
Brice.
The text was updated successfully, but these errors were encountered: