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
Same here, after downgrading libopensync, kitchensync compiles fine.
*** Bug 203023 has been marked as a duplicate of this bug. ***
You have to upgrade cmake to 2.4.7-r1. This bug seems to be a duplicate of bug #203041
(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.
(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...
(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
Of course it doesn't fix the problem. Because that bug is about upgrading libopensync and not about reemerging kitchensync.
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
(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 >
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.
(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.
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.
(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
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.
(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.
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.
> 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.
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.
*** Bug 206508 has been marked as a duplicate of this bug. ***
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).
I get the same issue with libopensync-0.36 as well.
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
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.
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.
Created attachment 154943 [details, diff] kitchensync-3.5.9--3.5.9-r1.ebuild.patch patch for kitchensync-3.5.9
Fixed InCVS. kdepim-3.5.9-r2 and kitchensync-3.5.9-r1 now uses libopensync>= 0.36
*** Bug 230872 has been marked as a duplicate of this bug. ***
As the duplicate bug shows, it has been missed to adjust the opensync dependency in kitchensync-3.5.9.ebuild.
FIXED