Merge pull request #10493 from Sdywolf/doc-refine/repl
[cabal.git] / cabal-testsuite / PackageTests / ConditionalAndImport / cabal.out
blob7a6333d21bcc65d98dba10d2b2f638c8333ee982
1 # cabal v2-update
2 Downloading the latest package list from test-local-repo
3 # cabal v2-run
4 Resolving dependencies...
5 Build profile: -w ghc-<GHCVER> -O1
6 In order, the following will be built:
7  - some-exe-0.0.1.0 (exe:some-exe) (requires build)
8 Configuring some-exe-0.0.1.0...
9 Preprocessing executable 'some-exe' for some-exe-0.0.1.0...
10 Building executable 'some-exe' for some-exe-0.0.1.0...
11 Installing executable some-exe in <PATH>
12 Warning: The directory <ROOT>/cabal.dist/home/.cabal/store/ghc-<GHCVER>/incoming/new-<RAND><ROOT>/cabal.dist/home/.cabal/store/ghc-<GHCVER>/<PACKAGE>-<HASH>/bin is not in the system search path.
13 # checking cyclical loopback of a project importing itself
14 # cabal v2-build
15 Error: [Cabal-7090]
16 Error parsing project file <ROOT>/cyclical-0-self.project:
17 cyclical import of cyclical-0-self.project;
18   cyclical-0-self.project
19     imported by: cyclical-0-self.project
20 # checking cyclical with hops; out and back
21 # cabal v2-build
22 Error: [Cabal-7090]
23 Error parsing project file <ROOT>/cyclical-1-out-back.project:
24 cyclical import of cyclical-1-out-back.project;
25   cyclical-1-out-back.project
26     imported by: cyclical-1-out-back.config
27     imported by: cyclical-1-out-back.project
28 # checking cyclical with hops; out to a config that imports itself
29 # cabal v2-build
30 Error: [Cabal-7090]
31 Error parsing project file <ROOT>/cyclical-1-out-self.project:
32 cyclical import of cyclical-1-out-self.config;
33   cyclical-1-out-self.config
34     imported by: cyclical-1-out-self.config
35     imported by: cyclical-1-out-self.project
36 # checking cyclical with hops; out, out, twice back
37 # cabal v2-build
38 Error: [Cabal-7090]
39 Error parsing project file <ROOT>/cyclical-2-out-out-backback.project:
40 cyclical import of cyclical-2-out-out-backback.project;
41   cyclical-2-out-out-backback.project
42     imported by: cyclical-2-out-out-backback-b.config
43     imported by: cyclical-2-out-out-backback-a.config
44     imported by: cyclical-2-out-out-backback.project
45 # checking cyclical with hops; out, out, once back
46 # cabal v2-build
47 Error: [Cabal-7090]
48 Error parsing project file <ROOT>/cyclical-2-out-out-back.project:
49 cyclical import of cyclical-2-out-out-back-a.config;
50   cyclical-2-out-out-back-a.config
51     imported by: cyclical-2-out-out-back-b.config
52     imported by: cyclical-2-out-out-back-a.config
53     imported by: cyclical-2-out-out-back.project
54 # checking cyclical with hops; out, out to a config that imports itself
55 # cabal v2-build
56 Error: [Cabal-7090]
57 Error parsing project file <ROOT>/cyclical-2-out-out-self.project:
58 cyclical import of cyclical-2-out-out-self-b.config;
59   cyclical-2-out-out-self-b.config
60     imported by: cyclical-2-out-out-self-b.config
61     imported by: cyclical-2-out-out-self-a.config
62     imported by: cyclical-2-out-out-self.project
63 # checking that cyclical check doesn't false-positive on same file names in different folders; hoping within a folder and then into a subfolder
64 # cabal v2-build
65 Resolving dependencies...
66 Build profile: -w ghc-<GHCVER> -O1
67 In order, the following will be built:
68  - my-0.1 (lib:my) (first run)
69 Configuring my-0.1...
70 Preprocessing library for my-0.1...
71 Building library for my-0.1...
72 # checking that cyclical check doesn't false-positive on same file names in different folders; hoping into a subfolder and then back out again
73 # cabal v2-build
74 Up to date
75 # checking that cyclical check catches a same file name that imports itself
76 # cabal v2-build
77 Error: [Cabal-7090]
78 Error parsing project file <ROOT>/cyclical-same-filename-out-out-self.project:
79 cyclical import of same-filename/cyclical-same-filename-out-out-self.config;
80   same-filename/cyclical-same-filename-out-out-self.config
81     imported by: same-filename/cyclical-same-filename-out-out-self.config
82     imported by: cyclical-same-filename-out-out-self.config
83     imported by: cyclical-same-filename-out-out-self.project
84 # checking that cyclical check catches importing its importer (with the same file name)
85 # cabal v2-build
86 Error: [Cabal-7090]
87 Error parsing project file <ROOT>/cyclical-same-filename-out-out-backback.project:
88 cyclical import of cyclical-same-filename-out-out-backback.project;
89   cyclical-same-filename-out-out-backback.project
90     imported by: same-filename/cyclical-same-filename-out-out-backback.config
91     imported by: cyclical-same-filename-out-out-backback.config
92     imported by: cyclical-same-filename-out-out-backback.project
93 # checking that cyclical check catches importing its importer's importer (hopping over same file names)
94 # cabal v2-build
95 Error: [Cabal-7090]
96 Error parsing project file <ROOT>/cyclical-same-filename-out-out-back.project:
97 cyclical import of cyclical-same-filename-out-out-back.config;
98   cyclical-same-filename-out-out-back.config
99     imported by: same-filename/cyclical-same-filename-out-out-back.config
100     imported by: cyclical-same-filename-out-out-back.config
101     imported by: cyclical-same-filename-out-out-back.project
102 # checking that imports work skipping into a subfolder and then back out again and again
103 # cabal v2-build
104 Up to date
105 # checking conflicting constraints skipping into a subfolder and then back out again and again
106 # cabal v2-build
107 Resolving dependencies...
108 Error: [Cabal-7107]
109 Could not resolve dependencies:
110 [__0] trying: oops-0.1 (user goal)
111 [__1] next goal: hashable (dependency of oops)
112 [__1] rejecting: hashable-1.4.3.0
113       (constraint from oops/oops-9.config requires ==1.4.2.0)
114         imported by: oops-8.config
115         imported by: oops/oops-7.config
116         imported by: oops-6.config
117         imported by: oops/oops-5.config
118         imported by: oops-4.config
119         imported by: oops/oops-3.config
120         imported by: oops-2.config
121         imported by: oops/oops-1.config
122         imported by: oops-0.project
123 [__1] rejecting: hashable-1.4.2.0
124       (constraint from oops-0.project requires ==1.4.3.0)
125 [__1] fail (backjumping, conflict set: hashable, oops)
126 After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: hashable (3), oops (2)
127 # checking bad conditional
128 # cabal v2-build
129 Error: [Cabal-7090]
130 Error parsing project file <ROOT>/bad-conditional.project:
131 Cannot set compiler in a conditional clause of a cabal project file
132 # checking that missing package message lists configuration provenance
133 # cabal v2-build