Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 May 2022 18:42:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   =?UTF-8?B?W0J1ZyAyNjQwNDldIE1rL1VzZXMvY2FiYWwubWs6ICdtYWtlIG1h?= =?UTF-8?B?a2UtdXNlLWNhYmFsLXJldnMnIGZhaWxzOiBmZXRjaDogaHR0cDovL2hhY2th?= =?UTF-8?B?Z2UuaGFza2VsbC5vcmcvcGFja2FnZS9hdHRvcGFyc2VjLTAuMTQuNC1sLWF0?= =?UTF-8?B?dG9wYXJzZWMtaW50ZXJuYWwvcmV2aXNpb25zLzogTm90IEZvdW5k?=
Message-ID:  <bug-264049-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264049

            Bug ID: 264049
           Summary: Mk/Uses/cabal.mk: 'make make-use-cabal-revs' fails:
                    fetch:
                    http://hackage.haskell.org/package/attoparsec-0.14.4-l
                    -attoparsec-internal/revisions/: Not Found
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: yuri@freebsd.org
                CC: ports-bugs@FreeBSD.org

I am trying to update security/hs-cryptol to 2.13.0.

I am using these instructions:
1. Define PORTNAME, PORTVERSION and USES=3Dcabal
2. Run `make cabal-extract`. This will fetch the package using
devel/hs-cabal-install
3. Run `make cabal-extract-deps`. This will fetch and build all package
dependencies, including transitive ones.
4. Run make `make-use-cabal`. This will generate intial USE_CABAL string.
Copy&paste it into the port.
5. Run make `make-use-cabal-revs`. This will check packages from current
USE_CABAL for available revisions and generate new string. Copy&paste it in=
to
the port.
6. Run `make makesum && make clean` and try building the port the usual way.

'make make-use-cabal-revs' fails:
attoparsec-0.14.4_1 \
fetch:
http://hackage.haskell.org/package/attoparsec-0.14.4-l-attoparsec-internal/=
revisions/:
Not Found
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python3.8/json/__init__.py", line 293, in load
    return loads(fp.read(),
  File "/usr/local/lib/python3.8/json/__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode
    obj, end =3D self.raw_decode(s, idx=3D_w(s, 0).end())
  File "/usr/local/lib/python3.8/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
*** Error code 1


This appears to be triggered by this item in USE_CABAL:
attoparsec-0.14.4-l-attoparsec-internal

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264049-7788>