[yocto] [Yocto] Build Failure in beecrypt-4.2.1-r1 package with poky-1.2_M4.rc2 on Open Suse 12.1

Khem Raj raj.khem at gmail.com
Sat Apr 7 00:02:53 PDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/06/2012 06:12 AM, Ashish Pandey wrote:
> Hi All ,
> 
> I was trying to build "poky-1.2_M4.rc2" with "bitbake
> core-image-lsb-sdk" option.
> 
> I have got build error in the beecrypt-4.2.1-r1 Package. My build
> machine is Open Suse 12.1 and following is the configuration.
> 
> yocto at linux-461v:~/Yocto-builds-test/poky-1.2_M4.rc2/lsb-sdk-clean>
> uname -a Linux linux-461v 3.1.0-1.2-desktop #1 SMP PREEMPT Thu Nov
> 3 14:45:45 UTC 2011 (187dde0) i686 i686 i386 GNU/Linux
> 
> Please verify this error , Is this a problem with build machine or
> there is some problem with new release. Kindly let me know if there
> is any data missed here. Please confirm the issue.
> 
> 
> 
> Error Log :
> 
> 
> NOTE: Running task 3811 of 5184 (ID: 1614,
> /home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb,
> do_compile) NOTE: package beecrypt-4.2.1-r1: task do_compile:
> Started ERROR: Function failed: do_compile (see
> /home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/lsb-sdk-clean/tmp/work/i586-poky-linux/beecrypt-4.2.1-r1/temp/log.do_compile.27618
> for further information) ERROR: Logfile of failure stored in:
> /home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/lsb-sdk-clean/tmp/work/i586-poky-linux/beecrypt-4.2.1-r1/temp/log.do_compile.27618
>
> 
Log data follows:
> | DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common',
> 'common-linux', 'common-glibc', 'i586-linux', 'common'] | NOTE:
> make -j 6 | make  all-recursive | make[1]: Entering directory
> `/home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/lsb-sdk-clean/tmp/work/i586-poky-linux/beecrypt-4.2.1-r1/beecrypt-4.2.1'
>
> 
| Making all in .
> | make[2]: Entering directory
> `/home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/lsb-sdk-clean/tmp/work/i586-poky-linux/beecrypt-4.2.1-r1/beecrypt-4.2.1'
>
> 
| ./i586-poky-linux-libtool --tag=CC   --mode=compile
i586-poky-linux-gcc  -m32   -march=i586
-
--sysroot=/home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/lsb-sdk-clean/tmp/sysroots/qemux86
- -DHAVE_CONFIG_H -I. -I./include    -O2 -pipe -g
- -feliminate-unused-debug-types -Wa,--noexecstack -c -o aes.lo aes.c
> | ./i586-poky-linux-libtool --tag=CC   --mode=compile
> i586-poky-linux-gcc  -m32   -march=i586
> --sysroot=/home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/lsb-sdk-clean/tmp/sysroots/qemux86
> -DHAVE_CONFIG_H -I. -I./include    -O2 -pipe -g
> -feliminate-unused-debug-types -Wa,--noexecstack -c -o base64.lo
> base64.c | ./i586-poky-linux-libtool --tag=CC   --mode=compile
> i586-poky-linux-gcc  -m32   -march=i586
> --sysroot=/home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/lsb-sdk-clean/tmp/sysroots/qemux86
> -DHAVE_CONFIG_H -I. -I./include    -O2 -pipe -g
> -feliminate-unused-debug-types -Wa,--noexecstack -c -o beecrypt.lo
> beecrypt.c | ./i586-poky-linux-libtool --tag=CC   --mode=compile
> i586-poky-linux-gcc  -m32   -march=i586
> --sysroot=/home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/lsb-sdk-clean/tmp/sysroots/qemux86
> -DHAVE_CONFIG_H -I. -I./include    -O2 -pipe -g
> -feliminate-unused-debug-types -Wa,--noexecstack -c -o blockmode.lo
> blockmode.c | ./i586-poky-linux-libtool --tag=CC   --mode=compile
> i586-poky-linux-gcc  -m32   -march=i586
> --sysroot=/home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/lsb-sdk-clean/tmp/sysroots/qemux86
> -DHAVE_CONFIG_H -I. -I./include    -O2 -pipe -g
> -feliminate-unused-debug-types -Wa,--noexecstack -c -o blockpad.lo
> blockpad.c | ./i586-poky-linux-libtool --tag=CC   --mode=compile
> i586-poky-linux-gcc  -m32   -march=i586
> --sysroot=/home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/lsb-sdk-clean/tmp/sysroots/qemux86
> -DHAVE_CONFIG_H -I. -I./include    -O2 -pipe -g
> -feliminate-unused-debug-types -Wa,--noexecstack -c -o blowfish.lo
> blowfish.c | i586-poky-linux-libtool: compile:  i586-poky-linux-gcc
> -m32 -march=i586
> --sysroot=/home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/lsb-sdk-clean/tmp/sysroots/qemux86
> -DHAVE_CONFIG_H -I. -I./include -O2 -pipe -g
> -feliminate-unused-debug-types -Wa,--noexecstack -c base64.c  -fPIC
> -DPIC -o .libs/base64.o | i586-poky-linux-libtool: compile:
> i586-poky-linux-gcc -m32 -march=i586
> --sysroot=/home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/lsb-sdk-clean/tmp/sysroots/qemux86
> -DHAVE_CONFIG_H -I. -I./include -O2 -pipe -g
> -feliminate-unused-debug-types -Wa,--noexecstack -c beecrypt.c
> -fPIC -DPIC -o .libs/beecrypt.o | i586-poky-linux-libtool: compile:
> i586-poky-linux-gcc -m32 -march=i586
> --sysroot=/home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/lsb-sdk-clean/tmp/sysroots/qemux86
> -DHAVE_CONFIG_H -I. -I./include -O2 -pipe -g
> -feliminate-unused-debug-types -Wa,--noexecstack -c blowfish.c
> -fPIC -DPIC -o .libs/blowfish.o | i586-poky-linux-libtool: compile:
> i586-poky-linux-gcc -m32 -march=i586
> --sysroot=/home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/lsb-sdk-clean/tmp/sysroots/qemux86
> -DHAVE_CONFIG_H -I. -I./include -O2 -pipe -g
> -feliminate-unused-debug-types -Wa,--noexecstack -c blockmode.c
> -fPIC -DPIC -o .libs/blockmode.o | i586-poky-linux-libtool:
> compile:  i586-poky-linux-gcc -m32 -march=i586
> --sysroot=/home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/lsb-sdk-clean/tmp/sysroots/qemux86
> -DHAVE_CONFIG_H -I. -I./include -O2 -pipe -g
> -feliminate-unused-debug-types -Wa,--noexecstack -c aes.c  -fPIC
> -DPIC -o .libs/aes.o | i586-poky-linux-libtool: compile:
> i586-poky-linux-gcc -m32 -march=i586
> --sysroot=/home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/lsb-sdk-clean/tmp/sysroots/qemux86
> -DHAVE_CONFIG_H -I. -I./include -O2 -pipe -g
> -feliminate-unused-debug-types -Wa,--noexecstack -c blockpad.c
> -fPIC -DPIC -o .libs/blockpad.o | In file included from
> ./include/beecrypt/beecrypt.h:33:0, |                  from
> ./include/beecERROR: Function failed: do_compile (see
> /home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/lsb-sdk-clean/tmp/work/i586-poky-linux/beecrypt-4.2.1-r1/temp/log.do_compile.27618
> for further information) | rypt/blowfish.h:37, |
> from blowfish.c:32: | ./include/beecrypt/api.h:75:18: fatal error:
> jni.h: No such file or directory


it seems that java is being enabled by configure. So explicitly add
EXTRA_OECONF += " --disable-java" to the recipe and see if that helps

ps: It would be nice if you could avoid attaching those notice
attachments when you send emails to public mailing lists
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9/5pwACgkQuwUzVZGdMxR1sgCeMjZ67GhaogtY+MXs86zJTyOf
tWgAn1ktYmi7BEJaRE8uV7jD+vzzdMwX
=KiTX
-----END PGP SIGNATURE-----



More information about the yocto mailing list