Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202974 - kde-base/kitchensync-3.5.8: fails to emerge with libopensync-0.35
Summary: kde-base/kitchensync-3.5.8: fails to emerge with libopensync-0.35
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal with 1 vote (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 203023 206508 230872 (view as bug list)
Depends on:
Blocks: 224313
  Show dependency tree
 
Reported: 2007-12-22 01:02 UTC by Piotr
Modified: 2008-07-05 22:07 UTC (History)
35 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for opensync-0.3x API change (kdepim-3.5.8-libopensync-0.3x.patch,105.29 KB, patch)
2007-12-26 15:27 UTC, Andreas Arens
Details | Diff
Updated ebuild (kitchensync-3.5.8-r1.ebuild,1.19 KB, text/plain)
2008-01-03 22:24 UTC, jszwast
Details
kitchensync-3.5.9-OpenSync0.30API.patch (kitchensync-3.5.9-OpenSync0.30API.patch,112.41 KB, patch)
2008-05-31 12:52 UTC, Peter Alfredsen (RETIRED)
Details | Diff
kdepim-3.5.9-r1--3.5.9-r2.ebuild.patch (kdepim-3.5.9-r1--3.5.9-r2.ebuild.patch,908 bytes, patch)
2008-05-31 12:58 UTC, Peter Alfredsen (RETIRED)
Details | Diff
kitchensync-3.5.9--3.5.9-r1.ebuild.patch (kitchensync-3.5.9--3.5.9-r1.ebuild.patch,787 bytes, patch)
2008-05-31 13:00 UTC, Peter Alfredsen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr 2007-12-22 01:02:13 UTC
After upgrading to libopensync-0.35 kitchensync has some broken dependencies but it crash during recompilation because of changes in libopensync.
Here are the errors:


Reproducible: Always

Steps to Reproduce:
1.upgrade libopensync to version 0.35
2.run revdep-rebuild to check broken dependencies - it will try to reemerge kitchensync

Actual Results:  
make[1]: Entering directory `/var/tmp/portage/kde-base/kitchensync-3.5.8/work/kitchensync-3.5.8/kitchensync/libqopensync'
/usr/qt/3/bin/moc ./callbackhandler.h -o callbackhandler.moc
/bin/sh ../../libtool --silent --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../kitchensync/src -I../../kitchensync -I../.. -I/usr/include/opensync-1.0    -I../../libkdepim -I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT -D_LARGE_FILES=1  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -pipe -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o callbackhandler.lo callbackhandler.cpp
callbackhandler.cpp:22:29: error: osengine/engine.h: No such file or directory
callbackhandler.cpp: In member function 'void QSync::CallbackHandler::setEngine(QSync::Engine*)':
callbackhandler.cpp:114: error: 'osengine_set_conflict_callback' was not declared in this scope
callbackhandler.cpp:115: error: 'osengine_set_changestatus_callback' was not declared in this scope
callbackhandler.cpp:116: error: 'osengine_set_mappingstatus_callback' was not declared in this scope
callbackhandler.cpp:117: error: 'osengine_set_enginestatus_callback' was not declared in this scope
callbackhandler.cpp:118: error: 'osengine_set_memberstatus_callback' was not declared in this scope
make[1]: *** [callbackhandler.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-base/kitchensync-3.5.8/work/kitchensync-3.5.8/kitchensync/libqopensync'
make: *** [install-recursive] Error 1
*
* ERROR: kde-base/kitchensync-3.5.8 failed.
* Call stack:
*               ebuild.sh, line   46:  Called src_install
*             environment, line 4382:  Called kde-meta_src_install
*             environment, line 2899:  Called kde-meta_src_install 'src_install' 'src_install'
*             environment, line 2908:  Called die
* The specific snippet of code:
*                           make DESTDIR=${D} destdir=${D} install || diefunc "$FUNCNAME" "$LINENO" "$?";
*  The die message:
*   (no error message)

Expected Results:  
emerge correctly
Comment 1 Billy DeVincentis 2007-12-22 09:52:05 UTC
Same here, after downgrading libopensync, kitchensync compiles fine.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-12-22 15:37:00 UTC
*** Bug 203023 has been marked as a duplicate of this bug. ***
Comment 3 Joachim Herb 2007-12-22 23:19:46 UTC
You have to upgrade cmake to 2.4.7-r1.

This bug seems to be a duplicate of bug #203041
Comment 4 Piotr 2007-12-22 23:33:05 UTC
(In reply to comment #3)
> You have to upgrade cmake to 2.4.7-r1.
> 
> This bug seems to be a duplicate of bug #203041
> 

No it's not. Bug #203041 is about upgrading libopensync and we are talking  here about recompiling kitchensync after upgrading libopensync.
Comment 5 Sönke N. Greimann 2007-12-23 03:50:06 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > You have to upgrade cmake to 2.4.7-r1.
> > 
> > This bug seems to be a duplicate of bug #203041
> > 
> 
> No it's not. Bug #203041 is about upgrading libopensync and we are talking 
> here about recompiling kitchensync after upgrading libopensync.

I can confirm that the fix from Bug #203041 doesn't work here...

Comment 6 Markos Chandras (RETIRED) gentoo-dev 2007-12-23 18:38:23 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > (In reply to comment #3)
> > > You have to upgrade cmake to 2.4.7-r1.
> > > 
> > > This bug seems to be a duplicate of bug #203041
> > > 
> > 
> > No it's not. Bug #203041 is about upgrading libopensync and we are talking 
> > here about recompiling kitchensync after upgrading libopensync.
> 
> I can confirm that the fix from Bug #203041 doesn't work here...
> 

I confirm that upgrading to cmake 2.4.7-r1 doesnt fix the problem
Comment 7 Piotr 2007-12-23 18:50:34 UTC
Of course it doesn't fix the problem. Because that bug is about upgrading libopensync and not about reemerging kitchensync.
Comment 8 Peter Alfredsen (RETIRED) gentoo-dev 2007-12-24 11:17:47 UTC
I'll bet you dollars for pennies this patch fixes the problem:
http://www.mail-archive.com/pld-cvs-commit%40lists.pld-linux.org/msg110203.html
Comment 9 meme 2007-12-25 19:32:07 UTC
(In reply to comment #0)
> After upgrading to libopensync-0.35 kitchensync has some broken dependencies
> but it crash during recompilation because of changes in libopensync.
> Here are the errors:
> 
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1.upgrade libopensync to version 0.35
> 2.run revdep-rebuild to check broken dependencies - it will try to reemerge
> kitchensync
> 
> Actual Results: 

I see this earlier on in the build. libopensync 0.35 is installed, but not being found for some reason.

...
config.status: creating libkdepim/tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands

You're missing a compatible version of libopensync.
Version 0.19 or greater is needed.
kitchensync will not be built.

make -j3
/usr/bin/make  all-recursive
...

> make[1]: Entering directory
> `/var/tmp/portage/kde-base/kitchensync-3.5.8/work/kitchensync-3.5.8/kitchensync/libqopensync'
> /usr/qt/3/bin/moc ./callbackhandler.h -o callbackhandler.moc
> /bin/sh ../../libtool --silent --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
> -DHAVE_CONFIG_H -I. -I. -I../.. -I../../kitchensync/src -I../../kitchensync
> -I../.. -I/usr/include/opensync-1.0    -I../../libkdepim -I/usr/kde/3.5/include
> -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT -D_LARGE_FILES=1 
> -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
> -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2
> -march=athlon64 -pipe -O2 -Wformat-security -Wmissing-format-attribute
> -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION  -c -o callbackhandler.lo callbackhandler.cpp
> callbackhandler.cpp:22:29: error: osengine/engine.h: No such file or directory
> callbackhandler.cpp: In member function 'void
> QSync::CallbackHandler::setEngine(QSync::Engine*)':
> callbackhandler.cpp:114: error: 'osengine_set_conflict_callback' was not
> declared in this scope
> callbackhandler.cpp:115: error: 'osengine_set_changestatus_callback' was not
> declared in this scope
> callbackhandler.cpp:116: error: 'osengine_set_mappingstatus_callback' was not
> declared in this scope
> callbackhandler.cpp:117: error: 'osengine_set_enginestatus_callback' was not
> declared in this scope
> callbackhandler.cpp:118: error: 'osengine_set_memberstatus_callback' was not
> declared in this scope
> make[1]: *** [callbackhandler.lo] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/kde-base/kitchensync-3.5.8/work/kitchensync-3.5.8/kitchensync/libqopensync'
> make: *** [install-recursive] Error 1
> *
> * ERROR: kde-base/kitchensync-3.5.8 failed.
> * Call stack:
> *               ebuild.sh, line   46:  Called src_install
> *             environment, line 4382:  Called kde-meta_src_install
> *             environment, line 2899:  Called kde-meta_src_install
> 'src_install' 'src_install'
> *             environment, line 2908:  Called die
> * The specific snippet of code:
> *                           make DESTDIR=${D} destdir=${D} install || diefunc
> "$FUNCNAME" "$LINENO" "$?";
> *  The die message:
> *   (no error message)
> 
> Expected Results:  
> emerge correctly
> 

Comment 10 Andreas Arens 2007-12-26 15:27:35 UTC
Created attachment 139362 [details, diff]
Patch for opensync-0.3x API change

The problem is that the opensync-0.3x devel branch introduces a major API change, which right now only the "kitchensync-OpenSync0.30API" branch in the kitchensync SVN can handle.
The submitted patch brings kitchensync to today's SVN version of that branch, which works with that opensync devel branch libs.
However the kitchensync porting to that branch is yet incomplete, and therefore kitchensync should depend on the opensync branch-0.2x and block the 0.3x opensync branch.

With this patch it compiles and installs fine, but I'm unable to test. I've got a compatible phone, but don't use kdepim with it.
Comment 11 Andreas Arens 2007-12-26 15:29:27 UTC
(In reply to comment #8)
> I'll bet you dollars for pennies this patch fixes the problem:
> http://www.mail-archive.com/pld-cvs-commit%40lists.pld-linux.org/msg110203.html
> 

Bet lost, it doesn't. I'll take your bucks.
Comment 12 Christopher Hogan 2008-01-01 20:33:29 UTC
app-pda/multisync-gui-0.91.0 fails to build against libopensync-0.35 as well. It fails with the following error:

Checking for package opensync-1.0 >= 0.20   : ok
Checking for package osengine-1.0 >= 0.20   : not found
you need opensync http://www.opensync.org/ (libopensync0-dev)
make: *** No targets specified and no makefile found.  Stop.

0.91 is the most recent version in portage. Opensync's site shows a svn repository for multisync. However, portage doesn't have an svn build for it. I haven't tried to make one yet.

Opensync's site does say:

Warning''' the version number for the OpenSync core must match that of the plugins you want to use. This means that you shouldn't use OpenSync 0.35 (or any further 0.3x) just now, unless you want to develop or port the plugins yourself.

For now, I'm going to remove app-pda/multisync-gui-0.91.0 from my system and install app-pda/msynctool-9999 as the user interface. I'll see what works for me. If I can't get a set of plug-ins that work for me, I'll revert to the previous version.
Comment 13 P Purkayastha 2008-01-02 04:41:37 UTC
(In reply to comment #10)
> Created an attachment (id=139362) [edit]
> Patch for opensync-0.3x API change
> 

> With this patch it compiles and installs fine, but I'm unable to test. I've got
> a compatible phone, but don't use kdepim with it.
>


The patch compiles and installs but it does not run:
 
kitchensync: error while loading shared libraries: libosengine.so.0: cannot open shared object file: No such file or directory
Comment 14 P Purkayastha 2008-01-02 04:46:29 UTC
To add to my previous post, revdep-rebuild gives the following errors:

  broken /usr/kde/3.5/bin/kitchensync (requires  libopensync.so.0 libosengine.so.0)
  broken /usr/kde/3.5/lib/kde3/libkitchensyncpart.so (requires  libopensync.so.0 libosengine.so.0)
  broken /usr/kde/3.5/lib/libkitchensync.so.0.0.0 (requires  libopensync.so.0 libosengine.so.0)
  broken /usr/kde/3.5/lib/libqopensync.so.0.0.0 (requires  libopensync.so.0 libosengine.so.0)
  broken /usr/kde/3.5/lib/kde3/libkitchensyncpart.la (requires /usr/lib/libosengine.la)
  broken /usr/kde/3.5/lib/kde3/libkitchensyncpart.la (requires /usr/lib/libopensync.la)
  broken /usr/kde/3.5/lib/libkitchensync.la (requires /usr/lib/libosengine.la)
  broken /usr/kde/3.5/lib/libkitchensync.la (requires /usr/lib/libopensync.la)
  broken /usr/kde/3.5/lib/libqopensync.la (requires /usr/lib/libosengine.la)
  broken /usr/kde/3.5/lib/libqopensync.la (requires /usr/lib/libopensync.la)
 done.
Comment 15 P Purkayastha 2008-01-02 08:16:58 UTC
(In reply to comment #14)
Sorry for the spamming. Please ignore my posts. I was using ebuild kitchensync unpack, compile, qmerge, etc manually, and somehow it seemed to me that the package had been installed, when it had actually failed to install.

I used emerge later, stopping it immediately (kill -STOP) after unpacking and then applying the patch and then resuming the merge.

Again, sorry for the misleading replies.
Comment 16 jszwast 2008-01-03 22:24:45 UTC
Created attachment 140000 [details]
Updated ebuild

I changed the dependency from app-pda/libopensync to <app-pda/libopensync-0.30.  Portage properly downgraded libopensync and kitchensync properly compiled.
Comment 17 Stefano Ferrari 2008-01-05 15:00:28 UTC
> I changed the dependency from app-pda/libopensync to <app-pda/libopensync-0.30.
>  Portage properly downgraded libopensync and kitchensync properly compiled.

I solved it in a slightly different way, masking >app-pda/libopensync-0.30 in /etc/portage/package.mask and then recompiling libopensync (downgraded) and kitchensynk -- zero problems now.
Comment 18 Chris Smith 2008-01-07 18:47:32 UTC
Are there no patches available from svn or elsewhere that allows kitchensync to build against libopensync-0.35 ?

Downgrading libopensync and its plugins shouldn't be the proper option.
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2008-01-18 10:53:27 UTC
*** Bug 206508 has been marked as a duplicate of this bug. ***
Comment 20 Christopher Hogan 2008-01-18 14:46:51 UTC
I decided to fall back to 0.22 after I couldn't get the palm plugin working. libopensync uses the even/odd stable/experimental development model. The 0.3x series is experimental. I'll wait for the stable release (0.4).
Comment 21 Erik Zeek 2008-01-28 14:25:31 UTC
I get the same issue with libopensync-0.36 as well.
Comment 22 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-05-30 15:38:18 UTC
This issue is still present

Ok, to recap:

    - libopensync-0.3* does not work with the qopensync stuff shipped with kitchensync
    - All issues are fixed with a version of libopensync <0.3

I poked in the source and upstream changed _lots_ of stuff. The best way to fix this is the way mentioned in comment #16, only use <0.3
Comment 23 Peter Alfredsen (RETIRED) gentoo-dev 2008-05-31 12:52:23 UTC
Created attachment 154939 [details, diff]
kitchensync-3.5.9-OpenSync0.30API.patch

This patch fixes compilation of kitchensync and kdepim against =libopensync-0.3*. Please commit the patched ebuilds I'm about to post to the same mask as libopensync in profiles/package.mask. When I've cleared app-pda/multisync-gui for the new libopensync, the mask will be removed. Tracking bug is bug 224313.
Comment 24 Peter Alfredsen (RETIRED) gentoo-dev 2008-05-31 12:58:36 UTC
Created attachment 154941 [details, diff]
kdepim-3.5.9-r1--3.5.9-r2.ebuild.patch

patch for kdepim-3.5.9-r1.
The patch from above was snatched from Fedora's devel branch and rebased so we could use it. I forgot to mention that.
Comment 25 Peter Alfredsen (RETIRED) gentoo-dev 2008-05-31 13:00:39 UTC
Created attachment 154943 [details, diff]
kitchensync-3.5.9--3.5.9-r1.ebuild.patch

patch for kitchensync-3.5.9
Comment 26 Peter Alfredsen (RETIRED) gentoo-dev 2008-06-06 00:28:51 UTC
Fixed InCVS. kdepim-3.5.9-r2 and kitchensync-3.5.9-r1 now uses libopensync>= 0.36
Comment 27 Peter Alfredsen (RETIRED) gentoo-dev 2008-07-05 16:36:53 UTC
*** Bug 230872 has been marked as a duplicate of this bug. ***
Comment 28 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-05 21:42:43 UTC
As the duplicate bug shows, it has been missed to adjust the opensync dependency in kitchensync-3.5.9.ebuild.
Comment 29 Peter Alfredsen (RETIRED) gentoo-dev 2008-07-05 22:07:46 UTC
FIXED