Building Angstrom for Beagleboard xM, ncurses build fails

I am stuck. I did the following commands on several different machines with different OSs.

git clone git://github.com/Angstrom-distribution/setup-scripts.git

cd setup-scripts
MACHINE=beaglebone ./oebb.sh config beaglebone MACHINE=beaglebone ./oebb.sh update MACHINE=beaglebone ./oebb.sh bitbake virtual/kernel

I am consistently getting an error when the build is compiling ncurses. I have read that adding CCFLAGS+=-P to the Makefile should fix the problem, but does not solve the problem.

Any suggestions?

Thanks in advance.
Todd

fc22> bitbake ncurses
NOTE: Started PRServer with DBfile: /home/users/staff/tpeterson/work/setup-scripts/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 34760, PID: 9934
Loading cache: 100% |############################################################################################| ETA: 00:00:00
Loaded 3684 entries from dependency cache.
WARNING: No recipes available for:
/home/users/staff/tpeterson/work/setup-scripts/sources/meta-ros/recipes-support/boost/boost_%.bbappend
WARNING: No bb files matched BBFILE_PATTERN_meta-dominion ‘^/home/users/staff/tpeterson/work/setup-scripts/sources/meta-dominion/’
WARNING: No bb files matched BBFILE_PATTERN_meta-beagleboard-extras ‘^/home/users/staff/tpeterson/work/setup-scripts/sources/meta-beagleboard/meta-beagleboard-extras/’
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = “1.20.0”
BUILD_SYS = “x86_64-linux”
NATIVELSBSTRING = “Fedora-22”
TARGET_SYS = “arm-angstrom-linux-gnueabi”
MACHINE = “beagleboard”
DISTRO = “angstrom”
DISTRO_VERSION = “v2013.12”
TUNE_FEATURES = “armv7a vfp thumb neon callconvention-hard”
TARGET_FPU = “vfp-neon”
meta-angstrom = “angstrom-v2013.12-yocto1.5:201c60dfb0389fd4c610ff42c268e44a55316142”
meta-oe
meta-efl
meta-gpe
meta-gnome
meta-xfce
meta-initramfs
toolchain-layer
meta-multimedia
meta-networking
meta-webserver
meta-ruby
meta-filesystems
meta-perl = “angstrom-staging-yocto1.5:c763a96b0686090a99a2810bdca3cdb8226c3b57”
meta-kde4 = “master:d31c8effb0e3f806db2d7eb40c59c5290639d762”
meta-opie = “master:b241408b31c2ffd941b8b38bd385136ef675a703”
meta-java = “dora:d031686fedd1f88fb628a8a87916477208377146”
meta-browser = “master:fc3969f63bda343c38c40a23f746c560c4735f3e”
meta-mono = “master:ac286b1682e6bcc486ceb30ef90a936949bbfeab”
meta-qt5 = “dora:5b5616b63bdf163ea3eb2ca8857c56a393435fe3”
meta-systemd = “angstrom-staging-yocto1.5:c763a96b0686090a99a2810bdca3cdb8226c3b57”
meta-ros = “master:64c8b5edb221263e7fac7c03629c730ade422dff”
meta-beagleboard-extras = “dora:07fefaa86b118c1aa81f40d1658a17e41bbf1190”
meta-uav = “master:6f663cc32532ae66dd6c06d3d79c0f3578975a6c”
meta-telephony = “master:f71f5ea031d96a5a84bde4531974542ae49f8bee”
meta-qt5 = “dora:5b5616b63bdf163ea3eb2ca8857c56a393435fe3”
common-bsp = “dora:07fefaa86b118c1aa81f40d1658a17e41bbf1190”
meta-ti = “angstrom-staging-yocto1.5:a05532600ea769c0349e526e024304f50c1fdf8c”
meta-fsl-arm = “angstrom-staging-yocto1.5:48b91b77e9e37eea88637fe403d0a6b0f35dbee9”
meta-fsl-arm-extra = “dora:375f89b70655be2a17bbde36de6adb4e4a5a6975”
meta-nslu2 = “master:bdcb4297ddb22f4eecddd4d8436cf9b6c6111922”
meta-htc
meta-nokia
meta-openmoko
meta-palm = “master:537d0c2ab41284012e1ba79716b085a861a6812a”
meta-handheld = “master:5b5e68a93aae1016f5ac1d057a721b2dbf30b8d8”
meta-intel
meta-sugarbay
meta-crownbay
meta-emenlow
meta-fri2
meta-jasperforest
meta-n450 = “dora:2ba35c651e7380d399642f4c731c49cc7db4b240”
meta-sunxi = “master:f1e777d5526ea7c7a4f3a828b21d26c2c0650b83”
meta-raspberrypi = “dora:1c696a95f16337e4168a045479a386194d32e18f”
meta-minnow = “dora:9aa60d0eaf03fe30670acf581eaf7e57c76b5f99”
meta-dominion = “master:84c26a4cb3aab9c8eaf2041ac57d01ff547400fc”
meta-atmel = “angstromv2013.12-staging:43499c14ab5c9504fff4771a9024e0e88f8cb356”
meta-exynos = “master:ac21b106ce5c4c928f62e8f72ebeac9b02d113e2”
meta-linaro
meta-linaro-toolchain = “dora:a6b3567c93dd49f74a7e71d8d34c16f8d132578c”
meta-beagleboard-extras = “dora:07fefaa86b118c1aa81f40d1658a17e41bbf1190”
meta = “angstrom-staging-yocto1.5:24eaa39a2e25d9ec45ae1eac43485aa91b8c67e0”

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_compile (log file is located at /home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/x86_64-linux/ncurses-native/5.9-r15.1/temp/log.do_compile.10340)
ERROR: Logfile of failure stored in: /home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/x86_64-linux/ncurses-native/5.9-r15.1/temp/log.do_compile.10340
Log data follows:

DEBUG: Executing shell function do_compile
NOTE: make -j2 -C narrowc libs
make: Entering directory ‘/scratch/tpeterson/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/narrowc’
cd include && make DESTDIR="" libs
make[1]: Entering directory ‘/scratch/tpeterson/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/narrowc/include’
make[1]: Nothing to be done for ‘libs’.
make[1]: Leaving directory ‘/scratch/tpeterson/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/narrowc/include’
cd ncurses && make DESTDIR="" libs
make[1]: Entering directory ‘/scratch/tpeterson/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/narrowc/ncurses’
linking …/lib/libtinfo.so.5.9
gcc -isystem/home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr/include -D_GNU_SOURCE -O2 -pipe --param max-inline-insns-single=1200 -shared -Wl,-soname,basename ../lib/libtinfo.so.5.9 .5.9.5,-stats,-lc -o …/lib/libtinfo.so.5.9 …/obj_s/access.o …/obj_s/add_tries.o …/obj_s/alloc_ttype.o …/obj_s/codes.o …/obj_s/comp_captab.o …/obj_s/comp_error.o …/obj_s/comp_hash.o …/obj_s/db_iterator.o …/obj_s/doalloc.o …/obj_s/entries.o …/obj_s/fallback.o …/obj_s/free_ttype.o …/obj_s/getenv_num.o …/obj_s/home_terminfo.o …/obj_s/init_keytry.o …/obj_s/lib_acs.o …/obj_s/lib_baudrate.o …/obj_s/lib_cur_term.o …/obj_s/lib_data.o …/obj_s/lib_has_cap.o …/obj_s/lib_kernel.o …/obj_s/lib_keyname.o …/obj_s/lib_longname.o …/obj_s/lib_napms.o …/obj_s/lib_options.o …/obj_s/lib_raw.o …/obj_s/lib_setup.o …/obj_s/lib_termcap.o …/obj_s/lib_termname.o …/obj_s/lib_tgoto.o …/obj_s/lib_ti.o …/obj_s/lib_tparm.o …/obj_s/lib_tputs.o …/obj_s/lib_trace.o …/obj_s/lib_ttyflags.o …/obj_s/lib_twait.o …/obj_s/name_match.o …/obj_s/names.o …/obj_s/read_entry.o …/obj_s/read_termcap.o …/obj_s/setbuf.o …/obj_s/strings.o …/obj_s/tries.o …/obj_s/trim_sgr0.o …/obj_s/unctrl.o …/obj_s/visbuf.o …/obj_s/define_key.o …/obj_s/hashed_db.o …/obj_s/key_defined.o …/obj_s/keybound.o …/obj_s/keyok.o …/obj_s/version.o -L…/lib -L/home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr/lib -L/home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/lib -Wl,-rpath,/home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/lib -Wl,-O1
gcc -DHAVE_CONFIG_H -I…/ncurses -I/home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/ncurses -isystem/home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr/include -D_GNU_SOURCE -DNDEBUG -I. -I…/include -I/home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/ncurses/…/include -I/home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr/include -isystem/home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr/include -D_GNU_SOURCE -O2 -pipe --param max-inline-insns-single=1200 -fPIC -c …/ncurses/lib_gen.c -o …/obj_s/lib_gen.o
/usr/bin/ld: total time in link: 0.031395
/usr/bin/ld: data size 4485120
cd …/lib && (ln -s -f libtinfo.so.5.9 libtinfo.so.5; ln -s -f libtinfo.so.5 libtinfo.so; )
In file included from /home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/ncurses/curses.priv.h:283:0,
from …/ncurses/lib_gen.c:19:
_11496.c:835:15: error: expected ‘)’ before ‘int’
…/include/curses.h:1594:56: note: in definition of macro ‘mouse_trafo’
#define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)
^
gcc -DHAVE_CONFIG_H -I…/ncurses -I/home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/ncurses -isystem/home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr/include -D_GNU_SOURCE -DNDEBUG -I. -I…/include -I/home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/ncurses/…/include -I/home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr/include -isystem/home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr/include -D_GNU_SOURCE -O2 -pipe --param max-inline-insns-single=1200 -fPIC -c /home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/ncurses/base/lib_initscr.c -o …/obj_s/lib_initscr.o
Makefile:1682: recipe for target ‘…/obj_s/lib_gen.o’ failed
make[1]: *** […/obj_s/lib_gen.o] Error 1
make[1]: *** Waiting for unfinished jobs…
make[1]: Leaving directory ‘/scratch/tpeterson/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/narrowc/ncurses’
Makefile:134: recipe for target ‘libs’ failed
make: *** [libs] Error 2
make: Leaving directory ‘/scratch/tpeterson/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/narrowc’
ERROR: oe_runmake failed
WARNING: /home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/x86_64-linux/ncurses-native/5.9-r15.1/temp/run.do_compile.10340:1 exit 1 from
exit 1
ERROR: Function failed: do_compile (log file is located at /home/users/staff/tpeterson/work/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/x86_64-linux/ncurses-native/5.9-r15.1/temp/log.do_compile.10340)
ERROR: Task 219 (virtual:native:/home/users/staff/tpeterson/work/setup-scripts/sources/openembedded-core/meta/recipes-core/ncurses/ncurses_5.9.bb, do_compile) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 313 tasks of which 309 didn’t need to be rerun and 1 failed.
NOTE: Writing buildhistory
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
virtual:native:/home/users/staff/tpeterson/work/setup-scripts/sources/openembedded-core/meta/recipes-core/ncurses/ncurses_5.9.bb, do_compile
Summary: There were 3 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.