Closed elldritch closed 1 year ago
This sounds related to #189. I'm building with GHC 9.0.2. Here are the snippets from my dist-newstyle/cache/plan.json:
dist-newstyle/cache/plan.json
{ "type": "configured", "id": "rel8-1.3.1.0-62c090c481c7d83d7a43e9350031c6cce100bb500919c37d89223e782dee0c0e", "pkg-name": "rel8", "pkg-version": "1.3.1.0", "flags": {}, "style": "global", "pkg-src": { "type": "repo-tar", "repo": { "type": "secure-repo", "uri": "http://hackage.haskell.org/" } }, "pkg-cabal-sha256": "82292d07f590c92b256f512347bb410989501711d47fdd2b43823f6467169f03", "pkg-src-sha256": "695421e94f8af6dee6f495c8cbe66f38e3032a4876bd5510d901d07f225b3764", "depends": [ "aeson-1.5.6.0-b384798dd9bc4c751223112600f3f749f04ecc8ac1e826045a21d7df3501d2b3", "base-4.15.1.0", "bifunctors-5.5.12-995f2a2a021f6095542f8ed61dafd916a578f1eddcd62935f21d518546a26888", "bytestring-0.10.12.1", "case-insensitive-1.2.1.0-c616657212766ef1f0b1d5ff689f32168a322ec32c36aff1079289f1766ec4a6", "comonad-5.0.8-e58ed9487f16dababa3c60b2f93e34b556c4a627866e0bab44643d99d632ab05", "contravariant-1.5.5-f9f155b4e193e0b5a24203f332ce4ef9a58e36b42b2845a3f1d5b791d853a6a7", "hasql-1.5.0.5-4ffe935b267f03f6037ec89f3b852aa2989df92b349f6c8de1c44e9d714f574c", "opaleye-0.9.3.3-9bea9446032040a7fff5965a7bc8184f555f541ee597354346d32404ce7dac45", "pretty-1.1.3.6", "product-profunctors-0.11.0.3-53fe74901eb8e450cd606d5c84e3d5c51d3de93049f0f55482792d16d34b4d80", "profunctors-5.6.2-fa163ce82d9cb0e684b1174db62da30d53ec2b245816a298843a9b664dbb7b5b", "scientific-0.3.7.0-4d975bbc368ddb7e876f32f4cec02a7a8bcc4b2c00de98dcddfb65e408f7dcc8", "semialign-1.2.0.1-9d1018153668df5518d5303b666d9eb2236c2333b0aedb9838128dad09d6654c", "semigroupoids-5.3.7-f65afeed3fa030f8a62b0acc39d96fa9a3455e5fda39f2e9293d54bb3932aefe", "text-1.2.5.0", "these-1.1.1.1-d7e4ed2e28ec19cb3d2aec65c30bc110c47860c793a9f44f800f44ca9b7bd570", "time-1.9.3", "uuid-1.3.15-a1a03aaf4a85e43acf26878601e50c4b627d4fc22e12faa529dbee4977bb0b91" ], "exe-depends": [], "component-name": "lib" }
{ "type": "configured", "id": "opaleye-0.9.3.3-9bea9446032040a7fff5965a7bc8184f555f541ee597354346d32404ce7dac45", "pkg-name": "opaleye", "pkg-version": "0.9.3.3", "flags": {}, "style": "global", "pkg-src": { "type": "repo-tar", "repo": { "type": "secure-repo", "uri": "http://hackage.haskell.org/" } }, "pkg-cabal-sha256": "8fe0e0b88f892f646da0121e55ef3d06cd97f625b45c9fc116c23ba520dca75b", "pkg-src-sha256": "ca9279ba544e65b840bd04aca2d42d28b57d60173124543555a13d71d70f08a7", "depends": [ "aeson-1.5.6.0-b384798dd9bc4c751223112600f3f749f04ecc8ac1e826045a21d7df3501d2b3", "base-4.15.1.0", "base16-bytestring-1.0.2.0-24d93ba00231905488a5a605a8821802ab1e4259ce6dd8fcac3fa77e1301f7e1", "bytestring-0.10.12.1", "case-insensitive-1.2.1.0-c616657212766ef1f0b1d5ff689f32168a322ec32c36aff1079289f1766ec4a6", "contravariant-1.5.5-f9f155b4e193e0b5a24203f332ce4ef9a58e36b42b2845a3f1d5b791d853a6a7", "postgresql-simple-0.6.4-1db85107e82102dd0dea8b509bb46fad6dc550772b68b1df7985ab7827f06ad7", "pretty-1.1.3.6", "product-profunctors-0.11.0.3-53fe74901eb8e450cd606d5c84e3d5c51d3de93049f0f55482792d16d34b4d80", "profunctors-5.6.2-fa163ce82d9cb0e684b1174db62da30d53ec2b245816a298843a9b664dbb7b5b", "scientific-0.3.7.0-4d975bbc368ddb7e876f32f4cec02a7a8bcc4b2c00de98dcddfb65e408f7dcc8", "semigroups-0.20-ae60f0da1efb1a217032ad0c6e2ab1545aebfe2b9d4162ee4c4c71eafa28d612", "text-1.2.5.0", "time-compat-1.9.6.1-af6c8fab1b99e501f6d32a811f09917d1711bca472e6b846e095d908bf6ad8c6", "time-locale-compat-0.1.1.5-369d751108da6604aa3d13abc8bd66c5417e98a4f90aed4202b80118f137a984", "transformers-0.5.6.2", "uuid-1.3.15-a1a03aaf4a85e43acf26878601e50c4b627d4fc22e12faa529dbee4977bb0b91", "void-0.7.3-bb3cb4a7de8bdea7b826d94a6ab759caaeb7fd292a0595ab24b3b082e93ebc7b" ], "exe-depends": [], "component-name": "lib" }
Here's the error I see on cabal build:
cabal build
Starting rel8-1.3.1.0 (lib) Building rel8-1.3.1.0 (lib) Failed to build rel8-1.3.1.0. Build log ( /home/REDACTED/.cabal/logs/ghc-9.0.2/rel8-1.3.1.0-62c090c481c7d83d7a43e9350031c6cce100bb500919c37d89223e782dee0c0e.log ): Configuring library for rel8-1.3.1.0.. Preprocessing library for rel8-1.3.1.0.. Building library for rel8-1.3.1.0.. on the commandline: warning: unrecognised warning flag: -Wno-missing-kind-signatures [ 1 of 133] Compiling Rel8.FCF ( src/Rel8/FCF.hs, dist/build/Rel8/FCF.o, dist/build/Rel8/FCF.dyn_o ) [ 2 of 133] Compiling Rel8.Generic.Map ( src/Rel8/Generic/Map.hs, dist/build/Rel8/Generic/Map.o, dist/build/Rel8/Generic/Map.dyn_o ) [ 3 of 133] Compiling Rel8.Generic.Record ( src/Rel8/Generic/Record.hs, dist/build/Rel8/Generic/Record.o, dist/build/Rel8/Generic/Record.dyn_o ) [ 4 of 133] Compiling Rel8.Kind.Algebra ( src/Rel8/Kind/Algebra.hs, dist/build/Rel8/Kind/Algebra.o, dist/build/Rel8/Kind/Algebra.dyn_o ) [ 5 of 133] Compiling Rel8.Order ( src/Rel8/Order.hs, dist/build/Rel8/Order.o, dist/build/Rel8/Order.dyn_o ) [ 6 of 133] Compiling Rel8.Query[boot] ( src/Rel8/Query.hs-boot, dist/build/Rel8/Query.o-boot, dist/build/Rel8/Query.dyn_o ) [ 7 of 133] Compiling Rel8.Query.Opaleye ( src/Rel8/Query/Opaleye.hs, dist/build/Rel8/Query/Opaleye.o, dist/build/Rel8/Query/Opaleye.dyn_o ) [ 8 of 133] Compiling Rel8.Schema.Dict ( src/Rel8/Schema/Dict.hs, dist/build/Rel8/Schema/Dict.o, dist/build/Rel8/Schema/Dict.dyn_o ) [ 9 of 133] Compiling Rel8.Schema.Kind ( src/Rel8/Schema/Kind.hs, dist/build/Rel8/Schema/Kind.o, dist/build/Rel8/Schema/Kind.dyn_o ) [ 10 of 133] Compiling Rel8.Schema.HTable.Product ( src/Rel8/Schema/HTable/Product.hs, dist/build/Rel8/Schema/HTable/Product.o, dist/build/Rel8/Schema/HTable/Product.dyn_o ) [ 11 of 133] Compiling Rel8.Expr[boot] ( src/Rel8/Expr.hs-boot, dist/build/Rel8/Expr.o-boot, dist/build/Rel8/Expr.dyn_o ) [ 12 of 133] Compiling Rel8.Schema.Null ( src/Rel8/Schema/Null.hs, dist/build/Rel8/Schema/Null.o, dist/build/Rel8/Schema/Null.dyn_o ) [ 13 of 133] Compiling Rel8.Schema.Table ( src/Rel8/Schema/Table.hs, dist/build/Rel8/Schema/Table.o, dist/build/Rel8/Schema/Table.dyn_o ) [ 14 of 133] Compiling Rel8.Type.Information ( src/Rel8/Type/Information.hs, dist/build/Rel8/Type/Information.o, dist/build/Rel8/Type/Information.dyn_o ) [ 15 of 133] Compiling Rel8.Type.Array ( src/Rel8/Type/Array.hs, dist/build/Rel8/Type/Array.o, dist/build/Rel8/Type/Array.dyn_o ) [ 16 of 133] Compiling Rel8.Type ( src/Rel8/Type.hs, dist/build/Rel8/Type.o, dist/build/Rel8/Type.dyn_o ) src/Rel8/Type.hs: warning: [-Wall-missed-specialisations] Could not specialise imported function ‘GHC.Real.$wrealToFrac’ when specialising ‘realToFrac’ Probable fix: add INLINABLE pragma on ‘GHC.Real.$wrealToFrac’ [ 17 of 133] Compiling Rel8.Type.Eq ( src/Rel8/Type/Eq.hs, dist/build/Rel8/Type/Eq.o, dist/build/Rel8/Type/Eq.dyn_o ) [ 18 of 133] Compiling Rel8.Schema.Spec ( src/Rel8/Schema/Spec.hs, dist/build/Rel8/Schema/Spec.o, dist/build/Rel8/Schema/Spec.dyn_o ) [ 19 of 133] Compiling Rel8.Schema.Result ( src/Rel8/Schema/Result.hs, dist/build/Rel8/Schema/Result.o, dist/build/Rel8/Schema/Result.dyn_o ) [ 20 of 133] Compiling Rel8.Column ( src/Rel8/Column.hs, dist/build/Rel8/Column.o, dist/build/Rel8/Column.dyn_o ) [ 21 of 133] Compiling Rel8.Schema.HTable ( src/Rel8/Schema/HTable.hs, dist/build/Rel8/Schema/HTable.o, dist/build/Rel8/Schema/HTable.dyn_o ) [ 22 of 133] Compiling Rel8.Schema.HTable.MapTable ( src/Rel8/Schema/HTable/MapTable.hs, dist/build/Rel8/Schema/HTable/MapTable.o, dist/build/Rel8/Schema/HTable/MapTable.dyn_o ) [ 23 of 133] Compiling Rel8.Schema.HTable.Nullify ( src/Rel8/Schema/HTable/Nullify.hs, dist/build/Rel8/Schema/HTable/Nullify.o, dist/build/Rel8/Schema/HTable/Nullify.dyn_o ) [ 24 of 133] Compiling Rel8.Schema.HTable.Label ( src/Rel8/Schema/HTable/Label.hs, dist/build/Rel8/Schema/HTable/Label.o, dist/build/Rel8/Schema/HTable/Label.dyn_o ) [ 25 of 133] Compiling Rel8.Generic.Table.Record ( src/Rel8/Generic/Table/Record.hs, dist/build/Rel8/Generic/Table/Record.o, dist/build/Rel8/Generic/Table/Record.dyn_o ) [ 26 of 133] Compiling Rel8.Generic.Construction.Record ( src/Rel8/Generic/Construction/Record.hs, dist/build/Rel8/Generic/Construction/Record.o, dist/build/Rel8/Generic/Construction/Record.dyn_o ) [ 27 of 133] Compiling Rel8.Schema.HTable.Identity ( src/Rel8/Schema/HTable/Identity.hs, dist/build/Rel8/Schema/HTable/Identity.o, dist/build/Rel8/Schema/HTable/Identity.dyn_o ) [ 28 of 133] Compiling Rel8.Table ( src/Rel8/Table.hs, dist/build/Rel8/Table.o, dist/build/Rel8/Table.dyn_o ) [ 29 of 133] Compiling Rel8.Table.Transpose ( src/Rel8/Table/Transpose.hs, dist/build/Rel8/Table/Transpose.o, dist/build/Rel8/Table/Transpose.dyn_o ) [ 30 of 133] Compiling Rel8.Table.Cols ( src/Rel8/Table/Cols.hs, dist/build/Rel8/Table/Cols.o, dist/build/Rel8/Table/Cols.dyn_o ) [ 31 of 133] Compiling Rel8.Schema.Field ( src/Rel8/Schema/Field.hs, dist/build/Rel8/Schema/Field.o, dist/build/Rel8/Schema/Field.dyn_o ) [ 32 of 133] Compiling Rel8.Table.Projection ( src/Rel8/Table/Projection.hs, dist/build/Rel8/Table/Projection.o, dist/build/Rel8/Table/Projection.dyn_o ) [ 33 of 133] Compiling Rel8.Schema.HTable.Vectorize ( src/Rel8/Schema/HTable/Vectorize.hs, dist/build/Rel8/Schema/HTable/Vectorize.o, dist/build/Rel8/Schema/HTable/Vectorize.dyn_o ) [ 34 of 133] Compiling Rel8.Schema.HTable.NonEmpty ( src/Rel8/Schema/HTable/NonEmpty.hs, dist/build/Rel8/Schema/HTable/NonEmpty.o, dist/build/Rel8/Schema/HTable/NonEmpty.dyn_o ) [ 35 of 133] Compiling Rel8.Schema.HTable.List ( src/Rel8/Schema/HTable/List.hs, dist/build/Rel8/Schema/HTable/List.o, dist/build/Rel8/Schema/HTable/List.dyn_o ) [ 36 of 133] Compiling Rel8.Expr.Opaleye ( src/Rel8/Expr/Opaleye.hs, dist/build/Rel8/Expr/Opaleye.o, dist/build/Rel8/Expr/Opaleye.dyn_o ) [ 37 of 133] Compiling Rel8.Expr.Serialize ( src/Rel8/Expr/Serialize.hs, dist/build/Rel8/Expr/Serialize.o, dist/build/Rel8/Expr/Serialize.dyn_o ) [ 38 of 133] Compiling Rel8.Expr.Function ( src/Rel8/Expr/Function.hs, dist/build/Rel8/Expr/Function.o, dist/build/Rel8/Expr/Function.dyn_o ) [ 39 of 133] Compiling Rel8.Expr.Bool ( src/Rel8/Expr/Bool.hs, dist/build/Rel8/Expr/Bool.o, dist/build/Rel8/Expr/Bool.dyn_o ) [ 40 of 133] Compiling Rel8.Expr.Null ( src/Rel8/Expr/Null.hs, dist/build/Rel8/Expr/Null.o, dist/build/Rel8/Expr/Null.dyn_o ) [ 41 of 133] Compiling Rel8.Expr.Array ( src/Rel8/Expr/Array.hs, dist/build/Rel8/Expr/Array.o, dist/build/Rel8/Expr/Array.dyn_o ) [ 42 of 133] Compiling Rel8.Type.JSONBEncoded ( src/Rel8/Type/JSONBEncoded.hs, dist/build/Rel8/Type/JSONBEncoded.o, dist/build/Rel8/Type/JSONBEncoded.dyn_o ) [ 43 of 133] Compiling Rel8.Type.JSONEncoded ( src/Rel8/Type/JSONEncoded.hs, dist/build/Rel8/Type/JSONEncoded.o, dist/build/Rel8/Type/JSONEncoded.dyn_o ) [ 44 of 133] Compiling Rel8.Type.Ord ( src/Rel8/Type/Ord.hs, dist/build/Rel8/Type/Ord.o, dist/build/Rel8/Type/Ord.dyn_o ) [ 45 of 133] Compiling Rel8.Type.Num ( src/Rel8/Type/Num.hs, dist/build/Rel8/Type/Num.o, dist/build/Rel8/Type/Num.dyn_o ) [ 46 of 133] Compiling Rel8.Type.Enum ( src/Rel8/Type/Enum.hs, dist/build/Rel8/Type/Enum.o, dist/build/Rel8/Type/Enum.dyn_o ) [ 47 of 133] Compiling Rel8.Type.ReadShow ( src/Rel8/Type/ReadShow.hs, dist/build/Rel8/Type/ReadShow.o, dist/build/Rel8/Type/ReadShow.dyn_o ) [ 48 of 133] Compiling Rel8.Type.Semigroup ( src/Rel8/Type/Semigroup.hs, dist/build/Rel8/Type/Semigroup.o, dist/build/Rel8/Type/Semigroup.dyn_o ) [ 49 of 133] Compiling Rel8.Type.Monoid ( src/Rel8/Type/Monoid.hs, dist/build/Rel8/Type/Monoid.o, dist/build/Rel8/Type/Monoid.dyn_o ) [ 50 of 133] Compiling Rel8.Expr ( src/Rel8/Expr.hs, dist/build/Rel8/Expr.o, dist/build/Rel8/Expr.dyn_o ) src/Rel8/Expr.hs: warning: [-Wall-missed-specialisations] Could not specialise imported function ‘GHC.Real.$wrealToFrac’ when specialising ‘realToFrac’ Probable fix: add INLINABLE pragma on ‘GHC.Real.$wrealToFrac’ [ 51 of 133] Compiling Rel8.Table.Undefined ( src/Rel8/Table/Undefined.hs, dist/build/Rel8/Table/Undefined.o, dist/build/Rel8/Table/Undefined.dyn_o ) [ 52 of 133] Compiling Rel8.Table.Serialize ( src/Rel8/Table/Serialize.hs, dist/build/Rel8/Table/Serialize.o, dist/build/Rel8/Table/Serialize.dyn_o ) [ 53 of 133] Compiling Rel8.Table.Bool ( src/Rel8/Table/Bool.hs, dist/build/Rel8/Table/Bool.o, dist/build/Rel8/Table/Bool.dyn_o ) [ 54 of 133] Compiling Rel8.Table.Alternative ( src/Rel8/Table/Alternative.hs, dist/build/Rel8/Table/Alternative.o, dist/build/Rel8/Table/Alternative.dyn_o ) [ 55 of 133] Compiling Rel8.Schema.Name ( src/Rel8/Schema/Name.hs, dist/build/Rel8/Schema/Name.o, dist/build/Rel8/Schema/Name.dyn_o ) [ 56 of 133] Compiling Rel8.Table.Name ( src/Rel8/Table/Name.hs, dist/build/Rel8/Table/Name.o, dist/build/Rel8/Table/Name.dyn_o ) [ 57 of 133] Compiling Rel8.Expr.Time ( src/Rel8/Expr/Time.hs, dist/build/Rel8/Expr/Time.o, dist/build/Rel8/Expr/Time.dyn_o ) [ 58 of 133] Compiling Rel8.Expr.Text ( src/Rel8/Expr/Text.hs, dist/build/Rel8/Expr/Text.o, dist/build/Rel8/Expr/Text.dyn_o ) [ 59 of 133] Compiling Rel8.Expr.Sequence ( src/Rel8/Expr/Sequence.hs, dist/build/Rel8/Expr/Sequence.o, dist/build/Rel8/Expr/Sequence.dyn_o ) [ 60 of 133] Compiling Rel8.Expr.Order ( src/Rel8/Expr/Order.hs, dist/build/Rel8/Expr/Order.o, dist/build/Rel8/Expr/Order.dyn_o ) [ 61 of 133] Compiling Rel8.Expr.Ord ( src/Rel8/Expr/Ord.hs, dist/build/Rel8/Expr/Ord.o, dist/build/Rel8/Expr/Ord.dyn_o ) [ 62 of 133] Compiling Rel8.Expr.Eq ( src/Rel8/Expr/Eq.hs, dist/build/Rel8/Expr/Eq.o, dist/build/Rel8/Expr/Eq.dyn_o ) [ 63 of 133] Compiling Rel8.Table.Eq ( src/Rel8/Table/Eq.hs, dist/build/Rel8/Table/Eq.o, dist/build/Rel8/Table/Eq.dyn_o ) [ 64 of 133] Compiling Rel8.Table.Ord ( src/Rel8/Table/Ord.hs, dist/build/Rel8/Table/Ord.o, dist/build/Rel8/Table/Ord.dyn_o ) [ 65 of 133] Compiling Rel8.Table.Order ( src/Rel8/Table/Order.hs, dist/build/Rel8/Table/Order.o, dist/build/Rel8/Table/Order.dyn_o ) [ 66 of 133] Compiling Rel8.Table.NonEmpty ( src/Rel8/Table/NonEmpty.hs, dist/build/Rel8/Table/NonEmpty.o, dist/build/Rel8/Table/NonEmpty.dyn_o ) [ 67 of 133] Compiling Rel8.Column.NonEmpty ( src/Rel8/Column/NonEmpty.hs, dist/build/Rel8/Column/NonEmpty.o, dist/build/Rel8/Column/NonEmpty.dyn_o ) [ 68 of 133] Compiling Rel8.Table.List ( src/Rel8/Table/List.hs, dist/build/Rel8/Table/List.o, dist/build/Rel8/Table/List.dyn_o ) [ 69 of 133] Compiling Rel8.Column.List ( src/Rel8/Column/List.hs, dist/build/Rel8/Column/List.o, dist/build/Rel8/Column/List.dyn_o ) [ 70 of 133] Compiling Rel8.Expr.Num ( src/Rel8/Expr/Num.hs, dist/build/Rel8/Expr/Num.o, dist/build/Rel8/Expr/Num.dyn_o ) [ 71 of 133] Compiling Rel8.Expr.Default ( src/Rel8/Expr/Default.hs, dist/build/Rel8/Expr/Default.o, dist/build/Rel8/Expr/Default.dyn_o ) [ 72 of 133] Compiling Rel8.Aggregate ( src/Rel8/Aggregate.hs, dist/build/Rel8/Aggregate.o, dist/build/Rel8/Aggregate.dyn_o ) [ 73 of 133] Compiling Rel8.Table.Opaleye ( src/Rel8/Table/Opaleye.hs, dist/build/Rel8/Table/Opaleye.o, dist/build/Rel8/Table/Opaleye.dyn_o ) src/Rel8/Table/Opaleye.hs:143:38: error: • Couldn't match expected type: Opaleye.Nullspec a a with actual type: Opaleye.PackMap Opaleye.PrimExpr Opaleye.PrimExpr () a0 • In the first argument of ‘Opaleye.ValuesspecSafe’, namely ‘(toPackMap undefined)’ In the expression: Opaleye.ValuesspecSafe (toPackMap undefined) unpackspec In an equation for ‘valuesspec’: valuesspec = Opaleye.ValuesspecSafe (toPackMap undefined) unpackspec • Relevant bindings include valuesspec :: Opaleye.Valuesspec a a (bound at src/Rel8/Table/Opaleye.hs:143:1) | 143 | valuesspec = Opaleye.ValuesspecSafe (toPackMap undefined) unpackspec | ^^^^^^^^^^^^^^^^^^^ src/Rel8/Table/Opaleye.hs:143:59: error: • Couldn't match expected type: Opaleye.Rowspec a a with actual type: Opaleye.Unpackspec a1 a1 • In the second argument of ‘Opaleye.ValuesspecSafe’, namely ‘unpackspec’ In the expression: Opaleye.ValuesspecSafe (toPackMap undefined) unpackspec In an equation for ‘valuesspec’: valuesspec = Opaleye.ValuesspecSafe (toPackMap undefined) unpackspec • Relevant bindings include valuesspec :: Opaleye.Valuesspec a a (bound at src/Rel8/Table/Opaleye.hs:143:1) | 143 | valuesspec = Opaleye.ValuesspecSafe (toPackMap undefined) unpackspec | ^^^^^^^^^^ cabal: Failed to build rel8-1.3.1.0 (which is required by REDACTED and others). See the build log above for details.
It's not related to #189 but it is fixed by https://github.com/circuithub/rel8/pull/190
This is now fixed, we'll cut a release soon!
This sounds related to #189. I'm building with GHC 9.0.2. Here are the snippets from my
dist-newstyle/cache/plan.json
:Here's the error I see on
cabal build
: