Ticket #386 (closed defect: wontfix)

Opened 2 years ago

Last modified 1 month ago

Cannot install kitchensync-opensync from opensuse yum repo: Missing Dependency: libqopensync.so and libkitchensync.so

Reported by: judaz Assigned to: ehabkost
Priority: normal Milestone:
Component: KitchenSync Version:
Severity: blocker Keywords: Missing dependency (rpm-repo): libqopensync.so and libkitchensync.so
Cc: gronslet@gmail.com

Description

Hi, I've just read a nice review of opensync and a how-to on synchronizing KDE-PIM with a SE W810i using Kubuntu 6.06 and the deb packages from "jahn"'s repo (http://www.in.fh-merseburg.de/~jahn). In the review (Norwegian magazine: Linuxmagasinet), they've got it working using kitchensync-opensync.

I myself have a SE T610 and use Fedora Core 6, thus I tried the opensuse repo: http://repos.opensuse.org/OpenSync/Fedora_Core_5/, but I ran into trouble when trying to install kitchensync-opensync. Actually my first problem is connected with gnokii, but excluding it solves that one:

#   yum  --enablerepo=OpenSync update
...
OpenSync                  100% |=========================|  951 B    00:00
...
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package gnokii.i386 0:0.6.14-23.3 set to be updated
--> Running transaction check
--> Processing Dependency: libbluetooth.so.1 for package: gnokii
--> Finished Dependency Resolution
Error: Missing Dependency: libbluetooth.so.1 is needed by package gnokii

but

# yum  --enablerepo=OpenSync --exclude=gnokii update

works.

So, when trying to install kitchensync-opensync, I get:

#  yum  --enablerepo=OpenSync  --exclude=gnokii install openobex openobex-devel libsoup-devel wbxml2 libopensync-devel libopensync-tools libopensync-plugin-file kitchensync-opensync libopensync-plugin-kdepim libsyncml libsyncml-devel libopensync-plugin-syncml

...
Error: Missing Dependency: libkitchensync.so is needed by package kitchensync-opensync
Error: Missing Dependency: libqopensync.so is needed by package kitchensync-opensync

This might have something to do with what Matthias Jahn wrote in his post to opensync-users 2006-07-04 21:48: "due a incomplete change (libbluetooth1 -> libbluetooth2) in debian sid upstream is libopenobex1 and therefor syncml currently not installable."

Anyway:

# yum --enablerepo=OpenSync provides libkitchensync.so
Loading "installonlyn" plugin
Loading "changelog" plugin
Setting up repositories
Reading repository metadata in from local files
Importing additional filelist information
filelists.xml.gz          100% |=========================| 6.1 kB    00:00
################################################## 51/51
/usr/lib/python2.4/site-packages/yum/__init__.py:1237: DeprecationWarning: prcoPrintable() will go away in a future version of Yum.

  prov = po.prcoPrintable((p_name, p_flag, (p_e, p_v, p_r)))

kitchensync-opensync.i386                0.01_SVN574743-2.7     OpenSync
Matched from:
/usr/lib/libkitchensync.so.0
/usr/lib/libkitchensync.so
/usr/lib/libkitchensync.so.0.0.0
libkitchensync.so.0.0.0

#  yum  --enablerepo=OpenSync  provides libqopensync.so
Loading "installonlyn" plugin
Loading "changelog" plugin
Setting up repositories
Reading repository metadata in from local files
Importing additional filelist information
/usr/lib/python2.4/site-packages/yum/__init__.py:1237: DeprecationWarning: prcoPrintable() will go away in a future version of Yum.

  prov = po.prcoPrintable((p_name, p_flag, (p_e, p_v, p_r)))

kitchensync-opensync.i386                0.01_SVN574743-2.7     OpenSync
Matched from:
/usr/lib/libqopensync.so.0
/usr/lib/libqopensync.so.0.0.0
/usr/lib/libqopensync.so
libqopensync.so.0.0.0

My installed versions are:

# rpm -qa \*opensync\*
libopensync-plugin-file-0.20-2.3
libopensync-plugin-syncml-0.20-6.3
libopensync-tools-0.20-3.3
libopensync-plugin-irmc-0.20-2.3
libopensync-0.20-3.3
libopensync-plugin-kdepim-0.20-2.3

I've searched the opensync-users list, and the wiki, with no luck. Any hints appreciated.

Change History

11/17/06 15:50:54 changed by judaz

  • cc set to gronslet@gmail.com.

11/17/06 17:06:08 changed by pmarat

Error: Missing Dependency: libkitchensync.so is needed by package kitchensync-opensync
Error: Missing Dependency: libqopensync.so is needed by package kitchensync-opensync

Very strange because libqopensync.so and libkitchensync.so are both builded thogether with kitchensync-opensync. I have looked into the package http://repos.opensuse.org/OpenSync/Fedora_Core_5/i386/kitchensync-opensync-0.01_SVN574743-2.7.i386.rpm and it seams like the libs:

  • libqopensync.so and
  • libkitchensync.so

are in the right place.

> This might have something to do with what Matthias Jahn wrote 
> in his post to opensync-users 2006-07-04 21:48: "due a incomplete 
> change (libbluetooth1 -libbluetooth2) in debian sid upstream 
> is libopenobex1 and therefor syncml currently not installable."

No this is not a problem for kitchensync-opensync. It was only a problem in debian sid and etch.

11/17/06 18:38:03 changed by judaz

I downloaded the source file from http://repos.opensuse.org/OpenSync/Fedora_Core_5/src/kitchensync-opensync-0.01_SVN574743-2.7.src.rpm and tried to build it myself, but ran into problems because the spec file was not prepared for Fedora (I think?):

rpm2cpio kitchensync-opensync-0.01_SVN574743-2.7.src.rpm | cpio -idm '*.spec'

Then:

# yum  --enablerepo=OpenSync --exclude=gnokii install libopensync-devel
# rpmbuild -ba kitchensync-opensync.spec
...
RPM-feil under bygging:
    Filen må begynne med "/": %{kdeprefix}/bin/kitchensync-opensync
    Filen må begynne med "/": %{kdeprefix}/lib/kde3/libkitchensyncpart.la
    Filen må begynne med "/": %{kdeprefix}/lib/kde3/libkitchensyncpart.so
    Filen må begynne med "/": %{kdeprefix}/lib/libkitchensync.la
    Filen må begynne med "/": %{kdeprefix}/lib/libkitchensync.so
    Filen må begynne med "/": %{kdeprefix}/lib/libkitchensync.so.0
    Filen må begynne med "/": %{kdeprefix}/lib/libkitchensync.so.0.0.0
    Filen må begynne med "/": %{kdeprefix}/lib/libqopensync.la
    Filen må begynne med "/": %{kdeprefix}/lib/libqopensync.so
    Filen må begynne med "/": %{kdeprefix}/lib/libqopensync.so.0
    Filen må begynne med "/": %{kdeprefix}/lib/libqopensync.so.0.0.0
    Filen må begynne med "/": %{kdeprefix}/lib/pkgconfig/qopensync.pc
    Filen må begynne med "/": %{kdeprefix}/share/apps/kitchensync

(This is in norwegian: "Filen må begynne med" == "The file have to start with")

So, has this something to do with these lines in the spec file?:

%if 0%{?fedora_version}
BuildRequires:  libX11-devel kdepim-devel which
%define kdeprefix %{_prefix}
%endif

I can't see "_prefix" being defined anywhere, but I don't know much about rpm...

Does this make sense to anyone? It feels so close now..

11/18/06 23:59:31 changed by judaz

One step forward: The problem on Fedora Core 6 is that the test " %if 0%{?fedora_version} " doesn't kick in, so I just put the definition " %define kdeprefix /usr " outside that test, and the building went fine. But the main problem remains:

# rpm -Uvh /usr/src/redhat/RPMS/i386/kitchensync-opensync-0.01_SVN574743-2.7.i386.rpm
feil: Failed dependencies:
        libkitchensync.so is needed by kitchensync-opensync-0.01_SVN574743-2.7.i386
        libqopensync.so is needed by kitchensync-opensync-0.01_SVN574743-2.7.i386

Is it so that this package actually should provide these files rather than require them? How should I change the .spec file...?

11/24/06 15:10:14 changed by Laurent.Rineau__fedora_extras@normalesup.org

To compile the source RPM package for Fedora, use:

  rpmbuild '--define 'fedora_version 1' -ba kitchensync-opensync.spec

That way, the macro %{fedora_version} will be evaluated into 1, and 0%{?fedora_version} will be evaluated in 01, which is non-zero.

02/07/07 18:57:15 changed by dgollub

  • version deleted.

10/18/07 11:29:51 changed by felixmoeller

08/30/08 21:04:53 changed by felixmoeller

  • status changed from new to closed.
  • resolution set to wontfix.

there are no longer any packages for fedora.