[yocto] 1.2_M2 build fails for syslinux_4.03.bb for Romley BSP

Bodke, Kishore K kishore.k.bodke at intel.com
Mon Apr 9 15:54:27 PDT 2012



>-----Original Message-----
>From: yocto-bounces at yoctoproject.org [mailto:yocto-
>bounces at yoctoproject.org] On Behalf Of Mark Hatle
>Sent: Monday, April 09, 2012 3:41 PM
>To: yocto at yoctoproject.org
>Subject: Re: [yocto] 1.2_M2 build fails for syslinux_4.03.bb for Romley
>BSP
>
>On 4/9/12 5:36 PM, Bodke, Kishore K wrote:
>> Hi ,
>>
>> Poky and meta-intel for 1.2_M2 build is failing for syslinux_4.03
>recipe.
>>
>> Did anyone saw this for other BSPs?
>>
>> ERROR: Function 'do_compile' failed (see
>> /home/tmelab/yocto/poky/poky-1.2_M2.final/build/tmp/work/x86_64-
>linux/syslinux-native-4.03-r3/temp/log.do_compile.53231
>> for further information)
>>
>> ERROR: Logfile of failure stored in:
>> /home/tmelab/yocto/poky/poky-1.2_M2.final/build/tmp/work/x86_64-
>linux/syslinux-native-4.03-r3/temp/log.do_compile.53231
>>
>> Log data follows:
>>
>> | ERROR: Function 'do_compile' failed (see
>> /home/tmelab/yocto/poky/poky-1.2_M2.final/build/tmp/work/x86_64-
>linux/syslinux-native-4.03-r3/temp/log.do_compile.53231
>> for further information)
>>
>> | NOTE: make -j 8
>> BINDIR=/home/tmelab/yocto/poky/poky-
>1.2_M2.final/build/tmp/sysroots/x86_64-linux/usr/bin
>> SBINDIR=/home/tmelab/yocto/poky/poky-
>1.2_M2.final/build/tmp/sysroots/x86_64-linux/usr/sbin
>> LIBDIR=/home/tmelab/yocto/poky/poky-
>1.2_M2.final/build/tmp/sysroots/x86_64-linux/usr/lib
>> DATADIR=/home/tmelab/yocto/poky/poky-
>1.2_M2.final/build/tmp/sysroots/x86_64-linux/usr/share
>> MANDIR=/home/tmelab/yocto/poky/poky-
>1.2_M2.final/build/tmp/sysroots/x86_64-linux/usr/share/man
>> INCDIR=/home/tmelab/yocto/poky/poky-
>1.2_M2.final/build/tmp/sysroots/x86_64-linux/usr/include
>> CC=ccache gcc installer
>>
>> | make -r installer-local
>>
>> | make[1]: Entering directory
>> `/home/tmelab/yocto/poky/poky-1.2_M2.final/build/tmp/work/x86_64-
>linux/syslinux-native-4.03-r3/syslinux-4.03'
>>
>> | make[1]: Nothing to be done for `installer-local'.
>>
>> | make[1]: Leaving directory
>> `/home/tmelab/yocto/poky/poky-1.2_M2.final/build/tmp/work/x86_64-
>linux/syslinux-native-4.03-r3/syslinux-4.03'
>>
>> | set -e ; for i in libinstaller mtools linux extlinux utils; do make
>-r -C $i
>> all ; done
>>
>> | make[1]: Entering directory
>> `/home/tmelab/yocto/poky/poky-1.2_M2.final/build/tmp/work/x86_64-
>linux/syslinux-native-4.03-r3/syslinux-4.03/libinstaller'
>>
>> | make[1]: Nothing to be done for `all'.
>>
>> | make[1]: Leaving directory
>> `/home/tmelab/yocto/poky/poky-1.2_M2.final/build/tmp/work/x86_64-
>linux/syslinux-native-4.03-r3/syslinux-4.03/libinstaller'
>>
>> | make[1]: Entering directory
>> `/home/tmelab/yocto/poky/poky-1.2_M2.final/build/tmp/work/x86_64-
>linux/syslinux-native-4.03-r3/syslinux-4.03/mtools'
>>
>> | make[1]: Nothing to be done for `all'.
>>
>> | make[1]: Leaving directory
>> `/home/tmelab/yocto/poky/poky-1.2_M2.final/build/tmp/work/x86_64-
>linux/syslinux-native-4.03-r3/syslinux-4.03/mtools'
>>
>> | make[1]: Entering directory
>> `/home/tmelab/yocto/poky/poky-1.2_M2.final/build/tmp/work/x86_64-
>linux/syslinux-native-4.03-r3/syslinux-4.03/linux'
>>
>> | ccache gcc -Wp,-MT,syslinux.o,-MMD,./.syslinux.o.d -W -Wall
>> -Wstrict-prototypes -D_FILE_OFFSET_BITS=64 -g -O0 -Dalloca=malloc -I.
>-I..
>> -I../libinstaller -c -o syslinux.o syslinux.c
>>
>> | ccache gcc -Wp,-MT,syslxcom.o,-MMD,./.syslxcom.o.d -W -Wall
>> -Wstrict-prototypes -D_FILE_OFFSET_BITS=64 -g -O0 -Dalloca=malloc -I.
>-I..
>> -I../libinstaller -c -o syslxcom.o ../libinstaller/syslxcom.c
>>
>> | In file included from ../libinstaller/linuxioctl.h:22:0,
>>
>> | from ../libinstaller/syslxcom.c:33:
>>
>> | /usr/include/linux/ext2_fs.h:178:41: error: unknown type name
>'umode_t'
>
>This looks like a bug in the libinstaller component of syslinux.  It is
>relying
>on the include files from the host system's kernel to gain access to
>kernel
>specific headers.
>
>Instead this thing should be cleaned of references to
>/usr/include/linux, and
>local versions (that are known to be correct) should be provided.
>
>Please be sure to file a bug in the bugzilla.yoctoproject.org system --
>or if
>you can't do that for some reason, let me know and I'll file it.
>

Filed a bug.  BUG:2269.

Thanks
Kishore.

>--Mark
>
>> | make[1]: *** [syslxcom.o] Error 1
>>
>> | make[1]: *** Waiting for unfinished jobs....
>>
>> | In file included from ../libinstaller/linuxioctl.h:22:0,
>>
>> | from syslinux.c:50:
>>
>> | /usr/include/linux/ext2_fs.h:178:41: error: unknown type name
>'umode_t'
>>
>> | make[1]: *** [syslinux.o] Error 1
>>
>> | make[1]: Leaving directory
>> `/home/tmelab/yocto/poky/poky-1.2_M2.final/build/tmp/work/x86_64-
>linux/syslinux-native-4.03-r3/syslinux-4.03/linux'
>>
>> | make: *** [installer] Error 2
>>
>> | ERROR: oe_runmake failed
>>
>> NOTE: package syslinux-native-4.03-r3: task do_compile: Failed
>>
>> NOTE: package mtools-native-4.0.17-r0: task do_install: Started
>>
>> NOTE: package
>> linux-libc-headers-yocto-2.6.37+git-
>1+69cfbdf9f1ff461a75e5b77d6d7ba35e97db4cc3_1+69cfbdf9f1ff461a75e5b77d6d7
>ba35e97db4cc3-r4:
>> task do_validate_branches: Started
>>
>> NOTE: package
>> linux-libc-headers-yocto-2.6.37+git-
>1+69cfbdf9f1ff461a75e5b77d6d7ba35e97db4cc3_1+69cfbdf9f1ff461a75e5b77d6d7
>ba35e97db4cc3-r4:
>> task do_validate_branches: Succeeded
>>
>> NOTE: package gcc-cross-initial-4.6.2+svnr181430-r20: task
>do_populate_sysroot:
>> Started
>>
>> NOTE: Running task 2732 of 4771 (ID: 1998,
>> /home/tmelab/yocto/poky/poky-1.2_M2.final/meta/recipes-kernel/linux-
>libc-headers/linux-libc-headers-yocto_git.bb,
>> do_patch)
>>
>> NOTE: Running task 2733 of 4771 (ID: 4286,
>> /home/tmelab/yocto/poky/poky-1.2_M2.final/meta/recipes-
>devtools/gcc/gcc-cross-initial_4.6.bb,
>> do_package_write_rpm)
>>
>> ERROR: Task 152
>> (virtual:native:/home/tmelab/yocto/poky/poky-
>1.2_M2.final/meta/recipes-devtools/syslinux/syslinux_4.03.bb,
>> do_compile) failed with exit code '1'
>>
>> Waiting for 2 active tasks to finish:
>>
>> 0: mtools-native-4.0.17-r0 do_install (pid 53232)
>>
>> 1: gcc-cross-initial-4.6.2+svnr181430-r20 do_populate_sysroot (pid
>52951)
>>
>> Waiting for 3 active tasks to finish:
>>
>> 0: mtools-native-4.0.17-r0 do_install (pid 53232)
>>
>> 1:
>> linux-libc-headers-yocto-2.6.37+git-
>1+69cfbdf9f1ff461a75e5b77d6d7ba35e97db4cc3_1+69cfbdf9f1ff461a75e5b77d6d7
>ba35e97db4cc3-r4
>> do_patch (pid 53317)
>>
>> 2: gcc-cross-initial-4.6.2+svnr181430-r20 do_populate_sysroot (pid
>52951)
>>
>> NOTE: package
>> linux-libc-headers-yocto-2.6.37+git-
>1+69cfbdf9f1ff461a75e5b77d6d7ba35e97db4cc3_1+69cfbdf9f1ff461a75e5b77d6d7
>ba35e97db4cc3-r4:
>> task do_patch: Started
>>
>> Waiting for 2 active tasks to finish:
>>
>> 0: mtools-native-4.0.17-r0 do_install (pid 53232)
>>
>> 1: gcc-cross-initial-4.6.2+svnr181430-r20 do_populate_sysroot (pid
>52951)
>>
>> NOTE: package
>> linux-libc-headers-yocto-2.6.37+git-
>1+69cfbdf9f1ff461a75e5b77d6d7ba35e97db4cc3_1+69cfbdf9f1ff461a75e5b77d6d7
>ba35e97db4cc3-r4:
>> task do_patch: Succeeded
>>
>> Waiting for 1 active tasks to finish:
>>
>> 0: gcc-cross-initial-4.6.2+svnr181430-r20 do_populate_sysroot (pid
>52951)
>>
>> NOTE: package mtools-native-4.0.17-r0: task do_install: Succeeded
>>
>> Waiting for 2 active tasks to finish:
>>
>> 0: cdrtools-native-2.01-r2 do_populate_sysroot (pid 53310)
>>
>> 1: gcc-cross-initial-4.6.2+svnr181430-r20 do_populate_sysroot (pid
>52951)
>>
>> NOTE: package cdrtools-native-2.01-r2: task do_populate_sysroot:
>Started
>>
>> Waiting for 3 active tasks to finish:
>>
>> 0: gcc-cross-initial-4.6.2+svnr181430-r20 do_package_write_rpm (pid
>53320)
>>
>> 1: cdrtools-native-2.01-r2 do_populate_sysroot (pid 53310)
>>
>> 2: gcc-cross-initial-4.6.2+svnr181430-r20 do_populate_sysroot (pid
>52951)
>>
>> NOTE: package gcc-cross-initial-4.6.2+svnr181430-r20: task
>do_package_write_rpm:
>> Started
>>
>> Waiting for 2 active tasks to finish:
>>
>> 0: cdrtools-native-2.01-r2 do_populate_sysroot (pid 53310)
>>
>> 1: gcc-cross-initial-4.6.2+svnr181430-r20 do_populate_sysroot (pid
>52951)
>>
>> NOTE: package gcc-cross-initial-4.6.2+svnr181430-r20: task
>do_package_write_rpm:
>> Succeeded
>>
>> Waiting for 1 active tasks to finish:
>>
>> 0: gcc-cross-initial-4.6.2+svnr181430-r20 do_populate_sysroot (pid
>52951)
>>
>> NOTE: package cdrtools-native-2.01-r2: task do_populate_sysroot:
>Succeeded
>>
>> NOTE: package gcc-cross-initial-4.6.2+svnr181430-r20: task
>do_populate_sysroot:
>> Succeeded
>>
>> ERROR:
>> 'virtual:native:/home/tmelab/yocto/poky/poky-
>1.2_M2.final/meta/recipes-devtools/syslinux/syslinux_4.03.bb'
>> failed
>>
>> Summary: There were 2 WARNING messages shown.
>>
>> Summary: There were 2 ERROR messages shown, returning a non-zero exit
>code.
>>
>> Thanks
>>
>> Kishore.
>>
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
>_______________________________________________
>yocto mailing list
>yocto at yoctoproject.org
>https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list