[Git][reproducible-builds/strip-nondeterminism][master] 3 commits: Add missing use statements in uimage handler

Chris Lamb gitlab at salsa.debian.org
Thu Jun 14 22:00:27 CEST 2018


Chris Lamb pushed to branch master at Reproducible Builds / strip-nondeterminism


Commits:
438d95fa by Evgueni Souleimanov at 2018-06-06T19:13:54-04:00
Add missing use statements in uimage handler

Fixes this error:

    $ strip-nondeterminism -T 123123123 Linux-1001.uImage
    strip-nondeterminism: Linux-1001.uImage: Undefined subroutine
    &Archive::Zip::computeCRC32 called at
    /usr/share/perl5/File/StripNondeterminism/handlers/uimage.pm line 50.

Error shows up when trying to use strip-nondeterminism script, but does not
show up in "make test" during build.

Signed-off-by: Evgueni Souleimanov <esoule at 100500.ca>

- - - - -
753a3c5e by Evgueni Souleimanov at 2018-06-06T19:15:52-04:00
Add missing use statements in bflt handler

Signed-off-by: Evgueni Souleimanov <esoule at 100500.ca>

- - - - -
171d65b9 by Chris Lamb at 2018-06-14T20:00:25+00:00
Merge branch 'hotfix-handler-uimage-zip' into 'master'

Add missing use statements in uimage handler (fixes error on use)

See merge request reproducible-builds/strip-nondeterminism!1
- - - - -


2 changed files:

- lib/File/StripNondeterminism/handlers/bflt.pm
- lib/File/StripNondeterminism/handlers/uimage.pm


Changes:

=====================================
lib/File/StripNondeterminism/handlers/bflt.pm
=====================================
--- a/lib/File/StripNondeterminism/handlers/bflt.pm
+++ b/lib/File/StripNondeterminism/handlers/bflt.pm
@@ -20,6 +20,8 @@ package File::StripNondeterminism::handlers::bflt;
 
 use strict;
 use warnings;
+
+use File::StripNondeterminism;
 use Fcntl q/SEEK_SET/;
 
 use constant bFLT => 0x62464C54;


=====================================
lib/File/StripNondeterminism/handlers/uimage.pm
=====================================
--- a/lib/File/StripNondeterminism/handlers/uimage.pm
+++ b/lib/File/StripNondeterminism/handlers/uimage.pm
@@ -20,6 +20,9 @@ package File::StripNondeterminism::handlers::uimage;
 
 use strict;
 use warnings;
+
+use Archive::Zip ();
+use File::StripNondeterminism;
 use Fcntl q/SEEK_SET/;
 
 # /*



View it on GitLab: https://salsa.debian.org/reproducible-builds/strip-nondeterminism/compare/9f1c75698a3a31a8eae146d9aed3c93eb8b183b9...171d65b9844b6b5507d0612eaaf41017b506d89d

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/strip-nondeterminism/compare/9f1c75698a3a31a8eae146d9aed3c93eb8b183b9...171d65b9844b6b5507d0612eaaf41017b506d89d
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20180614/a44031eb/attachment.html>


More information about the rb-commits mailing list