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

62 views
Skip to first unread message

arm...@ti.com

unread,
Sep 24, 2008, 6:49:40 PM9/24/08
to Beagle Board
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.

------------------------------------------
| gtkfilesystemgnomevfs.c:3712: error: 'GTK_TYPE_FILE_FOLDER'
undeclared (first use in this function)
| gtkfilesystemgnomevfs.c:3731: error: 'GTK_TYPE_FILE_SYSTEM_HANDLE'
undeclared (first use in this function)
| gtkfilesystemgnomevfs.c: At top level:
| gtkfilesystemgnomevfs.c:3753: error: expected '=', ',', ';', 'asm'
or '__attribute__' before '*' token
| make[2]: *** [gtkfilesystemgnomevfs.lo] Error 1
| make[2]: Leaving directory `/home/user/oe/system/angstrom/work/
armv7a-angstrom-linux-gnueabi/libgnomeui-2.18.1-r0/libgnomeui-2.18.1/
file-chooser'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/user/oe/system/angstrom/work/
armv7a-angstrom-linux-gnueabi/libgnomeui-2.18.1-r0/libgnomeui-2.18.1'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed: /home/user/oe/system/angstrom/work/armv7a-angstrom-
linux-gnueabi/libgnomeui-2.18.1-r0/temp/log.do_compile.22881
NOTE: package libgnomeui-2.18.1-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package libgnomeui-2.18.1: failed
ERROR: Build of /home/user/oe/org.openembedded.dev/packages/gnome/
libgnomeui_2.18.1.bb do_compile failed
ERROR: Task 2798 (/home/user/oe/org.openembedded.dev/packages/gnome/
libgnomeui_2.18.1.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 1815 tasks of which 1815 didn't need to
be rerun and 1 failed.
ERROR: '/home/user/oe/org.openembedded.dev/packages/gnome/
libgnomeui_2.18.1.bb' failed
NOTE: build 200809241526: completed
------------------------------------------

Gonzalez, Armando

unread,
Sep 24, 2008, 6:58:05 PM9/24/08
to beagl...@googlegroups.com
Please refer to the included attachment for the full error log. Thanks.
log.do_compile.22881

Koen Kooi

unread,
Sep 25, 2008, 4:53:06 AM9/25/08
to Beagle Board
On 25 sep, 00:49, arma...@ti.com wrote:
> 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

Gonzalez, Armando

unread,
Sep 25, 2008, 8:32:09 AM9/25/08
to beagl...@googlegroups.com
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.


-----Original Message-----
From: beagl...@googlegroups.com [mailto:beagl...@googlegroups.com] On Behalf Of Koen Kooi
Sent: Thursday, September 25, 2008 3:53 AM
To: Beagle Board

Philip Balister

unread,
Sep 25, 2008, 8:38:27 AM9/25/08
to beagl...@googlegroups.com
On Thu, Sep 25, 2008 at 8:32 AM, Gonzalez, Armando <arm...@ti.com> wrote:
>
> 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

Jason Kridner

unread,
Sep 25, 2008, 8:58:07 AM9/25/08
to Beagle Board
On Sep 25, 7:38 am, "Philip Balister" <philip.balis...@gmail.com>
wrote:
> On Thu, Sep 25, 2008 at 8:32 AM, Gonzalez, Armando <arma...@ti.com> wrote:
>
> > 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.

Koen Kooi

unread,
Sep 25, 2008, 9:12:00 AM9/25/08
to Beagle Board
On 25 sep, 14:58, Jason Kridner <jkrid...@gmail.com> wrote:
> On Sep 25, 7:38 am, "Philip Balister" <philip.balis...@gmail.com>
> wrote:
>
> > On Thu, Sep 25, 2008 at 8:32 AM, Gonzalez, Armando <arma...@ti.com> wrote:
>
> > > 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 clonehttp://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.....

Jason Kridner

unread,
Sep 25, 2008, 12:10:26 PM9/25/08
to beagl...@googlegroups.com


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

Gonzalez, Armando

unread,
Sep 25, 2008, 1:52:36 PM9/25/08
to beagl...@googlegroups.com
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.



-----Original Message-----
From: beagl...@googlegroups.com [mailto:beagl...@googlegroups.com] On Behalf Of Jason Kridner
Sent: Thursday, September 25, 2008 11:10 AM
To: beagl...@googlegroups.com
Subject: [beagleboard] Re: OE (bitbake beagleboard-demo-image) - Compile error with libgnomeui



CodeSpud

unread,
Sep 26, 2008, 2:01:39 PM9/26/08
to Beagle Board
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 http://gitweb.openembedded.net/org.openembedded.dev.git,
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 http://gitweb.openembedded.net/org.openembedded.dev.git
work?

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

Philip Balister

unread,
Sep 26, 2008, 2:08:16 PM9/26/08
to beagl...@googlegroups.com
On Fri, Sep 26, 2008 at 2:01 PM, CodeSpud <enel...@gmail.com> wrote:
>
> 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

Koen Kooi

unread,
Sep 26, 2008, 3:31:28 PM9/26/08
to Beagle Board
On 26 sep, 20:01, CodeSpud <enels...@gmail.com> wrote:
> I did a git clonehttp://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.
>
> | /arm-angstrom-linux-gnueabi/bin/ld:.libs/
> libgdk_pixbuf-2.0.ver:2: ignoring invalid character `\001' in script
> | /arm-angstrom-linux-gnueabi/bin/ld:.libs/
> libgdk_pixbuf-2.0.ver:2: syntax error in VERSION script
> | collect2: ld returned 1 exit status

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
Message has been deleted

CodeSpud

unread,
Sep 29, 2008, 1:24:17 PM9/29/08
to Beagle Board
> 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

Gonzalez, Armando

unread,
Sep 29, 2008, 4:25:58 PM9/29/08
to beagl...@googlegroups.com


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.





-----Original Message-----
From: beagl...@googlegroups.com [mailto:beagl...@googlegroups.com] On Behalf Of CodeSpud
Sent: Monday, September 29, 2008 12:24 PM
To: Beagle Board
Subject: [beagleboard] Re: OE (bitbake beagleboard-demo-image) - Compile error with libgnomeui


CodeSpud

unread,
Sep 29, 2008, 6:29:29 PM9/29/08
to Beagle Board
> 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.

Gonzalez, Armando

unread,
Sep 29, 2008, 6:53:49 PM9/29/08
to beagl...@googlegroups.com
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.

-----Original Message-----
From: beagl...@googlegroups.com [mailto:beagl...@googlegroups.com] On Behalf Of CodeSpud
Sent: Monday, September 29, 2008 5:29 PM
To: Beagle Board
Subject: [beagleboard] Re: OE (bitbake beagleboard-demo-image) - Compile error with libgnomeui


Reply all
Reply to author
Forward
0 new messages