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

Bug 259200

Summary: app-text/poppler{,-bindings} should depend more tightly on each other
Product: Gentoo Linux Reporter: Martin Mokrejš <mmokrejs>
Component: Current packagesAssignee: Peter Alfredsen (RETIRED) <loki_val>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 264230    
Bug Blocks:    
Attachments: config.log

Description Martin Mokrejš 2009-02-16 09:52:10 UTC
I have installed:

*  app-text/poppler
      Latest version available: 0.10.3
      Latest version installed: 0.10.3
      Size of files: 1,494 kB
      Homepage:      http://poppler.freedesktop.org/
      Description:   PDF rendering library based on the xpdf-3.0 code base
      License:       GPL-2

*  app-text/poppler-bindings
      Latest version available: 0.10.3
      Latest version installed: 0.10.2
      Size of files: 5,161 kB
      Homepage:      http://poppler.freedesktop.org/
      Description:   rendering bindings for GUI toolkits for poppler
      License:       GPL-2

*  app-text/poppler-data
      Latest version available: 0.2.1
      Latest version installed: 0.2.1
      Size of files: 3,972 kB
      Homepage:      http://poppler.freedesktop.org/
      Description:   Data files for poppler to support uncommon encodings without xpdfrc
      License:       adobe-ps MIT


>>> Emerging (1 of 109) x11-libs/cairo-1.8.6
 * cairo-1.8.6.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                         [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                                          [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                                         [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking cairo-1.8.6.tar.gz to /var/tmp/portage/x11-libs/cairo-1.8.6/work
 * Running elibtoolize in: cairo-1.8.6/build
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 * Running elibtoolize in: cairo-1.8.6
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
>>> Source unpacked in /var/tmp/portage/x11-libs/cairo-1.8.6/work
>>> Compiling source in /var/tmp/portage/x11-libs/cairo-1.8.6/work/cairo-1.8.6 ...
 * econf: updating cairo-1.8.6/build/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating cairo-1.8.6/build/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating cairo-1.8.6/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating cairo-1.8.6/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-xlib --disable-gtk-doc --enable-directfb --disable-xcb --enable-svg --enable-glitz --enable-xlib-xrender --disable-test-surfaces --enable-pdf --enable-png --enable-ft --enable-ps --build=i686-pc-linux-gnu
[cut]
checking for cairo's PDF surface backend feature... 
checking whether cairo's PDF surface backend feature could be enabled... yes
checking for POPPLER... no
no
configure: WARNING: PDF backend will not be tested since poppler >= 0.9.2 is not available
Comment 1 Martin Mokrejš 2009-02-16 09:54:18 UTC
The following surface backends:
  Image:         yes (always builtin)
  Xlib:          yes
  Xlib Xrender:  yes
  Quartz:        no (requires CoreGraphics framework)
  Quartz-image:  no (disabled, use --enable-quartz-image to enable)
  XCB:           no (disabled, use --enable-xcb to enable)
  Win32:         no (requires a Win32 platform)
  OS2:           no (disabled, use --enable-os2 to enable)
  PostScript:    yes
  PDF:           yes
  SVG:           yes
  glitz:         yes
  BeOS:          no (disabled, use --enable-beos to enable)
  DirectFB:      yes

The following font backends:
  User:          yes (always builtin)
  FreeType:      yes
  Win32:         no (requires a Win32 platform)
  Quartz:        no (requires CoreGraphics framework)

The following functions:
  PNG functions: yes

And the following internal features:
  gcov support:  no
  test surfaces: no (disabled, use --enable-test-surfaces to enable)
  ps testing:    yes
  pdf testing:   no (requires poppler-glib >= 0.9.2)
  svg testing:   yes
Comment 2 Martin Mokrejš 2009-02-16 09:55:53 UTC
Created attachment 182214 [details]
config.log
Comment 3 Rafał Mużyło 2009-02-16 14:22:52 UTC
Update poppler-bindings.

But this perhaps may be a valid bug of incorrect deps between poppler
and poppler-bindings, definitely not against cairo, though.
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-27 21:35:39 UTC
I've done as much as I can in the new poppler libraries (dev-libs/poppler and friends) to prevent this. Marking FIXED.
Comment 5 Martin Mokrejš 2009-04-28 15:27:06 UTC
# emerge -uN poppler poppler-bindings
Calculating dependencies... done!
[ebuild  N    ] app-text/poppler-0.10.5-r1  USE="-doc" 
[ebuild  N    ] dev-libs/poppler-0.10.6  USE="abiword poppler-data" 
[ebuild     U ] virtual/poppler-0.10.6 [0.10.5]
[ebuild     U ] x11-libs/qt-core-4.5.1 [4.5.0]
[ebuild     U ] x11-libs/qt-test-4.5.1 [4.5.0]
[ebuild     U ] x11-libs/qt-dbus-4.5.1 [4.5.0]
[ebuild     U ] x11-libs/qt-script-4.5.1 [4.5.0]
[ebuild     U ] x11-libs/qt-sql-4.5.1 [4.5.0]
[ebuild     U ] x11-libs/qt-gui-4.5.1 [4.5.0]
[ebuild     U ] x11-libs/qt-qt3support-4.5.1 [4.5.0]
[ebuild  N    ] app-text/poppler-bindings-0.10.5-r1  USE="cairo gtk qt3 qt4 -test" 
[blocks B     ] app-text/poppler ("app-text/poppler" is blocking dev-libs/poppler-0.10.6)
[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.6)

 * 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.6', 'merge') pulled in by
    ~dev-libs/poppler-0.10.6 required by ('ebuild', '/', 'virtual/poppler-0.10.6', 'merge')

  ('ebuild', '/', 'app-text/poppler-bindings-0.10.5-r1', 'merge') pulled in by
    poppler-bindings

[cut]

>>> Emerging (1 of 2) dev-libs/poppler-0.10.6
>>> Downloading 'http://gentoo.mirror.web4u.cz/distfiles/poppler-0.10.6.tar.gz'
--2009-04-28 17:24:33--  http://gentoo.mirror.web4u.cz/distfiles/poppler-0.10.6.tar.gz
Resolving gentoo.mirror.web4u.cz... 81.91.81.13
Connecting to gentoo.mirror.web4u.cz|81.91.81.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1527715 (1.5M) [application/x-gzip]
Saving to: `/usr/portage/distfiles/poppler-0.10.6.tar.gz'

100%[============================================================================================================================================================================================>] 1,527,715    529K/s   in 2.8s    

2009-04-28 17:24:36 (529 KB/s) - `/usr/portage/distfiles/poppler-0.10.6.tar.gz' saved [1527715/1527715]

 * poppler-0.10.6.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                       [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                                           [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                                          [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                                         [ ok ]
>>> Unpacking source...
>>> Unpacking poppler-0.10.6.tar.gz to /var/tmp/portage/dev-libs/poppler-0.10.6/work
>>> Source unpacked in /var/tmp/portage/dev-libs/poppler-0.10.6/work
>>> Preparing source in /var/tmp/portage/dev-libs/poppler-0.10.6/work/poppler-0.10.6 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/poppler-0.10.6/work/poppler-0.10.6 ...
 * econf: updating poppler-0.10.6/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating poppler-0.10.6/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-static --enable-poppler-qt4 --enable-poppler-glib --enable-xpdf-headers --enable-libjpeg --enable-libopenjpeg --enable-zlib --enable-splash-output --enable-abiword-output --disable-poppler-qt4 --disable-cairo-output


Why -enable-poppler-qt4 --disable-poppler-qt4 ?

Why app-text/poppler-0.10.5-r1 and dev-libs/poppler-0.10.6 together?
Comment 6 Peter Alfredsen (RETIRED) gentoo-dev 2009-05-17 14:00:31 UTC
Wow. Your comment makes no sense. Please don't reopen without reason.