Bug 207081 - missing dependency on hplip
Summary: missing dependency on hplip
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip   
(Show other bugs)
Version: 5
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2006-09-19 07:51 UTC by henri Michel
Modified: 2008-02-13 11:00 UTC (History)
0 users

Fixed In Version: F-8
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-13 11:00:43 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description henri Michel 2006-09-19 07:51:49 UTC
Description of problem:
On a fresh fc5 system, updating hplip will trigger an update of hpijs
but will not trigger an update of cups-libs though it should
Because /usr/lib/python2.4/site-packages/cupsext.so refers to symbol
cupsLangDefault which is defined in updated cups-libs while it was not 
in original (not updated ) fc5 

Version-Release number of selected component (if applicable):
             |  fc5 original|           fc5 updated
hplip        |  0.9.8-6     |           1-6.6a-1.1
hpijs        |     |           1-6.6a-1.1
cups-libs    |  1.1.23-30.2 |           1.2.3-1.6

How reproducible:

Steps to Reproduce:
1.fresh fc5 install 
2.yum update hplip
3. /etc/init.d/hplip restart
4. (alternative)  hp-clean 
Actual results:
Traceback (most recent call last):
  File "/usr/bin/hp-clean", line 35, in ?
    from base import device, utils, maint
  File "/usr/share/hplip/base/device.py", line 39, in ?
    from prnt import pcl, ldl, cups
  File "/usr/share/hplip/prnt/cups.py", line 27, in ?
    import cupsext
ImportError: /usr/lib/python2.4/site-packages/cupsext.so: undefined symbol:

Expected results:
should at least start !!! :-)

Additional info:
For original cups-libs (cups-libs-1.1.23-30.2.i386.rpm)
    $ ls -l /usr/lib/libcups.so.2
      -rwxr-xr-x 1 root root 132708 Feb 11  2006 /usr/lib/libcups.so.2
    $ readelf -s /usr/lib/libcups.so.2  | grep cupsLangDefault
    $ # no output
For updated cups-libs ( 178298 Sep 15 03:04 cups-libs-1.2.3-1.6.i386.rpm)
    $ ls -l /usr/lib/libcups.so.2
      -rwxr-xr-x 1 root root 218184 Sep 13 18:30 usr/lib/libcups.so.2
    $ readelf -s /usr/lib/libcups.so.2  | grep cupsLangDefault
      79: 0001dd80    69 FUNC    GLOBAL DEFAULT   10 cupsLangDefault
IMHO since updated libcups.so.2 exports 143 new global function symbols (almost
2x more) compared to the 156 of the original, it should get a different major
version number.

Comment 1 Tim Waugh 2006-12-15 16:38:54 UTC
Fixed in CVS and will be pushed out with any future hplip update.

Note You need to log in before you can comment on or make changes to this bug.