Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Building with latest Sailfish SDK #115

@almindor

Description

@almindor

[EDITED: figured out the prerequisites fixup]

I've managed to get the dependencies set up right in the build engine, but I'm getting an odd qmake/make issue.

It seems like qmake fails to populate but does not seem to indicate the error. I was hoping to try and debug why my watch is not being recognized by the app, I always get the "not connected, check bluetooth settings" even tho it is connected and the watch shows it in the settings/bluetooth as well (the phone name).

12:20:34: Starting: "/Jolla/.config/SailfishSDK/libsfdk/build-target-tools/sailfish-sdk-build-engine_Jolla/SailfishOS-5.0.0.62-aarch64.default/make" -f /home/Jolla/build-rockpool-SailfishOS_5_0_0_62_aarch64_in_sailfish_sdk_build_engine_Jolla-Debug/Makefile qmake_all
+ /home/SailfishOS/bin/sfdk make -f /home/Jolla/build-rockpool-SailfishOS_5_0_0_62_aarch64_in_sailfish_sdk_build_engine_Jolla-Debug/Makefile qmake_all
sfdk: [I] Options from environment: -c target=SailfishOS-5.0.0.62-aarch64
Building target platforms: aarch64-meego-linux-gnu
Building for target aarch64-meego-linux-gnu
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hhhMAZ
+ umask 022
+ cd /home/Jolla/build-rockpool-SailfishOS_5_0_0_62_aarch64_in_sailfish_sdk_build_engine_Jolla-Debug
+ 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 -march=armv8-a'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ LD_AS_NEEDED=1
+ export LD_AS_NEEDED
+ mkdir -p build
+ cd build
+ 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 -march=armv8-a' 'QMAKE_CFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a' 'QMAKE_CXXFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a' QMAKE_STRIP=: PREFIX=/usr LIBDIR=/usr/lib64 'DEFINES+=VERSION=\'\''\"1.18-1\"\'\''' 'INSTALL_DIR=%{install_dir}' ../rockpool.pro
/home/mersdk/.mb2/wrappers/build-rockpool-SailfishOS_5_0_0_62_aarch64_in_sailfish_sdk_build_engine_Jolla-Debug/qmake: Ignoring qmake
+ make -j16
/home/mersdk/.mb2/wrappers/build-rockpool-SailfishOS_5_0_0_62_aarch64_in_sailfish_sdk_build_engine_Jolla-Debug/make: Executing real make:
+ /usr/bin/make -j16 -f /home/Jolla/build-rockpool-SailfishOS_5_0_0_62_aarch64_in_sailfish_sdk_build_engine_Jolla-Debug/Makefile qmake_all
make: /home/Jolla/build-rockpool-SailfishOS_5_0_0_62_aarch64_in_sailfish_sdk_build_engine_Jolla-Debug/Makefile: No such file or directory
make: *** No rule to make target '/home/Jolla/build-rockpool-SailfishOS_5_0_0_62_aarch64_in_sailfish_sdk_build_engine_Jolla-Debug/Makefile'.  Stop.
error: Bad exit status from /var/tmp/rpm-tmp.hhhMAZ (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.hhhMAZ (%build)
12:20:35: The process "/Jolla/.config/SailfishSDK/libsfdk/build-target-tools/sailfish-sdk-build-engine_Jolla/SailfishOS-5.0.0.62-aarch64.default/make" exited with code 1.
Error while building/deploying project rockpool (kit: SailfishOS-5.0.0.62-aarch64 (in sailfish-sdk-build-engine:Jolla))
When executing step "qmake"
12:20:35: Elapsed time: 00:03.

In issues I see a missing component for ShareMethodList as well as a QtQuick.Controls problem but that one seems to be in a testui section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions