Menu

#26 build error: Not in scope: Github.{GithubAuth, GithubBasicAuth}

open
nobody
None
2014-10-02
2014-09-13
Anonymous
No

Originally created by: johnyf

I tried installing on OS X v10.8.5 and run across the following error, potentially due to the version of the github package:

github-backup:git log -1
commit 5ed953a84fb57b2200ce5037d7e0e780fc80c703
Author: Joey Hess <joey@kitenet.net>
Date:   Sun Aug 31 15:36:20 2014 -0700

    prep
github-backup:cabal -V
cabal-install version 1.18.0.5
using version 1.18.1.4 of the Cabal library
github-backup:cabal install github-backup --bindir=$HOME/bin
Resolving dependencies...
Configuring github-backup-1.20140721...
Building github-backup-1.20140721...
Failed to install github-backup-1.20140721
Last 10 lines of the build log ( /Users/me/.cabal/logs/github-backup-1.20140721.log ):

github-backup.hs:537:22:
    Not in scope: type constructor or class `Github.GithubAuth'
    Perhaps you meant one of these:
      `Github.GithubDate' (imported from Github.Issues),
      `Github.GithubDate' (imported from Github.Repos.Starring),
      `Github.GithubDate' (imported from Github.Repos.Watching)

github-backup.hs:543:25:
    Not in scope: data constructor `Github.GithubBasicAuth'
cabal: Error: some packages failed to install:
github-backup-1.20140721 failed during the building phase. The exception was:
ExitFailure 1
github-backup:ghc-pkg list
/opt/local/lib/ghc-7.6.3/package.conf.d
   Cabal-1.16.0
   HTTP-4000.2.8
   array-0.4.0.1
   base-4.6.0.1
   bin-package-db-0.0.0.0
   binary-0.5.1.1
   binary-0.7.1.0
   bytestring-0.10.0.2
   containers-0.5.0.0
   darcs-2.8.4
   dataenc-0.14.0.5
   deepseq-1.3.0.1
   directory-1.2.0.1
   extensible-exceptions-0.1.1.4
   filepath-1.3.0.1
   ghc-7.6.3
   ghc-prim-0.3.0.0
   hashed-storage-0.5.10
   haskeline-0.7.1.1
   haskell2010-1.1.1.0
   haskell98-2.0.0.2
   hoopl-3.9.0.0
   hpc-0.6.0.0
   html-1.0.1.2
   integer-gmp-0.5.0.0
   mmap-0.5.8
   mtl-2.1.2
   network-2.4.1.2
   old-locale-1.0.0.5
   old-time-1.1.0.1
   parsec-3.1.3
   pretty-1.1.1.0
   primitive-0.5.1.0
   process-1.1.0.2
   random-1.0.1.1
   regex-base-0.93.2
   regex-compat-0.95.1
   regex-posix-0.95.2
   rts-1.0
   tar-0.4.0.1
   template-haskell-2.8.0.0
   terminfo-0.3.2.6
   text-0.11.3.1
   time-1.4.0.1
   transformers-0.3.0.0
   unix-2.6.0.1
   utf8-string-0.3.7
   vector-0.10.0.1
   zlib-0.5.4.1
/Users/me/.ghc/x86_64-darwin-7.6.3/package.conf.d
   HUnit-1.2.5.2
   IfElse-0.85
   MissingH-1.2.1.0
   aeson-0.7.0.6
   ansi-terminal-0.6.1.1
   ansi-wl-pprint-0.6.7.1
   asn1-encoding-0.8.1.3
   asn1-parse-0.8.1
   asn1-types-0.2.3
   attoparsec-0.11.3.4
   base64-bytestring-1.0.0.1
   blaze-builder-0.3.3.3
   byteable-0.1.1
   case-insensitive-1.2.0.1
   cereal-0.4.0.1
   cipher-aes-0.2.8
   cipher-des-0.0.6
   cipher-rc4-0.1.4
   conduit-1.2.0.2
   connection-0.2.3
   cookie-0.4.1.3
   cprng-aes-0.5.2
   crypto-cipher-types-0.0.9
   crypto-numbers-0.2.3
   crypto-pubkey-0.2.4
   crypto-pubkey-types-0.4.2.2
   crypto-random-0.0.8
   cryptohash-0.11.6
   data-default-0.5.3
   data-default-class-0.0.1
   data-default-instances-base-0.0.1
   data-default-instances-containers-0.0.1
   data-default-instances-dlist-0.0.1
   data-default-instances-old-locale-0.0.1
   dlist-0.7.1
   exceptions-0.6.1
   failure-0.2.0.3
   github-0.11.1
   hashable-1.2.2.0
   haskell-lexer-1.0
   hslogger-1.2.4
   http-client-0.4.0
   http-client-tls-0.2.2
   http-conduit-2.1.4.3
   http-types-0.8.5
   lifted-base-0.2.3.0
   mime-types-0.1.0.4
   mmorph-1.0.4
   monad-control-0.3.3.0
   nats-0.2
   optparse-applicative-0.10.0
   pem-0.2.2
   pretty-show-1.6.8
   publicsuffixlist-0.1
   resourcet-1.1.2.3
   scientific-0.3.3.1
   securemem-0.1.3
   semigroups-0.15.3
   socks-0.5.4
   stm-2.4.3
   streaming-commons-0.1.4.2
   syb-0.4.2
   tls-1.2.9
   transformers-base-0.4.3
   transformers-compat-0.3.3.4
   unix-compat-0.4.1.3
   unordered-containers-0.2.5.0
   void-0.6.1
   x509-1.4.12
   x509-store-1.4.4
   x509-system-1.4.5
   x509-validation-1.5.0

Discussion

  • Anonymous

    Anonymous - 2014-10-02

    Originally posted by: tomaadland

    Same problem here.

    I'm running OS X 10.9.4 and cabal-install version 1.18.0.5
    using version 1.18.1.4 of the Cabal library

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.