From: pullmoll <pullmoll@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] stack build currently broken
Date: Sun, 31 May 2020 14:29:17 +0200 [thread overview]
Message-ID: <20200531122917.IXYo9sZw9A54W3r21JmLcXksc4-k7RZ6y3eHt7JrGMs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22027@inbox.vuxu.org>
[-- 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
prev parent reply other threads:[~2020-05-31 12:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-17 1:56 [ISSUE] " 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 ` pullmoll [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200531122917.IXYo9sZw9A54W3r21JmLcXksc4-k7RZ6y3eHt7JrGMs@z \
--to=pullmoll@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).