[Bug 711549] Re: pressing physical eject button on CD/DVD drive causes icon to remain on desktop after eject

Julien Lavergne julien.lavergne at gmail.com
Fri Mar 11 11:08:16 UTC 2011


I updated the patch with the current udisks package in natty to apply
cleany (see the result attached). But it failled to build :

   CC     udisks_daemon-poller.o
gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -DPACKAGE_LIBEXEC_DIR=\""/usr/lib/udisks"\" -DPACKAGE_SYSCONF_DIR=\""/etc"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_BIN_DIR=\""/usr/bin"\" -DPACKAGE_LOCALSTATE_DIR=\""/var"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_LIB_DIR=\""/usr/lib"\" -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -pthread -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/polkit-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/gudev-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I../src -DG_LOG_DOMAIN=\"udisks-daemon\"       -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security -c -o udisks_daemon-poller.o `test -f 'poller.c' || echo './'`poller.c
poller.c: In function 'poller_poll_device':
poller.c:242:27: error: 'device_file' undeclared (first use in this function)
poller.c:242:27: note: each undeclared identifier is reported only once for each function it appears in
poller.c: In function 'poller_check_ide_cdrom':
poller.c:208:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result
make[6]: *** [udisks_daemon-poller.o] Error 1
make[6]: Leaving directory `/tmp/buildd/udisks-1.0.2/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/tmp/buildd/udisks-1.0.2/src'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/tmp/buildd/udisks-1.0.2/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/buildd/udisks-1.0.2'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/buildd/udisks-1.0.2'
dh_auto_build: make -j1 returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/tmp/buildd/udisks-1.0.2'
make: *** [build] Error 2

** Patch added: "13-polling-failed-due-to-O_EXCL.patch"
   https://bugs.launchpad.net/ubuntu/+source/udisks/+bug/711549/+attachment/1900729/+files/13-polling-failed-due-to-O_EXCL.patch

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
https://bugs.launchpad.net/bugs/711549

Title:
  pressing physical eject button on CD/DVD drive causes icon to remain
  on desktop after eject

Status in abstraction for enumerating and managing block devices:
  Confirmed
Status in “udisks” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: udisks

  Steps to reproduce:
  1. log in to Gnome desktop
  2. Insert CD or DVD in drive and wait for icon to appear on desktop
  3. Press the physical eject button on the DVD/CD drive(do NOT click the software eject by right clicking the icon)

  Expected results:
  CD or DVD is ejected and desktop (and places menu) Icon disappear for the CD or DVD

  Actual results:
  CD or DVD is ejected and the desktop icon remains on the desktop (The DVD or CD remains in the 'Places' menu as well)

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: udisks 1.0.1+git20100614-3
  ProcVersionSignature: Ubuntu 2.6.35-24.42sutton04-generic-pae 2.6.35.8
  Uname: Linux 2.6.35-24-generic-pae i686
  Architecture: i386
  Date: Tue Feb  1 17:46:13 2011
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-sutton-edge-amd-20110124-2
  ExecutablePath: /usr/lib/udisks/udisks-daemon
  InstallationMedia: Ubuntu 10.10 "Maverick" - Build i386 LIVE Binary 20110124-21:10
  MachineType: LENOVO 0199RXU
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-24-generic-pae root=UUID=5209bc7a-fb56-400e-b6fd-1e3db99384cf ro quiet splash acpi_skip_timer_override
  ProcEnviron:

  SourcePackage: udisks
  dmi.bios.date: 12/07/2010
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 82ET71WW (2.11 )
  dmi.board.name: 0199RXU
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvr82ET71WW(2.11):bd12/07/2010:svnLENOVO:pn0199RXU:pvrThinkPadEdge:rvnLENOVO:rn0199RXU:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 0199RXU
  dmi.product.version: ThinkPad Edge
  dmi.sys.vendor: LENOVO



More information about the Ubuntu-sponsors mailing list