[oe] build error

Jaap de Jong jaap.dejong at nedap.com
Wed Jan 25 08:57:35 UTC 2012



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
>>
>>      213    if true; then
>>      214        if [ $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 at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list