[Bug 4559] New: building for sh4 / uclibc causes an exception in insane.bbclass

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Fri Sep 19 18:30:03 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=4559

           Summary: building for sh4 / uclibc causes an exception in
                    insane.bbclass
    Classification: Unclassified
           Product: Openembedded
           Version: Angstrom 2007.12
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Keywords: patch, uclibc
          Severity: normal
          Priority: P3
         Component: org.openembedded.stable
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: jin at mediatomb.cc


package_qa_get_machine_dict() in insane.bbclass is missing the sh4 values for
uclibc, this causes an exception when building:
NOTE: Checking Package: linux-libc-headers-dev
ERROR: Error in executing: 
ERROR: Exception:<type 'exceptions.KeyError'> Message:'sh4'
ERROR: Printing the environment of the function
ERROR:  0017:            bb.note("Package: %s (skipped)" % package)
ERROR:  0018:            continue
ERROR:  0019:
ERROR:  0020:        bb.note("Checking Package: %s" % package)
ERROR:  0021:        path = "%s/install/%s" % (workdir, package)
ERROR:  0022:        if not package_qa_walk(path, checks, package, d):
ERROR:  0023:            walk_sane  = False
ERROR:  0024:        if not package_qa_check_rdepends(package, workdir, d):
ERROR:  0025:            rdepends_sane = False
ERROR: Error in executing: 
ERROR: Exception:<type 'exceptions.KeyError'> Message:'sh4'
ERROR: Printing the environment of the function
ERROR: Error in executing: 
ERROR: Exception:<type 'exceptions.KeyError'> Message:'sh4'
ERROR: Printing the environment of the function
ERROR: Error in executing: 
ERROR: Exception:<type 'exceptions.KeyError'> Message:'sh4'


I copied the line from glibc down to uclibc and everything seems to work again,
see attached patch.

-- 
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list