Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0 x86_64)
- * Documentation: https://help.ubuntu.com
- * Management: https://landscape.canonical.com
- * Support: https://ubuntu.com/advantage
- Last login: Wed Feb 14 16:57:14 2018 from 109.41.192.36
- mrkl16@localhost:~$ sfossdk
- sudo: unable to resolve host localhost.localdomain
- [sudo] password for mrkl16:
- Mounting system directories...
- Mounting /srv/mer/targets as /srv/mer/targets
- Mounting /srv/mer/toolings as /srv/mer/toolings
- Mounting / as /parentroot
- Mounting home directory: /home/mrkl16
- Entering chroot as mrkl16
- Last login: Wed Feb 14 16:09:14 UTC 2018 on pts/0
- bash: /etc/bash_completion.d/createrepo.bash: line 90: syntax error in conditional expression: unexpected token `('
- bash: /etc/bash_completion.d/createrepo.bash: line 91: syntax error near `@(='
- bash: /etc/bash_completion.d/createrepo.bash: line 91: ` ${COMP_WORDS[i-1]} != @(=|--mdtype) ]]; then'
- PlatformSDK mrkl16@localhost:~$ export MER_ROOT="/home/mrkl16/hadk"
- PlatformSDK mrkl16@localhost:~$ export ANDROID_ROOT="/home/mrkl16/hadk"
- PlatformSDK mrkl16@localhost:~$ export VENDOR="samsung"
- PlatformSDK mrkl16@localhost:~$ export DEVICE="jfltexx"
- PlatformSDK mrkl16@localhost:~$ #
- PlatformSDK mrkl16@localhost:~$ export PORT_ARCH="armv7hl"
- PlatformSDK mrkl16@localhost:~$ rpm/dhd/helpers/build_packages.sh
- bash: rpm/dhd/helpers/build_packages.sh: No such file or directory
- PlatformSDK mrkl16@localhost:~$ cd hadk
- PlatformSDK mrkl16@localhost:~/hadk$ rpm/dhd/helpers/build_packages.sh
- Building target platforms: armv7hl-meego-linux
- Building for target armv7hl-meego-linux
- Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ey5Re6
- + umask 022
- + cd /home/mrkl16/hadk
- + 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
- + echo _target_cpu is armv7hl
- _target_cpu is armv7hl
- + rm -rf tmp
- + mkdir tmp
- + echo Verifying kernel config
- Verifying kernel config
- + hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/jfltexx/obj/KERNEL_OBJ/.config
- WARNING: CONFIG_AUDIT is invalid
- Value is: y
- Allowed values : n, !
- Comment says: This will disable SELinux! That's ok, because hybris adaptations must not have SELinux, but if your device needs its support in kernel, set AUDIT=y and SELINUX_BOOTPARAM=y. Then disable them via kernel cmdline: audit=0 selinux=0. You can also leave audit enabled, if you don't plan to use systemd's containers: http://cgit.freedesktop.org/systemd/systemd/commit/README?id=77b6e19458f37cfde127ec6aa9494c0ac45ad890
- WARNING: CONFIG_SCHEDSTATS is invalid
- It is unset
- Allowed values : y, !
- Comment says: systemd-bootchart (optional): http://cgit.freedesktop.org/systemd/systemd/commit/README?id=f1c24fea94e19cf2108abbeed1d36ded7102ab98
- WARNING: CONFIG_SCHED_DEBUG is invalid
- It is unset
- Allowed values : y, !
- Comment says: systemd-bootchart (optional): http://cgit.freedesktop.org/systemd/systemd/commit/README?id=f1c24fea94e19cf2108abbeed1d36ded7102ab98
- WARNING: CONFIG_WATCHDOG_NOWAYOUT is invalid
- It is unset
- Allowed values : y, !
- Comment says: If device uses watchdogs with dsme (https://github.com/nemomobile/dsme), this option should be enabled or watchdog does not protect the device in case dsme crashes.
- + test -f rpm/helpers/mkbootimg.mk
- + test -f rpm/helpers/simg2img.mk
- + test -f rpm/helpers/img2simg.mk
- + echo Building local tools
- Building local tools
- ++ readlink -e .
- + ANDROID_ROOT=/home/mrkl16/hadk
- + cd rpm/dhd/helpers
- + make ANDROID_ROOT=/home/mrkl16/hadk
- cc -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/home/mrkl16/hadk/system/core/include/private/ -std=c99 apply-permissions.c -o apply-permissions
- apply-permissions.c: In function 'apply_android_perms':
- apply-permissions.c:105:5: warning: passing argument 3 of 'fs_config' from incompatible pointer type [enabled by default]
- fs_config(filename_fs, S_ISDIR(st->st_mode), &uid, &gid, &mode, &capa);
- ^
- In file included from apply-permissions.c:44:0:
- /home/mrkl16/hadk/system/core/include/private/android_filesystem_config.h:275:6: note: expected 'const char *' but argument is of type 'unsigned int *'
- void fs_config(const char *path, int dir, const char *target_out_path,
- ^
- apply-permissions.c:105:5: warning: passing argument 6 of 'fs_config' from incompatible pointer type [enabled by default]
- fs_config(filename_fs, S_ISDIR(st->st_mode), &uid, &gid, &mode, &capa);
- ^
- In file included from apply-permissions.c:44:0:
- /home/mrkl16/hadk/system/core/include/private/android_filesystem_config.h:275:6: note: expected 'unsigned int *' but argument is of type 'uint64_t *'
- void fs_config(const char *path, int dir, const char *target_out_path,
- ^
- apply-permissions.c:105:5: error: too few arguments to function 'fs_config'
- fs_config(filename_fs, S_ISDIR(st->st_mode), &uid, &gid, &mode, &capa);
- ^
- In file included from apply-permissions.c:44:0:
- /home/mrkl16/hadk/system/core/include/private/android_filesystem_config.h:275:6: note: declared here
- void fs_config(const char *path, int dir, const char *target_out_path,
- ^
- apply-permissions.c:117:9: warning: implicit declaration of function 'strerror' [-Wimplicit-function-declaration]
- fprintf(stderr, "Cannot 'chmod %04o %s': %s\n", mode, filename, strerror(errno));
- ^
- apply-permissions.c:117:9: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Wformat=]
- apply-permissions.c:126:9: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Wformat=]
- fprintf(stderr, "Cannot 'chown %s:%s %s': %s\n", tuid, tgid, filename, strerror(errno));
- ^
- apply-permissions.c: In function 'main':
- apply-permissions.c:160:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
- if (strcmp(argv[i], "-v") == 0) {
- ^
- apply-permissions.c:175:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
- char *last = ctx.base + strlen(ctx.base) - 1;
- ^
- apply-permissions.c:175:33: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
- char *last = ctx.base + strlen(ctx.base) - 1;
- ^
- apply-permissions.c:178:9: warning: implicit declaration of function 'strrchr' [-Wimplicit-function-declaration]
- last = strrchr(ctx.base, '/');
- ^
- apply-permissions.c:178:16: warning: incompatible implicit declaration of built-in function 'strrchr' [enabled by default]
- last = strrchr(ctx.base, '/');
- ^
- make: *** [apply-permissions] Error 1
- + echo Building uid scripts
- Building uid scripts
- + rpm/dhd/helpers/usergroupgen add
- /var/tmp/rpm-tmp.Ey5Re6: line 66: rpm/dhd/helpers/usergroupgen: No such file or directory
- error: Bad exit status from /var/tmp/rpm-tmp.Ey5Re6 (%build)
- RPM build errors:
- Bad exit status from /var/tmp/rpm-tmp.Ey5Re6 (%build)
- !! command failed at Wed Feb 14 16:11:40 UTC 2018, dying...
- PlatformSDK mrkl16@localhost:~/hadk$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement