So even more fun;
updated the sdk to the latest & greates and I cant build :

[mersdk@SailfishSDK build]$ mb2  -t SailfishOS-3.0.3.9-armv7hl -s
../rpm/buteo-syncfw-qt5.spec build

The following 17 NEW packages are going to be installed:
  bluez bluez-configs-mer bluez-libs doxygen fdupes glib2-devel hwdata
kf5bluezqt-bluez4 kf5bluezqt-bluez4-devel kmod libiphb-devel
  libkeepalive-devel obex-capability obexd pcre-devel
qt5-qtsysteminfo-devel qt5-qttest-devel

17 new packages to install.
Overall download size: 4.2 MiB. Already cached: 0 B. After the operation,
additional 17.5 MiB will be used.
Continue? [y/n/...? shows all options] (y): y
Synchronising target to host
cannot delete non-empty directory: usr/bin
Sync completed
qemu: Unsupported syscall: 384
qemu: Unsupported syscall: 384
qemu: Unsupported syscall: 384
qemu: Unsupported syscall: 384
Building target platforms: armv7hl-meego-linux
Building for target armv7hl-meego-linux
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.l1AJwn
+ umask 022
+ cd /home/mersdk/share/checkouts/git/buteo-syncfw/build
+ 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
Usage: /usr/lib/qt5/bin/qmake [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
  -project       Put qmake into project file generation mode
                 In this mode qmake interprets files as files to
                 be built,
                 defaults to *; *; *; *.ts; *.xlf; *.qrc
                 Note: The created .pro file probably will
                 need to be edited. For example add the QT variable to
                 specify what modules are required.
  -makefile      Put qmake into makefile generation mode (default)
                 In this mode qmake interprets files as project files to
                 be processed, if skipped qmake will try to find a project
                 file in your current working directory

Warnings Options:
  -Wnone         Turn off all warnings; specific ones may be re-enabled by
                 later -W options
  -Wall          Turn on all warnings
  -Wparser       Turn on parser warnings
  -Wlogic        Turn on logic warnings (on by default)
  -Wdeprecated   Turn on deprecation warnings (on by default)

Options:
   * You can place any variable assignment in options and it will be     *
   * processed as if it was in [files]. These assignments will be parsed *
   * before [files].                                                     *
  -o file        Write output to file
  -d             Increase debug level
  -t templ       Overrides TEMPLATE as templ
  -tp prefix     Overrides TEMPLATE so that prefix is prefixed into the
value
  -help          This help
  -v             Version information
  -after         All variable assignments after this will be
                 parsed after [files]
  -norecursive   Don't do a recursive search
  -recursive     Do a recursive search
  -set <prop> <value> Set persistent property
  -unset <prop>  Unset persistent property
  -query <prop>  Query persistent property. Show all if <prop> is empty.
  -cache file    Use file as cache           [makefile mode only]
  -spec spec     Use spec as QMAKESPEC       [makefile mode only]
  -nocache       Don't use a cache file      [makefile mode only]
  -nodepend      Don't generate dependencies [makefile mode only]
  -nomoc         Don't generate moc targets  [makefile mode only]
  -nopwd         Don't look for files in pwd [project mode only]
error: Bad exit status from /var/tmp/rpm-tmp.l1AJwn (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.l1AJwn (%build)




On Sat, Jul 13, 2019 at 1:11 AM deloptes <delop...@gmail.com> wrote:

> Tone Kastlunger wrote:
>
> > qmcebatterystatus.h
>
>
> /srv/mer/targets/SailfishOS-3.0.2.8-armv7hl/usr/include/mce-qt5/qmcebatterystatus.h
>
> is in libmce-qt5-devel
>
> Strange because I did not install it manually
>
> 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

Reply via email to