All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem at the very beginning
@ 2010-05-18  7:03 Grzegorz Toporek
  2010-05-18  7:29 ` Koen Kooi
  2010-05-18  7:46 ` Khem Raj
  0 siblings, 2 replies; 5+ messages in thread
From: Grzegorz Toporek @ 2010-05-18  7:03 UTC (permalink / raw)
  To: openembedded-devel

Hi all,

I'm new to the mailing list so I would like to say hello to everyone. I'm
new to OE/bitbake as well so please be patient...

I was trying to build busybox package but unfortunately I got this error. Is
it a type conversion problem?  I got this with "Simple Helloworld" either...

What should be mentioned, there was no a problem to build this for
angstrom-2008.1 distribution (machine om-gta01). Now I have changed it to
colibri, which is my boar, and the problem occurred.

I have attached all my .conf files to this e-mail.

Please help me with this problem. Looking forward to your reply.

ERROR:

NOTE: Handling BitBake files: \ (7927/8366) [94 %]NOTE: <type
'exceptions.TypeError'>:unsupported operand type(s) for +: 'NoneType' and
'str' while evaluating:
  task-x11-illume   task-fonts-truetype-core   e-wm-menu-shr   shr-wizard
shr-theme-gry   xcursor-transparent-theme   xinput-calibrator
libx11-locale   ${@get_rdepends(bb, d)}   e-wm-config-illume2-shr
ERROR: unsupported operand type(s) for +: 'NoneType' and 'str' while parsing
/home/grzesiek/tele/openembedded/recipes/tasks/task-shr-minimal.bb
NOTE: Handling BitBake files: / (8366/8366) [100 %]
NOTE: Parsing finished. 7584 cached, 453 parsed, 328 skipped, 0 masked.
ERROR: Parsing errors found, exiting...

MY FILES:

${OEBASE}/openembedded/conf/distro/colibri.conf

DISTRO                = "colibri"
DISTRO_NAME            = "Colibri"
DISTRO_VERSION            = "0.2"
DISTRO_REVISION            = "1"
DISTRO_FEATURES            = "nfs smbfs ppp alsa bluetooth ext2 irda pcmcia
usbgadget usbhost screen"
DISTRO_TYPE            = "release"

IMAGE_NAME            =
"${DISTRO_NAME}-${IMAGE_BASENAME}-${DISTRO_VERSION}-${MACHINE}"
IMAGE_LINGUAS            = ""
DEPLOY_DIR_IMAGE        = "${DEPLOY_DIR}/images/${MACHINE}"

TARGET_OS            = "linux-gnueabi"
TARGET_VENDOR            = "-colibri"
INHERIT                += "package_ipk package_tar debian sanity insane"

PREFERRED_PROVIDER_qemu-native    = "qemu-native"
ENABLE_BINARY_LOCALE_GENERATION    = "0"

FEED_ARCH            = "${TARGET_ARCH}"

KERNEL                = "kernel26"
MACHINE_KERNEL_VERSION        = "2.6"
PCMCIA_MANAGER            = "pcmciautils"

PREFERRED_PROVIDER_virtual/libiconv    = "glibc"
PREFERRED_PROVIDER_virtual/libintl    = "glibc"
PREFERRED_PROVIDER_virtual/libc        = "glibc"

USE_NLS                    = "no"
USE_NLS_glib-2.0            = "yes"

FULL_OPTIMIZATION            = "-pipe -fexpensive-optimizations
-fomit-frame-pointer -frename-registers -Os"
BUILD_OPTIMIZATION            = "-pipe -Os"
CXXFLAGS                += "-fvisibility-inlines-hidden"

PREFERRED_VERSION_gcc            = "4.2.2"
PREFERRED_VERSION_gcc-cross        = "4.2.2"
PREFERRED_VERSION_gcc-cross-sdk        = "4.2.2"
PREFERRED_VERSION_gcc-cross-initial    = "4.2.2"

PREFERRED_VERSION_binutils        = "2.18"
PREFERRED_VERSION_binutils-cross    = "2.18"
PREFERRED_VERSION_binutils-cross-sdk    = "2.18"

PREFERRED_VERSION_linux-libc-headers    = "2.6.22"

PREFERRED_VERSION_glibc            = "2.6.1"
PREFERRED_VERSION_glibc-initial        = "2.6.1"
PREFERRED_VERSION_glibc-intermediate    = "2.6.1"

PREFERRED_VERSION_busybox        = "1.7.4"

PREFERRED_PROVIDER_virtual/arm-colibri-linux-gnueabi-binutils            =
"binutils-cross"

PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial                =
"gcc-cross-initial"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc                    =
"gcc-cross"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++                    =
"gcc-cross"

PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc                =
"glibc-intermediate"
PREFERRED_PROVIDER_virtual/arm-colibri-linux-gnueabi-libc-for-gcc        =
"glibc-intermediate"
PREFERRED_PROVIDER_virtual/arm-colibri-linux-libc-for-gcc            =
"glibc-intermediate"

PREFERRED_PROVIDER_virtual/db                            = "db"
PREFERRED_PROVIDER_virtual/db-native                        = "db-native"

PREFERRED_PROVIDER_gconf                            = "gconf"
PREFERRED_PROVIDER_libgsmd                            = "libgsmd"
PREFERRED_PROVIDER_linux-libc-headers                        =
"linux-libc-headers"
PREFERRED_PROVIDER_task-bootstrap                        = "task-bootstrap"

SRCREV_pn-gsm0710muxd                                = "76"

require conf/distro/include/sane-srcdates.inc
require conf/distro/include/sane-srcrevs.inc

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%${OEBASE}/openembedded/conf/machine/colibri.conf

TARGET_ARCH        = "arm"
TARGET_FPU        = "soft"
PACKAGE_EXTRA_ARCHS    = "armv4t armv5te"

require conf/machine/include/tune-iwmmxt.inc

GUI_MACHINE_CLASS    = "bigscreen"
MACHINE_FEATURES    = "kernel26 apm alsa ext2 uboot irda usbgadget usbhost
keyboard touchscreen screen bluetooth pcmcia"

MACHINE_TASK_PROVIDER    = "task-boot dropbear"

PREFERRED_PROVIDER_virtual/kernel    = "linux-colibri"


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem at the very beginning
  2010-05-18  7:03 Problem at the very beginning Grzegorz Toporek
@ 2010-05-18  7:29 ` Koen Kooi
  2010-05-18  7:48   ` Grzegorz Toporek
  2010-05-18  7:46 ` Khem Raj
  1 sibling, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2010-05-18  7:29 UTC (permalink / raw)
  To: openembedded-devel

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

On 18-05-10 09:03, Grzegorz Toporek wrote:
> Hi all,
> 
> I'm new to the mailing list so I would like to say hello to everyone. I'm
> new to OE/bitbake as well so please be patient...
> 
> I was trying to build busybox package but unfortunately I got this error. Is
> it a type conversion problem?  I got this with "Simple Helloworld" either...
> 
> What should be mentioned, there was no a problem to build this for
> angstrom-2008.1 distribution (machine om-gta01). Now I have changed it to
> colibri, which is my boar, and the problem occurred.

Do you *really* need your own distro?

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFL8kHWMkyGM64RGpERAmsqAJ99Uyl/UCFy0Op0WoOMi1dpa9vTkQCfVc9R
aj0rnrBbJRFwMlXF7e15BaA=
=h/5L
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem at the very beginning
  2010-05-18  7:03 Problem at the very beginning Grzegorz Toporek
  2010-05-18  7:29 ` Koen Kooi
@ 2010-05-18  7:46 ` Khem Raj
  2010-05-18  8:01   ` Grzegorz Toporek
  1 sibling, 1 reply; 5+ messages in thread
From: Khem Raj @ 2010-05-18  7:46 UTC (permalink / raw)
  To: openembedded-devel

On (18/05/10 09:03), Grzegorz Toporek wrote:
> Hi all,
> 
> I'm new to the mailing list so I would like to say hello to everyone. I'm
> new to OE/bitbake as well so please be patient...
> 
> I was trying to build busybox package but unfortunately I got this error. Is
> it a type conversion problem?  I got this with "Simple Helloworld" either...
> 
> What should be mentioned, there was no a problem to build this for
> angstrom-2008.1 distribution (machine om-gta01). Now I have changed it to
> colibri, which is my boar, and the problem occurred.
> 
> I have attached all my .conf files to this e-mail.
> 
> Please help me with this problem. Looking forward to your reply.
> 
> ERROR:
> 
> NOTE: Handling BitBake files: \ (7927/8366) [94 %]NOTE: <type
> 'exceptions.TypeError'>:unsupported operand type(s) for +: 'NoneType' and
> 'str' while evaluating:
>   task-x11-illume   task-fonts-truetype-core   e-wm-menu-shr   shr-wizard
> shr-theme-gry   xcursor-transparent-theme   xinput-calibrator
> libx11-locale   ${@get_rdepends(bb, d)}   e-wm-config-illume2-shr
> ERROR: unsupported operand type(s) for +: 'NoneType' and 'str' while parsing
> /home/grzesiek/tele/openembedded/recipes/tasks/task-shr-minimal.bb
> NOTE: Handling BitBake files: / (8366/8366) [100 %]
> NOTE: Parsing finished. 7584 cached, 453 parsed, 328 skipped, 0 masked.
> ERROR: Parsing errors found, exiting...

the python code in
/home/grzesiek/tele/openembedded/recipes/tasks/task-shr-minimal.bb 

depends upon a metadata variable called LIBC and this is not set in your
distro file. This could be one of 'glibc|eglibc|uclibc" depending upon
what system library you want. In your case it seems to be glibc

So if you set 

LIBC = "glibc" in your distro file then it should work.

-Khem



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem at the very beginning
  2010-05-18  7:29 ` Koen Kooi
@ 2010-05-18  7:48   ` Grzegorz Toporek
  0 siblings, 0 replies; 5+ messages in thread
From: Grzegorz Toporek @ 2010-05-18  7:48 UTC (permalink / raw)
  To: openembedded-devel

>
> > What should be mentioned, there was no a problem to build this for
> > angstrom-2008.1 distribution (machine om-gta01). Now I have changed it to
> > colibri, which is my boar, and the problem occurred.
>
> Do you *really* need your own distro?
>
> regards,
>

Hi, thank you for your answer.

I don't know if I need this. My project is a continuation of a former one,
and the guys before have been using disto configuration files.

So, do you suggest that I don't need those files to build system on Colibri
PXA270 (ARM)?

Maybe there is a good way to update an old system? I have backup images
(img.gz) of it...

Best Regards,
Grzegorz




2010/5/18 Koen Kooi <k.kooi@student.utwente.nl>

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 18-05-10 09:03, Grzegorz Toporek wrote:
> > Hi all,
> >
> > I'm new to the mailing list so I would like to say hello to everyone. I'm
> > new to OE/bitbake as well so please be patient...
> >
> > I was trying to build busybox package but unfortunately I got this error.
> Is
> > it a type conversion problem?  I got this with "Simple Helloworld"
> either...
> >
> > What should be mentioned, there was no a problem to build this for
> > angstrom-2008.1 distribution (machine om-gta01). Now I have changed it to
> > colibri, which is my boar, and the problem occurred.
>
> Do you *really* need your own distro?
>
> regards,
>
> Koen
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFL8kHWMkyGM64RGpERAmsqAJ99Uyl/UCFy0Op0WoOMi1dpa9vTkQCfVc9R
> aj0rnrBbJRFwMlXF7e15BaA=
> =h/5L
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem at the very beginning
  2010-05-18  7:46 ` Khem Raj
@ 2010-05-18  8:01   ` Grzegorz Toporek
  0 siblings, 0 replies; 5+ messages in thread
From: Grzegorz Toporek @ 2010-05-18  8:01 UTC (permalink / raw)
  To: openembedded-devel

>
> the python code in
> /home/grzesiek/tele/openembedded/recipes/tasks/task-shr-minimal.bb
>
> depends upon a metadata variable called LIBC and this is not set in your
> distro file. This could be one of 'glibc|eglibc|uclibc" depending upon
> what system library you want. In your case it seems to be glibc
>
> So if you set
>
> LIBC = "glibc" in your distro file then it should work.
>

Many thanks! It works like a charm!

I have one question. How can I update an old system on my board? Should I
delete it or just build new packages and upload them to my board?

Ones again many thanks.

Best Regads,
Grzegorz

2010/5/18 Khem Raj <raj.khem@gmail.com>

> On (18/05/10 09:03), Grzegorz Toporek wrote:
> > Hi all,
> >
> > I'm new to the mailing list so I would like to say hello to everyone. I'm
> > new to OE/bitbake as well so please be patient...
> >
> > I was trying to build busybox package but unfortunately I got this error.
> Is
> > it a type conversion problem?  I got this with "Simple Helloworld"
> either...
> >
> > What should be mentioned, there was no a problem to build this for
> > angstrom-2008.1 distribution (machine om-gta01). Now I have changed it to
> > colibri, which is my boar, and the problem occurred.
> >
> > I have attached all my .conf files to this e-mail.
> >
> > Please help me with this problem. Looking forward to your reply.
> >
> > ERROR:
> >
> > NOTE: Handling BitBake files: \ (7927/8366) [94 %]NOTE: <type
> > 'exceptions.TypeError'>:unsupported operand type(s) for +: 'NoneType' and
> > 'str' while evaluating:
> >   task-x11-illume   task-fonts-truetype-core   e-wm-menu-shr   shr-wizard
> > shr-theme-gry   xcursor-transparent-theme   xinput-calibrator
> > libx11-locale   ${@get_rdepends(bb, d)}   e-wm-config-illume2-shr
> > ERROR: unsupported operand type(s) for +: 'NoneType' and 'str' while
> parsing
> > /home/grzesiek/tele/openembedded/recipes/tasks/task-shr-minimal.bb
> > NOTE: Handling BitBake files: / (8366/8366) [100 %]
> > NOTE: Parsing finished. 7584 cached, 453 parsed, 328 skipped, 0 masked.
> > ERROR: Parsing errors found, exiting...
>
> the python code in
> /home/grzesiek/tele/openembedded/recipes/tasks/task-shr-minimal.bb
>
> depends upon a metadata variable called LIBC and this is not set in your
> distro file. This could be one of 'glibc|eglibc|uclibc" depending upon
> what system library you want. In your case it seems to be glibc
>
> So if you set
>
> LIBC = "glibc" in your distro file then it should work.
>
> -Khem
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-18  8:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-18  7:03 Problem at the very beginning Grzegorz Toporek
2010-05-18  7:29 ` Koen Kooi
2010-05-18  7:48   ` Grzegorz Toporek
2010-05-18  7:46 ` Khem Raj
2010-05-18  8:01   ` Grzegorz Toporek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.