← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 507618] [NEW] xserver-xorg-video-radeon has insufficient (even missing) dependency on libdrm-radeon1

 

Public bug reported:

Binary package hint: xserver-xorg-video-ati

During a partial upgrade from karmic to lucid, I wanted to restart X after updating the X packages but it didn't come back.
Looking at the gdm log the error could be found pretty fast:
  /usr/bin/X: symbol lookup error: /usr/lib/xorg/modules/drivers/radeon_drv.so: undefined symbol: radeon_cs_create

At this point xserver-xorg-video-radeon was already updated to
1:6.12.99+git20091125.0061c4db-0ubuntu2 (lucid) while libdrm-radeon1 was
still at 2.4.14-1ubuntu1 (karmic). Updating libdrm-radeon1 to
2.4.17-0ubuntu1 (lucid) fixed it and my X started again.

I looked then at the dependencies of xserver-xorg-video-radeon I saw that it's missing a dependency on libdrm-radeon1 at all:
  Depends: libc6 (>= 2.2.5), libpciaccess0, xserver-xorg-core (>= 2:1.6.99.900)
Looking further at the needed libraries of /usr/lib/xorg/modules/drivers/radeon_drv.so:
$ objdump -x /usr/lib/xorg/modules/drivers/radeon_drv.so | grep NEEDED
  NEEDED               libpixman-1.so.0
  NEEDED               libdrm_radeon.so.1
  NEEDED               libdrm.so.2
  NEEDED               libpciaccess.so.0
  NEEDED               libc.so.6
other needed libraries are missing in Depends too. While at least libpixman-1-0 and libdrm2 are pulled in through xserver-xorg-core depending on them (still are direct dependency would be better than a indirect one), libdrm-radeon1 is only pulled in through a recommendation:
$ aptitude why xserver-xorg-video-radeon libdrm-radeon1
i   xserver-xorg-video-radeon Depends    xserver-xorg-core (>= 2:1.6.99.900)
i A xserver-xorg-core         Recommends libgl1-mesa-dri (>= 7.1~rc1)       
i   libgl1-mesa-dri           Depends    libdrm-radeon1 (>= 2.4.12)
But this doesn't assure that libdrm-radeon1 is installed at all and even in the correct version needed by xserver-xorg-video-radeon.

** Affects: xserver-xorg-video-ati (Ubuntu)
     Importance: Undecided
         Status: New

-- 
xserver-xorg-video-radeon has insufficient (even missing) dependency on libdrm-radeon1 
https://bugs.launchpad.net/bugs/507618
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-ati in ubuntu.



Follow ups

References