The errno module is missing causing the following error message:
File: '/<...>/poky/meta/classes/sstate.bbclass', lineno: 708, function:
sstate_package
0704: except PermissionError:
0705: pass
0706: except OSError as e:
0707: # Handle read-only file systems gracefully
*** 0708: if e.errno != errno.EROFS:
0709: raise e
0710:
0711: return
0712:
Exception: NameError: name 'errno' is not defined
Signed-off-by: Diego Sueiro <[email protected]>
---
meta/classes/sstate.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 554e401ee2..187cb04534 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -640,6 +640,7 @@ python sstate_hardcode_path () {
def sstate_package(ss, d):
import oe.path
+ import errno
tmpdir = d.getVar('TMPDIR')
--
2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#154690):
https://lists.openembedded.org/g/openembedded-core/message/154690
Mute This Topic: https://lists.openembedded.org/mt/84797267/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-