bitbake: bb.fetch2.git: Import errno module
PATCH 1/1 bitbake: bb.fetch2.git: Import errno module
Currently this module is dereferencing errno.ENOENT but the python module "errno" is not imported, which causes a crash when fetching from a git repository.
--- bitbake/lib/bb/fetch2/git.py | 1 + 1 file changed, 1 insertion(+)
bitbake/lib/bb/fetch2/git.py +1 -0
@@ -66,6 +66,7 @@ Supported SRC_URI options are: # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +import errno import os import re import bb
Signature · 1 line
2.1.4
Quoted 6 lines · Romain Perier
Currently this module is dereferencing errno.ENOENT but the python module "errno"
is not imported, which causes a crash when fetching from a git repository.Signed-off-by Romain Perier <[email protected]>
Eep, that would be my fault, sorry about that.
Signature · 5 lines
Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics
Quoted 13 lines · Romain Perier
Currently this module is dereferencing errno.ENOENT but the python module "errno" is not imported, which causes a crash when fetching from a git repository.
Signed-off-by Romain Perier <[email protected]>--- bitbake/lib/bb/fetch2/git.py | 1 + 1 file changed, 1 insertion(+)bitbake/lib/bb/fetch2/git.py +0
-0
bitbake/lib/bb/fetch2/git.py Supported SRC_URI options are: · line 72
Quoted 7 lines
bitbake/lib/bb/fetch2/git.py +1
-0@@ -66,6 +66,7 @@ Supported SRC_URI options are: # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +import errno import os import re import bb
this patch is against poky repo, please rebase it against bitbake repo and resend. Its breaking all my builds currently.
Quoted 17 lines · Khem Raj
Quoted 16 lines · Romain Perier
Currently this module is dereferencing errno.ENOENT but the python module "errno" is not imported, which causes a crash when fetching from a git repository.
Signed-off-by Romain Perier <[email protected]>--- bitbake/lib/bb/fetch2/git.py | 1 + 1 file changed, 1 insertion(+)bitbake/lib/bb/fetch2/git.py +0
-0@@ -66,6 +66,7 @@ Supported SRC_URI options are: # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Quoted 7 lines
bitbake/lib/bb/fetch2/git.py Supported SRC_URI options are: · line 72
Quoted 4 lines
bitbake/lib/bb/fetch2/git.py +1
-0+import errno import os import re import bbthis patch is against poky repo, please rebase it against bitbake repo and resend. Its breaking all my builds currently.
This will fix my build issues like
http://errors.yoctoproject.org/Errors/Details/17879/
but it needs to be posted against bitbake repo.