Checked with daemon/Makefile.am, obexftp is special because of a
different linkage below:

  gvfsd_obexftp_LDADD = $(OBEXFTP_LIBS) $(EXPAT_LIBS) $(libraries)
  if USE_HAL
  gvfsd_obexftp_LDADD += $(HAL_LIBS)
  endif

After configuration, OBEXFTP_LIBS is

  OBEXFTP_LIBS = -ldbus-glib-1 -ldbus-1 -lpthread -lrt -lgobject-2.0
-lglib-2.0 -lbluetooth

So apparently libdbus-glib-1 has the priority to be linked first, and
all invocations of the dbus-glib functions call into the system wide
library firstly.

libgvfsdaemon.so doesn't not link to dbus-glib-1, but links to the local
dbus-gmain.c, which means some other calls into libgvfsdaemon.so could
end up calling the functions in dbus-gmain.c, which creates a more
complicated mixture.

At this moment, and considering the upstream is working on a solution, I
believe a quicker way would be to make libgvfsdaemon statically linked.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/899858

Title:
  regression in gvfs to connect/browse using obex

Status in GVFS:
  New
Status in OEM Priority Project:
  In Progress
Status in OEM Priority Project oneiric series:
  New
Status in OEM Priority Project precise series:
  In Progress
Status in “gvfs” package in Ubuntu:
  Confirmed
Status in “gvfs” source package in Oneiric:
  Confirmed
Status in “gvfs” source package in Precise:
  Confirmed
Status in “gvfs” package in Debian:
  New

Bug description:
  Action "browse file on devices" from bluetooth gnome applet is not working 
since upgrade to Oneiric
  Using same hardware configuration (PC + cell phone), it was working fine in 
natty.

  after correct pairing of devices (same hardware). The cell phone I
  connect to is obex capable. it is a Sony Ericsson W20i.

  $ gvfs-mount obex://[B8:F9:34:44:B4:10]
  Error mounting location: Connection refused
  $ obexfs -b B8:F9:34:44:B4:10 m
  $ ls m
  Phone memory
  $ 

  so obexfs is ok, but gvfs-backends has a pb.
  After mounting with obexfs, browsing in nautilus is ok.

  From the applet if I just try "Send file to device", I also get a
  "connection refused (111)" message.

  On the phone, the connexion is set as "always allow"

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: gvfs-backends 1.10.0-0ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-14.23+kamal~fix~stuck~backlight4-generic 
3.0.9
  Uname: Linux 3.0.0-14-generic i686
  ApportVersion: 1.23-0ubuntu4
  Architecture: i386
  Date: Sun Dec  4 10:53:24 2011
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
  SourcePackage: gvfs
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gvfs/+bug/899858/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to