Re: [oe] State of Java on OE

2017-04-24 Thread Jaap de Jong

On 22-04-17 00:25, Steven Osborn wrote:

Is anyone using Java on OE devices right now?

Yes!

meta-oracle-java has a Morty branch, but the URI for the binaries is
bad so it fails to install.

We are using oracle for several years now. And yes, we pay for it.
This URI is not bad, you need an account for some of the binaries.

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH] uftp: Add recipe

2017-04-06 Thread Jaap de Jong


From 1a011e1f1c2ca60749018394130a7860ae7ed816 Mon Sep 17 00:00:00 2001
From: Jaap de Jong <jaap.dej...@nedap.com>
Date: Thu, 6 Apr 2017 12:17:09 +0200
Subject: [meta-networking][PATCH] uftp: Add recipe
To: openembedded-devel@lists.openembedded.org

---
 meta-networking/recipes-support/uftp/uftp_4.9.3.bb | 16 
 1 file changed, 16 insertions(+)
 create mode 100644 meta-networking/recipes-support/uftp/uftp_4.9.3.bb

diff --git a/meta-networking/recipes-support/uftp/uftp_4.9.3.bb 
b/meta-networking/recipes-support/uftp/uftp_4.9.3.bb
new file mode 100644
index 000..1166f9a
--- /dev/null
+++ b/meta-networking/recipes-support/uftp/uftp_4.9.3.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "Encrypted UDP based FTP with multicast"
+HOMEPAGE = "https://sourceforge.net/projects/uftp-multicast;
+SECTION = "libs/network"
+
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d32239bcb673463ab874e80d47fae504"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/uftp-multicast/source-tar/uftp-${PV}.tar.gz"
+SRC_URI[md5sum] = "231d6ba7820d89a712fe7d727ab0f8e6"
+SRC_URI[sha256sum] = 
"9e9215af0315257c6cc4f40fbc6161057e861be1fff10a38a5564f699e99c78f"
+
+DEPENDS = "openssl"
+
+do_install () {
+   oe_runmake install DESTDIR=${D}
+}
-- 
2.7.4

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][morty][PATCH] uftp: Add recipe

2017-04-03 Thread Jaap de Jong


From cba20c0df65dcdd711009c5587142d2606deb1a9 Mon Sep 17 00:00:00 2001
From: Jaap de Jong <jaap.dej...@nedap.com>
Date: Mon, 3 Apr 2017 12:47:17 +0200
Subject: [meta-networking][morty][PATCH] uftp: Add recipe
To: openembedded-devel@lists.openembedded.org

---
 meta-networking/recipes-support/uftp/uftp_4.9.3.bb | 15 +++
 1 file changed, 15 insertions(+)
 create mode 100644 meta-networking/recipes-support/uftp/uftp_4.9.3.bb

diff --git a/meta-networking/recipes-support/uftp/uftp_4.9.3.bb 
b/meta-networking/recipes-support/uftp/uftp_4.9.3.bb
new file mode 100644
index 000..a6eeceb
--- /dev/null
+++ b/meta-networking/recipes-support/uftp/uftp_4.9.3.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "Encrypted UDP based FTP with multicast"
+HOMEPAGE = "https://sourceforge.net/projects/uftp-multicast;
+SECTION = "libs/network"
+
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d32239bcb673463ab874e80d47fae504"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/uftp-multicast/source-tar/uftp-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "231d6ba7820d89a712fe7d727ab0f8e6"
+SRC_URI[sha256sum] = 
"9e9215af0315257c6cc4f40fbc6161057e861be1fff10a38a5564f699e99c78f"
+
+do_install () {
+   oe_runmake install DESTDIR=${D}
+}
-- 
2.7.4

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] opkg v0.3.2 bug

2016-06-30 Thread Jaap de Jong

Hi All,

I've already put this in 
https://groups.google.com/forum/#!topic/opkg-devel but I really want to 
hear what your experiences are.


I have this package A for which package B has a dependency?

I was using v0.2.3 before and 'opkg remove A' did not remove it.

With v0.3.2 the same errors:
Removing package A from root...
Collected errors:
 * print_dependents_warning: Package A is depended upon by packages:
 * print_dependents_warning: B
 * print_dependents_warning: These might cease to work if package A is 
removed.
 * print_dependents_warning: Force removal of this package with 
--force-depends.
 * print_dependents_warning: Force removal of this package and its 
dependents

 * print_dependents_warning: with --force-removal-of-dependent-packages.

But package A is removed nevertheless
This sounds as a severe error!
Or is it me doing something wrong??

Thanks,
Jaap



--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] Migrating from OE-classic to OE-core

2016-03-14 Thread Jaap de Jong

Hi All,

(not sure if this is the right place to ask this)

Does anyone have experience with migrating from OE-classic to OE-core?
Did you?
How did you do it?
As I see it now, my only option seems to be flashing the unit, but 
perhaps there is another approach?


Thanks,
Jaap

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] transitional packages

2014-03-28 Thread Jaap de Jong


On 27-03-14 12:33, Martin Jansa wrote:

On Thu, Mar 27, 2014 at 10:38:52AM +0100, Jaap de Jong wrote:

Hi All,

for one project I'm still using oe-classic.
Would like to upgrade that!
I know a simple update will not work because (among others?) package
names are changed.
Is there any effort made to create transitional packages?

I don't know about any.


If not, would it be a tough job?

Yes, maybe not so bad if you have exactly one starting point and one
final, but to provide upgrade path from some state of binary feeds in
oe-core to some state of binary feeds built with oe-core is very close
to impossible (as you cannot test every combination).

Thanks for your explanation.
So then I would go for the one starting point (my oe-classic build) to 
one end point (my oe-core build).
The easiest approach then perhaps could be migrating oe-classic to 
oe-core. Then look at the differences between the two.

And finally write a transition package that would be able to upgrade.
Would that be possible at all?


Some versions went backwards, you need to migrate LOCALCOUNTs to PRSERV
db a lot of packages were renamed or removed without replacement

Is there perhaps some list for this?


(so
they will be stuck in your target image unless you explicitly RCONFLICT
RREPLACE them from your transitional package),



there are upgrade path
issues even between oe-core revisions.

It would really be nice if there wouldn't be issues between revisions or 
transition packages available...



--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] transitional packages

2014-03-27 Thread Jaap de Jong

Hi All,

for one project I'm still using oe-classic.
Would like to upgrade that!
I know a simple update will not work because (among others?) package 
names are changed.

Is there any effort made to create transitional packages?
If not, would it be a tough job?

Thanks,
Jaap
--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] how to delay postinst script

2013-07-24 Thread Jaap de Jong

Hi,
is there a way to delay the postinstall script until next boot?
I don't want the postinstall script to run when I update my package at 
install time, but it should install at the next boot.

Thanks!
Jaap
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] error when bitbaking console-base-image (danny)

2013-04-11 Thread Jaap de Jong

Hi All,
I've been experimenting with images, and every time I get this error 
even with a completely fresh build directory:


   log_check: There were error messages in the logfile
   log_check: Matched keyword: [Collected errors]

   Configuring connman.
   Configuring connman-systemd.
   Configuring tinylogin.
   Configuring angstrom-version.
   Configuring angstrom-packagegroup-boot.
   Collected errors:
 * extract_archive: Cannot create symlink from ./var/log to
   'volatile/log': File exists.
 * extract_archive: Cannot create symlink from ./var/run to
   'volatile/run': File exists.
   + '[' '!' -z '' ']'
   + package_tryout_install_multilib_ipk
   + multilib_tryout_dirs=


Could really use some help here...
Thanks!
Jaap
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] error when bitbaking console-base-image (danny)

2013-04-11 Thread Jaap de Jong


On 04/11/2013 02:33 PM, Martin Jansa wrote:

On Thu, Apr 11, 2013 at 02:01:42PM +0200, Jaap de Jong wrote:

Hi All,
I've been experimenting with images, and every time I get this error
even with a completely fresh build directory:

 log_check: There were error messages in the logfile
 log_check: Matched keyword: [Collected errors]

 Configuring connman.
 Configuring connman-systemd.
 Configuring tinylogin.
 Configuring angstrom-version.
 Configuring angstrom-packagegroup-boot.
 Collected errors:
   * extract_archive: Cannot create symlink from ./var/log to
 'volatile/log': File exists.
   * extract_archive: Cannot create symlink from ./var/run to
 'volatile/run': File exists.

Looks like you have inconsistency between fs-perms.txt
(e.g. default openembedded-core/meta/files/fs-perms.txt)
and what .ipk files are packaging as /var/log and /var/run (probably
from base-files, but /var/run is also included in dbus and other
packages).

No differences with denzil.
I did a bitbake core-image-base and that compiles without a problem.
Thanks for sharing our thoughts!


 + '[' '!' -z '' ']'
 + package_tryout_install_multilib_ipk
 + multilib_tryout_dirs=


Could really use some help here...
Thanks!
Jaap
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] dropbear

2013-04-10 Thread Jaap de Jong

Hi All,
dropbear 2013.56 is currently the most recent version.
Although not documented, they left out the functionality patched in with 
allow-nopw.patch in the 2013.56 release.
I would like to update to this new version, but is this functionality 
important?

Jaap


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] dropbear

2013-04-10 Thread Jaap de Jong

On 04/10/2013 04:04 PM, Paul Eggleton wrote:

On Wednesday 10 April 2013 14:55:02 Jaap de Jong wrote:

dropbear 2013.56 is currently the most recent version.
Although not documented, they left out the functionality patched in with
allow-nopw.patch in the 2013.56 release.

How did you find this out?

the patch fails and inspection of the code learns that it can't be applied.
I found some other way to accomplish the same though..

diff -urN a/svr-runopts.c b/svr-runopts.c
--- a/svr-runopts.c2013-03-21 16:29:35.0 +0100
+++ b/svr-runopts.c2013-04-10 15:11:51.0 +0200
@@ -115,7 +115,7 @@
 svr_opts.norootlogin = 0;
 svr_opts.noauthpass = 0;
 svr_opts.norootpass = 0;
-svr_opts.allowblankpass = 0;
+svr_opts.allowblankpass = 1;
 svr_opts.inetdmode = 0;
 svr_opts.portcount = 0;
 svr_opts.hostkey = NULL;


Cheers,
Paul



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] dropbear

2013-04-10 Thread Jaap de Jong


On 04/10/2013 04:50 PM, Paul Eggleton wrote:

On Wednesday 10 April 2013 15:47:09 Paul Eggleton wrote:

On Wednesday 10 April 2013 16:37:33 Jaap de Jong wrote:

On 04/10/2013 04:04 PM, Paul Eggleton wrote:

On Wednesday 10 April 2013 14:55:02 Jaap de Jong wrote:

dropbear 2013.56 is currently the most recent version.
Although not documented, they left out the functionality patched in
with
allow-nopw.patch in the 2013.56 release.

How did you find this out?

the patch fails and inspection of the code learns that it can't be
applied.

Ah right - to explain what has happened, I developed a new patch to change
dropbear so that the functionality is now controlled through a command-line
switch, and that is now configured in the image using a script in
/etc/default/; if you look at the dropbear recipe in master you can see how
it works. This avoids the need to rebuild dropbear depending upon the value
of IMAGE_FEATURES which was not really ideal.

If you want to use the latest version of dropbear with an older branch I'd
suggest just taking the dropbear recipe in master, removing the nopw-option
patch (which has been applied).
Seems that the nopw-option.patch is added to dropbear rev 2013.56, so 
that one should be remove also from the list of patches to apply.

If you do do this you'll also need to apply this patch:

http://cgit.openembedded.org/openembedded-core/commit/?id=0937054e6e3e02565f57e60a8bdc14b0ad62e249

Ok.
Thanks for your help!


Cheers,
Paul




___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] machinename with dash in it

2013-04-09 Thread Jaap de Jong


On 04/08/2013 10:15 PM, Martin Jansa wrote:

On Mon, Apr 08, 2013 at 09:53:34PM +0200, Koen Kooi wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Op 08-04-13 15:17, Martin Jansa schreef:

On Mon, Apr 08, 2013 at 02:28:51PM +0200, Jaap de Jong wrote:

Hi All, something strange happens with my machinename with a dash in
it: x-y If I bitbake some image it will end up that netbase is not
found. Inspection of build/tmp-angstrom_v2012_12-eglibc/work shows 2
variants of x-y: one with a dash and one where the dash is replaced by
an underscore: x-y and x_y In x-y only netbase is found, rest of the
machinespecific packages are in x_y

MACHINE_ARCH is MACHINE with s/-/_/g (because rpm had issues with -) so
it's expected.


Creating the image fails with the message that netbase is not found...
Any ideas?

It's probably caused by
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4102 do manual cleanup
described there and it should work fine.

The root cause was this one:
https://git.linaro.org/gitweb?p=openembedded/meta-linaro.git;a=commit;h=30f353c072336ad764e9528ae3c508adb28fa4ad

Heh, I was expecting that all MACHINEs in PACKAGE_ARCH died long time
ago.


Thanks for the hint, this is fixed now.
(I have a new error though)
Jaap


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] do_rootfs fails

2013-04-09 Thread Jaap de Jong

I have this problem that do_rootfs finds.
Any ideas?
Thanks!
Jaap

//
log_check: There were error messages in the logfile
log_check: Matched keyword: [Collected errors]

Configuring angstrom-packagegroup-boot.
Configuring util-linux-losetup.
Configuring util-linux.
Configuring sysvinit.
Collected errors:
 * extract_archive: Cannot create symlink from ./var/log to 
'volatile/log': File exists.
 * extract_archive: Cannot create symlink from ./var/run to 
'volatile/run': File exists.

+ '[' '!' -z '' ']'
+ package_tryout_install_multilib_ipk
+ multilib_tryout_dirs=
//

My image.bb contains:

inherit core-image

IMAGE_LOGIN_MANAGER = tinylogin shadow
IMAGE_DEV_MANAGER = 
IMAGE_INIT_MANAGER = sysvinit sysvinit-pidof
IMAGE_INITSCRIPTS = initscripts

export IMAGE_BASENAME = ${PN}

IMAGE_FEATURES +=  \
package-management \
debug-tweaks \


IMAGE_INSTALL +=  \
angstrom-packagegroup-boot \
initscripts \
busybox-mdev \
ca-certificates \
dropbear \
e2fsprogs-e2fsck \
ntp \
ntpdate \
openssl \
rsync \
screen \
shadow \
mtd-utils \
util-linux \
watchdog \



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] sysvinit?

2013-04-09 Thread Jaap de Jong

Hi All,

I was wondering what the status is for sysvinit.
Is it maintained or not?
If I want to use it in my image how should it look like?
Something like this?

   inherit core-image

   IMAGE_LOGIN_MANAGER = tinylogin shadow
   IMAGE_DEV_MANAGER = busybox-mdev
   IMAGE_INIT_MANAGER = sysvinit sysvinit-pidof
   IMAGE_INITSCRIPTS = initscripts

   export IMAGE_BASENAME = ${PN}

   IMAGE_FEATURES +=  \
package-management \
debug-tweaks \


   IMAGE_INSTALL +=  \
${IMAGE_LOGIN_MANAGER} \
${IMAGE_DEV_MANAGER} \
${IMAGE_INIT_MANAGER} \
${IMAGE_INITSCRIPTS} \


Should I add more?

Jaap
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] do_rootfs fails

2013-04-09 Thread Jaap de Jong

adding

angstrom-packagegroup-boot

caused the trouble.


On 04/09/2013 10:07 AM, Jaap de Jong wrote:

I have this problem that do_rootfs finds.
Any ideas?
Thanks!
Jaap

//
log_check: There were error messages in the logfile
log_check: Matched keyword: [Collected errors]

Configuring angstrom-packagegroup-boot.
Configuring util-linux-losetup.
Configuring util-linux.
Configuring sysvinit.
Collected errors:
   * extract_archive: Cannot create symlink from ./var/log to
'volatile/log': File exists.
   * extract_archive: Cannot create symlink from ./var/run to
'volatile/run': File exists.
+ '[' '!' -z '' ']'
+ package_tryout_install_multilib_ipk
+ multilib_tryout_dirs=
//

My image.bb contains:

inherit core-image

IMAGE_LOGIN_MANAGER = tinylogin shadow
IMAGE_DEV_MANAGER = 
IMAGE_INIT_MANAGER = sysvinit sysvinit-pidof
IMAGE_INITSCRIPTS = initscripts

export IMAGE_BASENAME = ${PN}

IMAGE_FEATURES +=  \
  package-management \
  debug-tweaks \


IMAGE_INSTALL +=  \
  angstrom-packagegroup-boot \
  initscripts \
  busybox-mdev \
  ca-certificates \
  dropbear \
  e2fsprogs-e2fsck \
  ntp \
  ntpdate \
  openssl \
  rsync \
  screen \
  shadow \
  mtd-utils \
  util-linux \
  watchdog \
  


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel





___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] machinename with dash in it

2013-04-08 Thread Jaap de Jong

Hi All,
something strange happens with my machinename with a dash in it: x-y
If I bitbake some image it will end up that netbase is not found.
Inspection of build/tmp-angstrom_v2012_12-eglibc/work shows 2 variants 
of x-y: one with a dash and one where the dash is replaced by an 
underscore: x-y and x_y
In x-y only netbase is found, rest of the machinespecific packages are 
in x_y

Creating the image fails with the message that netbase is not found...
Any ideas?
Jaap


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] opkg-make-index not found

2013-02-20 Thread Jaap de Jong


On 02/19/2013 04:07 PM, Jaap de Jong wrote:

On 02/19/2013 03:33 PM, Takeshi Hamasaki wrote:

Then I recommend to look into log files. For my case, after executing commands:

$ bitbake package-index -c cleansstate
$ bitbake -D -D package-index  bitbake-d-d.package-index 2 errlog

I have at least four log files.
1. bitbake-d-d.package-index in current dir
2. errlog   in current dir
3. run.do_package_index.* in
build/tmp-angstrom_v2012_05-eglibc/work/armv5te-angstrom-linux-gnueabi/package-index-1.0-r0
4. log.do_package_index.* in
build/tmp-angstrom_v2012_05-eglibc/work/armv5te-angstrom-linux-gnueabi/package-index-1.0-r0

(Actually, I skipped to generate 2., my build succeed.)
I guess you can find some clue looking into 4., 3., and maybe 1.

I attach mine to this mail, and hope they might be some help for you.

Thanks for all your help!
I've been comparing the run.do_package_index file from myself and from
the buildserver.
If I look at it the only real difference (besides paths etc) are in the
SHELL
   export SHELL=/usr/local/bin/bash-wrapper
 export SHELL=/bin/bash
I will ask my administrator to change it and will retry.


Adding
export SHELL=/bin/bash
to my ~/.bashrc did the trick.
No problem anymore.

Thanks for the support!!


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] opkg-make-index not found

2013-02-19 Thread Jaap de Jong


On 02/18/2013 04:19 PM, Takeshi Hamasaki wrote:

Hi,

this may or may not help you:

$ bitbake -e package-index  bbenv.package-index
$ grep PACKAGEINDEXES bbenv.package-index
(
  for me, the result was:

  # PACKAGEINDEXES= package_update_index_ipk;
  PACKAGEINDEXES=package_update_index_ipk;

)

Then I tried searching package_update_index_ipk in bbenv.package-index
using a text editor. It is a function, and in it, opkg-make-index
is called in a line:

  flock $pkgdir/Packages.flock -c opkg-make-index -r $pkgdir/Packages
-p $pkgdir/Packages -m $pkgdir/

What do you find in your box?

For both I find the same results.
The funny thing is that on the same machine my buildserver is running 
and that one is having no problems...

Jaap


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] opkg-make-index not found

2013-02-19 Thread Jaap de Jong


On 02/19/2013 03:33 PM, Takeshi Hamasaki wrote:

Then I recommend to look into log files. For my case, after executing commands:

$ bitbake package-index -c cleansstate
$ bitbake -D -D package-index  bitbake-d-d.package-index 2 errlog

I have at least four log files.
1. bitbake-d-d.package-index in current dir
2. errlog   in current dir
3. run.do_package_index.* in
build/tmp-angstrom_v2012_05-eglibc/work/armv5te-angstrom-linux-gnueabi/package-index-1.0-r0
4. log.do_package_index.* in
build/tmp-angstrom_v2012_05-eglibc/work/armv5te-angstrom-linux-gnueabi/package-index-1.0-r0

(Actually, I skipped to generate 2., my build succeed.)
I guess you can find some clue looking into 4., 3., and maybe 1.

I attach mine to this mail, and hope they might be some help for you.

Thanks for all your help!
I've been comparing the run.do_package_index file from myself and from 
the buildserver.
If I look at it the only real difference (besides paths etc) are in the 
SHELL

 export SHELL=/usr/local/bin/bash-wrapper
 export SHELL=/bin/bash
I will ask my administrator to change it and will retry.



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] opkg-make-index not found

2013-02-18 Thread Jaap de Jong


On 02/16/2013 07:51 AM, Takeshi Hamasaki wrote:


if I do

 bitbake package-index

it crashes with the message

 | /bin/bash: opkg-make-index: command not found

This is on a 64 debian machine, possibly the wrong path is searched?
(there is a opkg-make-index under sysroots/x86_64-linux/usr/bin)





If you doubt the PATH setting, you should check the output from:
$ bitbake -e | grep '^export PATH'



Well opkg-make-index is in the path.

Something strange is happening here.
If I edit package-index.bb and add a call to opkg-make-index

   do_package_index() {
set -ex
   opkg-make-index   ### ADDED CODE
${PACKAGEINDEXES}
set +ex
   }


it shows an error message when invoking bitbake package-index showing 
that opkg-make-index is actualy working...


   ///
   
.../build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin/opkg-make-index
   [-h] [-s] [-m] [-l Packages.filelist] [-p Packages] [-r
   Packages.old] [-L localesdir] [-v] packagesdir
   NOTE: package package-index-1.0-r0: task do_package_index: Failed
   ///

Any idea?



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] opkg-make-index not found

2013-02-15 Thread Jaap de Jong

Hi All,

if I do

bitbake package-index

it crashes with the message

| /bin/bash: opkg-make-index: command not found

This is on a 64 debian machine, possibly the wrong path is searched?
(there is a opkg-make-index under sysroots/x86_64-linux/usr/bin)

Is this a known problem?
Thanks!

Jaap



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] best practice for different projects on the same board

2013-01-25 Thread Jaap de Jong

Hi All,
I'm wondering what the best practice would be in the following situation.
We have a board that is going to be used in several projects.
The set of basic packages is the same but every project might have some 
minor and perhaps sometimes major differences in f.i. config files.
I don't want to make a copy of the base project for every upcoming new 
project. I would really like to handle with the differences only.

What is the best approach for this?
Thanks!
Jaap


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] libftdi

2012-11-27 Thread Jaap de Jong


On 11/23/2012 03:31 PM, Henning Heinold wrote:

On Fri, Nov 23, 2012 at 11:20:56AM +0100, Jaap de Jong wrote:

Hi All,
on my buildserver under debian, libftdi does not compile.
Looks like some library issue.
Anyone an idea how to solve?
Thanks in advance!
Jaap


NOTE: package libftdi-0.19-r0: task do_compile: Started
ERROR: Function failed: do_compile (see 
/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/work/armv5te-angstrom-linux-gnueabi/libftdi-0.19-r0/temp/log.do_compile.21748
for further information)
ERROR: Logfile of failure stored in: 
/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/work/armv5te-angstrom-linux-gnueabi/libftdi-0.19-r0/temp/log.do_compile.21748
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common',
'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi',
'common']
| ERROR: Function failed: do_compile (see 
/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/work/armv5te-angstrom-linux-gnueabi/libftdi-0.19-r0/temp/log.do_compile.21748
for further information)
| NOTE: make -j2
| make  all-recursive
| make[1]: Entering directory 
`/data/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/work/armv5te-angstrom-linux-gnueabi/libftdi-0.19-r0/libftdi-0.19'
| Making all in src
| make[2]: Entering directory 
`/data/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/work/armv5te-angstrom-linux-gnueabi/libftdi-0.19-r0/libftdi-0.19/src'
| ../arm-angstrom-linux-gnueabi-libtool --tag=CC   --mode=compile
arm-angstrom-linux-gnueabi-gcc  -march=armv5te  -marm
-mthumb-interwork  -mtune=arm926ej-s 
--sysroot=/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45
-DHAVE_CONFIG_H -I. -I.. -O2 -pipe -g
-feliminate-unused-debug-types 
-I/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45/usr/include
-c -o ftdi.lo ftdi.c
| arm-angstrom-linux-gnueabi-libtool: compile:
arm-angstrom-linux-gnueabi-gcc -march=armv5te -marm
-mthumb-interwork -mtune=arm926ej-s 
--sysroot=/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45
-DHAVE_CONFIG_H -I. -I.. -O2 -pipe -g -feliminate-unused-debug-types 
-I/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45/usr/include
-c ftdi.c  -fPIC -DPIC -o .libs/ftdi.o
| arm-angstrom-linux-gnueabi-libtool: compile:
arm-angstrom-linux-gnueabi-gcc -march=armv5te -marm
-mthumb-interwork -mtune=arm926ej-s 
--sysroot=/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45
-DHAVE_CONFIG_H -I. -I.. -O2 -pipe -g -feliminate-unused-debug-types 
-I/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45/usr/include
-c ftdi.c -o ftdi.o /dev/null 21
| ../arm-angstrom-linux-gnueabi-libtool --tag=CC   --mode=link
arm-angstrom-linux-gnueabi-gcc  -march=armv5te  -marm
-mthumb-interwork  -mtune=arm926ej-s 
--sysroot=/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45
-O2 -pipe -g -feliminate-unused-debug-types 
-I/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45/usr/include
-version-info 20:0:19 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
-o libftdi.la -rpath /usr/lib ftdi.lo  -L/lib -lusb

^^

Fix the Makefile to not use this.

Bye Henning



Fixed it.
Probably not this best way to do it, but it works.
Added a patch:

diff -urN a/configure.in b/configure.in
--- a/configure.in2012-11-26 14:59:05.084788496 +0100
+++ b/configure.in2012-11-26 14:59:21.665316347 +0100
@@ -19,6 +19,7 @@
 else
AC_MSG_ERROR([*** libusb-config not found. You need a working 
libusb installation.])

 fi
+LIBS=

 dnl check for version of libusb
 AC_MSG_CHECKING([if libusb version is = 0.1.7])



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] openjdk-7-vm-jamvm

2012-11-26 Thread Jaap de Jong


On 11/23/2012 03:32 PM, Henning Heinold wrote:

On Fri, Nov 23, 2012 at 01:30:27PM +0100, Jaap de Jong wrote:

Hi,
how can I build openjdk-7-vm-jamvm?
If I bitbake openjdk-7 it is not added, while openjdk-7-vm-zero is added.
I'm building for arm.
Thanks!
Jaap

Add it to your image.


bitbake openjdk-7-vm-jamvm fails:

ERROR: Nothing PROVIDES 'openjdk-7-vm-jamvm'

And so fails adding it to my images as well...

|  * opkg_install_cmd: Cannot install package openjdk-7-vm-jamvm.

Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] openjdk-7-vm-jamvm

2012-11-26 Thread Jaap de Jong


On 11/26/2012 11:42 PM, Henning Heinold wrote:

On Mon, Nov 26, 2012 at 10:17:42AM +0100, Jaap de Jong wrote:

On 11/23/2012 03:32 PM, Henning Heinold wrote:

On Fri, Nov 23, 2012 at 01:30:27PM +0100, Jaap de Jong wrote:

Hi,
how can I build openjdk-7-vm-jamvm?
If I bitbake openjdk-7 it is not added, while openjdk-7-vm-zero is added.
I'm building for arm.
Thanks!
Jaap

Add it to your image.


bitbake openjdk-7-vm-jamvm fails:

ERROR: Nothing PROVIDES 'openjdk-7-vm-jamvm'

And so fails adding it to my images as well...

|  * opkg_install_cmd: Cannot install package openjdk-7-vm-jamvm.

Jaap

Hi Jaap,

I found two problems for building openjdk-7 with additional vms.
They are now fixed in master.

Bye Henning

That's great news!
Many thanks!
Jaap


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] libftdi

2012-11-23 Thread Jaap de Jong

Hi All,
on my buildserver under debian, libftdi does not compile.
Looks like some library issue.
Anyone an idea how to solve?
Thanks in advance!
Jaap


NOTE: package libftdi-0.19-r0: task do_compile: Started
ERROR: Function failed: do_compile (see 
/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/work/armv5te-angstrom-linux-gnueabi/libftdi-0.19-r0/temp/log.do_compile.21748 
for further information)
ERROR: Logfile of failure stored in: 
/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/work/armv5te-angstrom-linux-gnueabi/libftdi-0.19-r0/temp/log.do_compile.21748

Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 
'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| ERROR: Function failed: do_compile (see 
/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/work/armv5te-angstrom-linux-gnueabi/libftdi-0.19-r0/temp/log.do_compile.21748 
for further information)

| NOTE: make -j2
| make  all-recursive
| make[1]: Entering directory 
`/data/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/work/armv5te-angstrom-linux-gnueabi/libftdi-0.19-r0/libftdi-0.19'

| Making all in src
| make[2]: Entering directory 
`/data/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/work/armv5te-angstrom-linux-gnueabi/libftdi-0.19-r0/libftdi-0.19/src'
| ../arm-angstrom-linux-gnueabi-libtool --tag=CC   --mode=compile 
arm-angstrom-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  
-mtune=arm926ej-s 
--sysroot=/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45 
-DHAVE_CONFIG_H -I. -I.. -O2 -pipe -g -feliminate-unused-debug-types 
-I/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45/usr/include 
-c -o ftdi.lo ftdi.c
| arm-angstrom-linux-gnueabi-libtool: compile: 
arm-angstrom-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork 
-mtune=arm926ej-s 
--sysroot=/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45 
-DHAVE_CONFIG_H -I. -I.. -O2 -pipe -g -feliminate-unused-debug-types 
-I/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45/usr/include 
-c ftdi.c  -fPIC -DPIC -o .libs/ftdi.o
| arm-angstrom-linux-gnueabi-libtool: compile: 
arm-angstrom-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork 
-mtune=arm926ej-s 
--sysroot=/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45 
-DHAVE_CONFIG_H -I. -I.. -O2 -pipe -g -feliminate-unused-debug-types 
-I/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45/usr/include 
-c ftdi.c -o ftdi.o /dev/null 21
| ../arm-angstrom-linux-gnueabi-libtool --tag=CC   --mode=link 
arm-angstrom-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  
-mtune=arm926ej-s 
--sysroot=/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45 
-O2 -pipe -g -feliminate-unused-debug-types 
-I/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45/usr/include 
-version-info 20:0:19 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o 
libftdi.la -rpath /usr/lib ftdi.lo  -L/lib -lusb
| arm-angstrom-linux-gnueabi-libtool: link: 
arm-angstrom-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  
-mtune=arm926ej-s 
--sysroot=/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45 
-shared  -fPIC -DPIC  .libs/ftdi.o   -L/lib 
/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45/lib/libusb.so 
-L=/lib 
-L/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45/lib 
/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45/lib/libusb-1.0.so 
-lrt  -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s 
--sysroot=/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45 
-O2 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed   -pthread -Wl,-soname 
-Wl,libftdi.so.1 -o .libs/libftdi.so.1.19.0
| 
/data/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin/armv5te-angstrom-linux-gnueabi/../../libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/ld: 
warning: library search path /lib is unsafe for cross-compilation

| /lib/libgcc_s.so.1: file not recognized: File format not recognized
| collect2: ld returned 1 exit status
| make[2]: *** [libftdi.la] Error 1
| make[2]: Leaving directory 
`/data/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/work/armv5te-angstrom-linux-gnueabi/libftdi-0.19-r0/libftdi-0.19/src'

| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory 

[oe] openjdk-7-vm-jamvm

2012-11-23 Thread Jaap de Jong

Hi,
how can I build openjdk-7-vm-jamvm?
If I bitbake openjdk-7 it is not added, while openjdk-7-vm-zero is added.
I'm building for arm.
Thanks!
Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] sstate-cache

2012-11-23 Thread Jaap de Jong


On 11/22/2012 03:56 PM, Jaap de Jong wrote:

I have a handful of openembedded clones on a single machine and I would
like to use as little diskspace as possible, so I'm wondering if it is
possible to share the directory build/sstate-cache among these different
clones?


To be a bit more precise, these are the variables to work with:

SSTATE_DIR ?= ${TOPDIR}/sstate-cache
SSTATE_MIRRORS ?= \
file://.* http://someserver.tld/share/sstate/ \n \
file://.* file:///some/local/dir/sstate/

Does every clone (which might be translated at the same time) has to 
have its own local SSTATE_DIR?
Or is it ok to point every clone to one single directory, like: 
SSTATE_DIR ?= ${HOME}/sstate-cache?

Or should I use SSTATE_MIRRORS for that purpose?

Thanks!
Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] kernel image

2012-11-22 Thread Jaap de Jong

Hi,
does anyone know where the + (in 
kernel-2.6.35.14+_2.6.35-r14.6_mymachine.ipk) is added?
It is added on my pc (running ubuntu); it is not added on my debian 
buildserver.

Thanks!
Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] kernel image

2012-11-22 Thread Jaap de Jong


On 11/22/2012 02:31 PM, Martin Jansa wrote:

On Thu, Nov 22, 2012 at 02:18:43PM +0100, Jaap de Jong wrote:

Hi,
does anyone know where the + (in
kernel-2.6.35.14+_2.6.35-r14.6_mymachine.ipk) is added?
It is added on my pc (running ubuntu); it is not added on my debian
buildserver.

Check if you have oe-core 56fe5300

I'm using oe-classic for this...


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] kernel image

2012-11-22 Thread Jaap de Jong


On 11/22/2012 02:54 PM, Martin Jansa wrote:

On Thu, Nov 22, 2012 at 02:36:25PM +0100, Jaap de Jong wrote:

On 11/22/2012 02:31 PM, Martin Jansa wrote:

On Thu, Nov 22, 2012 at 02:18:43PM +0100, Jaap de Jong wrote:

Hi,
does anyone know where the + (in
kernel-2.6.35.14+_2.6.35-r14.6_mymachine.ipk) is added?
It is added on my pc (running ubuntu); it is not added on my debian
buildserver.

Check if you have oe-core 56fe5300

I'm using oe-classic for this...

Then apply it in oe-classic kernel.bbclass or your recipe.


Stupid question probably.. Where can I find it?
And one more: does it make sense that the '+' is added under ubuntu and 
that is absent on my buildserver?



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] sstate-cache

2012-11-22 Thread Jaap de Jong

Hi All,
I have a handful of openembedded clones on a single machine and I would 
like to use as little diskspace as possible, so I'm wondering if it is 
possible to share the directory build/sstate-cache among these different 
clones?

Any idea?
Thanks!
Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] kernel image

2012-11-22 Thread Jaap de Jong


On 11/22/2012 04:17 PM, Martin Jansa wrote:

On Thu, Nov 22, 2012 at 03:33:29PM +0100, Jaap de Jong wrote:

On 11/22/2012 02:54 PM, Martin Jansa wrote:

On Thu, Nov 22, 2012 at 02:36:25PM +0100, Jaap de Jong wrote:

On 11/22/2012 02:31 PM, Martin Jansa wrote:

On Thu, Nov 22, 2012 at 02:18:43PM +0100, Jaap de Jong wrote:

Hi,
does anyone know where the + (in
kernel-2.6.35.14+_2.6.35-r14.6_mymachine.ipk) is added?
It is added on my pc (running ubuntu); it is not added on my debian
buildserver.

Check if you have oe-core 56fe5300

I'm using oe-classic for this...

Then apply it in oe-classic kernel.bbclass or your recipe.


Stupid question probably.. Where can I find it?
And one more: does it make sense that the '+' is added under ubuntu and
that is absent on my buildserver?

http://git.openembedded.org/openembedded-core/commit/meta/classes/kernel.bbclass?id=56fe5300ab5ab072c20acd03d7fc26e9cae4e652

Try to compare those 3 commands on both builders.



That seems to help.
I added it to my local linux recipe

   do_configure_prepend() {
touch .scmversion
   }

Thanks for your support!
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] llvm issue

2012-11-16 Thread Jaap de Jong


On 11/16/2012 08:49 AM, Jaap de Jong wrote:

On 11/15/2012 04:25 PM, Paul Eggleton wrote:

On Thursday 15 November 2012 15:06:30 Jaap de Jong wrote:

when I checkout openjdk-7 on meta-java and bitbake anything I get
these errors:

ERROR: Unable to parse
/data/jenkins/jobs/myTest/workspace/sources/meta-java/recipes-core/llvm/llvm
2.9_2.9.bb
| ETA:  00:00:15

ERROR: Command execution failed: Exited with 1
NOTE: Error expanding variable populate_packages
NOTE: Error during finalise of
/data/jenkins/jobs/myTest/workspace/sources/meta-java/recipes-core/llvm/llvm
2.8_2.8.bb NOTE: Error expanding variable populate_packages
NOTE: Error during finalise of
/data/jenkins/jobs/myTest/workspace/sources/meta-java/recipes-core/llvm/llvm
2.9_2.9.bb

Are you using the denzil branch of OE-Core perhaps? I suspect meta-java has
been updated to use spaces for python function indentation which only works
with danny/master. I don't see a denzil branch in meta-java, perhaps it would
be worth adding one...?

Yes, I'm using denzil.
And for you second question: I'm probably not the one who should answer
this, but: yes, that would help!
What would be the way to use the 'danny' branch? I don't see any branch
of that name under sources/*/

about danny:
cd sources/openembedded-core
git checkout danny

Unfortunately: same problem...

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] llvm issue

2012-11-16 Thread Jaap de Jong


On 11/16/2012 10:22 AM, Henning Heinold wrote:

On Thu, Nov 15, 2012 at 03:06:30PM +0100, Jaap de Jong wrote:

Hi All,

when I checkout openjdk-7 on meta-java and bitbake anything I get
these errors:

ERROR: Unable to parse 
/data/jenkins/jobs/myTest/workspace/sources/meta-java/recipes-core/llvm/llvm2.9_2.9.bb
| ETA:  00:00:15
ERROR: Command execution failed: Exited with 1
NOTE: Error expanding variable populate_packages
NOTE: Error during finalise of 
/data/jenkins/jobs/myTest/workspace/sources/meta-java/recipes-core/llvm/llvm2.8_2.8.bb
NOTE: Error expanding variable populate_packages
NOTE: Error during finalise of 
/data/jenkins/jobs/myTest/workspace/sources/meta-java/recipes-core/llvm/llvm2.9_2.9.bb

Anyone already know what is wrong here?

Cheers!
Jaap

Hi Jaap,

khem posted some patches for the jdk7 branch unfornatly I dont have the much 
time
to integrate them yet. Please look at the oe-dev patchwork or use his github 
repo.

So what would be the combination to go?
1) openembedded-core -- danny
2) meta-java -- khem: openjdk-7
Or something different?



Maybee in christmas holiday I will find some time to merge jdk7 branch into 
master.

Sitting next to your Christmas tree! :-)


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] llvm issue

2012-11-15 Thread Jaap de Jong

Hi All,

when I checkout openjdk-7 on meta-java and bitbake anything I get 
these errors:


ERROR: Unable to parse 
/data/jenkins/jobs/myTest/workspace/sources/meta-java/recipes-core/llvm/llvm2.9_2.9.bb 
| ETA:  00:00:15

ERROR: Command execution failed: Exited with 1
NOTE: Error expanding variable populate_packages
NOTE: Error during finalise of 
/data/jenkins/jobs/myTest/workspace/sources/meta-java/recipes-core/llvm/llvm2.8_2.8.bb

NOTE: Error expanding variable populate_packages
NOTE: Error during finalise of 
/data/jenkins/jobs/myTest/workspace/sources/meta-java/recipes-core/llvm/llvm2.9_2.9.bb


Anyone already know what is wrong here?

Cheers!
Jaap
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] llvm issue

2012-11-15 Thread Jaap de Jong


On 11/15/2012 04:25 PM, Paul Eggleton wrote:

On Thursday 15 November 2012 15:06:30 Jaap de Jong wrote:

when I checkout openjdk-7 on meta-java and bitbake anything I get
these errors:

ERROR: Unable to parse
/data/jenkins/jobs/myTest/workspace/sources/meta-java/recipes-core/llvm/llvm
2.9_2.9.bb
| ETA:  00:00:15

ERROR: Command execution failed: Exited with 1
NOTE: Error expanding variable populate_packages
NOTE: Error during finalise of
/data/jenkins/jobs/myTest/workspace/sources/meta-java/recipes-core/llvm/llvm
2.8_2.8.bb NOTE: Error expanding variable populate_packages
NOTE: Error during finalise of
/data/jenkins/jobs/myTest/workspace/sources/meta-java/recipes-core/llvm/llvm
2.9_2.9.bb

Are you using the denzil branch of OE-Core perhaps? I suspect meta-java has
been updated to use spaces for python function indentation which only works
with danny/master. I don't see a denzil branch in meta-java, perhaps it would
be worth adding one...?

Yes, I'm using denzil.
And for you second question: I'm probably not the one who should answer 
this, but: yes, that would help!
What would be the way to use the 'danny' branch? I don't see any branch 
of that name under sources/*/


Thanks,
Jaap

Cheers,
Paul




___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] jni.h included

2012-10-10 Thread Jaap de Jong


On 10/09/2012 07:51 AM, Martin Ertsås wrote:

As you are using icedtea6, I guess DEPENDS += icedtea6 should do it.

- Martin

I thought that might do the trick, but...
ERROR: Nothing PROVIDES 'icedtea6'
So I tried
DEPENDS += icedtea6-native
and that ends with
jni.h: No such file or directory

Any other ideas?


On 10/08/12 16:49, Jaap de Jong wrote:

On 10/08/2012 04:05 PM, Khem Raj wrote:

On Mon, Oct 8, 2012 at 4:18 AM, Jaap de Jong jaap.dej...@nedap.com
wrote:

Hi All!
probably a stupid question... my apologies!
If a source I'm working on #include jni.h what do I need to add in a
recipe
to get it translated?

DEPENDS += openjdk or something like that which denotes jdk


Tried
 DEPENDS += openjdk
unfortunately errors out with
 ERROR: Nothing PROVIDES 'openjdk'

Tried with
 DEPENDS += openjdk-6
but that errors out with
 fatal error: jni.h: No such file or directory

So finally I ended up adding this:
 CFLAGS += -I${STAGING_LIBDIR_NATIVE}/jvm/icedtea6-native/include
-I${STAGING_LIBDIR_NATIVE}/jvm/icedtea6-native/include/linux
But that just looks so ugly...



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel





___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] jni.h included

2012-10-10 Thread Jaap de Jong


On 10/10/2012 08:51 AM, Martin Ertsås wrote:

Assuming you use meta-java, it seems like what you are looking for is:

DEPENDS += openjdk-6-jdk

as that at least contains the include, lib and bin directory.

- Martin

It just looks so simple... but does not work: jni.h not found
For now I will stay with changing CFLAGS; ugly, but works!
Thanks all for the support!



On 10/10/12 08:40, Jaap de Jong wrote:

On 10/09/2012 07:51 AM, Martin Ertsås wrote:

As you are using icedtea6, I guess DEPENDS += icedtea6 should do it.

- Martin

I thought that might do the trick, but...
 ERROR: Nothing PROVIDES 'icedtea6'
So I tried
 DEPENDS += icedtea6-native
and that ends with
 jni.h: No such file or directory

Any other ideas?


On 10/08/12 16:49, Jaap de Jong wrote:

On 10/08/2012 04:05 PM, Khem Raj wrote:

On Mon, Oct 8, 2012 at 4:18 AM, Jaap de Jong jaap.dej...@nedap.com
wrote:

Hi All!
probably a stupid question... my apologies!
If a source I'm working on #include jni.h what do I need to add in a
recipe
to get it translated?

DEPENDS += openjdk or something like that which denotes jdk


Tried
  DEPENDS += openjdk
unfortunately errors out with
  ERROR: Nothing PROVIDES 'openjdk'

Tried with
  DEPENDS += openjdk-6
but that errors out with
  fatal error: jni.h: No such file or directory

So finally I ended up adding this:
  CFLAGS += -I${STAGING_LIBDIR_NATIVE}/jvm/icedtea6-native/include
-I${STAGING_LIBDIR_NATIVE}/jvm/icedtea6-native/include/linux
But that just looks so ugly...



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel





___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] jni.h included

2012-10-08 Thread Jaap de Jong

Hi All!
probably a stupid question... my apologies!
If a source I'm working on #include jni.h what do I need to add in a 
recipe to get it translated?

Thanks!
Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] jni.h included

2012-10-08 Thread Jaap de Jong


On 10/08/2012 04:05 PM, Khem Raj wrote:

On Mon, Oct 8, 2012 at 4:18 AM, Jaap de Jong jaap.dej...@nedap.com wrote:

Hi All!
probably a stupid question... my apologies!
If a source I'm working on #include jni.h what do I need to add in a recipe
to get it translated?

DEPENDS += openjdk or something like that which denotes jdk


Tried
DEPENDS += openjdk
unfortunately errors out with
ERROR: Nothing PROVIDES 'openjdk'

Tried with
DEPENDS += openjdk-6
but that errors out with
fatal error: jni.h: No such file or directory

So finally I ended up adding this:
CFLAGS += -I${STAGING_LIBDIR_NATIVE}/jvm/icedtea6-native/include 
-I${STAGING_LIBDIR_NATIVE}/jvm/icedtea6-native/include/linux

But that just looks so ugly...



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] release

2012-07-18 Thread Jaap de Jong

On 07/17/2012 10:51 PM, Henning Heinold wrote:

On Tue, Jul 17, 2012 at 03:17:47PM +0200, Jaap de Jong wrote:

Hi All,
are there any plans for an oe-core release?
Is the software already stable enough to create one?
Thanks!
Jaap

Hi Jaap,

looks like you are niot subscribed at the oe-core mailing list, otherwise
you would know about the release in the neat future.

Bye Henning


Shame on me :-)
Will check there...

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] release

2012-07-17 Thread Jaap de Jong

Hi All,
are there any plans for an oe-core release?
Is the software already stable enough to create one?
Thanks!
Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] openjdk-7

2012-05-29 Thread Jaap de Jong

On 05/25/2012 04:13 PM, Henning Heinold wrote:

On Fri, May 25, 2012 at 02:00:07PM +0200, Jaap de Jong wrote:

Hi all,

I've seen openjdk-7 in oe-core meta-java.
ANy plans to backport it to 2011.03-maintanance?

Thanks!
Jaap

Not for free in my spare time.

Bye Henning


I can try to do it myself first.
If you are willing to give some advice for free :-)
What would be the best approach?
I made a start on it by copying some of the files out of meta-java 
(openjdk-7 branch) and put them into the 2011.03 (oe-classic) branch.

Translation stops at some point though.

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] openjdk-7

2012-05-25 Thread Jaap de Jong

Hi all,

I've seen openjdk-7 in oe-core meta-java.
ANy plans to backport it to 2011.03-maintanance?

Thanks!
Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] update from 2010.12 to 2011.03

2012-05-22 Thread Jaap de Jong



I have this device in the field with 2010.12 installed (glibc)
Suppose I'm going to upgrade it to 2011.03 (eglibc).
Is this possible at all?
Or should I stay with glibc based packages

Glibc and eglibc are totally compatible so I don't see a reason why it
won't work you will see ant upgrade related
issues as you would see if you were to upgrade from say glibc 2.10 to 2.1

Well, I tried upgrading from glibc-2010.12 to eglibc-2011.03 ... and failed.
Then I thought maybe they weren't that compatible.

///
Upgrading opkg on root from 0.1.8+svnr554-r31.6 to 
0.1.8+svnr609-r51.9...
Downloading 
http://myrepository/ipk/armv5te/opkg_0.1.8+svnr609-r51.9_armv5te.ipk.
Upgrading libopkg0 on root from 0.1.8+svnr554-r31.6 to 
0.1.8+svnr609-r51.9...
Downloading 
http://myrepository/ipk/armv5te/libopkg0_0.1.8+svnr609-r51.9_armv5te.ipk.

Removing obsolete file /etc/rcS.d/S98configure.
Upgrading wget on root from 1.11.4-r8.05.6 to 1.11.4-r8.05.9...
Downloading 
http://myrepository/ipk/armv5te/wget_1.11.4-r8.05.9_armv5te.ipk.

Upgrading libssl1.0.0 on root from 1.0.0b-r13.1.6 to 1.0.0e-r15.0.9...
Downloading 
http://myrepository/ipk/armv5te/libssl1.0.0_1.0.0e-r15.0.9_armv5te.ipk.
wget: /usr/lib/libssl.so.1.0.0: version `OPENSSL_0.9.8' not found 
(required by wget)
wget: /usr/lib/libcrypto.so.1.0.0: version `OPENSSL_1.0.0' not 
found (required by /usr/lib/libssl.so.1.0.0)
wget: /usr/lib/libssl.so.1.0.0: version `OPENSSL_0.9.8' not found 
(required by wget)
wget: /usr/lib/libcrypto.so.1.0.0: version `OPENSSL_1.0.0' not 
found (required by /usr/lib/libssl.so.1.0.0)

///

So, I build glibc based repository and surprise, surprise...
same error!

///
Upgrading libopkg0 on root from 0.1.8+svnr554-r31.6 to 
0.1.8+svnr609-r51.9...
Downloading 
http://myrepository/ipk/armv5te/libopkg0_0.1.8+svnr609-r51.9_armv5te.ipk.

Removing obsolete file /etc/rcS.d/S98configure.
Upgrading wget on root from 1.11.4-r8.05.6 to 1.11.4-r8.05.9...
Downloading 
http://myrepository/ipk/armv5te/wget_1.11.4-r8.05.9_armv5te.ipk.

Upgrading libssl1.0.0 on root from 1.0.0b-r13.1.6 to 1.0.0e-r15.0.9...
Downloading 
http://myrepository/ipk/armv5te/libssl1.0.0_1.0.0e-r15.0.9_armv5te.ipk.
wget: /usr/lib/libssl.so.1.0.0: version `OPENSSL_0.9.8' not found 
(required by wget)
wget: /usr/lib/libcrypto.so.1.0.0: version `OPENSSL_1.0.0' not 
found (required by /usr/lib/libssl.so.1.0.0)
wget: /usr/lib/libssl.so.1.0.0: version `OPENSSL_0.9.8' not found 
(required by wget)
wget: /usr/lib/libcrypto.so.1.0.0: version `OPENSSL_1.0.0' not 
found (required by /usr/lib/libssl.so.1.0.0)

///

Any hint is appreciated!
Jaap



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] openssl (2011.03) on ubuntu 12.04

2012-05-21 Thread Jaap de Jong

Hi All!
anybody ran into this error?
Looks like a path missing or so.
(I'm building 2011.03 from ground op on a fresh ubuntu 12.04)
If needed I can sent the complete log
Thanks!
Jaap


gcc -DMONOLITH -I.. -I../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS 
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO   -Wall  
-Wa,--noexecstack -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 
-DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM 
-DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM 
-isystem/media/OpenEmbedded/oe/develop/build/tmp_angstrom_2008_1/sysroots/i686-linux/usr/include  
-c -o openssl.o openssl.c

rm -f openssl
shlib_target=; if [ -n libcrypto.so.1.0.0 libssl.so.1.0.0 ]; then \
shlib_target=linux-shared; \
fi; \
LIBRARIES=-L.. -lssl  -L.. -lcrypto ; \
make -f ../Makefile.shared -e \
APPNAME=openssl OBJECTS=openssl.o verify.o asn1pars.o req.o 
dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o 
crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o 
genrsa.o gendsa.o genpkey.o s_server.o s_client.o speed.o s_time.o 
apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o 
pkcs12.o pkcs8.o pkey.o pkeyparam.o pkeyutl.o spkac.o smime.o cms.o 
rand.o engine.o ocsp.o prime.o ts.o \

LIBDEPS= $LIBRARIES -lgcc -ldl \
link_app.${shlib_target}
make[2]: Entering directory 
`/media/OpenEmbedded/oe/develop/build/tmp_angstrom_2008_1/work/i686-linux/openssl-native-1.0.0b-r13.1/openssl-1.0.0b/apps'

openssl.o: In function `main':
openssl.c:(.text+0x199): undefined reference to `BIO_s_file'
openssl.c:(.text+0x1a1): undefined reference to `BIO_new'
openssl.c:(.text+0x1e1): undefined reference to `BIO_ctrl'
openssl.c:(.text+0x231): undefined reference to `CRYPTO_dbg_get_options'
openssl.c:(.text+0x23b): undefined reference to `CRYPTO_dbg_set_options'
openssl.c:(.text+0x245): undefined reference to `CRYPTO_dbg_free'
openssl.c:(.text+0x24f): undefined reference to `CRYPTO_dbg_realloc'
openssl.c:(.text+0x259): undefined reference to `CRYPTO_dbg_malloc'
openssl.c:(.text+0x261): undefined reference to 
`CRYPTO_set_mem_debug_functions'
openssl.c:(.text+0x26d): undefined reference to 
`CRYPTO_set_mem_debug_options'
openssl.c:(.text+0x29b): undefined reference to 
`CRYPTO_set_mem_debug_functions'

openssl.c:(.text+0x2a7): undefined reference to `CRYPTO_mem_ctrl'
openssl.c:(.text+0x2b5): undefined reference to 
`CRYPTO_set_locking_callback'

openssl.c:(.text+0x2eb): undefined reference to `CRYPTO_set_mem_functions'
openssl.c:(.text+0x2f0): undefined reference to `ERR_load_crypto_strings'
openssl.c:(.text+0x2f5): undefined reference to 
`OPENSSL_add_all_algorithms_noconf'
openssl.c:(.text+0x2fa): undefined reference to 
`ENGINE_load_builtin_engines'



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] update from 2010.12 to 2011.03

2012-05-21 Thread Jaap de Jong

Hi everybody!
I have this device in the field with 2010.12 installed (glibc)
Suppose I'm going to upgrade it to 2011.03 (eglibc).
Is this possible at all?
Or should I stay with glibc based packages?
Thanks,
Jaap


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] llvm fails to build

2012-05-03 Thread Jaap de Jong

Hi all,

trying to compile openjdk-6, it fails with:

| 
/media/OpenEmbedded/oe-core/build/tmp-angstrom_2010_x-eglibc/work/armv5te-angstrom-linux-gnueabi/llvm2.8-2.8-r0/llvm-2.8/lib/ExecutionEngine/JIT/Intercept.cpp: 
In constructor '{anonymous}::StatSymbols::StatSymbols()':
| 
/media/OpenEmbedded/oe-core/build/tmp-angstrom_2010_x-eglibc/work/armv5te-angstrom-linux-gnueabi/llvm2.8-2.8-r0/llvm-2.8/lib/ExecutionEngine/JIT/Intercept.cpp:69:67: 
error: 'lseek64' was not declared in this scope
| make[2]: *** 
[lib/ExecutionEngine/JIT/CMakeFiles/LLVMJIT.dir/Intercept.cpp.o] Error 1
| make[2]: Leaving directory 
`/media/OpenEmbedded/oe-core/build/tmp-angstrom_2010_x-eglibc/work/armv5te-angstrom-linux-gnueabi/llvm2.8-2.8-r0/llvm-2.8/build'

| make[1]: *** [lib/ExecutionEngine/JIT/CMakeFiles/LLVMJIT.dir/all] Error 2
| make[1]: *** Waiting for unfinished jobs

I'm using master branches.
Is this a known issue?
Any ideas how to solve?

Thanks,
Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] llvm fails to build

2012-05-03 Thread Jaap de Jong

Thanks!
That helps a lot!!
Unfortunately I'm not familiar with submitting the patch... (shame on 
me! You may sent me a link for the howto)

However this is the patch I used

   diff --git a/llvm-2.8/lib/ExecutionEngine/JIT/Intercept.cpp
   b/llvm-2.8/lib/ExecutionEngine/JIT/Intercept.cpp
   index 274f816..a4e7eee 100644
   --- a/llvm-2.8/lib/ExecutionEngine/JIT/Intercept.cpp
   +++ b/llvm-2.8/lib/ExecutionEngine/JIT/Intercept.cpp
   @@ -19,6 +19,7 @@
 #include llvm/Support/ErrorHandling.h
 #include llvm/System/DynamicLibrary.h
 #include llvm/Config/config.h
   +#include unistd.h
 using namespace llvm;

 // AtExitHandlers - List of functions to call when the program exits,

Thanks again,
Jaap

On 05/03/2012 09:26 AM, Khem Raj wrote:

On Wed, May 2, 2012 at 11:33 PM, Jaap de Jongjaap.dej...@nedap.com  wrote:

Hi all,

trying to compile openjdk-6, it fails with:

|
/media/OpenEmbedded/oe-core/build/tmp-angstrom_2010_x-eglibc/work/armv5te-angstrom-linux-gnueabi/llvm2.8-2.8-r0/llvm-2.8/lib/ExecutionEngine/JIT/Intercept.cpp:
In constructor '{anonymous}::StatSymbols::StatSymbols()':
|
/media/OpenEmbedded/oe-core/build/tmp-angstrom_2010_x-eglibc/work/armv5te-angstrom-linux-gnueabi/llvm2.8-2.8-r0/llvm-2.8/lib/ExecutionEngine/JIT/Intercept.cpp:69:67:
error: 'lseek64' was not declared in this scope
| make[2]: ***
[lib/ExecutionEngine/JIT/CMakeFiles/LLVMJIT.dir/Intercept.cpp.o] Error 1
| make[2]: Leaving directory
`/media/OpenEmbedded/oe-core/build/tmp-angstrom_2010_x-eglibc/work/armv5te-angstrom-linux-gnueabi/llvm2.8-2.8-r0/llvm-2.8/build'
| make[1]: *** [lib/ExecutionEngine/JIT/CMakeFiles/LLVMJIT.dir/all] Error 2
| make[1]: *** Waiting for unfinished jobs

I'm using master branches.
Is this a known issue?
Any ideas how to solve?

you are using gcc 4.7 I guess. Fix is to add #includeunistd.h  in
Intercept.cpp
if that works then submit it to meta-java

Thanks,
Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] how to rebuild packages

2012-05-03 Thread Jaap de Jong

Probably a total stupid question...

In oe-classic I used to use

bitbake -c clean packageX
bitbake packageX

This does not seem to work on oe-core.
Even removing the directory 
build/tmp-angstrom_2010_x-eglibc/work/armv5te-angstrom-linux-gnueabi/packageX*

does not help...
What is the way to do this?
Thanks,
Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [oe-core] THISDIR usage

2012-04-11 Thread Jaap de Jong

There is no file named: myfile.tar.gz
That it can't be found by bitbake is pretty clear then...


On 04/11/2012 02:49 PM, Giuseppe Condorelli wrote:

I'm obtaining this error trying to rebuild the poky-edison repository
(http://downloads.yoctoproject.org/releases/yocto/yocto-1.1.1/poky-edison-6.
0.1.tar.bz2)
and the error is happening trying to build quilt-native package (indeed I'm
running ../script/bitbake -k core-image-sato), where I passed the tar.gz
directly using the instructions below.

This is the output of tree meta-yocto (snipped)

meta-yocto
 recipes-devtools
  quilt
   files
quilt-0.48.tar.gz
quilt-native_0.48.bbappend

Best Regards,
Giuseppe


-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of Gary
Thomas
Sent: mercoledì 11 aprile 2012 13:06
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [oe-core] THISDIR usage

On 2012-04-11 04:52, Giuseppe Condorelli wrote:

Many thanks for the reply, I tried the suggestion but I obtained this:

Unable to fetch URL file://myfile.tar.gz from any source

What's happening?

Does your layer look like the pseudo tree quoted below?  Can you send the
results of 'tree meta-giuseppe'?

One way to get a glimpse of where bitbake is looking for your file is to use
strace (GIANT hammer) like this:
   % strace -o /tmp/xx.bb -f bitbake some-recipe
   % grep myfile.tar.gz /tmp/xx.bb
This way you can see the paths being searched.


Il giorno mercoledì 11 aprile 2012, Gary Thomas ha scritto:


On 2012-04-11 04:23, Giuseppe Condorelli wrote:


Hi, I moved to OE-Core (working on stable version dowloaded as tar
file from cgit.openembedded.org).
I'm in trouble trying to include a source through .bbappend file,

located

under my meta-personalsubtree.

FILESPATHBASE_prepend := ${THISDIR}/files:
SRC_URI += file://myfile.tar.gz

results in a no such file or directory. Please can you tell me if
I'm missing anything?


Assuming your tree looks something like this [partial]:

  meta-giuseppe:
recipes:
  some-recipe:
some-recipe_1.2.3.bbappend
files:
  myfile.tar.gz

Try using this instead
  FILESEXTRAPATHS_prepend := ${THISDIR}/files:

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] foreign repository

2012-03-26 Thread Jaap de Jong

Anyone?
Any idea?



On 03/22/2012 02:27 PM, Jaap de Jong wrote:

Hi All!

I have this repository filled with about 50 packages.
It is not created with openembedded.
Still I would like to include them in my rootfs.
What are my options?

Thanks!
Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] foreign repository

2012-03-26 Thread Jaap de Jong

Thanks!

It was never my intention to create new recipes for all the packages 
that are in this foreign repository.
I would have to update every 2 weeks or so to keep in sync with that 
repository.

Don't want that!

I only want to install the package that is in that repository and its 
dependencies.


This is what I did.
Added the foreign repository in: angstrom-feed-configs.bbappend
So with 'opkg update' it is read.
Created an empty 'placeholder' recipe for the package to include.
When I bitbake my image this empty package is included in the rootfs.
Now i only have to 'opkg update/upgrade' to get the actual packages in.
This is by far the easiest solution (I think...)

Thanks again!
Jaap


On 03/26/2012 12:31 PM, Sergey Lapin wrote:

On Mon, Mar 26, 2012 at 1:57 PM, Jaap de Jongjaap.dej...@nedap.com  wrote:

Anyone?
Any idea?

You can read OE wiki regarding overlays/layers.
Also, you can use Koen's Angstrom scripts for no-brains configuration process.
Also, bitbake manual and OE existing layers are your friends.

S.

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] foreign repository

2012-03-22 Thread Jaap de Jong

Hi All!

I have this repository filled with about 50 packages.
It is not created with openembedded.
Still I would like to include them in my rootfs.
What are my options?

Thanks!
Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] remove dbg and dev packages

2012-03-20 Thread Jaap de Jong

On 03/19/2012 04:54 PM, Mark Hatle wrote:

On 3/16/12 3:54 AM, Jaap de Jong wrote:

Hi!

is there an option (in local.conf?) to not build (or not add to the
repository of) the dbg and dev packages?

You have to build the dev packages, otherwise you can't (cross) compile the
software in the development environment.

Clear!


The dbg packages are optional, but if you disable them then things may or may
not be stripped and the filesizes on the target may increase.  (It's been a
while since I tried it w/o dbg packages...)

Don't want that.


Is there a reason why you don't want the dev and dbg packages to be generated?
They should only be installed onto a target filesystem if you've requested them
(or a package has a dependency on them).  Normal, non-dev, filesystems shouldn't
be installed any of those components... if they are, there is a packaging bug in
something.
The only simple reason is to keep the repository's and the Packages* 
files smaller.


Thanks for your comments!

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] remove dbg and dev packages

2012-03-19 Thread Jaap de Jong

That was my first guess too.
If I remove them from the build/deploy/glibc/ipk/* directories and then 
do 'bitbake package-index' that would do the trick?

But I would have to remove them after every package I build...

On 03/16/2012 02:33 PM, Henning Heinold wrote:

On Fri, Mar 16, 2012 at 09:54:15AM +0100, Jaap de Jong wrote:

Hi!

is there an option (in local.conf?) to not build (or not add to the
repository of) the dbg and dev packages?

Thanks!
Jaap


Why dont write a shell skript which deletes all dbg and dev packages and calles 
the opkg index command afterwards?

Bye Henning

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] remove dbg and dev packages

2012-03-16 Thread Jaap de Jong

Hi!

is there an option (in local.conf?) to not build (or not add to the 
repository of) the dbg and dev packages?


Thanks!
Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [oe-classic][PATCH 00/12] openjdk

2012-02-20 Thread Jaap de Jong

What would be the best approach to backport to 2010.12?
I volunteer to backport and do some testing...

On 02/19/2012 07:44 PM, Henning Heinold wrote:

On Sat, Feb 18, 2012 at 04:27:34PM -0800, Khem Raj wrote:

On (18/02/12 22:20), Henning Heinold wrote:

Hi,

in good old tradition I send this patches for review against
older openembedded.dev branch. It makes openjdk buildable
again and updates it to version 1.11.1.
Work was sponsored by Koan s.a.s. If nobody objects I will
commit it on monday.

the patches look sane. Two things I would think will be nice is
1. are these patches needed on 2011.03 branch ? if yes please submit
the pull request for the maintenance branch too

When there is someone who needs them in 2011.03 he can test and make a pull 
request.


2. Are any of these patches needed for meta-java or any other
layer then they should be forwarded ported to respective layer
as well

As beeing the meta-java maintainer only the 1.11.1 recipe will be soon in 
meta-oe,
when I find the time.

Bye Henning

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] build error

2012-01-25 Thread Jaap de Jong



On 01/25/2012 09:07 AM, Martin Jansa wrote:

On Wed, Jan 25, 2012 at 08:50:32AM +0100, Jaap de Jong wrote:

Hi,
not sure if this is the right list...
Running into a failure:

 MACHINE=at91sam9263ek bitbake console-image-base
 //
 //
 | + rm -f
 
/media/OpenEmbedded/oe-core/build/tmp-eglibc/work/at91sam9263ek-oe-linux-gnueabi/core-image-base-1.0-r0/rootfs/var/lib/opkg/lists/oe
 
/media/OpenEmbedded/oe-core/build/tmp-eglibc/work/at91sam9263ek-oe-linux-gnueabi/core-image-base-1.0-r0/rootfs/var/lib/opkg/lists/oe-all
 
/media/OpenEmbedded/oe-core/build/tmp-eglibc/work/at91sam9263ek-oe-linux-gnueabi/core-image-base-1.0-r0/rootfs/var/lib/opkg/lists/oe-armv5te
 
/media/OpenEmbedded/oe-core/build/tmp-eglibc/work/at91sam9263ek-oe-linux-gnueabi/core-image-base-1.0-r0/rootfs/var/lib/opkg/lists/oe-at91sam9263ek

 | + true
 | + '[' -eq 0 ']'
 |
 
/media/OpenEmbedded/oe-core/build/tmp-eglibc/work/at91sam9263ek-oe-linux-gnueabi/core-image-base-1.0-r0/temp/run.do_rootfs.20251:
 line 214: [: -eq: unary operator expected
 | + set +x
 | log_check: Using
 
/media/OpenEmbedded/oe-core/build/tmp-eglibc/work/at91sam9263ek-oe-linux-gnueabi/core-image-base-1.0-r0/temp/log.do_rootfs.20251
 as logfile

 213if true; then
 214if [ $runtime_script_required -eq 0 ]; then
 215# All packages were successfully configured.
 216# update-rc.d, base-passwd are no further use, remove
 them now


No error when:

 MACHINE=at91sam9263ek bitbake console-image-base

try this
http://patchwork.openembedded.org/patch/20111/

That helped!
A bit... until the next error

   | Configuring task-base-extended.
   | Configuring run-postinsts.
   | Collected errors:
   |  * extract_archive: Cannot create symlink from ./var/run to
   'volatile/run': File exists.
   | + '[' '!' -z '' ']'
   | + package_tryout_install_multilib_ipk
   | + multilib_tryout_dirs=

Which is true:

   $ ll
   
/media/OpenEmbedded/oe-core/build/tmp-eglibc/work/at91sam9263ek-oe-linux-gnueabi/core-image-base-1.0-r0/rootfs/var/
   total 40
   drwxr-xr-x 2 jdj jdj 4096 2012-01-24 13:45 backups
   drwxr-xr-x 2 jdj jdj 4096 2012-01-24 13:45 cache
   drwxr-xr-x 6 jdj jdj 4096 2012-01-25 09:27 lib
   drwxr-sr-x 2 jdj jdj 4096 2012-01-24 13:45 local
   drwxr-xr-x 3 jdj jdj 4096 2012-01-25 09:26 lock
   drwxr-xr-x 2 jdj jdj 4096 2012-01-24 13:45 log
   drwxr-xr-x 2 jdj jdj 4096 2012-01-24 13:45 run
   drwxr-xr-x 3 jdj jdj 4096 2012-01-25 09:26 spool
   drwxr-xr-x 2 jdj jdj 4096 2012-01-24 13:45 tmp
   drwxr-xr-x 7 jdj jdj 4096 2012-01-24 13:39 volatile

   $ ll
   
/media/OpenEmbedded/oe-core/build/tmp-eglibc/work/at91sam9263ek-oe-linux-gnueabi/core-image-base-1.0-r0/rootfs/var/volatile/
   total 20
   drwxr-xr-x 2 jdj jdj 4096 2012-01-24 13:45 cache
   drwxrwxrwt 3 jdj jdj 4096 2012-01-25 09:26 lock
   drwxr-xr-x 2 jdj jdj 4096 2012-01-24 13:45 log
   drwxr-xr-x 3 jdj jdj 4096 2012-01-25 09:26 run
   drwxrwxrwt 2 jdj jdj 4096 2012-01-24 13:45 tmp

Any ideas?
Jaap


Cheers,


Thanks!
Jaap
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] build error

2012-01-24 Thread Jaap de Jong

Sorry!
Last line should read

   MACHINE=at91sam9263ek bitbake console-image-minimal



On 01/25/2012 08:50 AM, Jaap de Jong wrote:

Hi,
not sure if this is the right list...
Running into a failure:

MACHINE=at91sam9263ek bitbake console-image-base
//
//
| + rm -f

/media/OpenEmbedded/oe-core/build/tmp-eglibc/work/at91sam9263ek-oe-linux-gnueabi/core-image-base-1.0-r0/rootfs/var/lib/opkg/lists/oe

/media/OpenEmbedded/oe-core/build/tmp-eglibc/work/at91sam9263ek-oe-linux-gnueabi/core-image-base-1.0-r0/rootfs/var/lib/opkg/lists/oe-all

/media/OpenEmbedded/oe-core/build/tmp-eglibc/work/at91sam9263ek-oe-linux-gnueabi/core-image-base-1.0-r0/rootfs/var/lib/opkg/lists/oe-armv5te

/media/OpenEmbedded/oe-core/build/tmp-eglibc/work/at91sam9263ek-oe-linux-gnueabi/core-image-base-1.0-r0/rootfs/var/lib/opkg/lists/oe-at91sam9263ek

| + true
| + '[' -eq 0 ']'
|

/media/OpenEmbedded/oe-core/build/tmp-eglibc/work/at91sam9263ek-oe-linux-gnueabi/core-image-base-1.0-r0/temp/run.do_rootfs.20251:
line 214: [: -eq: unary operator expected
| + set +x
| log_check: Using

/media/OpenEmbedded/oe-core/build/tmp-eglibc/work/at91sam9263ek-oe-linux-gnueabi/core-image-base-1.0-r0/temp/log.do_rootfs.20251
as logfile

213if true; then
214if [ $runtime_script_required -eq 0 ]; then
215# All packages were successfully configured.
216# update-rc.d, base-passwd are no further use,
remove them now


No error when:

MACHINE=at91sam9263ek bitbake console-image-base

Thanks!
Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] build error

2012-01-24 Thread Jaap de Jong

Hi,
not sure if this is the right list...
Running into a failure:

   MACHINE=at91sam9263ek bitbake console-image-base
   //
   //
   | + rm -f
   
/media/OpenEmbedded/oe-core/build/tmp-eglibc/work/at91sam9263ek-oe-linux-gnueabi/core-image-base-1.0-r0/rootfs/var/lib/opkg/lists/oe
   
/media/OpenEmbedded/oe-core/build/tmp-eglibc/work/at91sam9263ek-oe-linux-gnueabi/core-image-base-1.0-r0/rootfs/var/lib/opkg/lists/oe-all
   
/media/OpenEmbedded/oe-core/build/tmp-eglibc/work/at91sam9263ek-oe-linux-gnueabi/core-image-base-1.0-r0/rootfs/var/lib/opkg/lists/oe-armv5te
   
/media/OpenEmbedded/oe-core/build/tmp-eglibc/work/at91sam9263ek-oe-linux-gnueabi/core-image-base-1.0-r0/rootfs/var/lib/opkg/lists/oe-at91sam9263ek

   | + true
   | + '[' -eq 0 ']'
   |
   
/media/OpenEmbedded/oe-core/build/tmp-eglibc/work/at91sam9263ek-oe-linux-gnueabi/core-image-base-1.0-r0/temp/run.do_rootfs.20251:
   line 214: [: -eq: unary operator expected
   | + set +x
   | log_check: Using
   
/media/OpenEmbedded/oe-core/build/tmp-eglibc/work/at91sam9263ek-oe-linux-gnueabi/core-image-base-1.0-r0/temp/log.do_rootfs.20251
   as logfile

   213if true; then
   214if [ $runtime_script_required -eq 0 ]; then
   215# All packages were successfully configured.
   216# update-rc.d, base-passwd are no further use, remove
   them now


No error when:

   MACHINE=at91sam9263ek bitbake console-image-base

Thanks!
Jaap
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] Plans for OE classic future

2011-11-01 Thread Jaap de Jong

On 11/01/2011 02:00 AM, Denys Dmytriyenko wrote:

On Tue, Nov 01, 2011 at 01:38:33AM +0100, Ulf Samuelsson wrote:

2011-10-27 14:27, Martin Jansa skrev:

On Thu, Oct 27, 2011 at 01:56:43PM +0200, Henning Heinold wrote:

On Thu, Oct 27, 2011 at 10:53:13AM +, Mats K?rrman wrote:

Hi,

Are there any plans for new releases and/or maintenance branches of OE
classic?

BR / Mats

Hi,

http://cgit.openembedded.org/openembedded/log/?h=org.openembedded.dev

and

http://cgit.openembedded.org/openembedded/log/?h=2011.03-maintenance

Bye Henning

Are you showing that maintenance ibranch is not so old and that only few
things changed in old OE-classic since then? :)

Afaik: nobody plans to do another release from OE-classic and
oe-core/meta-oe/BSP's/... are veryclose to first release

What repository is used for the BSP's ?

Each BSP in own repository - http://www.openembedded.org/wiki/LayerIndex


Does anybody know where the atmel boards are? (at91sam9263ek)

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] Creating an ejre receipe

2011-10-26 Thread Jaap de Jong

I added a few lines for mine version

   # no gnu_hash in any file, so skip QA...
   INSANE_SKIP_${PN} = True

   inherit update-alternatives

   ALTERNATIVE_NAME = java
   ALTERNATIVE_PATH = ${libdir}/jvm/java-6-sun/jre/bin/java
   ALTERNATIVE_PRIORITY = 4



On 10/25/2011 09:23 PM, itodroid wrote:

Greetings all.  I'm not sure of the frequency of posting to this list, but I
thought I would ask all of you a question regarding creating a recipe for
Oracle/Sun's embedded JRE.  I can't seem to figure out the syntax needed to
create an appropriate recipe for automatically including the ejre in my
image.

Everytime I try to bitbake, my deployment packet (ipk) is  1000 bytes.  In
other words, I think its empty.  The recipe should simply untar the .tar.gz
file and put it into a format that can be distributed into the sysroot (I'm
picking /usr/java for its destination).  I'd appreciate any
feedback/comments/fixes to the following:

DESCRIPTION = Oracle/Sun Embedded JRE
PV = 1.6.0
PR = 27
SRC_URI =
file://ejre-1_6_0_27-fcs-b07-linux-arm-vfp-eabi-headless-18_jul_2011.tar.gz


S = ${WORKDIR}

SRC_URI[md5sum]=b30175c5168e1df394bc79474583f2a3
SRC_URI[sha256sum]=d8b02bd16c95435d9c460cea060bc10b6eda00a2e8864d6412074903
dd73243c

do_compile() {
}

do_install() {
   install -d ${D}/usr/java
   cp -R ${S}/ejre${PV}_${PR}/* ${D}/usr/java
}

do_qa_staging() {
}

do_package_qa() {
}

FILES_${PN} =  \
   ${D}/usr/java/* \


PACKAGE = ${PN}


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] exclude (r)depends

2011-08-04 Thread Jaap de Jong

Hi All,
this is probably simple but I don't know how.
I've build a simple recipe.
Bitbake figures it depends on libsqlite0 and libsqlite3-0; which is 
correct by the way...

For some reason I don't want the dependencies in the ipk file.
Is there some flag for this?
Thanks!
Jaap


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] exclude (r)depends

2011-08-04 Thread Jaap de Jong

On 08/04/2011 12:07 PM, Paul Eggleton wrote:

On Thursday 04 August 2011 10:46:53 Jaap de Jong wrote:

I've build a simple recipe.
Bitbake figures it depends on libsqlite0 and libsqlite3-0; which is
correct by the way...
For some reason I don't want the dependencies in the ipk file.
Is there some flag for this?

There's no flag for this because just taking away the shlibdeps-generated
RDEPEND will almost certainly break the application/library at runtime. There
are a few correct ways to solve it:

1) If the part of the binary output that needs sqlite is a plugin or otherwise
optional module, just put it into a separate package (e.g. using
PACKAGES_prepend = ${PN}-sqlitemodule then FILES_${PN}-sqlitemodule =
${libdir}/libsomethingsqlite.so.*. Then your main package (${PN}) should not
depend on sqlite anymore, as long as it doesn't have a hard dependency on the
sqlite-using module.
2) Disable the sqlite dependency during configure, or if that can't be done,
patch the source to acheive the same effect.

3) Depending on how complex the program is, with extra effort you could patch
the source to turn it into an optional runtime dependency by using dlopen(3)
instead of linking to sqlite during the build.

Probably the easiest way for me is to remove the specific *.so files 
after building.

Thanks for your support!

Jaap


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] ptpd: added recipe for v1.1.0.

2011-08-04 Thread Jaap de Jong

On 08/04/2011 03:32 PM, Chris Verges wrote:

Signed-off-by: Chris Vergeskg4...@gmail.com
---
  meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb |   19 +++
  1 files changed, 19 insertions(+), 0 deletions(-)
  create mode 100644 meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb

diff --git a/meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb 
b/meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb
new file mode 100644
index 000..87e0a69
--- /dev/null
+++ b/meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = Precision Time Protocol (PTP) as defined by the IEEE 1588 
standard
+HOMEPAGE = http://sourceforge.net/projects/ptpd;
+LICENSE = BSD
+SECTION = network
+PR = r1
+
+SRC_URI = ${SOURCEFORGE_MIRROR}/project/ptpd/ptpd/${PV}/ptpd-${PV}.tar.gz
+
+S = ${WORKDIR}/ptpd-${PV}/src
+
+do_install() {
+install -d ${D}${bindir} ${D}${mandir}/man8
+install -m 4555 ptpd ${D}${bindir}
+install -m 644 ptpd.8 ${D}${mandir}/man8
+}
+
+SRC_URI[md5sum] = faa4823576dd49ccc94b741ff32b03f5
+SRC_URI[sha256sum] = 
a7c6ea83bd53da75ae04a7b7a25fe7c597b4e9ff1f93d46f4502e3fa8a2cb950
+



Why not jump to version 2.1.0 right away...


DESCRIPTION = Precision Time Protocol (PTP) as defined by the IEEE 1588 
standard

HOMEPAGE = http://sourceforge.net/projects/ptpd;
LICENSE = BSD
SECTION = network
PR = r0

SRC_URI =  \
http://downloads.sourceforge.net/project/ptpd/ptpd/${PV}/${P}.tar.gz \


S = ${WORKDIR}/${P}/src

CFLAGS += -Dlinux
LDFLAGS += -lm -lrt

do_install() {
install -d ${D}${bindir}
install -m 4555 ptpd2 ${D}${bindir}

install -d ${D}${mandir}/man8
install -m 644 ptpd.8 ${D}${mandir}/man8
}

SRC_URI[md5sum] = 9c2ba065476f3377a0b380a56c9dd8c9
SRC_URI[sha256sum] = 
80f271a58d2751824c8448a08178053a712aad1cc74d29250c0d6bf23ad12c00





___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] bblayers and PRINC

2011-08-01 Thread Jaap de Jong

Hi All,

if created my own udev_151.bbappend to change some of the files in the 
original package:


   THISDIR := ${@os.path.dirname(bb.data.getVar('FILE', d, True))}
   FILESPATHBASE_prepend := ${THISDIR}/${PN}-${PV}:

   #PRINC = 1
   PR .= .1

PRINC doesn't seem to work.
So I tried to fool around with PR and PR_append; It works ok with my 
other bbappend recipes.

bitbake base-image fails!
If I look at the udev files/directories created I see ipk's without '.1' 
and 2 directories: 1 with and 1 without '.1'

(I removed everything before)

   
build/tmp-angstrom_2008_1/deploy/glibc/ipk/armv5te/udev-dbg_151-r21.6_armv5te.ipk
   
build/tmp-angstrom_2008_1/deploy/glibc/ipk/armv5te/udev-dev_151-r21.6_armv5te.ipk

   build/tmp-angstrom_2008_1/work/armv5te-angstrom-linux-gnueabi/udev-151-r21
   build/tmp-angstrom_2008_1/work/armv5te-angstrom-linux-gnueabi/udev-151-r21.1

Without PR .= .1 I get more files:

   build/tmp-angstrom_2008_1/deploy/glibc/ipk/armv5te/udev_151-r21.6_armv5te.ipk
   
build/tmp-angstrom_2008_1/deploy/glibc/ipk/armv5te/udev-dbg_151-r21.6_armv5te.ipk
   
build/tmp-angstrom_2008_1/deploy/glibc/ipk/armv5te/udev-dev_151-r21.6_armv5te.ipk
   
build/tmp-angstrom_2008_1/deploy/glibc/ipk/armv5te/udev-doc_151-r21.6_armv5te.ipk
   
build/tmp-angstrom_2008_1/deploy/glibc/ipk/armv5te/udev-utils_151-r21.6_armv5te.ipk

   build/tmp-angstrom_2008_1/work/armv5te-angstrom-linux-gnueabi/udev-151-r21

Any ideas?

Jaap


Build Configuration:
BB_VERSION= 1.12.0
METADATA_BRANCH   = release-2010.12
METADATA_REVISION = dec3967
TARGET_ARCH   = arm
TARGET_OS = linux-gnueabi
MACHINE   = at91sam9263ek
DISTRO= angstrom
DISTRO_VERSION= 2010.12
TARGET_FPU= soft

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 540 of 4063 (ID: 497, 
/oe/sources/openembedded/recipes/udev/udev_151.bb, do_setscene)

NOTE: package udev-151-r21.1: task do_setscene: Started
NOTE: package udev-151-r21.1: task do_setscene: Succeeded
NOTE: Running task 3807 of 4063 (ID: 496, 
/oe/sources/openembedded/recipes/udev/udev_151.bb, do_fetch)

NOTE: package udev-151-r21.1: task do_fetch: Started
NOTE: package udev-151-r21.1: task do_fetch: Succeeded
NOTE: Running task 3808 of 4063 (ID: 489, 
/oe/sources/openembedded/recipes/udev/udev_151.bb, do_unpack)

NOTE: package udev-151-r21.1: task do_unpack: Started
NOTE: package udev-151-r21.1: task do_unpack: Succeeded
NOTE: Running task 3809 of 4063 (ID: 490, 
/oe/sources/openembedded/recipes/udev/udev_151.bb, do_patch)

NOTE: package udev-151-r21.1: task do_patch: Started
NOTE: package udev-151-r21.1: task do_patch: Succeeded
NOTE: Running task 3810 of 4063 (ID: 498, 
/oe/sources/openembedded/recipes/udev/udev_151.bb, do_configure)

NOTE: package udev-151-r21.1: task do_configure: Started
NOTE: package udev-151-r21.1: task do_configure: Succeeded
NOTE: Running task 3811 of 4063 (ID: 499, 
/oe/sources/openembedded/recipes/udev/udev_151.bb, do_qa_configure)

NOTE: package udev-151-r21.1: task do_qa_configure: Started
NOTE: package udev-151-r21.1: task do_qa_configure: Succeeded
NOTE: Running task 3812 of 4063 (ID: 500, 
/oe/sources/openembedded/recipes/udev/udev_151.bb, do_compile)

NOTE: package udev-151-r21.1: task do_compile: Started
NOTE: package udev-151-r21.1: task do_compile: Succeeded
NOTE: Running task 3813 of 4063 (ID: 491, 
/oe/sources/openembedded/recipes/udev/udev_151.bb, do_install)

NOTE: package udev-151-r21.1: task do_install: Started
NOTE: package udev-151-r21.1: task do_install: Succeeded
NOTE: Running task 3814 of 4063 (ID: 492, 
/oe/sources/openembedded/recipes/udev/udev_151.bb, do_populate_sysroot)
NOTE: Running task 3815 of 4063 (ID: 501, 
/oe/sources/openembedded/recipes/udev/udev_151.bb, do_package)

NOTE: package udev-151-r21.1: task do_populate_sysroot: Started
NOTE: package udev-151-r21.1: task do_package: Started
NOTE: package udev-151-r21.1: task do_populate_sysroot: Succeeded
NOTE: Running task 3952 of 4063 (ID: 493, 
/oe/sources/openembedded/recipes/udev/udev_151.bb, do_qa_staging)

NOTE: package udev-151-r21.1: task do_qa_staging: Started
NOTE: package udev-151-r21.1: task do_qa_staging: Succeeded
NOTE: package udev-151-r21.1: task do_package: Succeeded
NOTE: Running task 4002 of 4063 (ID: 502, 
/oe/sources/openembedded/recipes/udev/udev_151.bb, do_package_write_ipk)

NOTE: package udev-151-r21.1: task do_package_write_ipk: Started
Packaged contents of udev-dbg into 
/oe/build/tmp-angstrom_2008_1/deploy/glibc/ipk/armv5te/udev-dbg_151-r21.6_armv5te.ipk
Packaged contents of udev-dev into 
/oe/build/tmp-angstrom_2008_1/deploy/glibc/ipk/armv5te/udev-dev_151-r21.6_armv5te.ipk

NOTE: package udev-151-r21: task do_package_write_ipk: Succeeded
NOTE: Running task 4058 of 4063 (ID: 494, 
/oe/sources/openembedded/recipes/udev/udev_151.bb, do_package_write)
NOTE: Running task 4059 of 4063 (ID: 18, 
/oe/sources/mylayer/recipes/my-tweaks/base-image.bb, 

Re: [oe] bblayers and PRINC

2011-08-01 Thread Jaap de Jong

On 08/01/2011 12:02 PM, Koen Kooi wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Op 01-08-11 11:59, Jaap de Jong schreef:

Hi All,

if created my own udev_151.bbappend to change some of the files in the original 
package:

THISDIR := ${@os.path.dirname(bb.data.getVar('FILE', d, True))} FILESPATHBASE_prepend 
:= ${THISDIR}/${PN}-${PV}:

#PRINC = 1 PR .= .1

PRINC doesn't seem to work.

PRINC only works with an OE-core setup similar like this one: 
http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-angstrom/tree/README



I know PRINC only works with oe-core, that's why I'm using `PR .= .1`
That works with all my other *.bbappend recipes but not for udev; if you 
look at the bitbake log at the end you can see that it does some strange 
things...

At this moment I must stay with release-2010.12.

Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] how to apply bbappend selectively

2011-07-28 Thread Jaap de Jong

Hi All,

I.m creating a special image with for instance a modified udev package.
I've created a udev-xxx.bbappend for that purpose.
But for all the other images I build for other hardware I still want to 
use the original udev-xxx.

There is probably a simple solution but I don't see it...
Any ideas?

Thanks in advance!
Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] strange error

2011-07-22 Thread Jaap de Jong

funny error when the OE_BASE dirname contains -OS
It looks like it all occurrences in the gcc line with -OS are replaced 
by -O1S leading to a wrong path...




| make[1]: Entering directory 
`/home/jdj/OE-OS/build/tmp-angstrom_2008_1/work/i686-linux/libgcrypt-native-1.4.1-r0/libgcrypt-1.4.1'

| Making all in mpi
| make[2]: Entering directory 
`/home/jdj/OE-OS/build/tmp-angstrom_2008_1/work/i686-linux/libgcrypt-native-1.4.1-r0/libgcrypt-1.4.1/mpi'

| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory 
`/home/jdj/OE-OS/build/tmp-angstrom_2008_1/work/i686-linux/libgcrypt-native-1.4.1-r0/libgcrypt-1.4.1/mpi'

| Making all in cipher
| make[2]: Entering directory 
`/home/jdj/OE-OS/build/tmp-angstrom_2008_1/work/i686-linux/libgcrypt-native-1.4.1-r0/libgcrypt-1.4.1/cipher'
| `echo /bin/sh ../i686-linux-libtool --tag=CC   --mode=compile gcc 
-DHAVE_CONFIG_H -I. -I..  -I../src -I../src  
-isystem/home/jdj/OE-OS/build/tmp-angstrom_2008_1/sysroots/i686-linux/usr/include 
-I/home/jdj/OE-OS/build/tmp-angstrom_2008_1/sysroots/i686-linux/usr/include 
-isystem/home/jdj/OE-OS/build/tmp-angstrom_2008_1/sysroots/i686-linux/usr/include 
-O2 -g -fvisibility=hidden -Wall -Wpointer-arith -c ./tiger.c | sed -e 
's/-O[2-9s]*/-O1/g' `
| i686-linux-libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../src 
-I../src 
-isystem/home/jdj/OE-O1S/build/tmp-angstrom_2008_1/sysroots/i686-linux/usr/include 
-I/home/jdj/OE-O1S/build/tmp-angstrom_2008_1/sysroots/i686-linux/usr/include 
-isystem/home/jdj/OE-O1S/build/tmp-angstrom_2008_1/sysroots/i686-linux/usr/include 
-O1 -g -fvisibility=hidden -Wall -Wpointer-arith -c ./tiger.c  -fPIC 
-DPIC -o .libs/tiger.o

| In file included from ../src/visibility.h:245:0,
|  from ../src/g10lib.h:39,
|  from ./tiger.c:26:
| ../src/gcrypt.h:29:23: fatal error: gpg-error.h: No such file or directory
| compilation terminated.
| make[2]: *** [tiger.lo] Error 1
| make[2]: Leaving directory 
`/home/jdj/OE-OS/build/tmp-angstrom_2008_1/work/i686-linux/libgcrypt-native-1.4.1-r0/libgcrypt-1.4.1/cipher'

| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory 
`/home/jdj/OE-OS/build/tmp-angstrom_2008_1/work/i686-linux/libgcrypt-native-1.4.1-r0/libgcrypt-1.4.1'

| make: *** [all] Error 2
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: package libgcrypt-native-1.4.1-r0: task do_compile: Failed


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] best practice .inc files

2011-07-20 Thread Jaap de Jong

Hi All,

I was wondering what the best way is to do this.

I'm using the 2010.12 release.
I've created my own u-boot_2010.09.bb file in my local repository.
In it is aline
require u-boot.inc
(every u-boot*.bb recipe has it)
Now I need a copy of the openembedded/recipes/u-boot/u-boot.inc in my 
local repository to get it bitbaked.

(Well actually I've symlinked the file)
I think both solutions are not optimal.
Is there a way to this in a more gentle way?

Thanks!
Jaap



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] bbappend

2011-07-12 Thread Jaap de Jong

Hi all!

I need some help concerning bbappend.
I've created a bbappend file:

   FILESEXTRAPATHS := ${THISDIR}/files
   SRC_URI += file://xyzzy.patch

If I run a bitbake it complains about missing /xyzzy.patch
When I change the bbappend file to this:

   SRC_URI += file:///absolute-path-to-the-file/files/xyzzy.patch

then everything works fine...
(As a workaround this will do)

Any help is appreciated!!
Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] how to change system files

2011-06-30 Thread Jaap de Jong

On 06/28/2011 01:46 PM, Anders Darander wrote:

On Tue, Jun 28, 2011 at 11:49, Jaap de Jongjaap.dej...@nedap.com  wrote:

On 06/28/2011 11:23 AM, Anders Darander wrote:
Yeah, but what if I decide at a certain point in time to change the
/etc/network/interfaces file?
Normally I would increment PR in the bb file and then build it.
And finally at the target I would do opkg upgrade.

Just as Phil said, you increment PR in your .bbappend-file.

I'm oftend appending to the PR in my .bbappend-files.



I'm having some trouble with it...

If I want to use .bbappend do I need to add bblayers as well?

If I don't I get this error message:

   ERROR: /home/jdj/oe/mystuff/recipes/netbase/netbase_4.21.bbappend is
   not a BitBake file while parsing
   /home/jdj/oe/mystuff/recipes/netbase/netbase_4.21.bbappend


Where /home/jdj/oe/mystuff/recipes/netbase/netbase_4.21.bbappend is:

   FILESEXTRAPATHS := ${THISDIR}/${PN}-${PV}
   PRINC = 1


If I do use bblayers, I'm not sure about my local.conf. It contains some

   BBFILES, BBFILE_COLLECTIONS, BBFILE_PATTERN_xxx and
   BBFILE_PRIORITY_xxx lines

If I remove these lines then it looks like bitbake can't find any recipe.

Jaap
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] how to change system files

2011-06-28 Thread Jaap de Jong

Hi All,

annoying question here...

What is the best way to change files like /etc/network/interfaces?
I have about 5 files or so that already are supplied by (default) 
packages; they are not in 1 package.
I would like to have them in one package that I own so that I can easily 
update them, but this is not necessary.

Is overlays the way to go?

Thanks!
Jaap




___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] how to change system files

2011-06-28 Thread Jaap de Jong



On 06/28/2011 11:23 AM, Anders Darander wrote:

On Tue, Jun 28, 2011 at 10:35, Jaap de Jongjaap.dej...@nedap.com  wrote:

What is the best way to change files like /etc/network/interfaces?
I have about 5 files or so that already are supplied by (default) packages;
they are not in 1 package.
I would like to have them in one package that I own so that I can easily
update them, but this is not necessary.
Is overlays the way to go?

I'm handling this by using .bbappend's in a local layer.
This won't give you one package, rather the ability to replace/add files (e.g.
/etc/network/interfaces) in the standard packages.

Yeah, but what if I decide at a certain point in time to change the 
/etc/network/interfaces file?

Normally I would increment PR in the bb file and then build it.
And finally at the target I would do opkg upgrade.

Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] how to change system files

2011-06-28 Thread Jaap de Jong

On 06/28/2011 01:46 PM, Anders Darander wrote:

On Tue, Jun 28, 2011 at 11:49, Jaap de Jongjaap.dej...@nedap.com  wrote:

On 06/28/2011 11:23 AM, Anders Darander wrote:
Yeah, but what if I decide at a certain point in time to change the
/etc/network/interfaces file?
Normally I would increment PR in the bb file and then build it.
And finally at the target I would do opkg upgrade.

Just as Phil said, you increment PR in your .bbappend-file.

I'm oftend appending to the PR in my .bbappend-files.

Thanks! I will try it.


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] x86_64

2011-05-10 Thread Jaap de Jong

Hi All,

is there any support for 64 bit intel/amd machines?
And if so, how to build for them?

Thanks!
Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] x86_64

2011-05-10 Thread Jaap de Jong



On 05/10/2011 12:06 PM, Phil Blundell wrote:

On Tue, 2011-05-10 at 12:00 +0200, Bernhard Reutner-Fischer wrote:

On Tue, May 10, 2011 at 10:13:22AM +0200, Jaap de Jong wrote:

Hi All,

is there any support for 64 bit intel/amd machines?
And if so, how to build for them?

Can we settle on a name please for i want to add a qemu machine for
testing x86_64?

x8664
amd64
...

Opinions?

x86_64 seems to be what's currently used as the architecture name.  If
you want a value for ${MACHINE} then I guess something like
x86_64-generic would do.  I don't think there's any prohibition
against underscores in machine names.

p.


So I'm guessing it is not possible at this very moment?

Jaap.

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] x86_64

2011-05-10 Thread Jaap de Jong



is there any support for 64 bit intel/amd machines?
And if so, how to build for them?

Can we settle on a name please for i want to add a qemu machine for
testing x86_64?

x8664
amd64
...

Opinions?

x86_64 seems to be what's currently used as the architecture name.  If
you want a value for ${MACHINE} then I guess something like
x86_64-generic would do.  I don't think there's any prohibition
against underscores in machine names.

p.

So I'm guessing it is not possible at this very moment?

Depends what you mean by not possible.  There doesn't seem to be any
existing machine config file which targets x86_64, but I don't think
there is any reason that you couldn't trivially create one; something
along the lines of:

$ catconf/machine/x84_64-generic.confEOF
TARGET_ARCH = x86_64
GLIBC_ADDONS = nptl
GLIBC_EXTRA_OECONF = --with-tls
PREFERRED_PROVIDER_virtual/kernel = linux
KERNEL_IMAGETYPE = bzImage
EOF
$

p.

Will try that; is there any 64 bit output to be expected?
Jaap.

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] x86_64

2011-05-10 Thread Jaap de Jong



is there any support for 64 bit intel/amd machines?
And if so, how to build for them?

Can we settle on a name please for i want to add a qemu machine for
testing x86_64?

x8664
amd64
...

Opinions?

x86_64 seems to be what's currently used as the architecture name.  If
you want a value for ${MACHINE} then I guess something like
x86_64-generic would do.  I don't think there's any prohibition
against underscores in machine names.

p.

So I'm guessing it is not possible at this very moment?

Depends what you mean by not possible.  There doesn't seem to be any
existing machine config file which targets x86_64, but I don't think
there is any reason that you couldn't trivially create one; something
along the lines of:

$ catconf/machine/x84_64-generic.confEOF
TARGET_ARCH = x86_64
GLIBC_ADDONS = nptl
GLIBC_EXTRA_OECONF = --with-tls
PREFERRED_PROVIDER_virtual/kernel = linux
KERNEL_IMAGETYPE = bzImage
EOF
$

p.

Will try that; is there any 64 bit output to be expected?
Jaap.



bitbake ends with
| 
/media/OpenEmbedded/release-2010.12/tmp/sysroots/i686-linux/usr/x86_64/x86_64-angstrom-linux/bin/ld: 
cannot find /lib64/libc.so.6 inside 
/media/OpenEmbedded/release-2010.12/tmp/sysroots/x86_64-angstrom-linux


There is only a lib directory and no lib64 directory...

Jaap



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] x86_64

2011-05-10 Thread Jaap de Jong



On 05/10/2011 04:38 PM, Phil Blundell wrote:

On Tue, 2011-05-10 at 14:57 +0200, Jaap de Jong wrote:

bitbake ends with
|
/media/OpenEmbedded/release-2010.12/tmp/sysroots/i686-linux/usr/x86_64/x86_64-angstrom-linux/bin/ld:
cannot find /lib64/libc.so.6 inside
/media/OpenEmbedded/release-2010.12/tmp/sysroots/x86_64-angstrom-linux

There is only a lib directory and no lib64 directory...

It seems that there is some disagreement between binutils and your C
library about where the libs should be stored.  Which DISTRO
configuration are you using?

Build Configuration:
BB_VERSION= 1.8.18
METADATA_BRANCH   = release-2010.12
METADATA_REVISION = dec3967
TARGET_ARCH   = x86_64
TARGET_OS = linux
MACHINE   = x86_64-generic
DISTRO= angstrom
DISTRO_VERSION= 2010.12


If you make a symlink from lib -  lib64 inside the sysroot, does that
allow the build to continue?



Tried that one...
| 
/media/OpenEmbedded/release-2010.12/tmp/sysroots/i686-linux/usr/x86_64/x86_64-angstrom-linux/bin/ld: 
cannot find /lib64/libc.so.6 inside 
/media/OpenEmbedded/release-2010.12/tmp/sysroots/x86_64-angstrom-linux


so the answer is: no...

Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] release-2011.3

2011-03-09 Thread Jaap de Jong

Hi,

I've been building release-2011.3 with DISTRO=angstrom-2008.1.
Builds without problems.
If I use DISTRO=angstrom-2010.x and start a complete new fresh build, I get

NOTE: Handling BitBake files: - (0263/7348) [ 3 %]ERROR: EOL while 
scanning string literal (expansion, line 1) while parsing 
/OpenEmbedded/release-2011.3/org.openembedded.dev/recipes/uclibc/uclibc_0.9.31.bb
NOTE: type 'exceptions.SyntaxError':EOL while scanning string literal 
(expansion, line 1) while evaluating:

${@oe_filter_out('(-L\S+|-l\S+)', '-Wl,-O1 ${TARGET_LINK_HASH_STYLE}', d)}
ERROR: EOL while scanning string literal (expansion, line 1) while 
parsing 
/OpenEmbedded/release-2011.3/org.openembedded.dev/recipes/uclibc/uclibc_0.9.31.bb


Probably something stupid I have missed
Any ideas?

Thanks!
Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] release-2011.3

2011-03-09 Thread Jaap de Jong



If I use DISTRO=angstrom-2010.x and start a complete new fresh build, I get


Seems like a different bitbake must be used. You better start from the
Angstrom web site Getting Started notes as that's the only place where
this is up-to-date.
Don't know what went wrong in the previous attempt but a new fresh start 
helped a lot...



and please use uclibc-git, they other versions dont have nptl support.


How should I accomplish that?


Thanks!
Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] findclass failure

2011-02-23 Thread Jaap de Jong

You are so right, sorry for the noise...

On 02/22/2011 03:46 PM, Henning Heinold wrote:

Hi Jaap,

better ask on the cacao-ml. Thats no oe specific.

Bye Henning

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] findclass failure

2011-02-22 Thread Jaap de Jong

Hi All,

I'm having some trouble running sqlitejdbc.
With the zero jvm it runs ok, but with cacao it won't.

# java -zero -classpath .:/usr/share/java 
-Djava.library.path=/usr/lib/jni Test

name = Gandhi
job = politics
name = Turing
job = computers
name = Wittgenstein
job = smartypants

# java -cacao -classpath .:/usr/share/java 
-Djava.library.path=/usr/lib/jni Test

Exception in thread main java.sql.SQLException: no SQLite library found
at org.sqlite.Conn.init(Conn.java:84)
at org.sqlite.JDBC.connect(JDBC.java:64)
at java.sql.DriverManager.getConnection(DriverManager.java:620)
at java.sql.DriverManager.getConnection(DriverManager.java:222)
at Test.main(Test.java:6)

Tracking this, I've come to this statement in NativeDB.c (jni)

dbclass = (*env)-FindClass(env, org/sqlite/NativeDB);

It looks like cacao uses a different way handling its classpath?

Adding code:

dbclass = (*env)-FindClass(env, java/lang/String);

does find the class...
So, FindClass does not always fail.

Any ideas?

Thanks!
Jaap


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] OpenEmbedded 2011.3 Release: Request for targets!

2011-02-08 Thread Jaap de Jong

Please add
at91sam9263ek
(angstrom-2008.1 / angstrom-2010.x)

On 02/08/2011 03:42 PM, Tom Rini wrote:

Hey all,

As March is fast approaching I want to gather the list of DISTRO /
MACHINE / BBPKGS targets that the various distributions would like to
see at least compile tested (volunteers for HW testing welcome!).
Today, I have the following setup to be built:

minimal / minimal-uclibc:
qemux86/ppc/arm/mips/mips64/sh4/mipsel, mpc8315e-rdb, p2020ds, p2020rdb
+
nas-server-image/native-sdk-image/console-image/minimal-image/x11-image/meta-toolchain/qt4-x11-demo-image/qt4e-demo-image

angstrom-2008.1 / angstrom-2010.x:
hawkboard, mini2440, mini6410, beagleboard + console-image /
qt4-x11-demo-image / qt4e-demo-image

slugos / ucslug:
nslu2be/le + slugos-image

I'm building all of these for 32bit Ubuntu 8.04, RHEL5 and will be
adding Ubuntu 10.04 for the next run.  What more do people want added?
I'm looking to fill this matrix out to something that runs over the
weekend and I've still got plenty of room to spare (which is why I've
bcc'd everyone in the MAINTAINERS file with a Distro by their name).

And of course if you wish to handle building what you care about
yourself instead, that's great!  Please just take this as a gentle
reminder that there's a release coming up so it's time to crank the
builders up and make sure your stuff is working.



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] OpenEmbedded 2011.3 Release: Request for targets!

2011-02-08 Thread Jaap de Jong

For me personally: console-image would do.
I can run some builds here.

On 02/08/2011 04:22 PM, Tom Rini wrote:

On 02/08/2011 08:02 AM, Jaap de Jong wrote:

Please add
at91sam9263ek
(angstrom-2008.1 / angstrom-2010.x)

Added (just console-image? Or do you want qt*demo-image too? Or some
other image?).



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] chattr not found?

2011-01-17 Thread Jaap de Jong

Tim,

Thanks!
But...
at boot I get:

update-alternatives: Error: cannot register alternative chattr to 
/usr/bin/chattr since it is already registered to /bin/chattr


Not a big deal, I guess...

Jaap


On 01/14/2011 03:34 PM, Tom Rini wrote:

On 01/14/2011 02:57 AM, Jaap de Jong wrote:

Hi All!

for some reason chattr is linked to chattr.e2fsprogs instead of
../usr/bin/chattr.e2fsprogs

# ls -l /bin/chattr*
lrwxrwxrwx 1 root root 16 2011-01-14 10:37 /bin/chattr -  chattr.e2fsprogs

# ls -l /usr/bin/chattr*
-rwxr-xr-x 1 root root 7304 2010-12-10 01:12 /usr/bin/chattr.e2fsprogs

I have no time to investigate this.
Look simple...

I'm pushing a fix for this now, thanks for the report.



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] chattr not found?

2011-01-14 Thread Jaap de Jong

Hi All!

for some reason chattr is linked to chattr.e2fsprogs instead of 
../usr/bin/chattr.e2fsprogs


# ls -l /bin/chattr*
lrwxrwxrwx 1 root root   16 2011-01-14 10:37 /bin/chattr - chattr.e2fsprogs

# ls -l /usr/bin/chattr*
-rwxr-xr-x 1 root root 7304 2010-12-10 01:12 /usr/bin/chattr.e2fsprogs

I have no time to investigate this.
Look simple...

Regards,
Jaap de Jong

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] strange usb behavior

2010-12-10 Thread Jaap de Jong

Hi All!

I'm observing some strange usb behavior.
I have a board with an onboard ftdi usb chip acting as 2 rs232 ports.
And I have on the same board an external usb device with again a ftdi 
chip on board, this time acting as a single rs485 port.


   Build Configuration:
   BB_VERSION= 1.8.18
   METADATA_BRANCH   = release-2010.12
   METADATA_REVISION = dec3967
   TARGET_ARCH   = arm
   TARGET_OS = linux-gnueabi
   MACHINE   = at91sam9263ek-special
   DISTRO= angstrom
   DISTRO_VERSION= 2010.7-test-20101210
   TARGET_FPU= soft

So when I boot with the external device in the connector the internal 
and external devices are detected as expected.


[1.28] usb 1-1: new full speed USB device using at91_ohci 
and address 2

[1.46] usb 1-1: configuration #1 chosen from 1 choice
[1.47] ftdi_sio 1-1:1.0: FTDI USB Serial Device converter 
detected

[1.47] usb 1-1: Detected FT2232C
[1.48] usb 1-1: Number of endpoints 2
[1.48] usb 1-1: Endpoint 1 MaxPacketSize 64
[1.49] usb 1-1: Endpoint 2 MaxPacketSize 64
[1.49] usb 1-1: Setting MaxPacketSize 64
[1.50] usb 1-1: FTDI USB Serial Device converter now 
attached to ttyUSB0
[1.51] ftdi_sio 1-1:1.1: FTDI USB Serial Device converter 
detected

[1.51] usb 1-1: Detected FT2232C
[1.52] usb 1-1: Number of endpoints 2
[1.52] usb 1-1: Endpoint 1 MaxPacketSize 64
[1.53] usb 1-1: Endpoint 2 MaxPacketSize 64
[1.53] usb 1-1: Setting MaxPacketSize 64
[1.54] usb 1-1: FTDI USB Serial Device converter now 
attached to ttyUSB1
[1.68] usb 1-2: new full speed USB device using at91_ohci 
and address 3

[1.86] usb 1-2: configuration #1 chosen from 1 choice
[1.87] ftdi_sio 1-2:1.0: FTDI USB Serial Device converter 
detected

[1.88] usb 1-2: Detected FT232RL
[1.88] usb 1-2: Number of endpoints 2
[1.89] usb 1-2: Endpoint 1 MaxPacketSize 64
[1.89] usb 1-2: Endpoint 2 MaxPacketSize 64
[1.90] usb 1-2: Setting MaxPacketSize 64
[1.90] usb 1-2: FTDI USB Serial Device converter now 
attached to ttyUSB2



But if I look at the /dev directory ttyUSB2 is missing!

# ls -l /dev/ttyU*
crw-rw1 root dialout  188,   0 Jan  1  1970 
/dev/ttyUSB0
crw-rw1 root dialout  188,   1 Jan  1  1970 
/dev/ttyUSB1


# lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0403:6010 Future Technology Devices 
International, Ltd FT2232C Dual USB-UART/FIFO IC
Bus 001 Device 003: ID 0403:6001 Future Technology Devices 
International, Ltd FT232 USB-Serial (UART) IC


So, why is ttyUSB2 gone and are ttyUSB[01] still available??

If I then remove (mark the second line!)

[  103.60] usb 1-2: USB disconnect, address 3
[  103.61] ftdi_sio ttyUSB2: FTDI USB Serial Device converter 
now disconnected from ttyUSB2

[  103.63] ftdi_sio 1-2:1.0: device disconnected

and re-enter the external device life is OK!

[  140.02] usb 1-2: new full speed USB device using at91_ohci 
and address 4

[  140.20] usb 1-2: configuration #1 chosen from 1 choice
[  140.23] ftdi_sio 1-2:1.0: FTDI USB Serial Device converter 
detected

[  140.25] usb 1-2: Detected FT232RL
[  140.25] usb 1-2: Number of endpoints 2
[  140.25] usb 1-2: Endpoint 1 MaxPacketSize 64
[  140.26] usb 1-2: Endpoint 2 MaxPacketSize 64
[  140.26] usb 1-2: Setting MaxPacketSize 64
[  140.27] usb 1-2: FTDI USB Serial Device converter now 
attached to ttyUSB2


# ls -l /dev/ttyU*
crw-rw1 root dialout  188,   0 Jan  1  1970 
/dev/ttyUSB0
crw-rw1 root dialout  188,   1 Jan  1  1970 
/dev/ttyUSB1
crw-rw1 root dialout  188,   2 Dec 10 02:18 
/dev/ttyUSB2


# lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0403:6010 Future Technology Devices 
International, Ltd FT2232C Dual USB-UART/FIFO IC
Bus 001 Device 004: ID 0403:6001 Future Technology Devices 
International, Ltd FT232 USB-Serial (UART) IC


Any ideas??

Thanks!
Jaap


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] alignment errors

2010-11-12 Thread Jaap de Jong

Hi,

I'm working on a recipe for ptpd2.
When I run it on my armv5te I get traps:

[ 5034.41] Alignment trap: ptpd2 (523) PC=0xe7cc 
Instr=0xe5870004 Address=0x0001d459 FSR 0x801


What is the best way to tackle this?
Do I have to add __attribute__ ((packed)) on critical places?

Thanks!


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] openjdk-6 fails to translate

2010-11-08 Thread Jaap de Jong
As I've noticed now, it has to do with distro angstrom-2010.x (or eglibc 
vs glibc?)

With angstrom-2008.1 openjdk-6 translates without problems.

On 11/04/2010 10:34 AM, Jaap de Jong wrote:

Hi All,
I've been trying to tackle this myself, but no luck so far...
What I can make of it is that -lz is translated into a reference to 
/usr/lib/libz.so

Any help is appreciated!
Jaap


$ bitbake openjdk-6



mv -f .deps/cacaoh.Tpo .deps/cacaoh.Po
/bin/sh ../../libtool --tag=CC   --mode=link 
arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s 
-mthumb-interwork -mno-thumb -D__ARM__ -D__LINUX__ -std=c99 -pedantic 
-Wall -Wno-long-long -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 
-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_REENTRANT 
-isystem/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi/usr/include 
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 
-ggdb2 -fno-strict-aliasing  -Wl,-O1 -Wl,--hash-style=gnu -o cacaoh 
cacaoh.o libcacaoh.la -lz -lpthread -ldl
arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s 
-mthumb-interwork -mno-thumb -D__ARM__ -D__LINUX__ -std=c99 -pedantic 
-Wall -Wno-long-long -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 
-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_REENTRANT 
-isystem/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi/usr/include 
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 
-ggdb2 -fno-strict-aliasing -Wl,-O1 -Wl,--hash-style=gnu -o cacaoh 
cacaoh.o  ./.libs/libcacaoh.a /usr/lib/libz.so -lpthread -ldl

/usr/lib/libz.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[4]: *** [cacaoh] Error 1
make[4]: Leaving directory 
`/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.7/icedtea6-1.8.2/build/cacao/cacao-0.99.4/src/cacaoh'




| Making install in cacao
| make[4]: Entering directory 
`/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.7/icedtea6-1.8.2/build/cacao/cacao-0.99.4/src/cacao'
| /bin/sh ../../libtool --tag=CC   --mode=link 
arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s 
-mthumb-interwork -mno-thumb -D__ARM__ -D__LINUX__ -std=c99 -pedantic 
-Wall -Wno-long-long -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 
-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_REENTRANT 
-isystem/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi/usr/include 
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 
-ggdb2 -fno-strict-aliasing -avoid-version -Xlinker 
--version-script=../../contrib/mapfile-vers-product -Wl,-O1 
-Wl,--hash-style=gnu -o libjvm.la -rpath 
/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.7/icedtea6-1.8.2/build/cacao/install/lib  
../../src/fdlibm/libfdlibm.la ../../src/mm/libmm.la 
../../src/native/libnative.la ../../src/threads/libthreads.la 
../../src/toolbox/libtoolbox.la ../../src/vm/libvm.la 
../../src/vmcore/libvmcore.la  -lz -lpthread -ldl

| mkdir .libs
| arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s 
-mthumb-interwork -mno-thumb -shared  -Wl,--whole-archive 
../../src/fdlibm/.libs/libfdlibm.a ../../src/mm/.libs/libmm.a 
../../src/native/.libs/libnative.a 
../../src/threads/.libs/libthreads.a 
../../src/toolbox/.libs/libtoolbox.a ../../src/vm/.libs/libvm.a 
../../src/vmcore/.libs/libvmcore.a -Wl,--no-whole-archive  
/usr/lib/libz.so -lpthread -ldl  -march=armv5te -mtune=arm926ej-s 
-mthumb-interwork -mno-thumb 
-Wl,--version-script=../../contrib/mapfile-vers-product -Wl,-O1 
-Wl,--hash-style=gnu -Wl,-soname -Wl,libjvm.so -o .libs/libjvm.so

| /usr/lib/libz.so: could not read symbols: File in wrong format
| collect2: ld returned 1 exit status
| make[4]: *** [libjvm.la] Error 1
| make[4]: Leaving directory 
`/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.7/icedtea6-1.8.2/build/cacao/cacao-0.99.4/src/cacao'




NOTE: Task failed: 
/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.7/temp/log.do_compilestepone.14829

ERROR: TaskFailed event exception, aborting
ERROR: Build of 
/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/openjdk/openjdk-6_6b18-1.8.bb 
do_compilestepone failed
ERROR: Task 18 
(/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/openjdk/openjdk-6_6b18-1.8.bb, 
do_compilestepone) failed
NOTE: Tasks Summary: Attempted 3501 tasks of which 0 didn't need to be 
rerun and 1 failed.
ERROR: 
'/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/openjdk/openjdk-6_6b18-1.8.bb' 
failed




___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] bitbake error?

2010-10-30 Thread Jaap de Jong
That fixes it...

If relevant: 
org.openembedded/conf/sanity.conf needs to be patched?

-BB_MIN_VERSION = 1.8.18
+BB_MIN_VERSION = 1.10.1

Thanks!

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org on behalf of James 
Ronald
Sent: Fri 10/10/29 17:20
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] bitbake error?
 
Pierluigi,

Thanks! Installing bitbake-1.10.1 fixed my problem.

- Jim

On Fri, Oct 29, 2010 at 5:33 AM, Pierluigi Passaro
pierluigi.pass...@phoenixsoftware.it wrote:

 Not sure this is the best solution, but I solved same issue using latest 
 bitbake 1.10.1 downloaded from

 http://download.berlios.de/bitbake/bitbake-1.10.1.tar.gz


 James Ronald wrote:

 Jaap de Jong jaap.dejong at nedap.com writes:



 I'm probably totally stupid...
 What am doing wrong?
 (I'm working on a fresh unstable branch)
 When I bitbake I get:

 MACHINE=at91sam9263ek  bitbake u-boot
 Traceback (most recent call last):
   File /media/OpenEmbedded/unstable/bitbake/bin/bitbake, line 143, in 
 module
     main()
   File /media/OpenEmbedded/unstable/bitbake/bin/bitbake, line 123, in main
     cooker.parseConfiguration()
   File /media/OpenEmbedded/unstable/bitbake/lib/bb/cooker.py, line 68, in 
 parseConfiguration
     self.parseConfigurationFile( os.path.join( conf, bitbake.conf ) )
   File /media/OpenEmbedded/unstable/bitbake/lib/bb/cooker.py, line 402, 
 in parseConfigurationFile
     bb.fetch.fetcher_init(self.configuration.data)
   File /media/OpenEmbedded/unstable/bitbake/lib/bb/fetch/__init__.py, 
 line 93, in fetcher_init
     pd = persist_data.PersistData(d)
   File /media/OpenEmbedded/unstable/bitbake/lib/bb/persist_data.py, line 
 52, in __init__
     bb.mkdirhier(self.cachedir)
   File /media/OpenEmbedded/unstable/bitbake/lib/bb/__init__.py, line 133, 
 in mkdirhier
     debug(3, mkdirhier(%s) % dir)
   File /media/OpenEmbedded/unstable/bitbake/lib/bb/__init__.py, line 103, 
 in debug
     bb.msg.debug(lvl, None, ''.join(args))
   File /media/OpenEmbedded/unstable/bitbake/lib/bb/msg.py, line 100, in 
 debug
     bb.event.fire(MsgDebug(msg, None))
   File /media/OpenEmbedded/unstable/bitbake/lib/bb/event.py, line 67, in 
 fire
     if tmpHandler(event) == Handled:
   File tmpHandler(e), line 8, in tmpHandler
 NameError: global name 'msg' is not defined



 I'm getting the exact same error. I'm new to OE and just going through the 
 Getting started wiki entry. Ubuntu 10.04 installing bitbake via apt-get 
 install bitbake.

 bitbake --version BitBake Build Tool Core version 1.8.18, bitbake version 
 1.8.18
  OE is current as of a few minutes ago.

 j...@ubuntu-xpc:~/oe/build$ bitbake nano
 Traceback (most recent call last):
  File /usr/bin/bitbake, line 143, in module
    main()
  File /usr/bin/bitbake, line 123, in main
    cooker.parseConfiguration()
  File /usr/lib/pymodules/python2.6/bb/cooker.py, line 67, in 
 parseConfiguration
    self.parseConfigurationFile( os.path.join( conf, bitbake.conf ) )
  File /usr/lib/pymodules/python2.6/bb/cooker.py, line 401, in 
 parseConfigurationFile
    bb.fetch.fetcher_init(self.configuration.data)
  File /usr/lib/pymodules/python2.6/bb/fetch/__init__.py, line 93, in 
 fetcher_init
    pd = persist_data.PersistData(d)
  File /usr/lib/pymodules/python2.6/bb/persist_data.py, line 52, in __init__
    bb.mkdirhier(self.cachedir)
  File /usr/lib/pymodules/python2.6/bb/__init__.py, line 133, in mkdirhier
    debug(3, mkdirhier(%s) % dir)
  File /usr/lib/pymodules/python2.6/bb/__init__.py, line 103, in debug
    bb.msg.debug(lvl, None, ''.join(args))
  File /usr/lib/pymodules/python2.6/bb/msg.py, line 100, in debug
    bb.event.fire(MsgDebug(msg, None))
  File /usr/lib/pymodules/python2.6/bb/event.py, line 67, in fire
    if tmpHandler(event) == Handled:
  File tmpHandler(e), line 8, in tmpHandler
 NameError: global name 'msg' is not defined

 - Jim

 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

winmail.dat___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] bitbake error?

2010-10-28 Thread Jaap de Jong

I'm probably totally stupid...
What am doing wrong?
(I'm working on a fresh unstable branch)
When I bitbake I get:

MACHINE=at91sam9263ek  bitbake u-boot
Traceback (most recent call last):
  File /media/OpenEmbedded/unstable/bitbake/bin/bitbake, line 143, in 
module

main()
  File /media/OpenEmbedded/unstable/bitbake/bin/bitbake, line 123, in 
main

cooker.parseConfiguration()
  File /media/OpenEmbedded/unstable/bitbake/lib/bb/cooker.py, line 
68, in parseConfiguration

self.parseConfigurationFile( os.path.join( conf, bitbake.conf ) )
  File /media/OpenEmbedded/unstable/bitbake/lib/bb/cooker.py, line 
402, in parseConfigurationFile

bb.fetch.fetcher_init(self.configuration.data)
  File /media/OpenEmbedded/unstable/bitbake/lib/bb/fetch/__init__.py, 
line 93, in fetcher_init

pd = persist_data.PersistData(d)
  File /media/OpenEmbedded/unstable/bitbake/lib/bb/persist_data.py, 
line 52, in __init__

bb.mkdirhier(self.cachedir)
  File /media/OpenEmbedded/unstable/bitbake/lib/bb/__init__.py, line 
133, in mkdirhier

debug(3, mkdirhier(%s) % dir)
  File /media/OpenEmbedded/unstable/bitbake/lib/bb/__init__.py, line 
103, in debug

bb.msg.debug(lvl, None, ''.join(args))
  File /media/OpenEmbedded/unstable/bitbake/lib/bb/msg.py, line 100, 
in debug

bb.event.fire(MsgDebug(msg, None))
  File /media/OpenEmbedded/unstable/bitbake/lib/bb/event.py, line 67, 
in fire

if tmpHandler(event) == Handled:
  File tmpHandler(e), line 8, in tmpHandler
NameError: global name 'msg' is not defined


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] cacaoh: patches to get do_install do its work

2010-10-28 Thread Jaap de Jong

Hi,
my initial patch was only intended to show the error I got while 
building openjdk-6 and I hoped to trigger the maintainers to get it fixed.

If this patch has caused any inconvenience to anyone, I apologize for that.
Jaap

On 10/28/2010 09:44 AM, Stefan Schmidt wrote:

Hello.

On Wed, 2010-10-27 at 23:36, Khem Raj wrote:

On Wed, Oct 27, 2010 at 11:24 PM, Stefan Schmidt
ste...@datenfreihafen.org  wrote:

On Fri, 2010-10-22 at 10:11, Jaap de Jong wrote:

 From 60a5f60af4ad65112452f98d99350fce45332e8e Mon Sep 17 00:00:00 2001
From: Jaap de Jongjaap.dej...@nedap.com
Date: Fri, 22 Oct 2010 09:28:25 +0200
Subject: [PATCH] cacaoh: patches to get do_install do its work

Signed-off-by: Jaap de Jongjaap.dej...@nedap.com

This patch broke the openjdk-6 testing build for me. Openjdk did not compile due
to missing header files.

This is with angstrom-2008.1 so no libtool 2.4. I guess that you are using
angstrom-2010 and therefor the 2.4 libtool?


I tested it with both 2.2 ad 2.4 libtools but what Enrico suggested
might be a better fix.

Hmm, that works against my theory. :)

I need to wait until my build on master is ready and if it fails as well I try
to implement Enricos suggestion.

regards
Stefan Schmidt

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] -lz gets translated into /usr/lib/libz.so

2010-10-25 Thread Jaap de Jong

Building openjdk-6 still ends in an error (or again?)
Looking at the log file reveals that the -lz option is somehow replaced 
by /usr/lib/libz.so

Is there anyone with a hint in the right direction?
Is this a libtool issue?


| /bin/sh ../../libtool --tag=CC   --mode=link 
arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s 
-mthumb-interwork -mno-thumb -D__ARM__ -D__LINUX__ -std=c99 -pedantic 
-Wall -Wno-long-long -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 
-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_REENTRANT 
-isystem/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi/usr/include 
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 
-ggdb2 -fno-strict-aliasing -avoid-version -Xlinker 
--version-script=../../contrib/mapfile-vers-product -Wl,-O1 
-Wl,--hash-style=gnu -o libjvm.la -lz -lpthread -ldl  -rpath 
/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.7/icedtea6-1.8.2/build/cacao/install/lib  
../../src/fdlibm/libfdlibm.la ../../src/mm/libmm.la 
../../src/native/libnative.la ../../src/threads/libthreads.la 
../../src/toolbox/libtoolbox.la ../../src/vm/libvm.la 
../../src/vmcore/libvmcore.la
| arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s 
-mthumb-interwork -mno-thumb -shared  -Wl,--whole-archive 
../../src/fdlibm/.libs/libfdlibm.a ../../src/mm/.libs/libmm.a 
../../src/native/.libs/libnative.a ../../src/threads/.libs/libthreads.a 
../../src/toolbox/.libs/libtoolbox.a ../../src/vm/.libs/libvm.a 
../../src/vmcore/.libs/libvmcore.a -Wl,--no-whole-archive 
*/usr/lib/libz.so* -lpthread -ldl  -march=armv5te -mtune=arm926ej-s 
-mthumb-interwork -mno-thumb 
-Wl,--version-script=../../contrib/mapfile-vers-product -Wl,-O1 
-Wl,--hash-style=gnu -Wl,-soname -Wl,libjvm.so -o .libs/libjvm.so

| /usr/lib/libz.so: could not read symbols: File in wrong format
| collect2: ld returned 1 exit status



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] -lz gets translated into /usr/lib/libz.so

2010-10-25 Thread Jaap de Jong

On 10/25/2010 10:10 AM, Khem Raj wrote:

On Mon, Oct 25, 2010 at 1:05 AM, Jaap de Jongjaap.dej...@nedap.com  wrote:

Building openjdk-6 still ends in an error (or again?)
Looking at the log file reveals that the -lz option is somehow replaced by
/usr/lib/libz.so
Is there anyone with a hint in the right direction?
Is this a libtool issue?

are you using libtool 2.4 ? i.e. if you are using angstrom-2010 then
you are. In this case the libtool macros used for concerned package
might need upgrade.


Yep: angstrom 2010  libtool 2.4
Where should I find this macro's? And what should I change?
There is a zlib.m4; can't find any clue there...


| /bin/sh ../../libtool --tag=CC   --mode=link
arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s
-mthumb-interwork -mno-thumb -D__ARM__ -D__LINUX__ -std=c99 -pedantic -Wall
-Wno-long-long -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600
-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_REENTRANT
-isystem/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi/usr/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb2
-fno-strict-aliasing -avoid-version -Xlinker
--version-script=../../contrib/mapfile-vers-product -Wl,-O1
-Wl,--hash-style=gnu -o libjvm.la -lz -lpthread -ldl  -rpath
/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.7/icedtea6-1.8.2/build/cacao/install/lib
  ../../src/fdlibm/libfdlibm.la ../../src/mm/libmm.la
../../src/native/libnative.la ../../src/threads/libthreads.la
../../src/toolbox/libtoolbox.la ../../src/vm/libvm.la
../../src/vmcore/libvmcore.la
| arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s
-mthumb-interwork -mno-thumb -shared  -Wl,--whole-archive
../../src/fdlibm/.libs/libfdlibm.a ../../src/mm/.libs/libmm.a
../../src/native/.libs/libnative.a ../../src/threads/.libs/libthreads.a
../../src/toolbox/.libs/libtoolbox.a ../../src/vm/.libs/libvm.a
../../src/vmcore/.libs/libvmcore.a -Wl,--no-whole-archive */usr/lib/libz.so*
-lpthread -ldl  -march=armv5te -mtune=arm926ej-s -mthumb-interwork
-mno-thumb -Wl,--version-script=../../contrib/mapfile-vers-product -Wl,-O1
-Wl,--hash-style=gnu -Wl,-soname -Wl,libjvm.so -o .libs/libjvm.so
| /usr/lib/libz.so: could not read symbols: File in wrong format
| collect2: ld returned 1 exit status



___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


  1   2   >