[SCM] ardour/master: Modernize cdbs: Do copyright-check in maintainer script (not during build).

Jaromír Mikeš mira.mikes at gmail.com
Mon Aug 21 12:37:25 UTC 2017


2017-08-21 14:07 GMT+02:00 Jonas Smedegaard <dr at jones.dk>:

> Quoting Jaromír Mikeš (2017-08-21 13:23:55)
> > 2017-08-21 13:00 GMT+02:00 Jonas Smedegaard <dr at jones.dk>:
> > > Quoting Jaromír Mikeš (2017-08-21 12:10:35)
> > > > I might be wrong, but d/copyright-check script doesn't generate
> > > > copyright_newhints for me :(
> > >
> > > What then happens instead?
> > >
> >
> > Nothing
>
> That's weird.  Just silence? Not even some error message?
>


> Just to make sure we are talking about the same thing: What I mean by
> "not during build" is that the script now needs to be run explicitly.
>

I know


> If you only ran (your favorite wrapper for) debuildpackage, then sure it
> didn't do copyright check - that is intentional.
>
>
> > If your script doesn't work I would keep info how to do it manually in
> > README.source.
>
> The script works for me - just tested again.  Could you please tell
> exactly which commands you invoked which lead to "Nothing".
>

Well "nothing" was not precise ... :(

$ debian/copyright-check
CDBS: parsing Ardour-5.11.0.tar.bz2 ...
Parsing Ardour-5.11.0.tar.bz2...

bzip2: Compressed file ends unexpectedly;
    perhaps it is corrupted?  *Possible* reason follows.
bzip2: Inappropriate ioctl for device
    Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

tar: Child returned status 2
tar: Error is not recoverable: exiting now
test -x debian/rules
mkdir -p "."

Scanning upstream source for new/changed copyright notices...

set -e; find * -type f -regextype posix-extended  -regex '^.+\.(png|ttf)$'
-print0 | perl -0 /usr/lib/cdbs/license-miner
Can't locate Image/ExifTool.pm in @INC (you may need to install the
Image::ExifTool module) (@INC contains: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.26.0 /usr/local/share/perl/5.26.0
/usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at
/usr/lib/cdbs/license-miner line 13.
BEGIN failed--compilation aborted at /usr/lib/cdbs/license-miner line 13.
/usr/share/cdbs/1/rules/utils.mk:140: recipe for target
'debian/copyright_newhints' failed
make: *** [debian/copyright_newhints] Error 2
CDBS: parsing Ardour-5.11.0.tar.bz2 ...
test -x debian/rules
set -e;
find * -regextype posix-extended  -regex '^(.+\.(png|ttf))\.metadata$'
-type f -delete
rm -f debian/cdbs-install-list debian/cdbs-package-list
debian/stamp-copyright-check
rm -rf "debian/upstream-cruft"
rm -f debian/stamp-upstream-cruft


mira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20170821/599db144/attachment.html>


More information about the pkg-multimedia-maintainers mailing list