Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 264230

Summary: [TRACKER] app-text/poppler{,-bindings} migration to dev-libs/poppler{,-qt4,-qt3,-glib} and app-text/poppler-utils
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: Current packagesAssignee: Peter Alfredsen (RETIRED) <loki_val>
Status: VERIFIED FIXED    
Severity: enhancement CC: hkmaly, manuel.lauss, pacho, printing
Priority: High Keywords: Tracker
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 254722, 259200, 261638    

Description Peter Alfredsen (RETIRED) gentoo-dev 2009-03-30 01:18:39 UTC
To facilitate a more clean split of poppler, I will be moving all app-text/poppler{,-bindings} dependencies in tree to virtual/poppler{,-utils,-qt4,-qt3,-glib}. I will then import the corresponding split packages into the tree.
A listing of the split packages and highlights of their contents:
dev-libs/poppler:
 /usr/lib/libpoppler.so
 /usr/lib/pkgconfig/poppler.pc
 /usr/lib/pkgconfig/poppler-splash.pc
 /usr/include/poppler/*
dev-libs/poppler-qt4:
 /usr/lib/pkgconfig/poppler-qt4.pc
 /usr/lib/libpoppler-qt4.so
 /usr/include/poppler/qt4/*
dev-libs/poppler-qt3:
 /usr/lib/libpoppler-qt.so
 /usr/lib/pkgconfig/poppler-qt.pc
 /usr/include/poppler/qt3/*
dev-libs/poppler-glib:
 /usr/lib/libpoppler-glib.so
 /usr/lib/pkgconfig/poppler-glib.pc
 /usr/lib/pkgconfig/poppler-cairo.pc (installed by cairo useflag)
 /usr/include/poppler/glib/*
app-text/poppler-utils:
 /usr/bin/pdfimages
 /usr/bin/pdftohtml
 /usr/bin/pdftotext
 /usr/bin/pdffonts
 /usr/bin/pdftoabw
 /usr/bin/pdftoppm
 /usr/bin/pdfinfo
 /usr/bin/pdftops
Comment 1 Pacho Ramos gentoo-dev 2009-03-30 06:31:37 UTC
I am now getting:
# emerge -pvuDN world

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

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "~app-text/poppler-utils-0.10.4[abiword]".
(dependency required by "app-misc/beagle-0.3.9" [installed])
(dependency required by "world" [argument])

Seems that app-text/poppler-utils is missing in my tree (just synced), Is it expected as still too soon or should I send a bug report? Thanks :-)
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2009-03-30 11:07:12 UTC
(In reply to comment #1)
> Seems that app-text/poppler-utils is missing in my tree (just synced), Is it
> expected as still too soon or should I send a bug report? Thanks :-)

Gah. Thanks for pointing it out. It should be coming soon, but it seems that in my sleep-deprived state yesterday I committed the final version of the virtuals. I've now fixed this by pointing all the virtuals exclusively at app-text/poppler{,-utils}

Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2009-03-30 22:59:21 UTC
Adding bugs that will be fixed in split poppler.
Comment 4 Rafał Mużyło 2009-04-01 16:19:26 UTC
Looks, like somebody is still not fully awake,
this is the result of emerging dev-libs/poppler:
checking for Qt headers... no
checking for Qt libraries... no
configure: error: Qt development libraries not found
See `config.log' for more details.

The cause is (a broken) poppler.eclass, that enables
nearly everything by default.
Comment 5 Rafał Mużyło 2009-04-01 16:40:42 UTC
Removing '--enable-poppler-foo' lines (that probably required)
and --enable-gdk (not sure about this one) makes it build correctly.
Comment 6 Rafał Mużyło 2009-04-01 16:41:26 UTC
Removing them from the eclass, of course.
Comment 7 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-01 18:04:29 UTC
(In reply to comment #6)
> Removing them from the eclass, of course.
> 

There was some autoconf foo in m4/qt.m4 that I missed, it seems. I committed a fix.
Comment 8 Manuel Lauss 2009-04-21 17:13:41 UTC
Please rename the virtual/poppler-utils: it overwrites the binary package for dev-libs/poppler-utils which is quite annoying. Same for the other virtual/poppler-* ebuilds.
Thanks!
Comment 9 Peter Alfredsen (RETIRED) gentoo-dev 2009-08-22 22:14:48 UTC
Nothing left to track, closing.
Comment 10 Honza 2009-09-09 09:56:26 UTC
Is there (or will be) any official preferred way of update from one poppler to other or is this the best you can do?

# emerge -p -v virtual/poppler

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

Calculating dependencies... done!
[ebuild     U ] media-libs/openjpeg-1.3-r2 [1.3] USE="-tools" 0 kB
[ebuild  N    ] dev-libs/poppler-0.10.7  USE="abiword poppler-data" 1,496 kB
[ebuild     U ] virtual/poppler-0.10.7 [0.10.4] 0 kB
[blocks B     ] app-text/poppler ("app-text/poppler" is blocking dev-libs/poppler-0.10.7)
[blocks B     ] dev-libs/poppler ("dev-libs/poppler" is blocking app-text/poppler-bindings-0.10.5-r1, app-text/poppler-0.10.5-r1)
[blocks B     ] app-text/poppler-bindings ("app-text/poppler-bindings" is blocking dev-libs/poppler-0.10.7)

Total: 3 packages (2 upgrades, 1 new), Size of downloads: 1,496 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.

  ('ebuild', '/', 'dev-libs/poppler-0.10.7', 'merge') pulled in by
    ~dev-libs/poppler-0.10.7 required by ('ebuild', '/', 'virtual/poppler-0.10.7', 'merge')

  ('installed', '/', 'app-text/poppler-0.10.5-r1', 'nomerge') pulled in by
    app-text/poppler required by world


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
Comment 11 Peter Alfredsen (RETIRED) gentoo-dev 2009-09-09 10:24:24 UTC
(In reply to comment #10)
> Is there (or will be) any official preferred way of update from one poppler to
> other or is this the best you can do?

[...]

>   ('installed', '/', 'app-text/poppler-0.10.5-r1', 'nomerge') pulled in by
>     app-text/poppler required by world
[...]
If you'd used --oneshot to emerge poppler ( a library package, so unlikely to be necessary in @world ), you'd have gotten b-blockers, which portage can resolve on its own. If you remove app-text/poppler from /var/lib/portage/world, you can see how it would look.
This is why it's recommended to use -1 when you're just re-emerging stuff or fooling around. @world should only contain the packages you don't want to uninstall, ever.

Also, bugzilla is for bug reports. Please direct future support requests to forums.gentoo.org, #gentoo on IRC or gentoo-user@lists.gentoo.org.
Comment 12 Honza 2009-09-09 19:44:01 UTC
Ok, removed from world, problem continues (as follows). I can continue on <a href="http://forums.gentoo.org/viewtopic-t-763166-highlight-poppler+block.html">forum</a>, but it seems they are recomending removing the packages. I suppose it can be solved by that, I'm talking about it here because I suppose the behaviour is buggy. If it is considered normal that packages needs to be removed before upgrade then sorry.

# emerge -p -v dev-libs/poppler

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

Calculating dependencies | * Missing digest for '/usr/local/portage/media-fonts/sharefonts/sharefonts-0.10-r3.ebuild'
... done!
[ebuild     U ] media-libs/openjpeg-1.3-r2 [1.3] USE="-tools" 0 kB
[ebuild  N    ] dev-libs/poppler-0.10.7  USE="abiword poppler-data" 1,496 kB
[blocks B     ] app-text/poppler ("app-text/poppler" is blocking dev-libs/poppler-0.10.7)
[blocks B     ] dev-libs/poppler ("dev-libs/poppler" is blocking app-text/poppler-bindings-0.10.5-r1, app-text/poppler-0.10.5-r1)
[blocks B     ] app-text/poppler-bindings ("app-text/poppler-bindings" is blocking dev-libs/poppler-0.10.7)

Total: 2 packages (1 upgrade, 1 new), Size of downloads: 1,496 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-bindings-0.10.5-r1', 'nomerge') pulled in by
    ~app-text/poppler-bindings-0.10.5[gtk,cairo] required by ('installed', '/', 'virtual/poppler-glib-0.10.5', 'nomerge')
    ~app-text/poppler-bindings-0.10.5[gtk,cairo] required by ('installed', '/', 'media-gfx/gimp-2.6.4', 'nomerge')

  ('ebuild', '/', 'dev-libs/poppler-0.10.7', 'merge') pulled in by
    dev-libs/poppler

  ('installed', '/', 'app-text/poppler-0.10.5-r1', 'nomerge') pulled in by
    ~app-text/poppler-0.10.5 required by ('installed', '/', 'virtual/poppler-utils-0.10.5', 'nomerge')
    ~app-text/poppler-0.10.5 required by ('installed', '/', 'net-print/cups-1.3.10-r1', 'nomerge')
    ~app-text/poppler-0.10.5 required by ('installed', '/', 'virtual/poppler-0.10.5', 'nomerge')
    (and 3 more)


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
Comment 13 Honza 2009-09-09 19:51:22 UTC
Oh. Sorry. Seems that
emerge xpdf cups virtual/poppler virtual/poppler-utils media-gfx/gimp

(in other words, reemerging all mentioned packages) works now.
Comment 14 Peter Alfredsen (RETIRED) gentoo-dev 2009-09-09 20:17:55 UTC
(In reply to comment #13)
> Oh. Sorry. Seems that
> emerge xpdf cups virtual/poppler virtual/poppler-utils media-gfx/gimp
> 
> (in other words, reemerging all mentioned packages) works now.
> 

Please remember to use -1 when you don't want the packages in question to block future upgrades/make resolving blocks harder. For portage to solve blockers for you, you should a) keep as few packages in your world file as possible. b) use emerge -uDNav world to upgrade, so it can evaluate all dependencies.
Blockers are not bugs. In the future, use the support channels I mentioned to get support. Google and forums search will also help you. Thank you.