[oe-issues] [Bug 2907] New: IndentationError on package_ipk.bbclass

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Sun Sep 2 02:45:56 CEST 2007


http://bugs.openembedded.org/show_bug.cgi?id=2907

           Summary: IndentationError on package_ipk.bbclass
           Product: Openembedded
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Build
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: cesarb at cesarb.net


Buiding with MokoMakefile fails at openocd-native with an IndentationError,
which seems to come from package_ipk.bbclass (the line in the error message is
misindented there).

The commit which added the offending line seems to be
4ab5dc0f4ce672782407d5b484e2319fd8c6e6dc
(http://lists.linuxtogo.org/pipermail/openembedded-commits/2007-September/008470.html)

NOTE: package openocd-native-0.0+svn20070902: started
NOTE: package openocd-native-0.0+svn20070902-r0: task do_package_write: started
ERROR: Error in compiling:
ERROR: The lines resulting into this error were:
ERROR:  54:IndentationError:'           bb.data.setVar('ROOT', '', localdata)'
ERROR: Printing the environment of the function
ERROR:  0050:           root = "%s/install/%s" % (workdir, pkg)
ERROR:  0051:
ERROR:  0052:        lf = lockfile(root + ".lock")
ERROR:  0053:
ERROR:  0054:           bb.data.setVar('ROOT', '', localdata)
ERROR:  0055:           bb.data.setVar('ROOT_%s' % pkg, root, localdata)
ERROR:  0056:           pkgname = bb.data.getVar('PKG_%s' % pkg, localdata, 1)
ERROR:  0057:           if not pkgname:
ERROR:  0058:                   pkgname = pkg
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
ERROR: Printing the environment of the function
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
ERROR: Printing the environment of the function
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
ERROR: Printing the environment of the function


-- 
Configure bugmail: http://bugs.openembedded.org/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