Skip to contentSkip to conversation

Checkin policy??

DISCUSSION Gary Thomas 3 participants 4 messages Jul 27, 2010

lore
Share & tools
lore
#0 lore raw

Surely, there must not be any or else simple compile errors wouldn't get through :-(

Trying to build angstrom-gnome-image, MACHINE=beagleboard, DISTRO=angstrom, latest org.openembedded.dev:
commit 45fc36a32fb23c513833d7e27fb4b9cd8be68fb5
Author: Chris Larson <[email protected]>
Date: Sun Jun 20 14:35:05 2010 -0700

NOTE: package perl-5.8.8-r35: task do_configure: Started
NOTE: <type 'exceptions.NameError'>:name 'siteinfo_get_bits' is not defined while evaluating:

        # Make hostperl in build directory be the native perl
        ln -sf /local/Angstrom_BeagleBoard/tmp/sysroots/i686-linux/usr/bin/perl5.8.8 hostperl

        # Do out work in the cross subdir
        cd Cross

        # Generate configuration
        rm -f config.sh-arm-linux-gnueabi
        for i in /local/Angstrom_BeagleBoard/tmp/work/armv7a-angstrom-linux-gnueabi/perl-5.8.8-r35/config.sh \
                 /local/Angstrom_BeagleBoard/tmp/work/armv7a-angstrom-linux-gnueabi/perl-5.8.8-r35/config.sh-${@siteinfo_get_bits(d)} \
                 /local/Angstrom_BeagleBoard/tmp/work/armv7a-angstrom-linux-gnueabi/perl-5.8.8-r35/config.sh-${@siteinfo_get_bits(d)}-${@siteinfo_get_endianess(d)}; do
            cat $i >> config.sh-arm-linux-gnueabi
        done

        # Fixups for uclibc
        if [ "linux-gnueabi" = "linux-uclibc" -o "linux-gnueabi" = "linux-uclibceabi" ]; then
                sed -i -e "s,\(d_crypt_r=\)'define',\1'undef',g" \
                       -e "s,\(d_futimes=\)'define',\1'undef',g" \
                       -e "s,\(crypt_r_proto=\)'\w+',\1'0',g" \
                       -e "s,\(d_getnetbyname_r=\)'define',\1'undef',g" \
                       -e "s,\(getnetbyname_r_proto=\)'\w+',\1'0',g" \
                       -e "s,\(d_getnetbyaddr_r=\)'define',\1'undef',g" \
                       -e "s,\(getnetbyaddr_r_proto=\)'\w+',\1'0',g" \
                       -e "s,\(d_getnetent_r=\)'define',\1'undef',g" \
                       -e "s,\(getnetent_r_proto=\)'\w+',\1'0',g" \
                       -e "s,\(d_sockatmark=\)'define',\1'undef',g" \
                       -e "s,\(d_sockatmarkproto=\)'\w+',\1'0',g" \
                    config.sh-arm-linux-gnueabi
        fi

        # Update some paths in the configuration
        sed -i -e 's,@DESTDIR@,/local/Angstrom_BeagleBoard/tmp/work/armv7a-angstrom-linux-gnueabi/perl-5.8.8-r35/image,g' \
               -e 's,@ARCH@,arm-linux-gnueabi,g' \
               -e "s%/usr/include/%/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/%g" \
               -e 's,/usr/,/usr/,g' \
            config.sh-arm-linux-gnueabi

        if test "beagleboard" != "native"; then
            # These are strewn all over the source tree
            for foo in `grep -I -m1 \/usr\/include\/.*\\.h /local/Angstrom_BeagleBoard/tmp/work/armv7a-angstrom-linux-gnueabi/perl-5.8.8-r35/* -r | cut -f 1 -d ":"` ; do
                echo Fixing: $foo
                sed -e "s%/usr/include/%/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/%g" -i $foo
            done
        fi

        rm -f config
        echo "ARCH = arm" > config
        echo "OS = linux-gnueabi" >> config

ERROR: Function do_configure failed

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 3 lines · Gary Thomas

Surely, there must not be any or else simple compile errors wouldn't get through :-(

It's a trunk/master branch, shit happens, and it's not reasonable to test every recipe for every target for each commit. In addition, in this particular case, it's highly unlikely a review would have caught this error anyway. Fix incoming.

Signature · 5 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
#2 lore raw
Quoted 10 lines · Chris Larson
Quoted 3 lines · Gary Thomas

Surely, there must not be any or else simple compile errors wouldn't get through :-(

It's a trunk/master branch, shit happens, and it's not reasonable to test every recipe for every target for each commit. In addition, in this particular case, it's highly unlikely a review would have caught this error anyway. Fix incoming.

Fair enough, but it shows the need for something in between the "stable" angstrom/2009 tree which is incredibly stale and the absolute bleeding edge which changes hourly and is often too unstable to use.

Thanks for the quick fix (testing now)

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#3 lore raw

2010/7/27 Gary Thomas <[email protected]>

Quoted 15 lines · Chris Larson
Quoted 13 lines · Gary Thomas

Surely, there must not be any or else simple compile errors wouldn't get

Quoted 3 lines

through :-(

It's a trunk/master branch, shit happens, and it's not reasonable to test every recipe for every target for each commit. In addition, in this particular case, it's highly unlikely a review would have caught this error
anyway. Fix incoming.

Quoted 5 lines

Fair enough, but it shows the need for something in between the "stable" angstrom/2009 tree which is incredibly stale and the absolute bleeding edge which changes hourly and is often too unstable to use.

Do I hear a volunteer here ????

Quoted 15 lines

Thanks for the quick fix (testing now)

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel