Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482346 - app-text/texlive-2012: broken dependencies block packages needed for install
Summary: app-text/texlive-2012: broken dependencies block packages needed for install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-24 19:15 UTC by Guilherme Amadio
Modified: 2013-09-07 22:25 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 Guilherme Amadio gentoo-dev 2013-08-24 19:15:45 UTC
When I try to emerge texlive-2012 on prefix, it tries to use 2013 packages and blocks bibtexu and kpathsea. Ebuilds for texlive-2012 should explicitly depend on 2012 packages only, not >=2012, since not all of them are available on prefix yet.

Output from my terminal:

sirius texlive-core $ emerge -av =texlive-2012

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy ">=app-text/texlive-core-2013".
(dependency required by "dev-texlive/texlive-fontsrecommended-2013" [ebuild])
(dependency required by "app-text/texlive-2012" [ebuild])
(dependency required by "=texlive-2012" [argument])
sirius texlive-core $ emerge -av =texlive-2011

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "=texlive-2011".
sirius texlive-core $ emerge -av texlive-core

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-libs/kpathsea-6.1.1_p20130530  USE="-doc -source -static-libs" 175,787 kB
[ebuild  N     ] sys-apps/ed-1.9  85 kB
[ebuild  N     ] app-text/dvipsk-5.993_p20130530  USE="-doc -source" 112 kB
[ebuild  N     ] app-text/ps2pkm-1.5_p20130530  0 kB
[ebuild  N     ] virtual/perl-PodParser-1.610.0  0 kB
[ebuild  N     ] dev-tex/bibtexu-3.71_p20130530  USE="-doc -source" 10 kB
[ebuild  N     ] dev-libs/zziplib-0.13.60-r1  USE="-doc -sdl -static-libs {-test}" 670 kB
[ebuild  N     ] media-libs/lcms-2.5-r1:2  USE="jpeg tiff zlib -doc -static-libs {-test}" 6,837 kB
[ebuild  N     ] perl-core/Getopt-Long-2.410.0  42 kB
[ebuild  N     ] app-text/poppler-0.22.5:0/37  USE="cxx jpeg lcms png tiff utils -cairo -cjk -curl -debug -doc (-introspection) -jpeg2k -qt4" 2,187 kB
[ebuild  N     ] virtual/perl-Getopt-Long-2.410.0  0 kB
[ebuild  N     ] dev-tex/luatex-0.76.0  USE="-doc" 12,446 kB
[ebuild  N     ] app-text/texlive-core-2012  USE="-X -cjk -doc -source -tk -xetex" 129,810 kB
[blocks B      ] <app-text/texlive-core-2013 ("<app-text/texlive-core-2013" is blocking dev-tex/bibtexu-3.71_p20130530, dev-libs/kpathsea-6.1.1_p20130530)

Total: 13 packages (13 new), Size of downloads: 327,981 kB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

Reproducible: Always
Comment 1 Christoph Junghans (RETIRED) gentoo-dev 2013-08-31 00:50:15 UTC
texlive-core-2013 was added to the prefix overlay, which solves the dependency issue, but the texmf-update version, which now installed by dev-libs/kpathsea, is not prefix-usable anymore!

I think we somehow need to include the following patch into dev-libs/kpathsea:
<http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/app-text/texlive-core/files/texmf-update2010-prefix.patch>
or do some sed magic like:
$ sed -i "s:/\(etc\|usr\|var\)/:${EPREFIX}&:g' texmf-update
Comment 2 Fabian Groffen gentoo-dev 2013-08-31 09:41:47 UTC
I took the liberty to fix this, hope that's ok with you aballier
Comment 3 Alexis Ballier gentoo-dev 2013-09-02 14:27:20 UTC
(In reply to Fabian Groffen from comment #2)
> I took the liberty to fix this, hope that's ok with you aballier

yep; I was going to ask for eprefixify rather than sed but you did it that way
Comment 4 Christoph Junghans (RETIRED) gentoo-dev 2013-09-07 22:25:04 UTC
With app-text/texlive-core-2013 in prefix overlay this is fixed.