Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] stack build currently broken
@ 2020-05-17  1:56 fosslinux
  2020-05-28  8:46 ` leahneukirchen
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: fosslinux @ 2020-05-17  1:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 9627 bytes --]

New issue by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/issues/22027

Description:
It fails with:

```
=> stack-2.3.0.1_1: running do_build ...
Downloading the latest package list from hackage.haskell.org
To revert to previous state run:
    cabal v2-update 'hackage.haskell.org,2020-05-17T00:54:32Z'
Resolving dependencies...
Build profile: -w ghc-8.8.3 -O1
In order, the following will be built (use -v for more details):
 - stack-2.3.0.1 (lib:stack, exe:stack) (first run)
Preprocessing library for stack-2.3.0.1..
Building library for stack-2.3.0.1..
[ 29 of 109] Compiling Stack.Types.Resolver ( src/Stack/Types/Resolver.hs, /builddir/stack-2.3.0.1/dist-newstyle/build/x86_64-linux/ghc-8.8.3/stack-2.3.0.1/build/Stack/Types/Resolver.o )

src/Stack/Types/Resolver.hs:71:17: error:
    Ambiguous occurrence ‘SnapName’
    It could refer to
       either ‘Stack.Prelude.SnapName’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.SnapName’,
              defined at src/Stack/Types/Resolver.hs:67:1
   |
71 | instance NFData SnapName
   |                 ^^^^^^^^

src/Stack/Types/Resolver.hs:72:18: error:
    Ambiguous occurrence ‘SnapName’
    It could refer to
       either ‘Stack.Prelude.SnapName’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.SnapName’,
              defined at src/Stack/Types/Resolver.hs:67:1
   |
72 | instance Display SnapName where
   |                  ^^^^^^^^

src/Stack/Types/Resolver.hs:82:11: error:
    Ambiguous occurrence ‘ParseSnapNameException’
    It could refer to
       either ‘Stack.Prelude.ParseSnapNameException’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.ParseSnapNameException’,
              defined at src/Stack/Types/Resolver.hs:76:7
   |
82 |     show (ParseSnapNameException t) = "Invalid snapshot name: " ++ T.unpack t
   |           ^^^^^^^^^^^^^^^^^^^^^^

src/Stack/Types/Resolver.hs:97:19: error:
    Ambiguous occurrence ‘SnapName’
    It could refer to
       either ‘Stack.Prelude.SnapName’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.SnapName’,
              defined at src/Stack/Types/Resolver.hs:67:1
   |
97 | renderSnapName :: SnapName -> Text
   |                   ^^^^^^^^

src/Stack/Types/Resolver.hs:98:17: error:
    Ambiguous occurrence ‘LTS’
    It could refer to
       either ‘Stack.Prelude.LTS’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.LTS’,
              defined at src/Stack/Types/Resolver.hs:68:7
   |
98 | renderSnapName (LTS x y) = T.pack $ concat ["lts-", show x, ".", show y]
   |                 ^^^

src/Stack/Types/Resolver.hs:99:17: error:
    Ambiguous occurrence ‘Nightly’
    It could refer to
       either ‘Stack.Prelude.Nightly’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.Nightly’,
              defined at src/Stack/Types/Resolver.hs:69:7
   |
99 | renderSnapName (Nightly d) = T.pack $ "nightly-" ++ show d
   |                 ^^^^^^^

src/Stack/Types/Resolver.hs:102:44: error:
    Ambiguous occurrence ‘SnapName’
    It could refer to
       either ‘Stack.Prelude.SnapName’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.SnapName’,
              defined at src/Stack/Types/Resolver.hs:67:1
    |
102 | parseSnapName :: MonadThrow m => Text -> m SnapName
    |                                            ^^^^^^^^

src/Stack/Types/Resolver.hs:105:29: error:
    Ambiguous occurrence ‘ParseSnapNameException’
    It could refer to
       either ‘Stack.Prelude.ParseSnapNameException’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.ParseSnapNameException’,
              defined at src/Stack/Types/Resolver.hs:76:7
    |
105 |         Nothing -> throwM $ ParseSnapNameException t0
    |                             ^^^^^^^^^^^^^^^^^^^^^^

src/Stack/Types/Resolver.hs:113:18: error:
    Ambiguous occurrence ‘LTS’
    It could refer to
       either ‘Stack.Prelude.LTS’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.LTS’,
              defined at src/Stack/Types/Resolver.hs:68:7
    |
113 |         return $ LTS x y
    |                  ^^^

src/Stack/Types/Resolver.hs:116:9: error:
    Ambiguous occurrence ‘Nightly’
    It could refer to
       either ‘Stack.Prelude.Nightly’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.Nightly’,
              defined at src/Stack/Types/Resolver.hs:69:7
    |
116 |         Nightly <$> readMaybe (T.unpack t1)
    |         ^^^^^^^

src/Stack/Types/Resolver.hs:132:18: error:
    Ambiguous occurrence ‘parseSnapName’
    It could refer to
       either ‘Stack.Prelude.parseSnapName’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.parseSnapName’,
              defined at src/Stack/Types/Resolver.hs:103:1
    |
132 |             case parseSnapName t of
    |                  ^^^^^^^^^^^^^

src/Stack/Types/Resolver.hs:134:24: error:
    Ambiguous occurrence ‘LTS’
    It could refer to
       either ‘Stack.Prelude.LTS’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.LTS’,
              defined at src/Stack/Types/Resolver.hs:68:7
    |
134 |                 Right (LTS _ _) -> fail "Unexpected LTS value"
    |                        ^^^

src/Stack/Types/Resolver.hs:135:24: error:
    Ambiguous occurrence ‘Nightly’
    It could refer to
       either ‘Stack.Prelude.Nightly’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.Nightly’,
              defined at src/Stack/Types/Resolver.hs:69:7
    |
135 |                 Right (Nightly d) -> return d
    |                        ^^^^^^^

src/Stack/Types/Resolver.hs:140:18: error:
    Ambiguous occurrence ‘parseSnapName’
    It could refer to
       either ‘Stack.Prelude.parseSnapName’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.parseSnapName’,
              defined at src/Stack/Types/Resolver.hs:103:1
    |
140 |             case parseSnapName t of
    |                  ^^^^^^^^^^^^^

src/Stack/Types/Resolver.hs:142:24: error:
    Ambiguous occurrence ‘LTS’
    It could refer to
       either ‘Stack.Prelude.LTS’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.LTS’,
              defined at src/Stack/Types/Resolver.hs:68:7
    |
142 |                 Right (LTS x y) -> return $ IntMap.singleton x y
    |                        ^^^

src/Stack/Types/Resolver.hs:143:24: error:
    Ambiguous occurrence ‘Nightly’
    It could refer to
       either ‘Stack.Prelude.Nightly’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.Nightly’,
              defined at src/Stack/Types/Resolver.hs:69:7
    |
143 |                 Right (Nightly _) -> fail "Unexpected nightly value"
    |                        ^^^^^^^
=> ERROR: stack-2.3.0.1_1: do_build: 'HOME=$PWD cabal new-build ${makejobs} --flag disable-git-info' exited with 1
=> ERROR:   in do_build() at srcpkgs/stack/template:24
```

No clue what is causing this. Happens both with `-N` and without `-N`, has been reproducible multiple times for me.

@leahneukirchen 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: stack build currently broken
  2020-05-17  1:56 [ISSUE] stack build currently broken fosslinux
@ 2020-05-28  8:46 ` leahneukirchen
  2020-05-28  9:16 ` fosslinux
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: leahneukirchen @ 2020-05-28  8:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 223 bytes --]

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/issues/22027#issuecomment-635207585

Comment:
I don't have capacity to work on Haskell packaging, feel free to pick up.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: stack build currently broken
  2020-05-17  1:56 [ISSUE] stack build currently broken fosslinux
  2020-05-28  8:46 ` leahneukirchen
@ 2020-05-28  9:16 ` fosslinux
  2020-05-28  9:21 ` pullmoll
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: fosslinux @ 2020-05-28  9:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 177 bytes --]

New comment by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/issues/22027#issuecomment-635222391

Comment:
Hm, ok, I'll take a look at it..

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: stack build currently broken
  2020-05-17  1:56 [ISSUE] stack build currently broken fosslinux
  2020-05-28  8:46 ` leahneukirchen
  2020-05-28  9:16 ` fosslinux
@ 2020-05-28  9:21 ` pullmoll
  2020-05-28  9:29 ` pullmoll
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pullmoll @ 2020-05-28  9:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 307 bytes --]

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/issues/22027#issuecomment-635225347

Comment:
FWIW I'm trying here to update to `stack-2.3.1`, `lts-15.5` and patch `src/Stack/Types/Resolver.hs` to disambiguify the SnapName. If this works out I'll open a PR.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: stack build currently broken
  2020-05-17  1:56 [ISSUE] stack build currently broken fosslinux
                   ` (2 preceding siblings ...)
  2020-05-28  9:21 ` pullmoll
@ 2020-05-28  9:29 ` pullmoll
  2020-05-28  9:30 ` pullmoll
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pullmoll @ 2020-05-28  9:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/issues/22027#issuecomment-635225347

Comment:
FWIW I'm trying here to update to `stack-2.3.1`, `lts-15.5` and patch `src/Stack/Types/Resolver.hs` to disambiguify the `Nightly` and `SnapName`. If this works out I'll open a PR.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: stack build currently broken
  2020-05-17  1:56 [ISSUE] stack build currently broken fosslinux
                   ` (3 preceding siblings ...)
  2020-05-28  9:29 ` pullmoll
@ 2020-05-28  9:30 ` pullmoll
  2020-05-28  9:48 ` pullmoll
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pullmoll @ 2020-05-28  9:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/issues/22027#issuecomment-635225347

Comment:
FWIW I'm trying here to update to `stack-2.3.1`, `lts-15.5` and patch `src/Stack/Types/Resolver.hs` to disambiguate the `Nightly` and `SnapName`. If this works out I'll open a PR.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: stack build currently broken
  2020-05-17  1:56 [ISSUE] stack build currently broken fosslinux
                   ` (4 preceding siblings ...)
  2020-05-28  9:30 ` pullmoll
@ 2020-05-28  9:48 ` pullmoll
  2020-05-31 12:29 ` pullmoll
  2020-05-31 12:29 ` [ISSUE] [CLOSED] " pullmoll
  7 siblings, 0 replies; 9+ messages in thread
From: pullmoll @ 2020-05-28  9:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 331 bytes --]

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/issues/22027#issuecomment-635225347

Comment:
FWIW I'm trying here to update to `stack-2.3.1`, `lts-15.5` and patch `src/Stack/Types/Resolver.hs` to disambiguate the `LTS`, `Nightly`, and `SnapName`. If this works out I'll open a PR.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: stack build currently broken
  2020-05-17  1:56 [ISSUE] stack build currently broken fosslinux
                   ` (5 preceding siblings ...)
  2020-05-28  9:48 ` pullmoll
@ 2020-05-31 12:29 ` pullmoll
  2020-05-31 12:29 ` [ISSUE] [CLOSED] " pullmoll
  7 siblings, 0 replies; 9+ messages in thread
From: pullmoll @ 2020-05-31 12:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 235 bytes --]

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/issues/22027#issuecomment-636464786

Comment:
https://github.com/void-linux/void-packages/commit/0efe4a34dcae44a72e6dd6549b889e3718d21efd

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ISSUE] [CLOSED] stack build currently broken
  2020-05-17  1:56 [ISSUE] stack build currently broken fosslinux
                   ` (6 preceding siblings ...)
  2020-05-31 12:29 ` pullmoll
@ 2020-05-31 12:29 ` pullmoll
  7 siblings, 0 replies; 9+ messages in thread
From: pullmoll @ 2020-05-31 12:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 9630 bytes --]

Closed issue by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/issues/22027

Description:
It fails with:

```
=> stack-2.3.0.1_1: running do_build ...
Downloading the latest package list from hackage.haskell.org
To revert to previous state run:
    cabal v2-update 'hackage.haskell.org,2020-05-17T00:54:32Z'
Resolving dependencies...
Build profile: -w ghc-8.8.3 -O1
In order, the following will be built (use -v for more details):
 - stack-2.3.0.1 (lib:stack, exe:stack) (first run)
Preprocessing library for stack-2.3.0.1..
Building library for stack-2.3.0.1..
[ 29 of 109] Compiling Stack.Types.Resolver ( src/Stack/Types/Resolver.hs, /builddir/stack-2.3.0.1/dist-newstyle/build/x86_64-linux/ghc-8.8.3/stack-2.3.0.1/build/Stack/Types/Resolver.o )

src/Stack/Types/Resolver.hs:71:17: error:
    Ambiguous occurrence ‘SnapName’
    It could refer to
       either ‘Stack.Prelude.SnapName’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.SnapName’,
              defined at src/Stack/Types/Resolver.hs:67:1
   |
71 | instance NFData SnapName
   |                 ^^^^^^^^

src/Stack/Types/Resolver.hs:72:18: error:
    Ambiguous occurrence ‘SnapName’
    It could refer to
       either ‘Stack.Prelude.SnapName’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.SnapName’,
              defined at src/Stack/Types/Resolver.hs:67:1
   |
72 | instance Display SnapName where
   |                  ^^^^^^^^

src/Stack/Types/Resolver.hs:82:11: error:
    Ambiguous occurrence ‘ParseSnapNameException’
    It could refer to
       either ‘Stack.Prelude.ParseSnapNameException’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.ParseSnapNameException’,
              defined at src/Stack/Types/Resolver.hs:76:7
   |
82 |     show (ParseSnapNameException t) = "Invalid snapshot name: " ++ T.unpack t
   |           ^^^^^^^^^^^^^^^^^^^^^^

src/Stack/Types/Resolver.hs:97:19: error:
    Ambiguous occurrence ‘SnapName’
    It could refer to
       either ‘Stack.Prelude.SnapName’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.SnapName’,
              defined at src/Stack/Types/Resolver.hs:67:1
   |
97 | renderSnapName :: SnapName -> Text
   |                   ^^^^^^^^

src/Stack/Types/Resolver.hs:98:17: error:
    Ambiguous occurrence ‘LTS’
    It could refer to
       either ‘Stack.Prelude.LTS’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.LTS’,
              defined at src/Stack/Types/Resolver.hs:68:7
   |
98 | renderSnapName (LTS x y) = T.pack $ concat ["lts-", show x, ".", show y]
   |                 ^^^

src/Stack/Types/Resolver.hs:99:17: error:
    Ambiguous occurrence ‘Nightly’
    It could refer to
       either ‘Stack.Prelude.Nightly’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.Nightly’,
              defined at src/Stack/Types/Resolver.hs:69:7
   |
99 | renderSnapName (Nightly d) = T.pack $ "nightly-" ++ show d
   |                 ^^^^^^^

src/Stack/Types/Resolver.hs:102:44: error:
    Ambiguous occurrence ‘SnapName’
    It could refer to
       either ‘Stack.Prelude.SnapName’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.SnapName’,
              defined at src/Stack/Types/Resolver.hs:67:1
    |
102 | parseSnapName :: MonadThrow m => Text -> m SnapName
    |                                            ^^^^^^^^

src/Stack/Types/Resolver.hs:105:29: error:
    Ambiguous occurrence ‘ParseSnapNameException’
    It could refer to
       either ‘Stack.Prelude.ParseSnapNameException’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.ParseSnapNameException’,
              defined at src/Stack/Types/Resolver.hs:76:7
    |
105 |         Nothing -> throwM $ ParseSnapNameException t0
    |                             ^^^^^^^^^^^^^^^^^^^^^^

src/Stack/Types/Resolver.hs:113:18: error:
    Ambiguous occurrence ‘LTS’
    It could refer to
       either ‘Stack.Prelude.LTS’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.LTS’,
              defined at src/Stack/Types/Resolver.hs:68:7
    |
113 |         return $ LTS x y
    |                  ^^^

src/Stack/Types/Resolver.hs:116:9: error:
    Ambiguous occurrence ‘Nightly’
    It could refer to
       either ‘Stack.Prelude.Nightly’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.Nightly’,
              defined at src/Stack/Types/Resolver.hs:69:7
    |
116 |         Nightly <$> readMaybe (T.unpack t1)
    |         ^^^^^^^

src/Stack/Types/Resolver.hs:132:18: error:
    Ambiguous occurrence ‘parseSnapName’
    It could refer to
       either ‘Stack.Prelude.parseSnapName’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.parseSnapName’,
              defined at src/Stack/Types/Resolver.hs:103:1
    |
132 |             case parseSnapName t of
    |                  ^^^^^^^^^^^^^

src/Stack/Types/Resolver.hs:134:24: error:
    Ambiguous occurrence ‘LTS’
    It could refer to
       either ‘Stack.Prelude.LTS’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.LTS’,
              defined at src/Stack/Types/Resolver.hs:68:7
    |
134 |                 Right (LTS _ _) -> fail "Unexpected LTS value"
    |                        ^^^

src/Stack/Types/Resolver.hs:135:24: error:
    Ambiguous occurrence ‘Nightly’
    It could refer to
       either ‘Stack.Prelude.Nightly’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.Nightly’,
              defined at src/Stack/Types/Resolver.hs:69:7
    |
135 |                 Right (Nightly d) -> return d
    |                        ^^^^^^^

src/Stack/Types/Resolver.hs:140:18: error:
    Ambiguous occurrence ‘parseSnapName’
    It could refer to
       either ‘Stack.Prelude.parseSnapName’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.parseSnapName’,
              defined at src/Stack/Types/Resolver.hs:103:1
    |
140 |             case parseSnapName t of
    |                  ^^^^^^^^^^^^^

src/Stack/Types/Resolver.hs:142:24: error:
    Ambiguous occurrence ‘LTS’
    It could refer to
       either ‘Stack.Prelude.LTS’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.LTS’,
              defined at src/Stack/Types/Resolver.hs:68:7
    |
142 |                 Right (LTS x y) -> return $ IntMap.singleton x y
    |                        ^^^

src/Stack/Types/Resolver.hs:143:24: error:
    Ambiguous occurrence ‘Nightly’
    It could refer to
       either ‘Stack.Prelude.Nightly’,
              imported from ‘Stack.Prelude’ at src/Stack/Types/Resolver.hs:34:1-30
              (and originally defined in ‘pantry-0.5.0.0:Pantry.Types’)
           or ‘Stack.Types.Resolver.Nightly’,
              defined at src/Stack/Types/Resolver.hs:69:7
    |
143 |                 Right (Nightly _) -> fail "Unexpected nightly value"
    |                        ^^^^^^^
=> ERROR: stack-2.3.0.1_1: do_build: 'HOME=$PWD cabal new-build ${makejobs} --flag disable-git-info' exited with 1
=> ERROR:   in do_build() at srcpkgs/stack/template:24
```

No clue what is causing this. Happens both with `-N` and without `-N`, has been reproducible multiple times for me.

@leahneukirchen 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-05-31 12:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-17  1:56 [ISSUE] stack build currently broken fosslinux
2020-05-28  8:46 ` leahneukirchen
2020-05-28  9:16 ` fosslinux
2020-05-28  9:21 ` pullmoll
2020-05-28  9:29 ` pullmoll
2020-05-28  9:30 ` pullmoll
2020-05-28  9:48 ` pullmoll
2020-05-31 12:29 ` pullmoll
2020-05-31 12:29 ` [ISSUE] [CLOSED] " pullmoll

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).