Skip to content

Instantly share code, notes, and snippets.

@hanetzer
Last active September 1, 2018 00:03
Show Gist options
  • Save hanetzer/58ad46501e743407e0487be0a29aeec9 to your computer and use it in GitHub Desktop.
Save hanetzer/58ad46501e743407e0487be0a29aeec9 to your computer and use it in GitHub Desktop.
current alarm/uboot-veyron PKGBUILD
Skipped patch 'include/configs/rk3288_common.h'.
Skipped patch 'doc/chromium/chromebook_minnie.its'.
Skipped patch 'doc/chromium/chromebit_mickey.its'.
Skipped patch 'scripts/Makefile.spl'.
==> chromebook_minnie
make[1]: Entering directory '/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/b/chromebook_minnie'
GEN ./Makefile
HOSTCC scripts/basic/fixdep
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2468:
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/scripts/kconfig/confdata.c: In function 'conf_write':
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/scripts/kconfig/confdata.c:771:19: warning: '%s' directive writing likely 7 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
sprintf(newname, "%s%s", dirname, basename);
^~~~~~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/scripts/kconfig/confdata.c:771:19: note: assuming directive output of 7 bytes
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/scripts/kconfig/confdata.c:771:2: note: 'sprintf' output 1 or more bytes (assuming 4104) into a destination of size 4097
sprintf(newname, "%s%s", dirname, basename);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/scripts/kconfig/confdata.c:774:20: warning: '.tmpconfig.' directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());
^~~~~~~~~~~~~~~~~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/scripts/kconfig/confdata.c:774:3: note: 'sprintf' output between 13 and 4119 bytes into a destination of size 4097
sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
make[1]: Leaving directory '/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/b/chromebook_minnie'
make[1]: Entering directory '/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/b/chromebook_minnie'
GEN ./Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
.config:1161:warning: override: reassigning to symbol IDENT_STRING
#
# configuration written to .config
#
CHK include/config.h
UPD include/config.h
GEN include/autoconf.mk.dep
CFG u-boot.cfg
CFG spl/u-boot.cfg
GEN spl/include/autoconf.mk
GEN include/autoconf.mk
CHK include/config/uboot.release
CHK include/generated/timestamp_autogenerated.h
GEN ./Makefile
UPD include/config/uboot.release
UPD include/generated/timestamp_autogenerated.h
Using /home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11 as source for U-Boot
CHK include/generated/version_autogenerated.h
HOSTCC scripts/dtc/dtc.o
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/fstree.o
UPD include/generated/version_autogenerated.h
HOSTCC scripts/dtc/data.o
CC lib/asm-offsets.s
HOSTCC scripts/dtc/livetree.o
HOSTCC scripts/dtc/treesource.o
CC arch/arm/lib/asm-offsets.s
CHK include/generated/generic-asm-offsets.h
UPD include/generated/generic-asm-offsets.h
HOSTCC scripts/dtc/srcpos.o
CHK include/generated/asm-offsets.h
UPD include/generated/asm-offsets.h
CHK include/config.h
HOSTCC scripts/dtc/checks.o
HOSTCC scripts/dtc/util.o
CFG u-boot.cfg
LDS u-boot.lds
SHIPPED scripts/dtc/dtc-lexer.lex.c
SHIPPED scripts/dtc/dtc-parser.tab.h
SHIPPED scripts/dtc/dtc-parser.tab.c
HOSTCC scripts/dtc/dtc-lexer.lex.o
HOSTCC scripts/dtc/dtc-parser.tab.o
HOSTLD scripts/dtc/dtc
HOSTCC tools/gen_eth_addr
WRAP tools/lib/crc8.c
HOSTCC tools/gen_ethaddr_crc.o
HOSTCC tools/mkenvimage.o
HOSTCC tools/img2srec
HOSTCC tools/os_support.o
WRAP tools/lib/crc32.c
HOSTCC tools/aisimage.o
HOSTCC tools/atmelimage.o
WRAP tools/common/bootm.c
HOSTCC tools/default_image.o
WRAP tools/lib/fdtdec_common.c
WRAP tools/lib/fdtdec.c
HOSTCC tools/fit_common.o
In file included from /home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/libfdt_env.h:12,
from <command-line>:
/usr/include/libfdt_env.h:91:24: error: expected ')' before 'x'
static inline uint32_t fdt32_to_cpu(fdt32_t x)
^~~~~~~~~~~~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:9: error: expected ')' before '&' token
((((x) & 0xff000000) >> 24) | \
^
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:23: error: expected ')' before '>>' token
((((x) & 0xff000000) >> 24) | \
^~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:30: error: expected ')' before '|' token
((((x) & 0xff000000) >> 24) | \
^
/usr/include/libfdt_env.h:95:23: error: expected ')' before 'x'
static inline fdt32_t cpu_to_fdt32(uint32_t x)
^~~~~~~~~~~~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:9: error: expected ')' before '&' token
((((x) & 0xff000000) >> 24) | \
^
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:23: error: expected ')' before '>>' token
((((x) & 0xff000000) >> 24) | \
^~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:30: error: expected ')' before '|' token
((((x) & 0xff000000) >> 24) | \
^
/usr/include/libfdt_env.h:100:24: error: expected ')' before 'x'
static inline uint64_t fdt64_to_cpu(fdt64_t x)
^~~~~~~~~~~~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:9: error: expected ')' before '&' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:36: error: expected ')' before '>>' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:43: error: expected ')' before '|' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^
/usr/include/libfdt_env.h:104:23: error: expected ')' before 'x'
static inline fdt64_t cpu_to_fdt64(uint64_t x)
^~~~~~~~~~~~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:9: error: expected ')' before '&' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:36: error: expected ')' before '>>' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:43: error: expected ')' before '|' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^
make[2]: *** [scripts/Makefile.host:116: tools/aisimage.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/libfdt_env.h:12,
from <command-line>:
/usr/include/libfdt_env.h:91:24: error: expected ')' before 'x'
static inline uint32_t fdt32_to_cpu(fdt32_t x)
^~~~~~~~~~~~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:9: error: expected ')' before '&' token
((((x) & 0xff000000) >> 24) | \
^
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:23: error: expected ')' before '>>' token
((((x) & 0xff000000) >> 24) | \
^~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:30: error: expected ')' before '|' token
((((x) & 0xff000000) >> 24) | \
^
/usr/include/libfdt_env.h:95:23: error: expected ')' before 'x'
static inline fdt32_t cpu_to_fdt32(uint32_t x)
^~~~~~~~~~~~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:9: error: expected ')' before '&' token
((((x) & 0xff000000) >> 24) | \
^
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:23: error: expected ')' before '>>' token
((((x) & 0xff000000) >> 24) | \
^~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:30: error: expected ')' before '|' token
((((x) & 0xff000000) >> 24) | \
^
/usr/include/libfdt_env.h:100:24: error: expected ')' before 'x'
static inline uint64_t fdt64_to_cpu(fdt64_t x)
^~~~~~~~~~~~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:9: error: expected ')' before '&' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:36: error: expected ')' before '>>' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:43: error: expected ')' before '|' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^
/usr/include/libfdt_env.h:104:23: error: expected ')' before 'x'
static inline fdt64_t cpu_to_fdt64(uint64_t x)
^~~~~~~~~~~~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:9: error: expected ')' before '&' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:36: error: expected ')' before '>>' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:43: error: expected ')' before '|' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^
make[2]: *** [scripts/Makefile.host:116: tools/atmelimage.o] Error 1
In file included from /home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/libfdt_env.h:12,
from <command-line>:
/usr/include/libfdt_env.h:91:24: error: expected ')' before 'x'
static inline uint32_t fdt32_to_cpu(fdt32_t x)
^~~~~~~~~~~~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:9: error: expected ')' before '&' token
((((x) & 0xff000000) >> 24) | \
^
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:23: error: expected ')' before '>>' token
((((x) & 0xff000000) >> 24) | \
^~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:30: error: expected ')' before '|' token
((((x) & 0xff000000) >> 24) | \
^
/usr/include/libfdt_env.h:95:23: error: expected ')' before 'x'
static inline fdt32_t cpu_to_fdt32(uint32_t x)
^~~~~~~~~~~~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:9: error: expected ')' before '&' token
((((x) & 0xff000000) >> 24) | \
^
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:23: error: expected ')' before '>>' token
((((x) & 0xff000000) >> 24) | \
^~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:30: error: expected ')' before '|' token
((((x) & 0xff000000) >> 24) | \
^
/usr/include/libfdt_env.h:100:24: error: expected ')' before 'x'
static inline uint64_t fdt64_to_cpu(fdt64_t x)
^~~~~~~~~~~~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:9: error: expected ')' before '&' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:36: error: expected ')' before '>>' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:43: error: expected ')' before '|' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^
/usr/include/libfdt_env.h:104:23: error: expected ')' before 'x'
static inline fdt64_t cpu_to_fdt64(uint64_t x)
^~~~~~~~~~~~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:9: error: expected ')' before '&' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:36: error: expected ')' before '>>' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:43: error: expected ')' before '|' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^
make[2]: *** [scripts/Makefile.host:116: tools/default_image.o] Error 1
In file included from /home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/libfdt_env.h:12,
from <command-line>:
/usr/include/libfdt_env.h:91:24: error: expected ')' before 'x'
static inline uint32_t fdt32_to_cpu(fdt32_t x)
^~~~~~~~~~~~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:9: error: expected ')' before '&' token
((((x) & 0xff000000) >> 24) | \
^
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:23: error: expected ')' before '>>' token
((((x) & 0xff000000) >> 24) | \
^~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:30: error: expected ')' before '|' token
((((x) & 0xff000000) >> 24) | \
^
/usr/include/libfdt_env.h:95:23: error: expected ')' before 'x'
static inline fdt32_t cpu_to_fdt32(uint32_t x)
^~~~~~~~~~~~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:9: error: expected ')' before '&' token
((((x) & 0xff000000) >> 24) | \
^
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:23: error: expected ')' before '>>' token
((((x) & 0xff000000) >> 24) | \
^~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:71:30: error: expected ')' before '|' token
((((x) & 0xff000000) >> 24) | \
^
/usr/include/libfdt_env.h:100:24: error: expected ')' before 'x'
static inline uint64_t fdt64_to_cpu(fdt64_t x)
^~~~~~~~~~~~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:9: error: expected ')' before '&' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:36: error: expected ')' before '>>' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:43: error: expected ')' before '|' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^
/usr/include/libfdt_env.h:104:23: error: expected ')' before 'x'
static inline fdt64_t cpu_to_fdt64(uint64_t x)
^~~~~~~~~~~~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:9: error: expected ')' before '&' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:36: error: expected ')' before '>>' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^~
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/include/compiler.h:76:43: error: expected ')' before '|' token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^
make[2]: *** [scripts/Makefile.host:116: tools/fit_common.o] Error 1
make[1]: *** [/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/Makefile:1279: tools] Error 2
make[1]: Leaving directory '/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2017.11/b/chromebook_minnie'
make: *** [Makefile:150: sub-make] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment