Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558936 - app-text/dvipng-1.14 blocks app-text/texlive-2014
Summary: app-text/dvipng-1.14 blocks app-text/texlive-2014
Status: RESOLVED DUPLICATE of bug 290818
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-27 13:51 UTC by Thomas Beutin
Modified: 2015-10-12 17:03 UTC (History)
0 users

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


Attachments
texi2dvi-0-r1 ebuild patch (texi2dvi-0-r1.patch,377 bytes, text/plain)
2015-09-01 19:18 UTC, Thomas Beutin
Details
dvipng-1.15-r1 ebuild patch (dvipng-1.15-r1.patch,350 bytes, patch)
2015-09-01 19:36 UTC, Thomas Beutin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Beutin 2015-08-27 13:51:09 UTC
This is a slightly longer dependency chain:

dev-texlive/texlive-texinfo ("dev-texlive/texlive-texinfo" is blocking dev-texlive/texlive-plainextra-2014)

There is only dev-texlive/texlive-texinfo-2012 available, which is required by virtual/texi2dvi-0, which is required by app-text/dvipng, which is required by:

# equery d app-text/dvipng
 * These packages depend on app-text/dvipng:
app-text/asciidoc-8.6.9-r1 (test ? app-text/dvipng)
app-text/texlive-2012 (png ? app-text/dvipng)
dev-python/ipython-3.2.1 (test ? app-text/dvipng)
dev-python/matplotlib-1.4.2 (doc ? app-text/dvipng)
                            (latex ? app-text/dvipng)
dev-python/sphinx-1.2.2 (latex ? app-text/dvipng)
dev-python/sympy-0.7.6 (png ? app-text/dvipng)


updating to app-text/dvipng-1.15 does not work:

# nice -n 19 emerge -pv1Nu app-text/dvipng

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

Calculating dependencies   * waiting for lock on /var/db/.pkg.portage_lockfile ...
                                                                                                         [ ok ]
... done!
[ebuild     U  ] dev-libs/kpathsea-6.2.0_p20140525:0/6.2.0::gentoo [6.1.0_p20120701:0/0::gentoo] USE="-doc -source -static-libs" 0 KiB
[ebuild     U  ] app-text/dvipsk-5.994_p20140525::gentoo [5.992_p20120701::gentoo] USE="-doc -source" 0 KiB
[ebuild     U  ] dev-tex/bibtexu-3.71_p20140525::gentoo [3.71_p20120701::gentoo] USE="-doc% -source%" 0 KiB
[ebuild     U  ] app-text/ps2pkm-1.5_p20140525::gentoo [1.5_p20120701::gentoo] 0 KiB
[ebuild     U  ] app-text/texlive-core-2014-r4::gentoo [2012-r1::gentoo] USE="X xetex -cjk -doc -source -tk" 0 KiB
[blocks b      ] <app-text/texlive-core-2013 ("<app-text/texlive-core-2013" is blocking dev-libs/kpathsea-6.2.0_p20140525, dev-tex/bibtexu-3.71_p20140525)
[uninstall     ] app-text/xdvipdfmx-0.7.8_p20120701::gentoo  USE="-doc" 
[blocks b      ] app-text/xdvipdfmx ("app-text/xdvipdfmx" is blocking app-text/texlive-core-2014-r4)
[uninstall     ] app-text/dvipdfmx-20110311-r1::gentoo 
[blocks b      ] app-text/dvipdfmx ("app-text/dvipdfmx" is blocking app-text/texlive-core-2014-r4)
[ebuild     U  ] dev-texlive/texlive-basic-2014::gentoo [2012::gentoo] USE="-doc -source" 0 KiB
[blocks b      ] <dev-texlive/texlive-basic-2014 ("<dev-texlive/texlive-basic-2014" is blocking app-text/texlive-core-2014-r4)
[ebuild     U  ] dev-texlive/texlive-plainextra-2014::gentoo [2012::gentoo] USE="-doc -source" 298 KiB
[ebuild     U ~] app-text/dvipng-1.15::gentoo [1.14::gentoo] USE="truetype {-test} (-t1lib%)" 168 KiB
[blocks B      ] <dev-texlive/texlive-langgerman-2013 ("<dev-texlive/texlive-langgerman-2013" is hard blocking dev-texlive/texlive-basic-2014)
[blocks B      ] dev-texlive/texlive-texinfo ("dev-texlive/texlive-texinfo" is blocking dev-texlive/texlive-plainextra-2014)
[blocks B      ] dev-tex/luatex ("dev-tex/luatex" is blocking app-text/texlive-core-2014-r4)

Total: 8 packages (8 upgrades, 2 uninstalls), Size of downloads: 465 KiB
Conflict: 7 blocks (3 unsatisfied)

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

  (dev-texlive/texlive-texinfo-2012:0/0::gentoo, installed) pulled in by
    >=dev-texlive/texlive-texinfo-2012 required by (app-text/texlive-2012:0/0::gentoo, installed)

  (dev-tex/luatex-0.70.1-r2:0/0::gentoo, installed) pulled in by
    >=dev-tex/luatex-0.45 required by (dev-texlive/texlive-latex-2012:0/0::gentoo, installed)

  (app-text/texlive-core-2014-r4:0/0::gentoo, ebuild scheduled for merge) pulled in by
    >=app-text/texlive-core-2012 required by (dev-texlive/texlive-htmlxml-2012:0/0::gentoo, installed)
    app-text/texlive-core required by (virtual/tex-base-0:0/0::gentoo, installed)
    >=app-text/texlive-core-2012 required by (dev-texlive/texlive-langenglish-2012:0/0::gentoo, installed)
    >=app-text/texlive-core-2012 required by (dev-texlive/texlive-formatsextra-2012:0/0::gentoo, installed)
    >=app-text/texlive-core-2012 required by (dev-texlive/texlive-latex-2012:0/0::gentoo, installed)
    >=app-text/texlive-core-2010[xetex] required by (dev-texlive/texlive-xetex-2012:0/0::gentoo, installed)
    >=app-text/texlive-core-2012 required by (app-text/texlive-2012:0/0::gentoo, installed)
    >=app-text/texlive-core-2012 required by (dev-texlive/texlive-bibtexextra-2012-r1:0/0::gentoo, installed)
    >=app-text/texlive-core-2012 required by (dev-texlive/texlive-latexrecommended-2012-r1:0/0::gentoo, installed)
    >=app-text/texlive-core-2012 required by (dev-texlive/texlive-xetex-2012:0/0::gentoo, installed)
    >=app-text/texlive-core-2012 required by (dev-texlive/texlive-genericrecommended-2012:0/0::gentoo, installed)
    >=app-text/texlive-core-2012 required by (dev-texlive/texlive-fontsextra-2012:0/0::gentoo, installed)
    >=app-text/texlive-core-2012 required by (dev-texlive/texlive-mathextra-2012-r1:0/0::gentoo, installed)
    >=app-text/texlive-core-2012 required by (dev-texlive/texlive-fontsrecommended-2012:0/0::gentoo, installed)
    >=app-text/texlive-core-2012 required by (dev-texlive/texlive-pictures-2012:0/0::gentoo, installed)
    >=app-text/texlive-core-2012 required by (dev-texlive/texlive-fontutils-2012:0/0::gentoo, installed)
    >=app-text/texlive-core-2012 required by (dev-texlive/texlive-genericextra-2012:0/0::gentoo, installed)
    >=app-text/texlive-core-2012 required by (dev-texlive/texlive-latexextra-2012:0/0::gentoo, installed)
    >=app-text/texlive-core-2012 required by (dev-texlive/texlive-langgerman-2012:0/0::gentoo, installed)
    >=app-text/texlive-core-2014 required by (dev-texlive/texlive-basic-2014:0/0::gentoo, ebuild scheduled for merge)
    >=app-text/texlive-core-2012 required by (dev-texlive/texlive-texinfo-2012:0/0::gentoo, installed)
    >=app-text/texlive-core-2014 required by (dev-texlive/texlive-plainextra-2014:0/0::gentoo, ebuild scheduled for merge)

  (dev-texlive/texlive-basic-2014:0/0::gentoo, ebuild scheduled for merge) pulled in by
    >=dev-texlive/texlive-basic-2012 required by (app-text/texlive-2012:0/0::gentoo, installed)
    >=dev-texlive/texlive-basic-2012 required by (dev-texlive/texlive-pictures-2012:0/0::gentoo, installed)
    >=dev-texlive/texlive-basic-2012 required by (dev-texlive/texlive-formatsextra-2012:0/0::gentoo, installed)
    >=dev-texlive/texlive-basic-2012 required by (dev-texlive/texlive-xetex-2012:0/0::gentoo, installed)
    >=dev-texlive/texlive-basic-2012 required by (dev-texlive/texlive-langenglish-2012:0/0::gentoo, installed)
    >=dev-texlive/texlive-basic-2012 required by (dev-texlive/texlive-fontsextra-2012:0/0::gentoo, installed)
    >=dev-texlive/texlive-basic-2012 required by (dev-texlive/texlive-latex-2012:0/0::gentoo, installed)
    >=dev-texlive/texlive-basic-2012 required by (dev-texlive/texlive-fontutils-2012:0/0::gentoo, installed)
    >=dev-texlive/texlive-basic-2012 required by (dev-texlive/texlive-genericextra-2012:0/0::gentoo, installed)
    >=dev-texlive/texlive-basic-2012 required by (dev-texlive/texlive-genericrecommended-2012:0/0::gentoo, installed)
    >=dev-texlive/texlive-basic-2012 required by (dev-texlive/texlive-htmlxml-2012:0/0::gentoo, installed)
    >=dev-texlive/texlive-basic-2012 required by (dev-texlive/texlive-fontsrecommended-2012:0/0::gentoo, installed)
    >=dev-texlive/texlive-basic-2012 required by (dev-texlive/texlive-texinfo-2012:0/0::gentoo, installed)
    >=dev-texlive/texlive-basic-2014 required by (dev-texlive/texlive-plainextra-2014:0/0::gentoo, ebuild scheduled for merge)
    >=dev-texlive/texlive-basic-2012 required by (dev-texlive/texlive-langgerman-2012:0/0::gentoo, installed)

  (dev-texlive/texlive-langgerman-2012:0/0::gentoo, installed) pulled in by
    >=dev-texlive/texlive-langgerman-2012 required by (app-text/texlive-2012:0/0::gentoo, installed)

  (dev-texlive/texlive-plainextra-2014:0/0::gentoo, ebuild scheduled for merge) pulled in by
    >=dev-texlive/texlive-plainextra-2013 required by (virtual/texi2dvi-0:0/0::gentoo, installed)
    >=dev-texlive/texlive-plainextra-2012 required by (app-text/texlive-2012:0/0::gentoo, installed)


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages


Reproducible: Always




I carefully checked the bugtracker, but i couldn't find a bug reporting this issue. Maybe i overlooked something...
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-08-28 21:13:02 UTC
You need to update *all* your tex-related packages at the same time to 2014. And try giving portage a large backtrack level so it can resolve all conflicts between dependencies.

Something like "emerge -1 --update --deep --newuse --backtrack=30 dvipng texlive texlive-langgerman texlive-texinfo luatex". Add more ebuilds to the list if needed.

Alternatively, "emerge -1 --deep --update --newuse --backtrack=30 @world" may do it.
Comment 2 Thomas Beutin 2015-08-29 07:46:26 UTC
Even when i set " --backtrack=100" i run into trouble w/ app-text/dvipng:


dev-libs/kpathsea:0

  (dev-libs/kpathsea-6.1.0_p20120701:0/0::gentoo, installed) pulled in by
    dev-libs/kpathsea:0/0= required by (app-text/dvipng-1.15:0/0::gentoo, installed)
                     ^^^^^                                                                                              

  (dev-libs/kpathsea-6.2.0_p20140525:0/6.2.0::gentoo, ebuild scheduled for merge) pulled in by
    >=dev-libs/kpathsea-6.2.0 required by (app-text/texlive-core-2014-r4:0/0::gentoo, ebuild scheduled for merge)
    ^^                  ^^^^^                                                                                                                                           
    (and 4 more with the same problem)
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-08-30 23:15:47 UTC
(In reply to Thomas Beutin from comment #2)

Interesting. The solution is to explicitly update kpathsea (add "=dev-libs/kpathsea-6.2.0_p20140525" to your "emerge -1" arguments), but portage should have been able to understand that automatically...

CC-ing portage devs.
Comment 4 Thomas Beutin 2015-09-01 19:18:39 UTC
Created attachment 410788 [details]
texi2dvi-0-r1 ebuild patch

# diff -ubB /usr/portage/virtual/texi2dvi/texi2dvi-0.ebuild  /usr/local/portage/virtual/texi2dvi/texi2dvi-0-r1.ebuild

Since dev-texlive/texlive-texinfo-2012 is a stub anyway this can be removed from the ebuild
Comment 5 Thomas Beutin 2015-09-01 19:36:38 UTC
Created attachment 410794 [details, diff]
dvipng-1.15-r1 ebuild patch

diff -ubB /usr/portage/app-text/dvipng/dvipng-1.15.ebuild /usr/local/portage/app-text/dvipng/dvipng-1.15-r1.ebuild

After removing the trailing ':=' from "dev-libs/kpathsea" in RDEPEND "everything works fine for me"(tm).

I'm not too deep into ebuild conding, but IIRC the trailing ':=' requests any slot, but since dev-libs/kpathsea is not slotted this might be the bug.

But now dvipng links to the curent installed lib:

# ldd /usr/bin/dvipng | grep kpathsea
	libkpathsea.so.6 => /usr/lib64/libkpathsea.so.6 (0x00007f88ffa00000)
ls /usr/lib64/libkpathsea.* | cat
/usr/lib64/libkpathsea.so
/usr/lib64/libkpathsea.so.6
/usr/lib64/libkpathsea.so.6.2.0
Comment 6 Zac Medico gentoo-dev 2015-09-01 19:43:29 UTC
(In reply to Alexandre Rostovtsev from comment #3)
> (In reply to Thomas Beutin from comment #2)
> 
> Interesting. The solution is to explicitly update kpathsea (add
> "=dev-libs/kpathsea-6.2.0_p20140525" to your "emerge -1" arguments), but
> portage should have been able to understand that automatically...
> 
> CC-ing portage devs.

It's not recommended to do anything other than emerge -uD @world for updates, since that gives the dependency resolver as much freedom as possible. What generally fail to understand is that commands like 'emerge -pv1Nu app-text/dvipng' constrain the dependency resolver to *only* update dvipng, which means that the calculation is *intended* to fail if any other changes are required.
Comment 7 Zac Medico gentoo-dev 2015-09-01 20:07:53 UTC
(In reply to Zac Medico from comment #6)
> It's not recommended to do anything other than emerge -uD @world for
> updates, since that gives the dependency resolver as much freedom as
> possible. What generally fail to understand is that commands like 'emerge
> -pv1Nu app-text/dvipng' constrain the dependency resolver to *only* update
> dvipng, which means that the calculation is *intended* to fail if any other
> changes are required.

Since this is a common problem, I've filed bug 559354 to add an emerge option which tells it to "update any packages necessary" (which --update does not do).
Comment 8 Thomas Beutin 2015-09-01 22:12:20 UTC
(In reply to Zac Medico from comment #6)
> (In reply to Alexandre Rostovtsev from comment #3)
> > (In reply to Thomas Beutin from comment #2)
> > 
> > Interesting. The solution is to explicitly update kpathsea (add
> > "=dev-libs/kpathsea-6.2.0_p20140525" to your "emerge -1" arguments), but
> > portage should have been able to understand that automatically...
> > 
> > CC-ing portage devs.
> 
> It's not recommended to do anything other than emerge -uD @world for
> updates, since that gives the dependency resolver as much freedom as
> possible. What generally fail to understand is that commands like 'emerge
> -pv1Nu app-text/dvipng' constrain the dependency resolver to *only* update
> dvipng, which means that the calculation is *intended* to fail if any other
> changes are required.

This would also update dev-libs/boost and dev-util/boost-build from ~1.55.0 to ~1.56.0 which is a no-go on my system. But maybe i've not fully understood the ebuild system by now...
Comment 9 Zac Medico gentoo-dev 2015-10-10 00:12:36 UTC
(In reply to Thomas Beutin from comment #8)
> This would also update dev-libs/boost and dev-util/boost-build from ~1.55.0
> to ~1.56.0 which is a no-go on my system. But maybe i've not fully
> understood the ebuild system by now...

You can mask upgrades that you don't want in /etc/portage/package.mask.
Comment 10 Zac Medico gentoo-dev 2015-10-12 17:00:40 UTC

*** This bug has been marked as a duplicate of bug 543290 ***
Comment 11 Zac Medico gentoo-dev 2015-10-12 17:03:08 UTC

*** This bug has been marked as a duplicate of bug 290818 ***