Skip to content
This repository was archived by the owner on Nov 1, 2018. It is now read-only.

Commit 51abb1c

Browse files
Austin Seippbgamari
authored andcommitted
ghc-pkg: recompute abi-depends for updated packages
See `Note [Recompute abi-depends]` for more information. Signed-off-by: Austin Seipp <[email protected]> Test Plan: `./validate` Reviewers: bgamari, ezyang Reviewed By: bgamari Subscribers: tdammers, juhp, carter, alexbiehl, shlevy, cocreature, rwbarton, thomie GHC Trac Issues: #14381 Differential Revision: https://phabricator.haskell.org/D4159 (cherry picked from commit 1cdc14f)
1 parent daa4de1 commit 51abb1c

File tree

11 files changed

+82
-9
lines changed

11 files changed

+82
-9
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1+
ignoring (possibly broken) abi-depends field for packages
2+
ignoring (possibly broken) abi-depends field for packages
13
Preprocessing library 'p' for bkpcabal01-0.1.0.0..
24
Building library 'p' instantiated with H = <H>
35
for bkpcabal01-0.1.0.0..
6+
ignoring (possibly broken) abi-depends field for packages
47
Preprocessing library 'q' for bkpcabal01-0.1.0.0..
58
Building library 'q' instantiated with H = <H>
69
for bkpcabal01-0.1.0.0..
10+
ignoring (possibly broken) abi-depends field for packages
11+
ignoring (possibly broken) abi-depends field for packages

testsuite/tests/cabal/T12485a.stdout

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
ignoring (possibly broken) abi-depends field for packages
12
should SUCCEED
23
should SUCCEED
34
should SUCCEED

testsuite/tests/cabal/T5442d.stdout

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Reading package info from "shadow1.pkg" ... done.
22
Reading package info from "shadow4.pkg" ... done.
33
Reading package info from "shadow2.pkg" ... done.
4+
ignoring (possibly broken) abi-depends field for packages
45
global (should be empty):
56
user:
67
shadow-2

testsuite/tests/cabal/cabal01/cabal01.stdout

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
ignoring (possibly broken) abi-depends field for packages
12
install1:
23
bin
34
lib

testsuite/tests/cabal/cabal06/cabal06.stdout

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
ignoring (possibly broken) abi-depends field for packages
2+
ignoring (possibly broken) abi-depends field for packages
3+
ignoring (possibly broken) abi-depends field for packages
4+
ignoring (possibly broken) abi-depends field for packages
15
Does the first instance of q depend on p-1.0?
26
1
37
Does the second instance of q depend on p-1.0?

testsuite/tests/cabal/cabal08/cabal08.stdout

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
ignoring (possibly broken) abi-depends field for packages
2+
ignoring (possibly broken) abi-depends field for packages
13
[1 of 1] Compiling Main ( Main.hs, Main.o )
24
Linking Main ...
35
p2

testsuite/tests/cabal/shadow.stdout

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
ignoring (possibly broken) abi-depends field for packages
12
databases 1 and 2:
23
localshadow1.package.conf
34
(shadow-1)

testsuite/tests/driver/recomp007/recomp007.stdout

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
ignoring (possibly broken) abi-depends field for packages
2+
ignoring (possibly broken) abi-depends field for packages
13
Preprocessing executable 'test' for b-1.0..
24
Building executable 'test' for b-1.0..
35
[1 of 2] Compiling B ( B.hs, dist/build/test/test-tmp/B.o ) [A changed]
Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,53 @@
1+
ignoring (possibly broken) abi-depends field for packages
12
pdb.safePkg01/local.db
23
safePkg01-1.0
34

45
trusted: False
56

67
M_SafePkg
7-
package dependencies: base-4.9.0.0* ghc-prim-0.5.0.0 integer-gmp-1.0.0.0
8+
package dependencies: base-4.11.0.0* ghc-prim-0.5.2.0 integer-gmp-1.0.1.0
89
trusted: safe
910
require own pkg trusted: False
1011

1112
M_SafePkg2
12-
package dependencies: base-4.9.0.0 ghc-prim-0.5.0.0 integer-gmp-1.0.0.0
13+
package dependencies: base-4.11.0.0 ghc-prim-0.5.2.0 integer-gmp-1.0.1.0
1314
trusted: trustworthy
1415
require own pkg trusted: False
1516

1617
M_SafePkg3
17-
package dependencies: base-4.9.0.0* ghc-prim-0.5.0.0 integer-gmp-1.0.0.0
18+
package dependencies: base-4.11.0.0* ghc-prim-0.5.2.0 integer-gmp-1.0.1.0
1819
trusted: safe
1920
require own pkg trusted: True
2021

2122
M_SafePkg4
22-
package dependencies: base-4.9.0.0* ghc-prim-0.5.0.0 integer-gmp-1.0.0.0
23+
package dependencies: base-4.11.0.0* ghc-prim-0.5.2.0 integer-gmp-1.0.1.0
2324
trusted: safe
2425
require own pkg trusted: True
2526

2627
M_SafePkg5
27-
package dependencies: base-4.9.0.0* ghc-prim-0.5.0.0 integer-gmp-1.0.0.0
28+
package dependencies: base-4.11.0.0* ghc-prim-0.5.2.0 integer-gmp-1.0.1.0
2829
trusted: safe
2930
require own pkg trusted: True
3031

3132
M_SafePkg6
32-
package dependencies: array-0.5.1.0 base-4.9.0.0* bytestring-0.10.7.0* deepseq-1.4.2.0 ghc-prim-0.5.0.0 integer-gmp-1.0.0.0
33+
package dependencies: array-0.5.2.0 base-4.11.0.0* bytestring-0.10.8.2* deepseq-1.4.3.0 ghc-prim-0.5.2.0 integer-gmp-1.0.1.0
3334
trusted: trustworthy
3435
require own pkg trusted: False
3536

3637
M_SafePkg7
37-
package dependencies: array-0.5.1.0 base-4.9.0.0* bytestring-0.10.7.0* deepseq-1.4.2.0 ghc-prim-0.5.0.0 integer-gmp-1.0.0.0
38+
package dependencies: array-0.5.2.0 base-4.11.0.0* bytestring-0.10.8.2* deepseq-1.4.3.0 ghc-prim-0.5.2.0 integer-gmp-1.0.1.0
3839
trusted: safe
3940
require own pkg trusted: False
4041

4142
M_SafePkg8
42-
package dependencies: array-0.5.1.0 base-4.9.0.0 bytestring-0.10.7.0* deepseq-1.4.2.0 ghc-prim-0.5.0.0 integer-gmp-1.0.0.0
43+
package dependencies: array-0.5.2.0 base-4.11.0.0 bytestring-0.10.8.2* deepseq-1.4.3.0 ghc-prim-0.5.2.0 integer-gmp-1.0.1.0
4344
trusted: trustworthy
4445
require own pkg trusted: False
4546

4647
Testing setting trust
48+
ignoring (possibly broken) abi-depends field for packages
4749
trusted: True
50+
ignoring (possibly broken) abi-depends field for packages
4851
trusted: False
52+
ignoring (possibly broken) abi-depends field for packages
4953
trusted: False
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
ignoring (possibly broken) abi-depends field for packages
2+
ignoring (possibly broken) abi-depends field for packages
13
Window

0 commit comments

Comments
 (0)