Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904226 - app-misc/cheat: man USE flag requires app-text/pandoc-cli::haskell
Summary: app-misc/cheat: man USE flag requires app-text/pandoc-cli::haskell
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-12 10:38 UTC by amano.kenji
Modified: 2023-11-09 12:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description amano.kenji 2023-04-12 10:38:30 UTC
I installed pandoc-cli which pulls a lot of haskell packages from haskell overlay.

I think an easy solution is to either move app-misc/cheat to haskell overlay, or mask man USE flag in app-misc/cheat.

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-12 10:40:31 UTC
I don't think it's an easy solution to move an entire package to another repo.

Anyway, the easiest solution is to depend on virtual/pandoc.
Comment 2 amano.kenji 2023-04-12 10:43:17 UTC
virtual/pandoc depends on either pandoc-bin or pandoc. Pandoc could be pulled from haskell overlay for people who use haskell overlay. It is not a good solution.
Comment 3 amano.kenji 2023-04-12 10:43:41 UTC
Masking man USE flag would be easy and safe.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-12 10:44:33 UTC
(In reply to amano.kenji from comment #2)
> virtual/pandoc depends on either pandoc-bin or pandoc. Pandoc could be
> pulled from haskell overlay for people who use haskell overlay. It is not a
> good solution.

That's an issue that needs to be coordinated with the Haskell overlay people then. We can't be afraid of using virtual/pandoc from ::gentoo because of an issue in another repo.
Comment 5 amano.kenji 2023-04-12 10:47:51 UTC
If gentoo overlay upgrades app-text/pandoc, it will also have to move pandoc executable to app-text/pandoc-cli.

virtual/pandoc is not future-proof.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-12 10:48:24 UTC
(In reply to amano.kenji from comment #5)
> If gentoo overlay upgrades app-text/pandoc, it will also have to move pandoc
> executable to app-text/pandoc-cli.
> 
> virtual/pandoc is not future-proof.

The point of virtual/pandoc is to provide a pandoc executable that things can call. It does not exist for ebuilds to depend on "any pandoc library". It'll have to be adapted as required.
Comment 7 amano.kenji 2023-04-12 10:50:38 UTC
(In reply to Sam James from comment #6)
> The point of virtual/pandoc is to provide a pandoc executable that things
> can call. It does not exist for ebuilds to depend on "any pandoc library".
> It'll have to be adapted as required.

virtual/pandoc doesn't have any explanation. Are you sure?
Comment 8 amano.kenji 2023-11-09 12:01:08 UTC
This issue has ben fixed.