[OE-core] [meta-debian] build error

Rajath C S rajathcs.1996 at gmail.com
Sun Mar 25 19:52:50 UTC 2018


Ok, thanks for the clarification.

On Mon, 26 Mar 2018, 01:21 Burton, Ross, <ross.burton at intel.com> wrote:

> Speaking as an oe-core maintainer, we don't support meta-debian: use
> it at your own risk.
>
> Ross
>
> On 25 March 2018 at 20:49, Rajath C S <rajathcs.1996 at gmail.com> wrote:
> > Hi,
> >
> > I am encountering the below error while building meta-debian (which is
> added
> > in bblayer.conf)
> >
> > ERROR: /home/jarvis/poky/meta-debian/recipes-misc/ltp/ltp_git.bb: Error
> > executing a python function in <code>:
> >
> > The stack trace of python calls that resulted in this exception/failure
> was:
> > File: '<code>', lineno: 3, function: <module>
> >      0001:__anon_25__home_jarvis_poky_meta_classes_patch_bbclass(d)
> >      0002:__anon_160__home_jarvis_poky_meta_classes_base_bbclass(d)
> >  *** 0003:__anon_686__home_jarvis_poky_meta_classes_base_bbclass(d)
> >      0004:__anon_1305__home_jarvis_poky_meta_classes_insane_bbclass(d)
> >      0005:__anon_250__home_jarvis_poky_meta_classes_package_bbclass(d)
> >
> 0006:__anon_352__home_jarvis_poky_meta_classes_package_deb_bbclass(d)
> >      0007:__anon_25__home_jarvis_poky_meta_classes_debian_bbclass(d)
> > File: '/home/jarvis/poky/meta/classes/base.bbclass', lineno: 587,
> function:
> > __anon_686__home_jarvis_poky_meta_classes_base_bbclass
> >      0583:    needsrcrev = False
> >      0584:    srcuri = d.getVar('SRC_URI')
> >      0585:    for uri in srcuri.split():
> >      0586:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
> >  *** 0587:
> >      0588:        # HTTP/FTP use the wget fetcher
> >      0589:        if scheme in ("http", "https", "ftp"):
> >      0590:            d.appendVarFlag('do_fetch', 'depends', '
> > wget-native:do_populate_sysroot')
> >      0591:
> > File: '/home/jarvis/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368,
> > function: decodeurl
> >      0364:    """
> >      0365:
> >      0366:    m =
> >
> re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
> >      0367:    if not m:
> >  *** 0368:        raise MalformedUrl(url)
> >      0369:
> >      0370:    type = m.group('type')
> >      0371:    location = m.group('location')
> >      0372:    if not location:
> > Exception: bb.fetch2.MalformedUrl: The URL:
> >
> '${MISC_GIT_URI}/${MISC_GIT_PREFIX}ltp.git;protocol=${MISC_GIT_PROTOCOL}' is
> > invalid and cannot be interpreted
> >
> > ERROR:
> > /home/jarvis/poky/meta-debian/recipes-misc/qemu/
> qemu-bios-native_1.7.0.bb:
> > Error executing a python function in <code>:
> >
> > The stack trace of python calls that resulted in this exception/failure
> was:
> > File: '<code>', lineno: 3, function: <module>
> >      0001:__anon_25__home_jarvis_poky_meta_classes_patch_bbclass(d)
> >      0002:__anon_160__home_jarvis_poky_meta_classes_base_bbclass(d)
> >  *** 0003:__anon_686__home_jarvis_poky_meta_classes_base_bbclass(d)
> >      0004:__anon_1305__home_jarvis_poky_meta_classes_insane_bbclass(d)
> >      0005:__anon_250__home_jarvis_poky_meta_classes_package_bbclass(d)
> >
> 0006:__anon_352__home_jarvis_poky_meta_classes_package_deb_bbclass(d)
> >      0007:__anon_25__home_jarvis_poky_meta_classes_debian_bbclass(d)
> > File: '/home/jarvis/poky/meta/classes/base.bbclass', lineno: 587,
> function:
> > __anon_686__home_jarvis_poky_meta_classes_base_bbclass
> >      0583:    needsrcrev = False
> >      0584:    srcuri = d.getVar('SRC_URI')
> >      0585:    for uri in srcuri.split():
> >      0586:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
> >  *** 0587:
> >      0588:        # HTTP/FTP use the wget fetcher
> >      0589:        if scheme in ("http", "https", "ftp"):
> >      0590:            d.appendVarFlag('do_fetch', 'depends', '
> > wget-native:do_populate_sysroot')
> >      0591:
> > File: '/home/jarvis/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368,
> > function: decodeurl
> >      0364:    """
> >      0365:
> >      0366:    m =
> >
> re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
> >      0367:    if not m:
> >  *** 0368:        raise MalformedUrl(url)
> >      0369:
> >      0370:    type = m.group('type')
> >      0371:    location = m.group('location')
> >      0372:    if not location:
> > Exception: bb.fetch2.MalformedUrl: The URL:
> >
> '${MISC_GIT_URI}/${MISC_GIT_PREFIX}qemu.git;protocol=${MISC_GIT_PROTOCOL};branch=stable-2.1'
> > is invalid and cannot be interpreted
> >
> > ERROR:
> > /home/jarvis/poky/meta-debian/recipes-kernel/linux-libc-headers/
> linux-libc-headers-base_git.bb:
> > Error executing a python function in <code>:
> >
> > The stack trace of python calls that resulted in this exception/failure
> was:
> > File: '<code>', lineno: 3, function: <module>
> >      0001:__anon_25__home_jarvis_poky_meta_classes_patch_bbclass(d)
> >      0002:__anon_160__home_jarvis_poky_meta_classes_base_bbclass(d)
> >  *** 0003:__anon_686__home_jarvis_poky_meta_classes_base_bbclass(d)
> >      0004:__anon_1305__home_jarvis_poky_meta_classes_insane_bbclass(d)
> >      0005:__anon_250__home_jarvis_poky_meta_classes_package_bbclass(d)
> >
> 0006:__anon_352__home_jarvis_poky_meta_classes_package_deb_bbclass(d)
> >      0007:__anon_25__home_jarvis_poky_meta_classes_debian_bbclass(d)
> > File: '/home/jarvis/poky/meta/classes/base.bbclass', lineno: 587,
> function:
> > __anon_686__home_jarvis_poky_meta_classes_base_bbclass
> >      0583:    needsrcrev = False
> >      0584:    srcuri = d.getVar('SRC_URI')
> >      0585:    for uri in srcuri.split():
> >      0586:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
> >  *** 0587:
> >      0588:        # HTTP/FTP use the wget fetcher
> >      0589:        if scheme in ("http", "https", "ftp"):
> >      0590:            d.appendVarFlag('do_fetch', 'depends', '
> > wget-native:do_populate_sysroot')
> >      0591:
> > File: '/home/jarvis/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368,
> > function: decodeurl
> >      0364:    """
> >      0365:
> >      0366:    m =
> >
> re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
> >      0367:    if not m:
> >  *** 0368:        raise MalformedUrl(url)
> >      0369:
> >      0370:    type = m.group('type')
> >      0371:    location = m.group('location')
> >      0372:    if not location:
> > Exception: bb.fetch2.MalformedUrl: The URL:
> >
> '${LINUX_GIT_URI}/${LINUX_GIT_PREFIX}${LINUX_GIT_REPO};branch=${LINUX_GIT_SRCREV};protocol=${LINUX_GIT_PROTOCOL}'
> > is invalid and cannot be interpreted
> >
> > ERROR: /home/jarvis/poky/meta-debian/recipes-kernel/linux/
> linux-base_git.bb:
> > Error executing a python function in <code>:
> >
> > The stack trace of python calls that resulted in this exception/failure
> was:
> > File: '<code>', lineno: 3, function: <module>
> >      0001:__anon_25__home_jarvis_poky_meta_classes_patch_bbclass(d)
> >      0002:__anon_160__home_jarvis_poky_meta_classes_base_bbclass(d)
> >  *** 0003:__anon_686__home_jarvis_poky_meta_classes_base_bbclass(d)
> >      0004:__anon_1305__home_jarvis_poky_meta_classes_insane_bbclass(d)
> >      0005:__anon_250__home_jarvis_poky_meta_classes_package_bbclass(d)
> >
> 0006:__anon_352__home_jarvis_poky_meta_classes_package_deb_bbclass(d)
> >      0007:__anon_25__home_jarvis_poky_meta_classes_debian_bbclass(d)
> > File: '/home/jarvis/poky/meta/classes/base.bbclass', lineno: 587,
> function:
> > __anon_686__home_jarvis_poky_meta_classes_base_bbclass
> >      0583:    needsrcrev = False
> >      0584:    srcuri = d.getVar('SRC_URI')
> >      0585:    for uri in srcuri.split():
> >      0586:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
> >  *** 0587:
> >      0588:        # HTTP/FTP use the wget fetcher
> >      0589:        if scheme in ("http", "https", "ftp"):
> >      0590:            d.appendVarFlag('do_fetch', 'depends', '
> > wget-native:do_populate_sysroot')
> >      0591:
> > File: '/home/jarvis/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368,
> > function: decodeurl
> >      0364:    """
> >      0365:
> >      0366:    m =
> >
> re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
> >      0367:    if not m:
> >  *** 0368:        raise MalformedUrl(url)
> >      0369:
> >      0370:    type = m.group('type')
> >      0371:    location = m.group('location')
> >      0372:    if not location:
> > Exception: bb.fetch2.MalformedUrl: The URL:
> >
> '${LINUX_GIT_URI}/${LINUX_GIT_PREFIX}${LINUX_GIT_REPO};branch=${LINUX_GIT_SRCREV};protocol=${LINUX_GIT_PROTOCOL}'
> > is invalid and cannot be interpreted
> >
> > ERROR: Failed to parse recipe:
> > /home/jarvis/poky/meta-debian/recipes-misc/ltp/ltp_git.bb
> > ERROR: /home/jarvis/poky/meta-debian/recipes-debian/zlib/zlib_debian.bb:
> > Error executing a python function in <code>:
> >
> > The stack trace of python calls that resulted in this exception/failure
> was:
> > File: '<code>', lineno: 3, function: <module>
> >      0001:__anon_25__home_jarvis_poky_meta_classes_patch_bbclass(d)
> >      0002:__anon_160__home_jarvis_poky_meta_classes_base_bbclass(d)
> >  *** 0003:__anon_686__home_jarvis_poky_meta_classes_base_bbclass(d)
> >      0004:__anon_1305__home_jarvis_poky_meta_classes_insane_bbclass(d)
> >      0005:__anon_250__home_jarvis_poky_meta_classes_package_bbclass(d)
> >
> 0006:__anon_352__home_jarvis_poky_meta_classes_package_deb_bbclass(d)
> >      0007:__anon_25__home_jarvis_poky_meta_classes_debian_bbclass(d)
> > File: '/home/jarvis/poky/meta/classes/base.bbclass', lineno: 587,
> function:
> > __anon_686__home_jarvis_poky_meta_classes_base_bbclass
> >      0583:    needsrcrev = False
> >      0584:    srcuri = d.getVar('SRC_URI')
> >      0585:    for uri in srcuri.split():
> >      0586:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
> >  *** 0587:
> >      0588:        # HTTP/FTP use the wget fetcher
> >      0589:        if scheme in ("http", "https", "ftp"):
> >      0590:            d.appendVarFlag('do_fetch', 'depends', '
> > wget-native:do_populate_sysroot')
> >      0591:
> > File: '/home/jarvis/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368,
> > function: decodeurl
> >      0364:    """
> >      0365:
> >      0366:    m =
> >
> re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
> >      0367:    if not m:
> >  *** 0368:        raise MalformedUrl(url)
> >      0369:
> >      0370:    type = m.group('type')
> >      0371:    location = m.group('location')
> >      0372:    if not location:
> > Exception: bb.fetch2.MalformedUrl: The URL:
> >
> '${DEBIAN_GIT_URI}/${DEBIAN_GIT_PREFIX}zlib.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=rocko-master'
> > is invalid and cannot be interpreted
> >
> > ERROR:
> > /home/jarvis/poky/meta-debian/recipes-debian/zeromq3/zeromq3_debian.bb:
> > Error executing a python function in <code>:
> >
> > The stack trace of python calls that resulted in this exception/failure
> was:
> > File: '<code>', lineno: 3, function: <module>
> >      0001:__anon_25__home_jarvis_poky_meta_classes_patch_bbclass(d)
> >      0002:__anon_160__home_jarvis_poky_meta_classes_base_bbclass(d)
> >  *** 0003:__anon_686__home_jarvis_poky_meta_classes_base_bbclass(d)
> >      0004:__anon_1305__home_jarvis_poky_meta_classes_insane_bbclass(d)
> >      0005:__anon_250__home_jarvis_poky_meta_classes_package_bbclass(d)
> >
> 0006:__anon_352__home_jarvis_poky_meta_classes_package_deb_bbclass(d)
> >      0007:__anon_25__home_jarvis_poky_meta_classes_debian_bbclass(d)
> > File: '/home/jarvis/poky/meta/classes/base.bbclass', lineno: 587,
> function:
> > __anon_686__home_jarvis_poky_meta_classes_base_bbclass
> >      0583:    needsrcrev = False
> >      0584:    srcuri = d.getVar('SRC_URI')
> >      0585:    for uri in srcuri.split():
> >      0586:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
> >  *** 0587:
> >      0588:        # HTTP/FTP use the wget fetcher
> >      0589:        if scheme in ("http", "https", "ftp"):
> >      0590:            d.appendVarFlag('do_fetch', 'depends', '
> > wget-native:do_populate_sysroot')
> >      0591:
> > File: '/home/jarvis/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368,
> > function: decodeurl
> >      0364:    """
> >      0365:
> >      0366:    m =
> >
> re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
> >      0367:    if not m:
> >  *** 0368:        raise MalformedUrl(url)
> >      0369:
> >      0370:    type = m.group('type')
> >      0371:    location = m.group('location')
> >      0372:    if not location:
> > Exception: bb.fetch2.MalformedUrl: The URL:
> >
> '${DEBIAN_GIT_URI}/${DEBIAN_GIT_PREFIX}zeromq3.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=rocko-master'
> > is invalid and cannot be interpreted
> >
> > ERROR: /home/jarvis/poky/meta-debian/recipes-debian/zip/zip_debian.bb:
> Error
> > executing a python function in <code>:
> >
> > The stack trace of python calls that resulted in this exception/failure
> was:
> > File: '<code>', lineno: 3, function: <module>
> >      0001:__anon_25__home_jarvis_poky_meta_classes_patch_bbclass(d)
> >      0002:__anon_160__home_jarvis_poky_meta_classes_base_bbclass(d)
> >  *** 0003:__anon_686__home_jarvis_poky_meta_classes_base_bbclass(d)
> >      0004:__anon_1305__home_jarvis_poky_meta_classes_insane_bbclass(d)
> >      0005:__anon_250__home_jarvis_poky_meta_classes_package_bbclass(d)
> >
> 0006:__anon_352__home_jarvis_poky_meta_classes_package_deb_bbclass(d)
> >      0007:__anon_25__home_jarvis_poky_meta_classes_debian_bbclass(d)
> > File: '/home/jarvis/poky/meta/classes/base.bbclass', lineno: 587,
> function:
> > __anon_686__home_jarvis_poky_meta_classes_base_bbclass
> >      0583:    needsrcrev = False
> >      0584:    srcuri = d.getVar('SRC_URI')
> >      0585:    for uri in srcuri.split():
> >      0586:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
> >  *** 0587:
> >      0588:        # HTTP/FTP use the wget fetcher
> >      0589:        if scheme in ("http", "https", "ftp"):
> >      0590:            d.appendVarFlag('do_fetch', 'depends', '
> > wget-native:do_populate_sysroot')
> >      0591:
> > File: '/home/jarvis/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368,
> > function: decodeurl
> >      0364:    """
> >      0365:
> >      0366:    m =
> >
> re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
> >      0367:    if not m:
> >  *** 0368:        raise MalformedUrl(url)
> >      0369:
> >      0370:    type = m.group('type')
> >      0371:    location = m.group('location')
> >      0372:    if not location:
> > Exception: bb.fetch2.MalformedUrl: The URL:
> >
> '${DEBIAN_GIT_URI}/${DEBIAN_GIT_PREFIX}zip.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=rocko-master'
> > is invalid and cannot be interpreted
> >
> > Do help me with the solution
> >
> > --
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180325/400ab634/attachment-0002.html>


More information about the Openembedded-core mailing list