Summary: | dev-texlive/texlive-latexextra and dev-tex/minted depends directly on each other | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Lagu <felipematas> |
Component: | Current packages | Assignee: | TeX project <tex> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | aballier, felipematas, flow |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=647824 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Description
Lagu
2024-07-03 13:44:46 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? 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. Oks, after more tests I found really weird things, but seems not to be related to circular dependency, more about portage dependency solver. Closing because is other issue with other reprex to follow it. (In reply to Lagu from comment #5) > Oks, after more tests I found really weird things, but seems not to be > related to circular dependency, more about portage dependency solver. > > Closing because is other issue with other reprex to follow it. Did you ever file a bug for that? What am I missing here? This looks legitimate. $ cat /var/db/repos/gentoo/metadata/md5-cache/dev-texlive/texlive-latexextra-2023_p69752-r4 | grep -i minted RDEPEND=>=dev-texlive/texlive-latexrecommended-2023 >=dev-texlive/texlive-pictures-2023 dev-perl/Spreadsheet-ParseExcel !<dev-texlive/texlive-xetex-2023 >=dev-tex/minted-2.9 >=app-text/texlive-core-2023 $ cat /var/db/repos/gentoo/metadata/md5-cache/dev-tex/minted-2.9 | grep latexextra BDEPEND=doc? ( dev-texlive/texlive-fontsextra dev-texlive/texlive-latexextra ) virtual/latex-base >=sys-apps/texinfo-4.2-r5 RDEPEND=dev-python/pygments dev-texlive/texlive-latexextra virtual/latex-base The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb8ee50ff876d97c89177ce0c61c4679e19adaed commit eb8ee50ff876d97c89177ce0c61c4679e19adaed Author: Sam James <sam@gentoo.org> AuthorDate: 2024-09-01 09:15:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-09-01 09:19:12 +0000 dev-texlive/texlive-latexextra: move dev-tex/minted to PDEPEND The RDEPEND in texlive-latexextra on dev-tex/minted was a convenience dependency because minted used to be bundled. Unfortunately, we get a cycle: ``` (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) ``` Drop the minted dep to PDEPEND given we don't actually need it for texlive-lateextra to build, it's just a convenience dep. Closes: https://bugs.gentoo.org/935405 Signed-off-by: Sam James <sam@gentoo.org> ...a-2023_p69752-r4.ebuild => texlive-latexextra-2023_p69752-r5.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) |