Could not find MANIFEST for package source #132

Closed
opened 2 years ago by kthth · 7 comments
kthth commented 2 years ago (Migrated from github.com)

I'm using Debian in WSL (Windows Subsystem for Linux) and installed racket with apt. It is version 7.9 [bc].

When trying to install pollen with raco pkg install pollen, I get

Resolving "pollen" via https://download.racket-lang.org/releases/7.9/catalog/
Resolving "pollen" via https://pkgs.racket-lang.org
Cloning remote directory https://git.sr.ht/~mbutterick/pollen
raco pkg install: could not find MANIFEST for package source
  source: https://git.sr.ht/~mbutterick/pollen
  possible solution:
   If the URL is intended to refer to a Git repository, use
     https://git.sr.ht/~mbutterick/pollen.git
   so that the URL ends in ".git"

How do I get around that?

I'm using Debian in WSL (Windows Subsystem for Linux) and installed racket with apt. It is version 7.9 [bc]. When trying to install pollen with `raco pkg install pollen`, I get ``` Resolving "pollen" via https://download.racket-lang.org/releases/7.9/catalog/ Resolving "pollen" via https://pkgs.racket-lang.org Cloning remote directory https://git.sr.ht/~mbutterick/pollen raco pkg install: could not find MANIFEST for package source source: https://git.sr.ht/~mbutterick/pollen possible solution: If the URL is intended to refer to a Git repository, use https://git.sr.ht/~mbutterick/pollen.git so that the URL ends in ".git" ``` How do I get around that?
sorawee commented 2 years ago (Migrated from github.com)

As I understand, the fix is to register pollen on pkgs.racket-lang.org with the git+https protocol. E.g., git+https://git.sr.ht/~mbutterick/pollen

As I understand, the fix is to register `pollen` on pkgs.racket-lang.org with the `git+https` protocol. E.g., `git+https://git.sr.ht/~mbutterick/pollen`
mbutterick commented 2 years ago (Migrated from github.com)

Thanks. I didn”t know the git+https notation. I’ve updated the package.

Thanks. I didn”t know the `git+https` notation. I’ve updated the package.
privong commented 2 years ago (Migrated from github.com)

I was having the same issue. It's now working after the fix. Thanks.

I was having the same issue. It's now working after the fix. Thanks.
kthth commented 2 years ago (Migrated from github.com)

I now get

$ raco pkg install pollen
Resolving "pollen" via https://download.racket-lang.org/releases/7.9/catalog/
Resolving "pollen" via https://pkgs.racket-lang.org
raco pkg install: no such directory
  path: git+https://git.sr.ht/~mbutterick/pollen/

Solved it differently now by cloning the source code and installing with the local copy: raco pkg install --link pollen. All dependencies were installed without problems.

I now get ``` $ raco pkg install pollen Resolving "pollen" via https://download.racket-lang.org/releases/7.9/catalog/ Resolving "pollen" via https://pkgs.racket-lang.org raco pkg install: no such directory path: git+https://git.sr.ht/~mbutterick/pollen/ ``` Solved it differently now by cloning the source code and installing with the local copy: `raco pkg install --link pollen`. All dependencies were installed without problems.
mbutterick commented 2 years ago (Migrated from github.com)

@sorawee Where does this git+https fix come from?

@sorawee Where does this `git+https` fix come from?
mbutterick commented 2 years ago (Migrated from github.com)

OK, I see that support for git+https was added to Racket in March 2021 (2606ae3d8e) for compatibility with Sourcehut, among others.

But this only fixes raco pkg ··· for versions of Racket released after March 2021 — I’ll assume v8.1 and thereafter. Pollen, however, supports Racket v6.3+. Therefore I have to conclude that Pollen is not compatible with Sourcehut (see #131)

OK, I see that support for `git+https` was added to Racket in March 2021 (https://github.com/racket/racket/commit/2606ae3d8ea95e1b644f9400e156ec2ed781a582) for compatibility with Sourcehut, among others. But this only fixes `raco pkg ···` for versions of Racket released after March 2021 — I’ll assume v8.1 and thereafter. Pollen, however, supports Racket v6.3+. Therefore I have to conclude that Pollen is not compatible with Sourcehut (see #131)
mbutterick commented 2 years ago (Migrated from github.com)

I just switched the package-server link back to GitHub. There is a note on the package-server admin page confirming that git+http is only available for Racket 8.1+.

I just switched the package-server link back to GitHub. There is a note on the package-server admin page confirming that `git+http` is only available for Racket 8.1+.
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/pollen-users#132
Loading…
There is no content yet.