Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302886 - upgrading to app-text/poppler-0.12.3 cause some blocks
Summary: upgrading to app-text/poppler-0.12.3 cause some blocks
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-30 16:13 UTC by Maxim Koltsov (RETIRED)
Modified: 2010-01-31 17:47 UTC (History)
0 users

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


Attachments
Patch for cups ebuild (cups-ebuild.patch,328 bytes, patch)
2010-01-30 16:15 UTC, Maxim Koltsov (RETIRED)
Details | Diff
Patch for cups ebuild (cups-ebuild.patch,337 bytes, patch)
2010-01-30 16:17 UTC, Maxim Koltsov (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Koltsov (RETIRED) gentoo-dev 2010-01-30 16:13:57 UTC
Functionality of dev-libs/poppler-utils was moved to app-text/poppler, but some programs, such as cups, still require dev-libs-poppler-utils.
For example, net-print/cups is depending on virtual/poppler-utils, but it must depend on app-text/poppler[utils]

Reproducible: Always

Steps to Reproduce:
1.Unmask
=virtual/poppler-0.12.3-r1 ~x86
=virtual/poppler-glib-0.12.3-r2 ~x86
=virtual/poppler-utils-0.12.3i-r1 ~x86
=dev-libs/poppler-glib-0.12.3 ~x86
=dev-libs/poppler-0.12.3 ~x86
=app-text/poppler-0.12.3-r3 ~x86
=app-text/poppler-utils-0.12.3 ~x86
2.emerge -uDNav world

Actual Results:  
[ebuild     U ] sys-apps/portage-2.1.7.16 [2.1.6.13] USE="-build -doc -epydoc (-python3) (-selinux)" LINGUAS="-pl" 566 kB
*** Portage will stop merging at this point and reload itself,
    then resume the merge.
[ebuild   R   ] sys-devel/binutils-2.18-r3  USE="nls -multislot -multitarget -test -vanilla (-gold%)" 14,629 kB
[ebuild   R   ] x11-libs/libX11-1.3.3  USE="ipv6 xcb -debug -doc (-test%)" 2,116 kB
[ebuild     U ] dev-libs/glib-2.22.4 [2.22.3] USE="fam -debug -doc -hardened (-selinux) -xattr" 4,895 kB
[ebuild  N    ] dev-libs/poppler-0.10.7  USE="abiword poppler-data" 1,496 kB
[ebuild  N    ] app-text/poppler-utils-0.10.7  USE="abiword" 0 kB
[ebuild  N    ] virtual/poppler-utils-0.10.7  USE="abiword" 0 kB
[ebuild     U ] virtual/poppler-glib-0.12.3-r2 [0.12.3] USE="cairo" 0 kB
[ebuild     U ] app-emulation/wine-1.1.35 [1.1.29] USE="X alsa cups dbus gecko hal jpeg ldap mp3 ncurses opengl perl%* png samba ssl threads%* truetype%* xml -capi% -custom-cflags -esd -fontconfig% -gnutls -gphoto2% -gsm -jack -lcms -nas -openal% -oss -scanner -test -win64 -xcomposite -xinerama" 23,608 kB
[ebuild   R   ] gnome-extra/gnome-screensaver-2.28.0-r1  USE="branding%* libnotify opengl pam -debug -doc" 4,681 kB
[blocks B     ] app-text/poppler ("app-text/poppler" is blocking dev-libs/poppler-0.10.7, app-text/poppler-utils-0.10.7)
[blocks B     ] dev-libs/poppler ("dev-libs/poppler" is blocking app-text/poppler-0.12.3-r3)
[blocks B     ] app-text/poppler-utils ("app-text/poppler-utils" is blocking app-text/poppler-0.12.3-r3)

Total: 10 packages (4 upgrades, 3 new, 3 reinstalls), Size of downloads: 51,988 kB
Conflict: 3 blocks (3 unsatisfied)

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

  ('installed', '/', 'app-text/poppler-0.12.3-r3', 'nomerge') pulled in by
    ~app-text/poppler-0.12.3[xpdf-headers,lcms] required by ('installed', '/', 'app-office/openoffice-3.1.1', 'nomerge')
    ~app-text/poppler-0.12.3[cairo] required by ('installed', '/', 'app-text/evince-2.28.2', 'nomerge')
    ~app-text/poppler-0.12.3[cairo] required by ('ebuild', '/', 'virtual/poppler-glib-0.12.3-r2', 'merge')
    (and 1 more)

  ('ebuild', '/', 'app-text/poppler-utils-0.10.7', 'merge') pulled in by
    ~app-text/poppler-utils-0.10.7[abiword] required by ('ebuild', '/', 'virtual/poppler-utils-0.10.7', 'merge')
    ~app-text/poppler-utils-0.10.7[abiword] required by ('installed', '/', 'net-print/cups-1.4.2-r1', 'nomerge')


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

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked


Expected Results:  
[ebuild     U ] sys-apps/portage-2.1.7.16 [2.1.6.13] USE="-build -doc -epydoc (-python3) (-selinux)" LINGUAS="-pl" 566 kB
*** Portage will stop merging at this point and reload itself,
    then resume the merge.
[ebuild   R   ] sys-devel/binutils-2.18-r3  USE="nls -multislot -multitarget -test -vanilla (-gold%)" 14,629 kB
[ebuild   R   ] x11-libs/libX11-1.3.3  USE="ipv6 xcb -debug -doc (-test%)" 2,116 kB
[ebuild     U ] dev-libs/glib-2.22.4 [2.22.3] USE="fam -debug -doc -hardened (-selinux) -xattr" 4,895 kB
[ebuild     U ] virtual/poppler-glib-0.12.3-r2 [0.12.3] USE="cairo" 0 kB
[ebuild     U ] app-emulation/wine-1.1.35 [1.1.29] USE="X alsa cups dbus gecko hal jpeg ldap mp3 ncurses opengl perl%* png samba ssl threads%* truetype%* xml -capi% -custom-cflags -esd -fontconfig% -gnutls -gphoto2% -gsm -jack -lcms -nas -openal% -oss -scanner -test -win64 -xcomposite -xinerama" 23,608 kB
[ebuild   R   ] gnome-extra/gnome-screensaver-2.28.0-r1  USE="branding%* libnotify opengl pam -debug -doc" 4,681 kB

Total: 7 packages (4 upgrades, 3 reinstalls), Size of downloads: 50,493 kB
Comment 1 Maxim Koltsov (RETIRED) gentoo-dev 2010-01-30 16:15:03 UTC
Created attachment 217923 [details, diff]
Patch for cups ebuild

This is a patch, that fix cups` dependencies.
Comment 2 Maxim Koltsov (RETIRED) gentoo-dev 2010-01-30 16:17:58 UTC
Created attachment 217926 [details, diff]
Patch for cups ebuild

This is a patch that fix cups` dependencies.
Comment 3 Maxim Koltsov (RETIRED) gentoo-dev 2010-01-30 16:19:59 UTC
Sorry, first patch is wrong, it was created with wrong diff command - i swapped arguments.
Comment 4 Rafał Mużyło 2010-01-30 19:06:43 UTC
Most likely INVALID.
> =virtual/poppler-utils-0.12.3i-r1
Shouldn't hat be:
'=virtual/poppler-utils-0.12.3-r1' ?
Comment 5 Maxim Koltsov (RETIRED) gentoo-dev 2010-01-31 09:26:01 UTC
(In reply to comment #4)
> Most likely INVALID.
> > =virtual/poppler-utils-0.12.3i-r1
> Shouldn't hat be:
> '=virtual/poppler-utils-0.12.3-r1' ?
> 
Yes, excuse me for disturbing you, I was wrong. I fixed my package.keywords and now there is no blocks. And can you explain me why we need virtual packages for poppler and poppler-utils?
Comment 6 Rafał Mużyło 2010-01-31 17:46:58 UTC
Let's close it with a proper resolution, shall we ?

As for the virtuals, there was a historical reason behind it,
recently fixed by using EAPI=2 in all packages that needed it.