From 8146c52a04a14b054ac542266fa9ea41c38372d9 Mon Sep 17 00:00:00 2001 From: Kristen Kozak Date: Fri, 22 Nov 2019 00:28:27 -0800 Subject: [PATCH] Update test output with solver error for private dependencies. --- .../PackageTests/MultipleLibraries/cabal.out | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/cabal-testsuite/PackageTests/MultipleLibraries/cabal.out b/cabal-testsuite/PackageTests/MultipleLibraries/cabal.out index 7e51c00ef04..ed846531e57 100644 --- a/cabal-testsuite/PackageTests/MultipleLibraries/cabal.out +++ b/cabal-testsuite/PackageTests/MultipleLibraries/cabal.out @@ -1,12 +1,8 @@ # cabal v2-build Resolving dependencies... -Build profile: -w ghc- -O1 -In order, the following will be built: - - d-0.1.0.0 (lib:privatelib) (first run) - - p-0.1.0.0 (lib) (first run) -Configuring library 'privatelib' for d-0.1.0.0.. -Preprocessing library 'privatelib' for d-0.1.0.0.. -Building library 'privatelib' for d-0.1.0.0.. -Configuring library for p-0.1.0.0.. -cabal: Encountered missing or private dependencies: - d : {privatelib} ==0.1.0.0 +cabal: 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) +[__1] fail (backjumping, conflict set: d, p) +After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: d (2), p (2)