Bug#831870: devscripts: [mk-origtargz] Fails to create tar with Files-Excluded

Osamu Aoki osamuaoki at e01.itscom.net
Wed Jul 20 14:51:53 UTC 2016


Hi,

Is this a bug or lack of documentation ...

On Wed, Jul 20, 2016 at 05:10:01PM +0530, Chirayu Desai wrote:
> Package: devscripts
> Version: 2.16.6
> Severity: normal
> 
> Dear Maintainer,
> 
> I'm working with the Android Tools team. We're seeing a failure with mk-origtargz.
> The package is src:android-platform-frameworks-base [1]. The output can be viewed at [2].
> The output is basically:
> mk-origtargz --repack --compression xz android-6.0.1_r43.tar.gz
> No files matched excluded pattern as the last matching glob: *.zip
> No files matched excluded pattern as the last matching glob: core/tests
> No files matched excluded pattern as the last matching glob: media/tests
> tar: tools/preload/sorttable.js: Not found in archive
> tar: <files matching Files-Excluded>: Not found in archive
> tar: Exiting with failure status due to previous errors
> mk-origtargz: error: tar --delete tools/preload/sorttable.js <more files matching Files-Excluded>
> gave error exit status 2
> The file android-6.0.1_r43.tar.gz can be grabbed from [3]. It is big, 930M.

Yah ... It would have been nice if you tool time to check the situation
over the messages of mk-origtargz and actual file contents

Let me requote:
> No files matched excluded pattern as the last matching glob: *.zip
> No files matched excluded pattern as the last matching glob: core/tests
> No files matched excluded pattern as the last matching glob: media/tests
> tar: tools/preload/sorttable.js: Not found in archive
> tar: <files matching Files-Excluded>: Not found in archive

So did you check these exists?  If not you need to update
debian/copyright entries first.

> tar: Exiting with failure status due to previous errors

Quick work around is remove debian/copyright entry and run uscan.  Then
carefully resotore its contents with updated situation.

Osamu

(Still downloading android-6.0.1_r43.tar.gz so I have not checked the
real situation.

Osamu

> Regards,
> Chirayu Desai
> 
> [1]: http://anonscm.debian.org/cgit/android-tools/android-platform-frameworks-base.git
> [2]: http://sprunge.us/RCIR
> [3]: https://android.googlesource.com/platform/frameworks/base/+archive/android-6.0.1_r43.tar.gz
> 



More information about the devscripts-devel mailing list