Skip to content

Instantly share code, notes, and snippets.

@jersobh
Created July 24, 2017 13:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jersobh/3ba83787fadee42ffe306e8de5d7166e to your computer and use it in GitHub Desktop.
Save jersobh/3ba83787fadee42ffe306e8de5d7166e to your computer and use it in GitHub Desktop.
PlatformSDK [jeff@odin hadk]$ rpm/dhd/helpers/build_packages.sh
* Building rpm/droid-hal-slte.spec
* Building successful, adding packages to repo
Repository 'hotfixes' is up to date.
Repository 'jolla' is up to date.
Retrieving repository 'local-slte-hal' metadata ................................................................................................................................................[done]
Building repository 'local-slte-hal' cache .....................................................................................................................................................[done]
Repository 'mer-tools' is up to date.
Repository 'sdk' is up to date.
All repositories have been refreshed.
* Building of droid-hal-slte finished successfully
* Source code directory doesn't exist, cloning repository
* pulling updates...
* Building rpm/community-adaptation-localbuild.spec
* Building successful, adding packages to repo
Repository 'hotfixes' is up to date.
Repository 'jolla' is up to date.
Retrieving repository 'local-slte-hal' metadata ................................................................................................................................................[done]
Building repository 'local-slte-hal' cache .....................................................................................................................................................[done]
Repository 'mer-tools' is up to date.
Repository 'sdk' is up to date.
All repositories have been refreshed.
* Building of community-adaptation finished successfully
* Building rpm/droid-config-slte.spec
* Building successful, adding packages to repo
Retrieving repository 'adaptation-community-common' metadata ...................................................................................................................................[done]
Building repository 'adaptation-community-common' cache ........................................................................................................................................[done]
Repository 'hotfixes' is up to date.
Repository 'jolla' is up to date.
Retrieving repository 'local-slte-hal' metadata ................................................................................................................................................[done]
Building repository 'local-slte-hal' cache .....................................................................................................................................................[done]
Repository 'mer-tools' is up to date.
Repository 'sdk' is up to date.
All repositories have been refreshed.
* Building of droid-configs finished successfully
connman not AVAILABLE
Changing domain from sailfish to sales
connman not AVAILABLE
DBus call failed, falling back to libssu
Forcing raw metadata refresh
Retrieving repository 'adaptation-community-common' metadata ...................................................................................................................................[done]
Forcing building of repository cache
Building repository 'adaptation-community-common' cache ........................................................................................................................................[done]
Forcing raw metadata refresh
Retrieving repository 'hotfixes' metadata ......................................................................................................................................................[done]
Forcing building of repository cache
Building repository 'hotfixes' cache ...........................................................................................................................................................[done]
Forcing raw metadata refresh
Retrieving repository 'jolla' metadata .........................................................................................................................................................[done]
Forcing building of repository cache
Building repository 'jolla' cache ..............................................................................................................................................................[done]
Forcing raw metadata refresh
Retrieving repository 'local-slte-hal' metadata ................................................................................................................................................[done]
Forcing building of repository cache
Building repository 'local-slte-hal' cache .....................................................................................................................................................[done]
Forcing raw metadata refresh
Retrieving repository 'mer-tools' metadata .....................................................................................................................................................[done]
Forcing building of repository cache
Building repository 'mer-tools' cache ..........................................................................................................................................................[done]
All repositories have been refreshed.
Loading repository data...
Reading installed packages...
'droid-hal-slte-devel' is already installed.
No update candidate for 'droid-hal-slte-devel-0.0.6-201707240842.armv7hl'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
Build libhybris? [Y/n/all]y
* No git url specified, assuming https://github.com/mer-hybris/libhybris.git
* Source code directory doesn't exist, cloning repository
* pulling updates...
* No spec file for package building specified, building all I can find.
* Building rpm/libhybris.spec
* Building successful, adding packages to repo
Repository 'adaptation-community-common' is up to date.
Repository 'hotfixes' is up to date.
Repository 'jolla' is up to date.
Retrieving repository 'local-slte-hal' metadata ................................................................................................................................................[done]
Building repository 'local-slte-hal' cache .....................................................................................................................................................[done]
Repository 'mer-tools' is up to date.
All repositories have been refreshed.
* Building of libhybris finished successfully
Build pulseaudio-modules-droid? [Y/n/all]all
* Source code directory doesn't exist, cloning repository
* pulling updates...
* Building rpm/pulseaudio-modules-droid.spec
* Building successful, adding packages to repo
Repository 'adaptation-community-common' is up to date.
Repository 'hotfixes' is up to date.
Repository 'jolla' is up to date.
Retrieving repository 'local-slte-hal' metadata ................................................................................................................................................[done]
Building repository 'local-slte-hal' cache .....................................................................................................................................................[done]
Repository 'mer-tools' is up to date.
All repositories have been refreshed.
* Building of pulseaudio-modules-droid finished successfully
* Source code directory doesn't exist, cloning repository
* pulling updates...
* No spec file for package building specified, building all I can find.
* Building rpm/mce-plugin-libhybris.spec
* Building successful, adding packages to repo
Repository 'adaptation-community-common' is up to date.
Repository 'hotfixes' is up to date.
Repository 'jolla' is up to date.
Retrieving repository 'local-slte-hal' metadata ................................................................................................................................................[done]
Building repository 'local-slte-hal' cache .....................................................................................................................................................[done]
Repository 'mer-tools' is up to date.
All repositories have been refreshed.
* Building of mce-plugin-libhybris finished successfully
!! WARNING: ngfd-plugin-droid-vibrator build is known to halt under various scenarios!
!! Please keep interrupting/rebuilding until it works. We suspect CMake and SSDs :)
* No git url specified, assuming https://github.com/mer-hybris/ngfd-plugin-droid-vibrator.git
* Source code directory doesn't exist, cloning repository
* pulling updates...
* No spec file for package building specified, building all I can find.
* Building rpm/ngfd-plugin-droid-vibrator.spec
^F^C+ 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
+ /usr/bin/cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_SKIP_RPATH:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON
-- The C compiler identification is GNU 4.8.3
-- The CXX compiler identification is GNU 4.8.3
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1")
-- Checking for module 'glib-2.0'
Exit reason and status: signal 2
* Check /home/jeff/hadk/hybris/mw/ngfd-plugin-droid-vibrator.log for full log.
!! building of package failed
PlatformSDK [jeff@odin hadk]$ cat /home/jeff/hadk/hybris/mw/ngfd-plugin-droid-vibrator.log
Cloning into 'ngfd-plugin-droid-vibrator'...
Already up-to-date.
The following NEW packages are going to be installed:
cmake libarchive libhybris-libvibrator libhybris-libvibrator-devel ngfd-plugin-devel
5 new packages to install.
Overall download size: 4.0 MiB. After the operation, additional 16.8 MiB will be used.
Continue? [y/n/?] (y): y
Building target platforms: armv7hl-meego-linux
Building for target armv7hl-meego-linux
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9V61ZG
+ umask 022
+ cd /home/jeff/hadk/hybris/mw/ngfd-plugin-droid-vibrator
+ 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
+ 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
+ /usr/bin/cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_SKIP_RPATH:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON
-- The C compiler identification is GNU 4.8.3
-- The CXX compiler identification is GNU 4.8.3
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1")
-- Checking for module 'glib-2.0'
Exit reason and status: signal 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment