Btw, your patch is not building on my sdk: Where does the #include <qmcebatterystatus.h> come from? As you can see, I should have everything installed in the target for it to build; but the file in question does not show up (see find command below).
Logs: -------------------------------------------------- [SB2 sdk-build SailfishOS-3.0.0.8-armv7hl] I have no name!@SailfishSDK buteo-syncfw $ zypper search libmce Loading repository data... Reading installed packages... S | Name | Summary | Type ---+-------------------------+-------------------------------------------+----------- i | libmce-glib | MCE client library | package | libmce-glib | MCE client library | srcpackage | libmce-glib-debuginfo | Debug information for package libmce-glib | package | libmce-glib-debugsource | Debug sources for package libmce-glib | package i+ | libmce-glib-devel | Development library for libmce-glib | package i+ | libmce-qt5 | A library of Qt bindings for mce | package | libmce-qt5 | A library of Qt bindings for mce | srcpackage | libmce-qt5-debuginfo | Debug information for package libmce-qt5 | package | libmce-qt5-debugsource | Debug sources for package libmce-qt5 | package i+ | libmce-qt5-declarative | Declarative plugin for libmce-qt5 | package i+ | libmce-qt5-devel | Development files for libmce-qt5 | package [SB2 sdk-build SailfishOS-3.0.0.8-armv7hl] I have no name!@SailfishSDK buteo-syncfw $ fakeroot zypper install libmce-glib Loading repository data... Reading installed packages... 'libmce-glib' is already installed. No update candidate for 'libmce-glib-1.0.5-1.1.7.jolla.armv7hl'. The highest available version is already installed. Resolving package dependencies... Nothing to do. [SB2 sdk-build SailfishOS-3.0.0.8-armv7hl] I have no name!@SailfishSDK buteo-syncfw $ find /usr -iname qmce* /usr/include/mce-qt5/qmcedisplay.h /usr/include/mce-qt5/qmcetypes.h /usr/include/mce-qt5/qmcetklock.h [SB2 sdk-build SailfishOS-3.0.0.8-armv7hl] I have no name!@SailfishSDK buteo-syncfw $ exit exit [mersdk@SailfishSDK buteo-syncfw]$ mb2 -t SailfishOS-3.0.0.8-armv7hl -s rpm/buteo-syncfw-qt5.spec -p $PWD build Building target platforms: armv7hl-meego-linux Building for target armv7hl-meego-linux Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QuzSFJ + umask 022 + cd /home/mersdk/share/checkouts/git/buteo-syncfw + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi -I/usr/lib/gfortran/modules' + export FFLAGS + LD_AS_NEEDED=1 + export LD_AS_NEEDED + export QT_SELECT=5 + QT_SELECT=5 + qmake -qt=5 -makefile 'QMAKE_CFLAGS_RELEASE=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CXXFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' QMAKE_STRIP=: PREFIX=/usr -recursive VERSION=0.8.16 CONFIG+=usb-moded DEFINES+=USE_KEEPALIVE Reading /home/mersdk/share/checkouts/git/buteo-syncfw/libbuteosyncfw/ libbuteosyncfw.pro Project MESSAGE: Building with usb-moded Reading /home/mersdk/share/checkouts/git/buteo-syncfw/msyncd/msyncd.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/msyncd/msyncd-lib.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/msyncd/msyncd-app.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/ unittests.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/dummyplugins/ dummyplugins.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/dummyplugins/dummyclient/ dummyclient.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/dummyplugins/dummyserver/ dummyserver.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/dummyplugins/dummystorage/ dummystorage.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/ tests.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/msyncdtests/ msyncdtests.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/msyncdtests/AccountsHelperTest/AccountsHelperTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/msyncdtests/ClientPluginRunnerTest/ClientPluginRunnerTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/msyncdtests/ClientThreadTest/ClientThreadTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/msyncdtests/PluginRunnerTest/PluginRunnerTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/msyncdtests/ServerActivatorTest/ServerActivatorTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/msyncdtests/ServerPluginRunnerTest/ServerPluginRunnerTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/msyncdtests/ServerThreadTest/ServerThreadTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/msyncdtests/StorageBookerTest/StorageBookerTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/msyncdtests/SyncBackupTest/SyncBackupTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/msyncdtests/SyncQueueTest/SyncQueueTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/msyncdtests/SyncSessionTest/SyncSessionTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/msyncdtests/SyncSigHandlerTest/SyncSigHandlerTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/msyncdtests/SynchronizerTest/SynchronizerTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/msyncdtests/TransportTrackerTest/TransportTrackerTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/pluginmanagertests/ pluginmanagertests.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/pluginmanagertests/ClientPluginTest/ClientPluginTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/pluginmanagertests/DeletedItemsIdStorageTest/DeletedItemsIdStorageTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/pluginmanagertests/ServerPluginTest/ServerPluginTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/pluginmanagertests/StoragePluginTest/StoragePluginTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/syncfwclienttests/ syncfwclienttests.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/syncfwclienttests/SyncClientInterfaceTest/SyncClientInterfaceTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/syncprofiletests/ syncprofiletests.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/syncprofiletests/ProfileFactoryTest/ProfileFactoryTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/syncprofiletests/ProfileFieldTest/ProfileFieldTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/syncprofiletests/ProfileManagerTest/ProfileManagerTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/syncprofiletests/ProfileTest/ProfileTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/syncprofiletests/StorageProfileTest/StorageProfileTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/syncprofiletests/SyncLogTest/SyncLogTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/syncprofiletests/SyncProfileTest/SyncProfileTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/tests/syncprofiletests/SyncScheduleTest/SyncScheduleTest.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/tools/tools.pro Reading /home/mersdk/share/checkouts/git/buteo-syncfw/doc/doc.pro + make -j1 make: Warning: File `Makefile' has modification time 45 s in the future cd libbuteosyncfw/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake /home/mersdk/share/checkouts/git/buteo-syncfw/libbuteosyncfw/ libbuteosyncfw.pro 'QMAKE_CFLAGS_RELEASE=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CXXFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' QMAKE_STRIP=: PREFIX=/usr VERSION=0.8.16 CONFIG+=usb-moded DEFINES+=USE_KEEPALIVE -o Makefile ) && make -f Makefile make[1]: Entering directory `/home/mersdk/share/checkouts/git/buteo-syncfw/libbuteosyncfw' make[1]: Warning: File `Makefile' has modification time 13 s in the future make[1]: Nothing to be done for `first'. make[1]: warning: Clock skew detected. Your build may be incomplete. make[1]: Leaving directory `/home/mersdk/share/checkouts/git/buteo-syncfw/libbuteosyncfw' cd msyncd/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake /home/mersdk/share/checkouts/git/buteo-syncfw/msyncd/msyncd.pro 'QMAKE_CFLAGS_RELEASE=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CXXFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' QMAKE_STRIP=: PREFIX=/usr VERSION=0.8.16 CONFIG+=usb-moded DEFINES+=USE_KEEPALIVE -o Makefile ) && make -f Makefile make[1]: Entering directory `/home/mersdk/share/checkouts/git/buteo-syncfw/msyncd' make[1]: Warning: File `Makefile' has modification time 16 s in the future ( test -e Makefile.msyncd-lib || /usr/lib/qt5/bin/qmake /home/mersdk/share/checkouts/git/buteo-syncfw/msyncd/msyncd-lib.pro 'QMAKE_CFLAGS_RELEASE=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CXXFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' QMAKE_STRIP=: PREFIX=/usr VERSION=0.8.16 CONFIG+=usb-moded DEFINES+=USE_KEEPALIVE -o Makefile.msyncd-lib ) && make -f Makefile.msyncd-lib make[2]: Entering directory `/home/mersdk/share/checkouts/git/buteo-syncfw/msyncd' make[2]: Warning: File `Makefile.msyncd-lib' has modification time 14 s in the future g++ -c -Wall -g -Wno-cast-align -O2 -finline-functions -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi -fPIC -std=gnu++0x -pthread -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -DUSE_KEEPALIVE -DBUTEO_ENABLE_DEBUG -DHAS_BOOSTER -DQT_NO_DEBUG -DQT_XML_LIB -DQT_DBUS_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../libbuteosyncfw/pluginmgr -I../libbuteosyncfw/common -I../libbuteosyncfw/profile -isystem /usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -isystem /usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -isystem /usr/include/signon-qt5 -isystem /usr/include/signon-qt5/SignOn -isystem /usr/include/qt5/QtCore -isystem /usr/include/qt5 -isystem /usr/include/accounts-qt5 -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSystemInfo -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtDBus -isystem /usr/include/mce-qt5 -isystem /usr/include/KF5/BluezQt/bluezqt -isystem /usr/include/keepalive -isystem /usr/include/qt5/QtSql -I. -I/usr/share/qt5/mkspecs/linux-g++ -o synchronizer.o synchronizer.cpp synchronizer.cpp:45:31: fatal error: qmcebatterystatus.h: No such file or directory #include <qmcebatterystatus.h> ^ compilation terminated. make[2]: *** [synchronizer.o] Error 1 make[2]: Leaving directory `/home/mersdk/share/checkouts/git/buteo-syncfw/msyncd' make[1]: *** [sub-msyncd-lib-pro-make_first-ordered] Error 2 make[1]: Leaving directory `/home/mersdk/share/checkouts/git/buteo-syncfw/msyncd' make: *** [sub-msyncd-make_first] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.QuzSFJ (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.QuzSFJ (%build) On Fri, Jul 12, 2019 at 11:59 PM Tone Kastlunger <users.giulie...@gmail.com> wrote: > Yes, > for an example, the pcsuite (as mentioned in the previous mail) is not > included in the (original) build configuration > of bluez5, as the configure is missing the --enable-experimental. > Now before we go all heroish and open pandora's box, i'd say we could try > to track down the source pack of the > bluez on n9, and see the configure scripts from there. Is that possible? I > don't know. > > Best, > tk > > On Fri, Jul 12, 2019 at 10:06 PM deloptes <delop...@gmail.com> wrote: > >> Tone Kastlunger wrote: >> >> >> IMO it is missing OBEX File Transfer Profile. >> > Is this profile supposed to be used for non-file data (i.e. contacts) >> as >> > well? >> > There seems to be some file-related test cases in the repo of bluez5 >> > >> > >> https://git.sailfishos.org/mer-core/bluez5/blob/master/test/list-folders >> >> Looks like there are all pieces around and someone has to put them >> together. >> >> For example in >> https://git.sailfishos.org/mer-core/bluez5/blob/master/obexd/client/sync.c >> >> #define OBEX_SYNC_UUID "IRMC-SYNC" <<<<<<<<< this here means OBEX SYNC >> #define OBEX_SYNC_UUID_LEN 9 >> >> #define SYNC_INTERFACE "org.bluez.obex.Synchronization1" >> #define ERROR_INF SYNC_INTERFACE ".Error" >> #define SYNC_UUID "00001104-0000-1000-8000-00805f9b34fb" >> >> Also in >> https://git.sailfishos.org/mer-core/bluez5/blob/master/lib/uuid.h >> #define >> <https://git.sailfishos.org/mer-core/bluez5/blob/master/lib/uuid.h#define> >> OBEX_SYNC_UUID "00001104-0000-1000-8000-00805f9b34fb" >> >> and here >> >> >> https://git.sailfishos.org/mer-core/bluez5/blob/master/obexd/plugins/bluetooth.c >> >> case OBEX_PCSUITE: >> return "00005005-0000-1000-8000-0002ee000001"; >> case OBEX_SYNCEVOLUTION: >> return "00000002-0000-1000-8000-0002ee000002"; >> >> and in >> >> https://git.sailfishos.org/mer-core/bluez5/blob/master/obexd/plugins/syncevolution.c >> >> is the SYNCML-SYNC (Server). From what we learned this is if you want to >> initiate sync from the device - at least how I understood the document. >> >> It looks like a good starting point. Thanks for pointing to the bluez5 mer >> link. >> >> regards >> >> >> _______________________________________________ >> SailfishOS.org Devel mailing list >> To unsubscribe, please send a mail to >> devel-unsubscr...@lists.sailfishos.org > >
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org