<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>12941</bug_id>
          
          <creation_ts>2018-09-29 11:21:26 +0000</creation_ts>
          <short_desc>gitsm unpack issue after rewrite gitsm</short_desc>
          <delta_ts>2018-10-05 18:26:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>2.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.6 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>openatv</reporter>
          <assigned_to name="Mark Hatle">mark.hatle</assigned_to>
          <cc>nickersk</cc>
    
    <cc>openatv</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>81669</commentid>
    <comment_count>0</comment_count>
    <who name="">openatv</who>
    <bug_when>2018-09-29 11:21:26 +0000</bug_when>
    <thetext>After this commit : https://github.com/openembedded/bitbake/commit/9c6b39adf9781fa6745f48913a97c859fa37eb5b

i get unpack error


ERROR: libbluray-v1.0.2+gitAUTOINC+2d18c7099f-r0 do_unpack: Fetcher failure: Submodule contrib/libudfread does not exist in /www/www/sources/git2/git.videolan.org                                                                 .libbluray.git/modules/contrib/libudfread or /home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libblu                                                                 ray/v1.0.2+gitAUTOINC+2d18c7099f-r0/git/.git/modules/contrib/libudfread.
DEBUG: libbluray-v1.0.2+gitAUTOINC+2d18c7099f-r0 do_unpack: Python function base_do_unpack finished
DEBUG: libbluray-v1.0.2+gitAUTOINC+2d18c7099f-r0 do_unpack: Python function do_unpack finished
ERROR: libbluray-v1.0.2+gitAUTOINC+2d18c7099f-r0 do_unpack: Function failed: base_do_unpack
ERROR: Logfile of failure stored in: /home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0                                                                 .2+gitAUTOINC+2d18c7099f-r0/temp/log.do_unpack.28780
ERROR: Task (/home/oe1/atv63/build-enviroment/meta-oe-alliance/meta-oe/recipes-support/libbluray/libbluray_git.bb:do_unpack) failed with exit code &apos;1&apos;
DEBUG: Teardown for bitbake-worker

log show this

DEBUG: Executing python function do_unpack
DEBUG: Executing python function base_do_unpack
DEBUG: Running export PSEUDO_DISABLED=1; export PATH=&quot;/home/oe1/atv63/build-enviroment/openembedded-core/scripts:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot/usr/bin/crossscripts:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/usr/sbin:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/usr/bin:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/sbin:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/bin:/home/oe1/atv63/build-enviroment/bitbake/bin:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/hosttools&quot;; export HOME=&quot;/home/oe1&quot;; git -c core.fsyncobjectfiles=0 clone -s -n /www/www/sources/git2/git.videolan.org.libbluray.git/ /home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/git/
DEBUG: Running export PSEUDO_DISABLED=1; export PATH=&quot;/home/oe1/atv63/build-enviroment/openembedded-core/scripts:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot/usr/bin/crossscripts:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/usr/sbin:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/usr/bin:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/sbin:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/bin:/home/oe1/atv63/build-enviroment/bitbake/bin:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/hosttools&quot;; export HOME=&quot;/home/oe1&quot;; git -c core.fsyncobjectfiles=0 remote set-url origin git://git.videolan.org/libbluray.git
DEBUG: Running export PSEUDO_DISABLED=1; export PATH=&quot;/home/oe1/atv63/build-enviroment/openembedded-core/scripts:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot/usr/bin/crossscripts:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/usr/sbin:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/usr/bin:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/sbin:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/bin:/home/oe1/atv63/build-enviroment/bitbake/bin:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/hosttools&quot;; export HOME=&quot;/home/oe1&quot;; git -c core.fsyncobjectfiles=0 checkout -B master 2d18c7099fec196a1009ddd54029baff31c9282a
DEBUG: Running export PSEUDO_DISABLED=1; export PATH=&quot;/home/oe1/atv63/build-enviroment/openembedded-core/scripts:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot/usr/bin/crossscripts:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/usr/sbin:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/usr/bin:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/sbin:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/bin:/home/oe1/atv63/build-enviroment/bitbake/bin:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/hosttools&quot;; export HOME=&quot;/home/oe1&quot;; git -c core.fsyncobjectfiles=0 branch master --set-upstream-to origin/master
DEBUG: Running export PSEUDO_DISABLED=1; export PATH=&quot;/home/oe1/atv63/build-enviroment/openembedded-core/scripts:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot/usr/bin/crossscripts:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/usr/sbin:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/usr/bin:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/sbin:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/recipe-sysroot-native/bin:/home/oe1/atv63/build-enviroment/bitbake/bin:/home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/hosttools&quot;; export HOME=&quot;/home/oe1&quot;; git -c core.fsyncobjectfiles=0 show HEAD:.gitmodules
ERROR: Fetcher failure: Submodule contrib/libudfread does not exist in /www/www/sources/git2/git.videolan.org.libbluray.git/modules/contrib/libudfread or /home/oe1/atv63/build-enviroment/builds/openatv/release/u5pvr/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/libbluray/v1.0.2+gitAUTOINC+2d18c7099f-r0/git/.git/modules/contrib/libudfread.
DEBUG: Python function base_do_unpack finished
DEBUG: Python function do_unpack finished
ERROR: Function failed: base_do_unpack


for test i use this bb file

SUMMARY  = &quot;Library to access Blu-Ray disk&quot;
SECTION = &quot;misc&quot;
HOMEPAGE = &quot;http://videolan.org&quot;
LICENSE = &quot;GPLv2&quot;
LIC_FILES_CHKSUM=&quot;file://COPYING;md5=435ed639f84d4585d93824e7da3d85da&quot;

DEPENDS = &quot;libxml2&quot;

SRC_URI = &quot;gitsm://git.videolan.org/libbluray.git&quot;

inherit gitpkgv autotools-brokensep pkgconfig

SRCREV = &quot;${AUTOREV}&quot;
PV = &quot;v1.0.2+git${SRCPV}&quot;
PKGV = &quot;v1.0.2+git${GITPKGV}&quot;

S=&quot;${WORKDIR}/git&quot;

EXTRA_OECONF = &quot; \
    --disable-bdjava-jar \
    --disable-doxygen-doc \
    --disable-doxygen-dot \
    --without-freetype \
    --without-fontconfig \
&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81756</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2018-10-04 14:59:31 +0000</bug_when>
    <thetext>As I don&apos;t know what this &quot;gitpkgv&quot; class is, I simplified the reproducer down to:


SUMMARY  = &quot;Library to access Blu-Ray disk&quot;
SECTION = &quot;misc&quot;
HOMEPAGE = &quot;http://videolan.org&quot;
LICENSE = &quot;GPLv2&quot;
LIC_FILES_CHKSUM=&quot;file://COPYING;md5=435ed639f84d4585d93824e7da3d85da&quot;

DEPENDS = &quot;libxml2&quot;

SRC_URI = &quot;gitsm://git.videolan.org/libbluray.git&quot;

SRCREV = &quot;${AUTOREV}&quot;


The patches submitted by to bitbake-devel by Laurent Bonnans and myself to the gitsm.py appear to resolve this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81766</commentid>
    <comment_count>2</comment_count>
    <who name="">nickersk</who>
    <bug_when>2018-10-05 08:26:42 +0000</bug_when>
    <thetext>using bitbake-devel works for me. thanks</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>