Graham Gower | 1 Jul 01:37 2010
Picon

[oe] [PATCH] xserver-kdrive_1.5.3.bb: add openssl to DEPENDS.

The build fails without openssl.

| mipsel-oe-linux-libtool: compile:  ccache mipsel-oe-linux-gcc -march=mips32 -DHAVE_CONFIG_H -I.
-I../include -isystem/home/grg/oe2/tmp/sysroots/mipsel-oe-linux/usr/include
-DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN
-DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE
-I/home/grg/oe2/tmp/sysroots/mipsel-oe-linux/usr/include/freetype2
-I/home/grg/oe2/tmp/sysroots/mipsel-oe-linux/usr/include/pixman-1
-I/home/grg/oe2/tmp/sysroots/mipsel-oe-linux/usr/include/hal
-I/home/grg/oe2/tmp/sysroots/mipsel-oe-linux/usr/include/dbus-1.0
-I/home/grg/oe2/tmp/sysroots/mipsel-oe-linux/usr/lib/dbus-1.0/include -I/home/grg/oe2/tmp/sysroots/mipsel-oe-linux/home/grg/oe2/tmp/sysroots/x86_
 64-linux/usr/include -I../include -I../include -I../Xext -I../composite -I../damageext
-I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -I/home/
grg/oe2/tmp/sysroots/mipsel-oe-linux/usr/include/xextproto-70
-isystem/home/grg/oe2/tmp/sysroots/mipsel-oe-linux/usr/include -fexpensive-optimizations
-fomit-frame-pointer -frename-registers -Os -MT glyph.lo -MD -MP -MF .deps/glyph.Tpo -c glyph.c 
-fPIC -DPIC -o .libs/glyph.o
| glyph.c:30:25: error: openssl/sha.h: No such file or directory
| glyph.c: In function 'HashGlyph':
| glyph.c:205: error: 'SHA_CTX' undeclared (first use in this function)
| glyph.c:205: error: (Each undeclared identifier is reported only once
| glyph.c:205: error: for each function it appears in.)
| glyph.c:205: error: expected ';' before 'ctx'
| glyph.c:208: warning: implicit declaration of function 'SHA1_Init'
| glyph.c:208: warning: nested extern declaration of 'SHA1_Init'
| glyph.c:208: error: 'ctx' undeclared (first use in this function)
| glyph.c:212: warning: implicit declaration of function 'SHA1_Update'
| glyph.c:212: warning: nested extern declaration of 'SHA1_Update'
| glyph.c:220: warning: implicit declaration of function 'SHA1_Final'
(Continue reading)

João Henrique Freitas | 1 Jul 02:01 2010
Picon

Re: [oe] [PATCH 1/2] add cmake 2.8.1recipes/cmake/cmake-native_2.8.1.bb

Hi,

I think  'bitbake cmake' will not run if the host can't run the 'cmake' binary.

cmake is a tool wich is not to be cross compiled but cmake can be used
to cross compile programs.

--

-- 
-----------------------------------------------------------
João Henrique Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil
BSD051283
LPI 1
http://www.joaohfreitas.eti.br

_______________________________________________
Openembedded-devel mailing list
Openembedded-devel <at> lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Graham Gower | 1 Jul 02:59 2010
Picon

[oe] [PATCH] xserver-kdrive_1.5.3.bb: enable the XCALIBRATE extension.


Signed-off-by: Graham Gower <graham.gower <at> gmail.com>
---
 .../xserver-kdrive-1.5.3/enable-xcalibrate.patch   |   58 ++++++++++++++++++++
 recipes/xorg-xserver/xserver-kdrive_1.5.3.bb       |    3 +-
 2 files changed, 60 insertions(+), 1 deletions(-)
 create mode 100644 recipes/xorg-xserver/xserver-kdrive-1.5.3/enable-xcalibrate.patch

diff --git a/recipes/xorg-xserver/xserver-kdrive-1.5.3/enable-xcalibrate.patch b/recipes/xorg-xserver/xserver-kdrive-1.5.3/enable-xcalibrate.patch
new file mode 100644
index 0000000..ed6c5dc
--- /dev/null
+++ b/recipes/xorg-xserver/xserver-kdrive-1.5.3/enable-xcalibrate.patch
 <at>  <at>  -0,0 +1,58  <at>  <at> 
+diff -ur xorg-server-1.5.3-blah/configure.ac xorg-server-1.5.3/configure.ac
+--- xorg-server-1.5.3-blah/configure.ac	2010-07-01 09:54:18.000000000 +0930
++++ xorg-server-1.5.3/configure.ac	2010-07-01 09:59:24.000000000 +0930
+ <at>  <at>  -544,6 +544,7  <at>  <at> 
+ AC_ARG_ENABLE(xace,           AS_HELP_STRING([--disable-xace], [Build X-ACE extension (default:
enabled)]), [XACE=$enableval], [XACE=yes])
+ AC_ARG_ENABLE(xselinux,       AS_HELP_STRING([--disable-xselinux], [Build SELinux extension
(default: disabled)]), [XSELINUX=$enableval], [XSELINUX=no])
+ AC_ARG_ENABLE(xcsecurity,     AS_HELP_STRING([--disable-xcsecurity], [Build Security extension
(default: disabled)]), [XCSECURITY=$enableval], [XCSECURITY=no])
++AC_ARG_ENABLE(xcalibrate,     AS_HELP_STRING([--enable-xcalibrate], [Build XCalibrate extension
(default: disabled)]), [XCALIBRATE=$enableval], [XCALIBRATE=no])
+ AC_ARG_ENABLE(appgroup,       AS_HELP_STRING([--disable-appgroup], [Build XC-APPGROUP extension
(default: disabled)]), [APPGROUP=$enableval], [APPGROUP=$XCSECURITY])
+ AC_ARG_ENABLE(xcalibrate,     AS_HELP_STRING([--enable-xcalibrate], [Build XCalibrate extension
(default: disabled)]), [XCALIBRATE=$enableval], [XCALIBRATE=no])
(Continue reading)

Khem Raj | 1 Jul 08:20 2010
Picon

Re: [oe] linux-geodelx build failure

On Wed, Jun 30, 2010 at 3:57 PM, Chris Tapp <dokuwiki <at> keylevel.com> wrote:
> Whilst investigating an issue I have with 'swapper' using all the cpu time I
> decided to try and use the linux-geodelx kernel as my target is an LX800.
>
> I changed my configuration to use Angstrom for the geodelx machine and ran
> 'bitbake linux-geodelx'. This failed to build due to:
>
> ERROR: log data follows
> (/home/chris/oe-dev/build/tmp/work/geode-angstrom-linux/glibc-2.9-r36.3/temp/log.do_configure.29301)
> | configure.in:2204: warning: AC_CACHE_VAL(pic_default, ...): suspicious
> cache-id, must contain _cv_ to be cached
> | ../../lib/autoconf/general.m4:1999: AC_CACHE_VAL is expanded from...
> | ../../lib/autoconf/general.m4:2020: AC_CACHE_CHECK is expanded from...
> | configure.in:2204: the top level
> | checking build system type... i686-pc-linux-gnu
> | checking host system type... i486-angstrom-linux-gnu
> | configure: running configure fragment for add-on nptl
> | checking sysdep dirs... configure: error: The geode subspecies of i486 is
> not supported.
> NOTE: Task failed:
> /home/chris/oe-dev/build/tmp/work/geode-angstrom-linux/glibc-2.9-r36.3/temp/log.do_configure.29301
> ERROR: TaskFailed event exception, aborting
> ERROR: Build of /home/chris/oe-dev/openembedded/recipes/glibc/glibc_2.9.bb
> do_configure failed
> ERROR: Task 170 (/home/chris/oe-dev/openembedded/recipes/glibc/glibc_2.9.bb,
> do_configure) failed
>
> I'm thinking I've done something wrong here as I would expect a geode build
> to support the 'geode subspecies' :-) Except that it seems as if a patch was
> proposed in the past to change the geodelx (and gx) machine recipes to use
(Continue reading)

Khem Raj | 1 Jul 08:23 2010
Picon

Re: [oe] [RFC} cleanup glibc

On Wed, Jun 30, 2010 at 1:02 PM, Frans Meulenbroeks
<fransmeulenbroeks <at> gmail.com> wrote:
> Triggered by a short discussion on irc with woglinde, I would like to
> suggest the following cleanup actions for glibc.
>
> 1. rewrite the recipes so they do not use patches in the dir of
> another version. Better copy those. That makes clearer who uses what,
> and avoids problems if a recipe is removed.
> (btw if people are against having copies, I suggest to put common
> patches in a dir whose name actually resembles it is for multiple
> versions e.g. glibc-2.4-2.5 or so)
> 2. remove some old recipes that are not pinned. Reason for removing
> them is that it reduces the amount of work needed for step 1
>
> currently we have:
>
> glibc-initial_2.10.1.bb
> glibc-initial_2.2.5.bb
> glibc-initial_2.3.2+cvs20040726.bb
> glibc-initial_2.3.2.bb
> glibc-initial_2.3.6.bb
> glibc-initial_2.4.bb
> glibc-initial_2.5.bb
> glibc-initial_2.6.1.bb
> glibc-initial_2.7.bb
> glibc-initial_2.9.bb
> glibc-initial_cvs.bb
> glibc_2.10.1.bb
> glibc_2.2.5.bb
> glibc_2.3.2+cvs20040726.bb
(Continue reading)

Khem Raj | 1 Jul 08:24 2010
Picon

Re: [oe] [PATCH] xserver-kdrive_1.5.3.bb: enable the XCALIBRATE extension.

On Wed, Jun 30, 2010 at 5:59 PM, Graham Gower <graham.gower <at> gmail.com> wrote:
>
> Signed-off-by: Graham Gower <graham.gower <at> gmail.com>

Acked-by: Khem Raj <raj.khem <at> gmail.com>

> ---
>  .../xserver-kdrive-1.5.3/enable-xcalibrate.patch   |   58 ++++++++++++++++++++
>  recipes/xorg-xserver/xserver-kdrive_1.5.3.bb       |    3 +-
>  2 files changed, 60 insertions(+), 1 deletions(-)
>  create mode 100644 recipes/xorg-xserver/xserver-kdrive-1.5.3/enable-xcalibrate.patch
>
> diff --git a/recipes/xorg-xserver/xserver-kdrive-1.5.3/enable-xcalibrate.patch b/recipes/xorg-xserver/xserver-kdrive-1.5.3/enable-xcalibrate.patch
> new file mode 100644
> index 0000000..ed6c5dc
> --- /dev/null
> +++ b/recipes/xorg-xserver/xserver-kdrive-1.5.3/enable-xcalibrate.patch
>  <at>  <at>  -0,0 +1,58  <at>  <at> 
> +diff -ur xorg-server-1.5.3-blah/configure.ac xorg-server-1.5.3/configure.ac
> +--- xorg-server-1.5.3-blah/configure.ac        2010-07-01 09:54:18.000000000 +0930
> ++++ xorg-server-1.5.3/configure.ac     2010-07-01 09:59:24.000000000 +0930
> + <at>  <at>  -544,6 +544,7  <at>  <at> 
> + AC_ARG_ENABLE(xace,           AS_HELP_STRING([--disable-xace], [Build X-ACE extension
(default: enabled)]), [XACE=$enableval], [XACE=yes])
> + AC_ARG_ENABLE(xselinux,       AS_HELP_STRING([--disable-xselinux], [Build SELinux extension
(default: disabled)]), [XSELINUX=$enableval], [XSELINUX=no])
> + AC_ARG_ENABLE(xcsecurity,     AS_HELP_STRING([--disable-xcsecurity], [Build Security
extension (default: disabled)]), [XCSECURITY=$enableval], [XCSECURITY=no])
> ++AC_ARG_ENABLE(xcalibrate,     AS_HELP_STRING([--enable-xcalibrate], [Build XCalibrate
extension (default: disabled)]), [XCALIBRATE=$enableval], [XCALIBRATE=no])
(Continue reading)

Khem Raj | 1 Jul 08:32 2010
Picon

Re: [oe] [PATCH] xserver-kdrive_1.5.3.bb: add openssl to DEPENDS.

On Wed, Jun 30, 2010 at 4:37 PM, Graham Gower <graham.gower <at> gmail.com> wrote:
> The build fails without openssl.
>
> | mipsel-oe-linux-libtool: compile:  ccache mipsel-oe-linux-gcc -march=mips32 -DHAVE_CONFIG_H
-I. -I../include -isystem/home/grg/oe2/tmp/sysroots/mipsel-oe-linux/usr/include
-DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN
-DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE
-I/home/grg/oe2/tmp/sysroots/mipsel-oe-linux/usr/include/freetype2
-I/home/grg/oe2/tmp/sysroots/mipsel-oe-linux/usr/include/pixman-1
-I/home/grg/oe2/tmp/sysroots/mipsel-oe-linux/usr/include/hal
-I/home/grg/oe2/tmp/sysroots/mipsel-oe-linux/usr/include/dbus-1.0
-I/home/grg/oe2/tmp/sysroots/mipsel-oe-linux/usr/lib/dbus-1.0/include
-I/home/grg/oe2/tmp/sysroots/mipsel-oe-linux/home/grg/oe2/tmp/sysroots/x86_64-linux/usr/include
-I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi
-I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -I/home/
> grg/oe2/tmp/sysroots/mipsel-oe-linux/usr/include/xextproto-70
-isystem/home/grg/oe2/tmp/sysroots/mipsel-oe-linux/usr/include -fexpensive-optimizations
-fomit-frame-pointer -frename-registers -Os -MT glyph.lo -MD -MP -MF .deps/glyph.Tpo -c glyph.c
 -fPIC -DPIC -o .libs/glyph.o
> | glyph.c:30:25: error: openssl/sha.h: No such file or directory
> | glyph.c: In function 'HashGlyph':
> | glyph.c:205: error: 'SHA_CTX' undeclared (first use in this function)
> | glyph.c:205: error: (Each undeclared identifier is reported only once
> | glyph.c:205: error: for each function it appears in.)
> | glyph.c:205: error: expected ';' before 'ctx'
> | glyph.c:208: warning: implicit declaration of function 'SHA1_Init'
> | glyph.c:208: warning: nested extern declaration of 'SHA1_Init'
> | glyph.c:208: error: 'ctx' undeclared (first use in this function)
> | glyph.c:212: warning: implicit declaration of function 'SHA1_Update'
(Continue reading)

Khem Raj | 1 Jul 08:34 2010
Picon

Re: [oe] [PATCH][STABLE] libecj-bootstrap_3.4.bb: Fix SRC_URI for new location

On Mon, Jun 28, 2010 at 9:37 AM, Stefan Schmidt
<stefan <at> datenfreihafen.org> wrote:
> From: Stefan Schmidt <stefan <at> buglabs.net>
>
>
> Signed-off-by: Stefan Schmidt <stefan <at> buglabs.net>
> ---

Acked-by: Khem Raj <raj.khem <at> gmail.com>

>
> This reminds me that the checksum per file patch for stable from Vitus needs
> some acks make such changes easier.
>
>  conf/checksums.ini                  |    4 ++++
>  recipes/ecj/libecj-bootstrap_3.4.bb |    2 +-
>  2 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/conf/checksums.ini b/conf/checksums.ini
> index ed06efc..909ade7 100644
> --- a/conf/checksums.ini
> +++ b/conf/checksums.ini
>  <at>  <at>  -5562,6 +5562,10  <at>  <at>  sha256=dfe24798ca067c75c84f01bf4ee3734fde3e32e4f270f7222025218d3baffbbb
>  md5=4c9fe7b0c4e760e13fa887b85f8db295
>  sha256=b5725fa7f8b1f7dc28776e60591e9ef0c171629fe567ef49ab9be28516ff2cd6
>
> +[http://archive.eclipse.org/eclipse/downloads/drops/R-3.4-200806172000/ecjsrc-3.4.zip]
> +md5=f7b84d912e61dfdd77b7173065845250
> +sha256=a6ce5f0682462e85e5e47229e5b16555f74c60188fa0bb17536beb1138c537b4
> +
(Continue reading)

Khem Raj | 1 Jul 08:52 2010
Picon

Re: [oe] CFLAGS_append_arm = " -fforward-propagate " breaks sdk builds

On Wed, Jun 30, 2010 at 1:47 AM, Koen Kooi <k.kooi <at> student.utwente.nl> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> When using an old compiler (e.g. the one ubuntu 8.04LTS ships with),
> zlib and ncurses fail to build because " -fforward-propagate" is not
> recognized as an option.
>

I wonder if there is a way to make OE aware of what gcc/binutils or
other cross tools versions it is being compiled with and then decide
on options based on that.
we could poke cross compiler on the fly
something like.

check_gcc=$(shell \
        if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1;
\
        then echo "$(1)"; else echo "$(2)"; fi)
> This is due to:
>
> CFLAGS_append_arm = " -fforward-propagate "
>
> In the .inc files. My question: why does ncursus-sdk get that in cflags?!?!

its using BBLASSEXTEND now for sdk may be it uses TARGET_ARCH in overrides.

>
(Continue reading)

Khem Raj | 1 Jul 08:55 2010
Picon

Re: [oe] [PATCH] Add qemumipsel support, based upon qemumips.

On Tue, Jun 29, 2010 at 9:23 PM, Graham Gower <graham.gower <at> gmail.com> wrote:
>
> Signed-off-by: Graham Gower <graham.gower <at> gmail.com>

weldone!

Acked-by: Khem Raj <raj.khem <at> gmail.com>

> ---
>  conf/machine/qemumipsel.conf                    |   15 +
>  recipes/linux/linux-2.6.34/qemumipsel/defconfig | 1772 +++++++++++++++++++++++
>  recipes/linux/linux_2.6.34.bb                   |    1 +
>  3 files changed, 1788 insertions(+), 0 deletions(-)
>  create mode 100644 conf/machine/qemumipsel.conf
>  create mode 100644 recipes/linux/linux-2.6.34/qemumipsel/defconfig
>
> diff --git a/conf/machine/qemumipsel.conf b/conf/machine/qemumipsel.conf
> new file mode 100644
> index 0000000..65c1b5d
> --- /dev/null
> +++ b/conf/machine/qemumipsel.conf
>  <at>  <at>  -0,0 +1,15  <at>  <at> 
> +# <at> TYPE: Machine
> +# <at> NAME: qemu MIPS (little-endian) Emulator setup
> +# <at> DESCRIPTION: Machine configuration for running an MIPS r4k platform system under qemu emulation
> +
> +TARGET_ARCH = "mipsel"
> +
> +require conf/machine/include/qemu.inc
> +require conf/machine/include/tune-mips32.inc
(Continue reading)


Gmane