#7 [oe] config.sh-i486-linux-linux-gnueabi missing (perl 5.8.8)

open
sakoman
Bug (21)
5
2008-01-09
2007-12-19
Felix
No

The perl configuration/installation seems to be looking for a nonexistent file named config.sh-i486-linux-linux-gnueabi.

The installation script is looking for the file in this directory:
tmp/work/armv5te-angstrom-linux-gnueabi/perl-5.8.8-r25/perl-5.8.8/Cross

The 'closest' file in that directory is config.sh-arm-linux-gnueabi, and creating a symlink to it seems to be a valid workaround. I haven't determined the source of the bug.

Discussion

  • sakoman
    sakoman
    2007-12-31

    • status: open --> pending
     
  • sakoman
    sakoman
    2007-12-31

    Logged In: YES
    user_id=1030823
    Originator: NO

    Could you give me more details about what triggers this bug? ie what image or package are you building, connex or verdex

     
  • Felix
    Felix
    2008-01-09

    • status: pending --> open
     
  • Felix
    Felix
    2008-01-09

    Logged In: YES
    user_id=1963144
    Originator: YES

    The image being built is gumstix-custom-verdex (glibc version), with default package configuration (as of repository rev40, when I first checked out -- but I don't think that's the issue). This error happened during the perl package configuration/building.

    At some point, I'll try to replicate the error on a different machine to see if it's distro-specific or not.

     
  • Mustafa Yuecel
    Mustafa Yuecel
    2008-03-19

    Logged In: YES
    user_id=749518
    Originator: NO

    I also observed this bug on my machine (config.sh-i686-linux-linux-gnueabi). I used the following workaround to avoid an error:

    Index: org.openembedded.snapshot/packages/perl/perl_5.8.8.bb

    --- org.openembedded.snapshot/packages/perl/perl_5.8.8.bb (revision 287)
    +++ org.openembedded.snapshot/packages/perl/perl_5.8.8.bb (working copy)
    @@ -96,7 +96,7 @@
    sed -i -e 's|/usr/include|${STAGING_INCDIR}|g' ext/Errno/Errno_pm.PL
    fi
    cd Cross
    - oe_runmake perl LD="${TARGET_SYS}-gcc"
    + oe_runmake perl ARCH="${TARGET_ARCH}" LD="${TARGET_SYS}-gcc"
    }
    do_install() {
    oe_runmake install
    Index: org.openembedded.snapshot/packages/perl/perl.inc
    ===================================================================
    --- org.openembedded.snapshot/packages/perl/perl.inc (revision 287)
    +++ org.openembedded.snapshot/packages/perl/perl.inc (working copy)
    @@ -26,7 +26,7 @@
    OPTIONS="LD=${TARGET_SYS}-gcc"
    fi

    - oe_runmake perl $OPTIONS
    + oe_runmake perl ARCH="${TARGET_ARCH}" $OPTIONS
    }

    do_install() {