Quantcast

Errors while building "$ bitbake omap3-console-image"

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Errors while building "$ bitbake omap3-console-image"

Gutembert
Good day all,

I am having errors while trying to build the image "$ bitbake omap3-console-image".

These are the errors:

collect2: ld returned 1 exit status
| make[2]: *** [link_app.gnu] Error 1
| make[2]: Leaving directory `/home/nganpet/overo-oe/tmp/work/i686-linux/openssl-native-1.0.0d-r14.0/openssl-1.0.0d/apps'
| make[1]: *** [openssl] Error 2
| make[1]: Leaving directory `/home/nganpet/overo-oe/tmp/work/i686-linux/openssl-native-1.0.0d-r14.0/openssl-1.0.0d/apps'
| make: *** [build_apps] Error 1
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: package openssl-native-1.0.0d-r14.0: task do_compile: Failed
ERROR: Function 'do_compile' failed (see /home/nganpet/overo-oe/tmp/work/i686-linux/openssl-native-1.0.0d-r14.0/temp/log.do_compile.15985 for further information)
ERROR: Task 2502 (/home/nganpet/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb, do_compile) failed with exit code '1'
ERROR: '/home/nganpet/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb' failed
nganpet@nganpet-PROLINE-DQ35JOE:~$
 
Any help please,
Gutembert.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
gzp
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors while building "$ bitbake omap3-console-image"

gzp
gzp
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors while building "$ bitbake omap3-console-image"

gzp
In reply to this post by Gutembert
I've checked my repo and the openssl-native_1.0.0d.bb had to be modified:
remove the libdeps-first  patch

#SRC_URI += "file://configure-targets.patch \
#            file://shared-libs.patch \
#            file://debian.patch \
#           file://libdeps-first.patch \
#          "

SRC_URI += "file://configure-targets.patch \
            file://shared-libs.patch \
            file://debian.patch \
           "
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors while building "$ bitbake omap3-console-image"

Gutembert
In reply to this post by gzp
Thanks gzp,

I have followed up this ways:

NB: I am using Ubuntu 11.10, 32 bit.

I went to modified /home/nganpet/overo-oe/org.openembedded.dev/conf/distro/include/angstrom-2008-preferred-versions.inc and regressed openssl as:

PREFERRED_VERSION_openssl = "0.9.8m"
PREFERRED_VERSION_openssl-native = "0.9.8m"

Then

I went to /home/nganpet/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb and modified it by removing the libdeps-first  patch as:

SRC_URI += "file://configure-targets.patch \
           file://shared-libs.patch \
           file://debian.patch \
           #file://libdeps-first.patch \
          "                                                                                                  

By rerunning the "$ bitbake omap3-console-image", I got a new error saying:

task 3694 (/home/nganpet/overo-oe/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.3.3.bb, do_compile) failed with exit code '1'.

I went then to /home/nganpet/overo-oe/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.3.3.bb and I saw:

require gcc-cross_${PV}.bb
require gcc-cross-initial.inc

Can anyone please have a look at his  /home/your_Name/overo-oe/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.3.3.bb and tell me if he has the same statements:

require gcc-cross_${PV}.bb
require gcc-cross-initial.inc

as I do? please verify also your:

/home/your_Name/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb)

and

/home/Your_Name/overo-oe/org.openembedded.dev/conf/distro/include/angstrom-2008-preferred-versions.inc

then tell me if they match with mines.


NOTE: If I don't remove "file://libdeps-first.patch \" located at " /home/nganpet/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb", by rerunning, I have the following error:

| make[1]: Leaving directory `/home/nganpet/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/glibc-initial-2.9-r37.4/glibc-2.9'
| make[1]: Entering directory `/home/nganpet/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/glibc-initial-2.9-r37.4/glibc-2.9'
| /home/nganpet/overo-oe/org.openembedded.dev/bin/install -c -m 644 include/limits.h /usr/local/include/limits.h
| install: cannot create regular file `/usr/local/include/limits.h': Permission denied
| make[1]: *** [/usr/local/include/limits.h] Error 1
| make[1]: Leaving directory `/home/nganpet/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/glibc-initial-2.9-r37.4/glibc-2.9'
| make: *** [install-headers] Error 2
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: package glibc-initial-2.9-r37.4: task do_install: Failed
ERROR: Function 'do_install' failed (see /home/nganpet/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/glibc-initial-2.9-r37.4/temp/log.do_install.13910 for further information)
ERROR: Task 2578 (/home/nganpet/overo-oe/org.openembedded.dev/recipes/glibc/glibc-initial_2.9.bb, do_install) failed with exit code '1'
ERROR: '/home/nganpet/overo-oe/org.openembedded.dev/recipes/glibc/glibc-initial_2.9.bb' failed

When I looked at "/home/nganpet/overo-oe/org.openembedded.dev/recipes/glibc/glibc-initial_2.9.bb", I saw:

require glibc_${PV}.bb
require glibc-initial.inc

do_configure_prepend () {
        unset CFLAGS
}

Please double check your files and let me know!!!

Thank you,
Gutembert.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors while building "$ bitbake omap3-console-image"

Louis Morda
Sorry to eaves drop on this conversation, but is it possible to build the image in Ubuntu 10.04?  I tried using Ubuntu 11.10 with no luck... but it builds great on Ubuntu 10.04..

On Wed, Feb 22, 2012 at 5:19 PM, Gutembert <[hidden email]> wrote:
Thanks gzp,

I have followed up this ways:

NB: I am using Ubuntu 11.10, 32 bit.

I went to modified
/home/nganpet/overo-oe/org.openembedded.dev/conf/distro/include/angstrom-2008-preferred-versions.inc
and regressed openssl as:

PREFERRED_VERSION_openssl = "0.9.8m"
PREFERRED_VERSION_openssl-native = "0.9.8m"

Then

I went to
/home/nganpet/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb
and modified it by removing the libdeps-first  patch as:

SRC_URI += "file://configure-targets.patch \
          file://shared-libs.patch \
          file://debian.patch \
          #file://libdeps-first.patch \
         "

By rerunning the "$ bitbake omap3-console-image", I got a new error saying:

task 3694
(/home/nganpet/overo-oe/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.3.3.bb,
do_compile) failed with exit code '1'.

I went then to
/home/nganpet/overo-oe/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.3.3.bb
and I saw:

require gcc-cross_${PV}.bb
require gcc-cross-initial.inc

Can anyone please have a look at his
/home/your_Name/overo-oe/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.3.3.bb
and tell me if he has the same statements:

require gcc-cross_${PV}.bb
require gcc-cross-initial.inc

as I do? please verify also your:

/home/your_Name/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb)

and

/home/Your_Name/overo-oe/org.openembedded.dev/conf/distro/include/angstrom-2008-preferred-versions.inc

then tell me if they match with mines.


NOTE: If I don't remove "file://libdeps-first.patch \" located at "
/home/nganpet/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb",
by rerunning, I have the following error:

| make[1]: Leaving directory
`/home/nganpet/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/glibc-initial-2.9-r37.4/glibc-2.9'
| make[1]: Entering directory
`/home/nganpet/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/glibc-initial-2.9-r37.4/glibc-2.9'
| /home/nganpet/overo-oe/org.openembedded.dev/bin/install -c -m 644
include/limits.h /usr/local/include/limits.h
| install: cannot create regular file `/usr/local/include/limits.h':
Permission denied
| make[1]: *** [/usr/local/include/limits.h] Error 1
| make[1]: Leaving directory
`/home/nganpet/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/glibc-initial-2.9-r37.4/glibc-2.9'
| make: *** [install-headers] Error 2
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: package glibc-initial-2.9-r37.4: task do_install: Failed
ERROR: Function 'do_install' failed (see
/home/nganpet/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/glibc-initial-2.9-r37.4/temp/log.do_install.13910
for further information)
ERROR: Task 2578
(/home/nganpet/overo-oe/org.openembedded.dev/recipes/glibc/glibc-initial_2.9.bb,
do_install) failed with exit code '1'
ERROR:
'/home/nganpet/overo-oe/org.openembedded.dev/recipes/glibc/glibc-initial_2.9.bb'
failed

When I looked at
"/home/nganpet/overo-oe/org.openembedded.dev/recipes/glibc/glibc-initial_2.9.bb",
I saw:

require glibc_${PV}.bb
require glibc-initial.inc

do_configure_prepend () {
       unset CFLAGS
}

Please double check your files and let me know!!!

Thank you,
Gutembert.

--
View this message in context: http://gumstix.8.n6.nabble.com/Errors-while-building-bitbake-omap3-console-image-tp4494745p4497034.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users



--
-Louis Morda
 SAIC Computer Scientist


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
gzp
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors while building "$ bitbake omap3-console-image"

gzp
In reply to this post by Gutembert
I'd suggest to use 10.4 or the one suggested at gumstix.org.  There are known problems with 11.x.

Note1.  I'm not sure if commenting out the patch within the string works, that's why I've duplicated the whole section.
Note2: For the gcc part , it seems as if it wants to install it to your main system  (and not to the oe work dir). Have you set the environments as requested ?

At first I've tried other platfrom (arch linux) but finally I had to move to ubuntu. That was much painless.
Note I was much more perverted and now I'm using a chroot-ed ubuntu (oneiric, whatever version is that) under arch linux x64, but setting up the environment was really an headache  :)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors while building "$ bitbake omap3-console-image"

Simon Knopp
On 23/02/2012, at 10:28 PM, gzp wrote:

> Note1.  I'm not sure if commenting out the patch within the string works,
> that's why I've duplicated the whole section.

Bitbake only considers a line to be a comment if the very first character is #.

SRC_URI += "foo \
            bar \
#           baz \         <-- correct
            #quux \       <-- incorrect
           "

That caught me out initially too.

Sorry to hijack your thread, but I hope this makes someone out there less frustrated/confused.

Simon.
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors while building "$ bitbake omap3-console-image"

Alex Gibson-3
On 28/02/2012 7:54 AM, Simon Knopp wrote:

> On 23/02/2012, at 10:28 PM, gzp wrote:
>
>> Note1.  I'm not sure if commenting out the patch within the string works,
>> that's why I've duplicated the whole section.
>
> Bitbake only considers a line to be a comment if the very first character is #.
>
> SRC_URI += "foo \
>              bar \
> #           baz \<-- correct
>              #quux \<-- incorrect
>             "
>
> That caught me out initially too.
>
> Sorry to hijack your thread, but I hope this makes someone out there less frustrated/confused.
>
> Simon.

It is python and
# is a comment

If you can read and write bitbake recipes, you can read and write python.

http://docs.python.org/tutorial/

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors while building "$ bitbake omap3-console-image"

Simon Knopp
On 28/02/2012, at 10:51 AM, Alex Gibson wrote:

> It is python and
> # is a comment

While bitbake is written in python, bb files are not valid python files. The following snippet demonstrates the issue; bitbake will try to build "#foo" and fail, while bar is correctly ignored. A sneaky trap for young players.

$ cat test.bb
inherit image
IMAGE_INSTALL += " \
  #foo \
#  bar \
"
$ bitbake -b test.bb -e | grep '^IMAGE_INSTALL'
IMAGE_INSTALL="#foo"

If you're really interested in the parser, have a look at BBHandler.py (line 198).

Regards,
Simon.
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors while building "$ bitbake omap3-console-image"

Gutembert
In reply to this post by gzp
Thank you Gzp,

Could you also verify your /home/gzp/overo-oe/org.openembedded.dev/conf/distro/include/angstrom-2008-preferred-versions.inc

and let me know if you regressed openssl as:

PREFERRED_VERSION_openssl = "0.9.8m"
PREFERRED_VERSION_openssl-native = "0.9.8m"

or if you keep it unchanged as:

PREFERRED_VERSION_openssl = "1.0.0d"
PREFERRED_VERSION_openssl-native = "1.0.0d"

Would also be helpful if you precise the Ubuntu version you used (e.g. Ubuntu 11.10, 32 bit).

I am looking forward for your response,
Gutembert.
gzp
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors while building "$ bitbake omap3-console-image"

gzp
I'm not familiar with ubuntu versions. I'm using oneiric (according to the apt/sources.list) on a 64bit system, but I don't even remember if the ubuntu is a 32bit or 64bit version.
So if you can tell me where to check it, I'll.

I have just a very base system installed, I don't even have an X11 installed resulting in some omap3-desktop-image build errors: gnome-games, cheese tried to use some host files for doc generation, that could not be resolved. (For more info check another  post of mine on the forum)

Regarding the openssl problem: I have changed nothing, just the removed patch but I have to double check it as don't have access to that computer now.

regards, gzp
Loading...