Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935405 - dev-texlive/texlive-latexextra and dev-tex/minted depends directly on each other
Summary: dev-texlive/texlive-latexextra and dev-tex/minted depends directly on each other
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal blocker (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-03 13:44 UTC by Lagu
Modified: 2024-07-04 15:05 UTC (History)
3 users (show)

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


Attachments
emerge --info (file_935405.txt,8.18 KB, text/plain)
2024-07-04 14:21 UTC, Lagu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lagu 2024-07-03 13:44:46 UTC
If you check this two links:
https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-texlive/texlive-latexextra/texlive-latexextra-2023_p69752-r4.ebuild
https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-tex/minted/minted-2.9.ebuild

You will notice, each package is listed as dependency for each other, so in a clean system, we will can't build them.

The dependency does not depends on any USE or any condition, so nothing to do-

Reproducible: Always

Steps to Reproduce:
1. emaint sync -A
1. emerge minted or texlive-latexextra
Actual Results:  
 * Error: circular dependencies:

(dev-tex/minted-2.9:0/0::gentoo, ebuild scheduled for merge) depends on
 (dev-texlive/texlive-latexextra-2023_p69752-r4:0/0::gentoo, ebuild scheduled for merge) (runtime)
  (dev-tex/minted-2.9:0/0::gentoo, ebuild scheduled for merge) (runtime)

Expected Results:  
Be able to build.

I was checking info in my system (I found this in a new chroot), and seems minted was before a dependency that was conditional to the "doc" USE, but now is not the case.

I have marked it as a blocker, because anyone who wants to create a new install, is likely don't be able to do it, a lot of apps depends on texlive-latextra, so in the end we can't even install git until this is fixed.

We could track every package and USE that uses texlive-latexextra and disable them, but we can't say is very usable the system in that way.
Comment 1 Florian Schmaus gentoo-dev 2024-07-04 10:34:24 UTC
minted-2.9 has
- RDEPEND on latexextra
- BDEPEND doc? latexextra

texlive-latexextra-2023_p69752-r4 has
- RDEPEND on latexextra

Even though the 'doc' USE flag is known to cause circular dependencies, I am not sure how it could cause one here. I am also not able to reproduce this

$ USE=doc sudo -E emerge -1av texlive-latexextra minted
…
[ebuild  N     ] dev-texlive/texlive-latexextra-2023_p69752-r4::gentoo  USE="doc source" 0 KiB
[ebuild  N    ~] dev-tex/minted-2.9::tex-overlay  USE="doc" 0 KiB

Could you show use the full emerge invocation and its output? Also, which portage version is this?
Comment 2 Lagu 2024-07-04 14:21:57 UTC
Created attachment 896974 [details]
emerge --info
Comment 3 Lagu 2024-07-04 14:28:22 UTC
I'm also confused about this, my main system also shows minted as a dependency on doc use, I was creating a chroot when I found this (for a binary host).

After some research, I noticed the ebuilds on git also shows circular dependency with no doc USE (check the first post).

No idea why the ebuilds are different.

I'm running emerge --emptytree @world

I have read the builds, tested disable uses, but nothing, for example this with the -doc use

[ebuild  N     ]   dev-tex/minted-2.9::gentoo  USE="-doc" 903 KiB
[ebuild  N     ]    dev-texlive/texlive-latexextra-2023_p69752-r4::gentoo  USE="-doc -source" 21311 KiB

This fragments of ebuild will come directly from equery w -e

minted:
RDEPEND="
	dev-python/pygments
	dev-texlive/texlive-latexextra
"

texlive-latexextra

RDEPEND="
	${COMMON_DEPEND}
	!<dev-texlive/texlive-xetex-2023
	>=dev-tex/minted-2.9
"
Comment 4 Lagu 2024-07-04 15:05:40 UTC
I'm checking my system now, seems after an update is the same:

texlive-latexextra:
RDEPEND="
	${COMMON_DEPEND}
	!<dev-texlive/texlive-xetex-2023
	>=dev-tex/minted-2.9
"

minted:
RDEPEND="
	dev-python/pygments
	dev-texlive/texlive-latexextra
"

If want to reprex in your SO, you would need to update the ebuilds, and unmerge both of the packages, then you could reprex this in a current syste.