Skip to content
Snippets Groups Projects
Commit 6b38770d authored by SuganyaAK's avatar SuganyaAK Committed by Mikolaj
Browse files

Accepting new error outputs

parent 50aab75c
No related branches found
No related tags found
No related merge requests found
Showing
with 46 additions and 23 deletions
......@@ -12,7 +12,8 @@ Building executable 'my-exe' for pkg-1.0...
local pkg-1.0
# cabal v2-build
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
Error: [Cabal-7107]
Could not resolve dependencies:
[__0] next goal: pkg (user goal)
[__0] rejecting: pkg-2.0 (constraint from user target requires ==1.0)
[__0] rejecting: pkg-1.0 (constraint from command line flag requires ==2.0)
......
......@@ -2,7 +2,8 @@
Downloading the latest package list from test-local-repo
# cabal v2-build
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
Error: [Cabal-7107]
Could not resolve dependencies:
[__0] trying: pkg-1.0 (user goal)
[__1] next goal: setup-dep (user goal)
[__1] rejecting: setup-dep-2.0 (conflict: pkg => setup-dep>=1 && <2)
......
......@@ -3,4 +3,5 @@ Resolving dependencies...
Build profile: -w ghc-<GHCVER> -O1
In order, the following will be built:
- plain-0.1.0.0 (lib:plain) (first run)
Error: cabal: Failed to build plain-0.1.0.0-inplace. The failure occurred during the configure step. The build process segfaulted (i.e. SIGSEGV).
Error: [Cabal-7125]
Failed to build plain-0.1.0.0-inplace. The failure occurred during the configure step. The build process segfaulted (i.e. SIGSEGV).
......@@ -3,4 +3,5 @@ Resolving dependencies...
Build profile: -w ghc-<GHCVER> -O1
In order, the following will be built:
- custom-setup-without-cabal-1.0 (lib:custom-setup-without-cabal) (first run)
Error: cabal: Failed to build custom-setup-without-cabal-1.0-inplace. The failure occurred during the configure step.
Error: [Cabal-7125]
Failed to build custom-setup-without-cabal-1.0-inplace. The failure occurred during the configure step.
......@@ -3,4 +3,5 @@ Resolving dependencies...
Build profile: -w ghc-<GHCVER> -O1
In order, the following will be built:
- custom-setup-without-cabal-defaultMain-1.0 (lib:custom-setup-without-cabal-defaultMain) (first run)
Error: cabal: Failed to build custom-setup-without-cabal-defaultMain-1.0-inplace. The failure occurred during the configure step.
Error: [Cabal-7125]
Failed to build custom-setup-without-cabal-defaultMain-1.0-inplace. The failure occurred during the configure step.
......@@ -4,7 +4,8 @@ Warning: cannot determine version of <ROOT>/./pkg-config :
Warning: cannot determine version of <ROOT>/./pkg-config :
""
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
Error: [Cabal-7107]
Could not resolve dependencies:
[__0] next goal: CheckExtraProgPath (user goal)
[__0] rejecting: CheckExtraProgPath-0.1 (conflict: pkg-config package zlib-any, not found in the pkg-config database)
[__0] fail (backjumping, conflict set: CheckExtraProgPath)
......
......@@ -2,7 +2,8 @@
Downloading the latest package list from test-local-repo
# cabal v2-repl
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
Error: [Cabal-7107]
Could not resolve dependencies:
[__0] trying: pkg-a-0 (user goal)
[__1] next goal: pkg-a:setup.Cabal (dependency of pkg-a)
[__1] rejecting: pkg-a:setup.Cabal-<VERSION>/installed-<HASH>, pkg-a:setup.Cabal-3.8.0.0 (constraint from --enable-multi-repl requires >=3.11)
......
# cabal v2-build
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
Error: [Cabal-7107]
Could not resolve dependencies:
[__0] trying: d-0.1.0.0 (user goal)
[__1] next goal: p (user goal)
[__1] rejecting: p-0.1.0.0 (requires library 'privatelib' from d, but the component is private)
......
......@@ -22,18 +22,21 @@ Configuring executable 'foo-exe' for bar-1.0...
Preprocessing executable 'foo-exe' for bar-1.0...
Building executable 'foo-exe' for bar-1.0...
# cabal v2-run
Error: cabal: No targets given and there is no package in the current directory. Specify packages or components by name or location. See 'cabal build --help' for more details on target options.
Error: [Cabal-7135]
No targets given and there is no package in the current directory. Specify packages or components by name or location. See 'cabal build --help' for more details on target options.
# cabal v2-run
Error: [Cabal-7070]
The run command is for running a single executable at once. The target 'bar' refers to the package bar-1.0 which includes
- executables: bar-exe and foo-exe
# cabal v2-run
Error: cabal: Ambiguous target 'foo-exe'. It could be:
Error: [Cabal-7132]
Ambiguous target 'foo-exe'. It could be:
bar:foo-exe (component)
foo:foo-exe (component)
# cabal v2-run
Error: cabal: Unknown target 'foo:bar-exe'.
Error: [Cabal-7131]
Unknown target 'foo:bar-exe'.
The package foo has no component 'bar-exe'.
# cabal v2-run
Error: cabal: Failed extracting script block: `{- cabal:` start marker not found
Error: [Cabal-7121]
Failed extracting script block: `{- cabal:` start marker not found
......@@ -6,7 +6,8 @@ In order, the following will be built:
Configuring executable 'q' for q-0.1.0.0...
Preprocessing executable 'q' for q-0.1.0.0...
Building executable 'q' for q-0.1.0.0...
Error: cabal: Failed to build q-0.1.0.0-inplace-q.
Error: [Cabal-7125]
Failed to build q-0.1.0.0-inplace-q.
# cabal v2-build
Resolving dependencies...
Build profile: -w ghc-<GHCVER> -O1
......
# cabal v2-build
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
Error: [Cabal-7107]
Could not resolve dependencies:
[__0] trying: p-1.0 (user goal)
[__1] next goal: q (user goal)
[__1] rejecting: q-1.0 (requires library from p, but the component is not buildable in the current environment)
......
......@@ -6,11 +6,13 @@ In order, the following will be built:
Configuring library for example-1.0...
Preprocessing library for example-1.0...
Building library for example-1.0...
Error: cabal: Failed to build example-1.0-inplace.
Error: [Cabal-7125]
Failed to build example-1.0-inplace.
# cabal v2-haddock
Build profile: -w ghc-<GHCVER> -O1
In order, the following will be built:
- example-1.0 (lib) (first run)
Preprocessing library for example-1.0...
Running Haddock on library for example-1.0...
Error: cabal: Failed to build documentation for example-1.0-inplace.
Error: [Cabal-7125]
Failed to build documentation for example-1.0-inplace.
# cabal v2-sdist
Error: cabal: It is not possible to package only the test suites from a package for distribution. Only entire packages may be packaged for distribution.
Error: [Cabal-7151]
It is not possible to package only the test suites from a package for distribution. Only entire packages may be packaged for distribution.
# cabal v2-sdist
Error: cabal: Can't write multiple tarballs to standard output!
Error: [Cabal-7152]
Can't write multiple tarballs to standard output!
# cabal v2-sdist
Error: cabal: The package base cannot be packaged for distribution, because it is not local to this project.
Error: [Cabal-7151]
The package base cannot be packaged for distribution, because it is not local to this project.
# cabal v2-sdist
Error: cabal: The component test suite 'a-tests' cannot be packaged for distribution on its own. Only entire packages may be packaged for distribution.
Error: [Cabal-7151]
The component test suite 'a-tests' cannot be packaged for distribution on its own. Only entire packages may be packaged for distribution.
......@@ -6,7 +6,8 @@ Build profile: -w ghc-<GHCVER> -O1
In order, the following will be built:
- remote-0.1.0.0 (lib) (requires build)
- current-0.1.0.0 (exe:current) (first run)
Error: cabal: --offline was specified, hence refusing to download the package: remote version 0.1.0.0.
Error: [Cabal-7125]
--offline was specified, hence refusing to download the package: remote version 0.1.0.0.
# cabal v2-build
Build profile: -w ghc-<GHCVER> -O1
In order, the following will be built:
......
......@@ -9,7 +9,8 @@ Installing library in <PATH>
Registering library for p-1.0...
# cabal v2-build
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
Error: [Cabal-7107]
Could not resolve dependencies:
[__0] trying: q-1.0 (user goal)
[__1] unknown package: base (dependency of q)
[__1] fail (backjumping, conflict set: base, q)
......
......@@ -9,7 +9,8 @@ Installing library in <PATH>
Registering library for p-1.0...
# cabal v2-build
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
Error: [Cabal-7107]
Could not resolve dependencies:
[__0] trying: q-1.0 (user goal)
[__1] unknown package: p (dependency of q)
[__1] fail (backjumping, conflict set: p, q)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment