OE (bitbake beagleboard-demo-image) - Compile error with libgnomeui

The following is a snippet of the error that occurs when running
'bitbake beagleboard-demo-image'. I am using Ubuntu 8.0.4. I am
working of a recent downloaded oe snapshot: org.openembedded.dev-
c2475e3b2f5e0576266996c44535ba52da5529ca.tar.gz. I'm behind a
firewall so I can't do a standard git.

I can run 'bitbake console-image' without a problem.

Please refer to the included attachment for the full error log. Thanks.

log.do_compile.22881 (35.9 KB)

The following is a snippet of the error that occurs when running
'bitbake beagleboard-demo-image'. I am using Ubuntu 8.0.4. I am
working of a recent downloaded oe snapshot: org.openembedded.dev-
c2475e3b2f5e0576266996c44535ba52da5529ca.tar.gz. I'm behind a
firewall so I can't do a standard git.

That error was fixed a week ago[1], so please update your repository.
Reporting bugs with an out-of-date repository is quite frankly a waste
of time.

regards,

Koen

[1] http://dominion.thruhere.net/git/?p=openembedded.git;a=commit;h=b2322f422be6264a3c9424a69d7bb46e67634dfa

Thanks. I agree with your comments. I looked everywhere but the place where I should have.

It's quite time consuming having to download an entire repo/snapshot then having to wait for a long execution of the first bitbake. I haven't found an up to date source for 'git http....' Is there one? Thanks.

Thanks. I agree with your comments. I looked everywhere but the place where I should have.

It's quite time consuming having to download an entire repo/snapshot then having to wait for a long execution of the first bitbake. I haven't found an up to date source for 'git http....' Is there one? Thanks.

Can you pull from here with git?

http://gitweb.openembedded.net/?p=org.openembedded.dev.git;a=summary

This is updated from mtn frequently. (Every thirty minutes or so, I thinnk)

Philip

# export http_proxy=http://<proxy machine>:<port>
# git clone http://repo.or.cz/r/org.openembedded.dev.git

Works perfectly fine behind the TI firewall. E-mail me directly
inside TI for the name of the proxy machine and port.

That repo hasn't been update for over 4 months.....

I'm an idiot. I thought I had copied a different URL that was up-to-date, but I was wrong.

I'm not sure I'm doing the clone properly, but I'll be attempting to run a cron job to clone the git every hour (so expect a 2 hour lag behind mtn) on BeagleBoard.org:

# export http_proxy=http://<proxy machine>:<port>
# git clone http://www.beagleboard.org/org.openembedded.dev.git

Excellent!

Just completed git clone...

Thanks.

It would be nice to have the http protocol enabled at gitweb.openembedded.net for an alternative http source.

I did a git clone http://www.beagleboard.org/org.openembedded.dev.git
this morning.

After installing and configuring things, I started building.

bitbake base-image seemed to complete without errors (though nothing
appeared in my build folder...is that normal?)

bitbake console-image also seemed to complete without errors (but
still nothing in the build folder yet...normal?)

bitbake beagleboard-demo-image had some error that seemed to start
with some libgdk script.

/home/user/Projects/tmp/cross/lib/gcc/arm-angstrom-linux-gnueabi/

4.3.1/../../../../arm-angstrom-linux-gnueabi/bin/ld:.libs/
libgdk_pixbuf-2.0.ver:2: ignoring invalid character `\001' in script

/home/user/Projects/tmp/cross/lib/gcc/arm-angstrom-linux-gnueabi/

4.3.1/../../../../arm-angstrom-linux-gnueabi/bin/ld:.libs/
libgdk_pixbuf-2.0.ver:2: syntax error in VERSION script

collect2: ld returned 1 exit status
make[4]: *** [libgdk_pixbuf-2.0.la] Error 1
make[4]: Leaving directory `/home/user/Projects/tmp/work/armv7a-

angstrom-linux-gnueabi/gtk+-2.14.2-r0/gtk+-2.14.2/gdk-pixbuf'

make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/user/Projects/tmp/work/armv7a-

angstrom-linux-gnueabi/gtk+-2.14.2-r0/gtk+-2.14.2/gdk-pixbuf'

make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/user/Projects/tmp/work/armv7a-

angstrom-linux-gnueabi/gtk+-2.14.2-r0/gtk+-2.14.2/gdk-pixbuf'

make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/Projects/tmp/work/armv7a-

angstrom-linux-gnueabi/gtk+-2.14.2-r0/gtk+-2.14.2'

make: *** [all] Error 2
FATAL: oe_runmake failed

NOTE: Task failed: /home/user/Projects/tmp/work/armv7a-angstrom-linux-
gnueabi/gtk+-2.14.2-r0/temp/log.do_compile.2819
NOTE: package gtk+-2.14.2-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package gtk+-2.14.2: failed
ERROR: Build of /home/user/Projects/OE/org.openembedded.dev/packages/
gtk+/gtk+_2.14.2.bb do_compile failed
ERROR: Task 1410 (/home/user/Projects/OE/org.openembedded.dev/packages/
gtk+/gtk+_2.14.2.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 948 tasks of which 948 didn't need to
be rerun and 1 failed.
ERROR: '/home/user/Projects/OE/org.openembedded.dev/packages/gtk+/gtk
+_2.14.2.bb' failed

I tried to get a version using git clone Openembedded-Hotels, Villen, Unterk├╝nfte in Leipzig,
but this gives me this error:
Initialized empty Git repository in /home/user/Projects/OE/
org.openembedded.dev/.git/
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?

Any idea why my compile fails?
Would a fresher version fix this?
How old is http://www.beagleboard.org/org.openembedded.dev.git?
Should git clone Openembedded-Hotels, Villen, Unterk├╝nfte in Leipzig
work?

Sorry, total newbie here. Please don't mock me. :slight_smile:

I did a git clone http://www.beagleboard.org/org.openembedded.dev.git
this morning.

After installing and configuring things, I started building.

bitbake base-image seemed to complete without errors (though nothing
appeared in my build folder...is that normal?)

Results should appear in your OE TMPDIR. tmp/deploy/......

Philip

IIRC that problem is caused by running a libtool 2.x script with dash,
could you check where your /bin/sh links to? If it's dash reconfigure
it to use bash and do 'bitbake -c clean gtk+' before trying another
build.

regards,

Koen

IIRC that problem is caused by running a libtool 2.x script with dash,
could you check where your /bin/sh links to? If it's dash reconfigure
it to use bash and do 'bitbake -c clean gtk+' before trying another
build.

You were right, Koen. sh was pointing to dash. I fixed the link to
use bash instead and did the bitbake clean as you suggested.

I resumed compiled and things were chugging away for a couple of
hours, then I hit this error [1]. It seems like things start to fall
apart because of a missing glxserver.h file, but I'm not really sure
I'm reading the error message correctly. Any pointers for this newbie
to figure out how to continue the compile?

Thanks for the help so far. I hope to soon be able to join the ranks
of those who have successfully compiled Angstrom for Beagleboard!

[1]
NOTE: package xserver-xorg-1_1.4.2-r5: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows (/home/user/Projects/tmp/work/armv7a-angstrom-
linux-gnueabi/xserver-xorg-1_1.4.2-r5/temp/log.do_compile.32704)

<...>

In file included from ../../../GL/glx/glxserver.h:70,
                 from dri.c:70:
../../../GL/glx/glxdrawable.h:46:39: error: GL/internal/

dri_interface.h: No such file or directory

In file included from ../../../GL/glx/glxserver.h:70,
                 from dri.c:70:
../../../GL/glx/glxdrawable.h:60: error: expected specifier-

qualifier-list before '__DRIcontext'

dri.c: In function 'DRIAdjustFrame':
dri.c:2355: warning: 'miPointerPosition' is deprecated (declared

at ../../../mi/mipointer.h:127)

make[4]: *** [libdri_la-dri.lo] Error 1
make[4]: Leaving directory `/home/user/Projects/tmp/work/armv7a-

angstrom-linux-gnueabi/xserver-xorg-1_1.4.2-r5/xorg-server-1.4.2/hw/
xfree86/dri'

make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/user/Projects/tmp/work/armv7a-

angstrom-linux-gnueabi/xserver-xorg-1_1.4.2-r5/xorg-server-1.4.2/hw/
xfree86'

make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/user/Projects/tmp/work/armv7a-

angstrom-linux-gnueabi/xserver-xorg-1_1.4.2-r5/xorg-server-1.4.2/hw/
xfree86'

make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/Projects/tmp/work/armv7a-

angstrom-linux-gnueabi/xserver-xorg-1_1.4.2-r5/xorg-server-1.4.2/hw'

make: *** [all-recursive] Error 1
FATAL: oe_runmake failed

NOTE: Task failed: /home/user/Projects/tmp/work/armv7a-angstrom-linux-
gnueabi/xserver-xorg-1_1.4.2-r5/temp/log.do_compile.32704
NOTE: package xserver-xorg-1_1.4.2-r5: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package xserver-xorg-1.4.2: failed
ERROR: Build of /home/user/Projects/OE/org.openembedded.dev/packages/
xorg-xserver/xserver-xorg_1.4.2.bb do_compile failed
ERROR: Task 297 (/home/user/Projects/OE/org.openembedded.dev/packages/
xorg-xserver/xserver-xorg_1.4.2.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 2306 tasks of which 2306 didn't need to
be rerun and 1 failed.
ERROR: '/home/user/Projects/OE/org.openembedded.dev/packages/xorg-
xserver/xserver-xorg_1.4.2.bb' failed

I ran into the same problem. I updated the glxdrawable.h file to have the full path to the dri_interface.h file as shown below. I don't know if this is appropriate way of resolving this problem, but it worked for me.

FROM:
#include <GL/internal/dri_interface.h>

TO:
#include </home/user/oe/system/angstrom/work/armv7a-angstrom-linux-gnueabi/mesa-1_7.2-r3/Mesa-7.2/include/GL/internal/dri_interface.h>

FYI
The intial portion (/home/user) of the specified path will be different for you.

I ran into the same problem. I updated the glxdrawable.h file to have the full path to the dri_interface.h file as shown below. I don't know if this is appropriate way of resolving this problem, but it worked for me.

FROM:
#include <GL/internal/dri_interface.h>

TO:
#include </home/user/oe/system/angstrom/work/armv7a-angstrom-linux-gnueabi/mesa-1_7.2-r3/Mesa-7.2/include/GL/internal/dri_interface.h>

That fixed it...thanks! That sure is a quirky problem - wonder why
someone hasn't fixed it?

Well anyway, I'm back to baking...2300+ more tasks to complete and
maybe I'll hopefully have a complete Angstrom build.

I ran into a problem in task 2494. You'll probably have the same proble. I'll post the error on a separate thread shortly.