Quoting Jonas Smedegaard (2018-06-11 14:10:52)
> Quoting Guido Günther (2018-06-11 13:32:34)
>> On Mon, Jun 11, 2018 at 11:59:58AM +0200, Jonas Smedegaard wrote:
>>> Quoting Guido Günther (2018-06-11 11:07:33)
>>>> On Mon, Jun 11, 2018 at 11:04:51AM +0200, Guido Günther wrote:
>>>>> On Mon, Jun 11, 2018 at 10:01:44AM +0200, Jonas Smedegaard wrote:
>>>>>> "gbp import-orig --uscan" seems to choke on tarballs repacked by 
>>>>>> uscan.
[...]
>> The tarball generated by uscan "monero_0.12.2.0~dfsg.orig.tar.gz" 
>> does not contain the directories you mention. When I run this:
>> 
>>     $ git branch upstream
>>     $ gbp import-orig -v --merge-mode=replace --postimport=/bin/true 
>> --no-pristine-tar --no-sign --uscan
>>     … 
>>     $ DIRS='translations|utils' ; tar -list -af 
>> monero_0.12.2.0~dfsg.orig.tar.gz | grep -qs -E "(${DIRS})/" || echo "${DIRS} 
>> not found"
>>     translations|utils not found
>> 
>> Can you show me what I'm missing to reproduce this?
>
> Oh - I use Midnight Commander (package mc) to inspect tarballs, and 
> apparently that can parse tarballs that tar cannot.
> 
> Seems this is an issue of corrupted tarball, then.
> 
> I now found a commandline tool that confirms that the dirs exist: Can 
> you try confirm by installing package pax and running this command:
> 
>   paxtar tvzf monero_0.12.2.0~dfsg.orig.tar.gz '*.ts'

Another options: Install libarchive-extract-perl and run this:

  perl -MArchive::Extract -e '$ae = Archive::Extract->new( archive => 
"monero_0.12.2.0~dfsg.orig.tar.gz" ); $ae->extract(to => "outdir")'
  ls outdir/monero-0.12.2.0/translations/


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to