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.
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?
Created attachment 896974 [details] emerge --info
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 "
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.