Skip to content

Commit 83ad282

Browse files
committed
Ensure digest of lib/unicore/mktables is reproducible
For reasons Perl has decided files that don't exist should be given a random "small" digest to make them rebuild always. That isn't helpful for reproducibility.
1 parent 7bc5ec4 commit 83ad282

File tree

5 files changed

+25
-1
lines changed

5 files changed

+25
-1
lines changed

steps/perl-5.22.4/pass1.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ src_prepare() {
3535
lib/feature.pm lib/B/Op_private.pm miniperlmain.c unicode_constants.h \
3636
charclass_invlists.h ebcdic_tables.h packsizetables.c overload.c \
3737
mg_names.c
38+
# If an input file does not exist, the "digest" of the input file (used as
39+
# a manifest of inputs) in the generated file is a random number, which is
40+
# not reproducible
41+
touch lib/unicore/mktables.lst
42+
3843
perl regen.pl
3944
perl regen_perly.pl -b bison-2.3
4045
perl regen/keywords.pl

steps/perl-5.24.4/pass1.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ src_prepare() {
3535
lib/feature.pm lib/B/Op_private.pm miniperlmain.c unicode_constants.h \
3636
charclass_invlists.h ebcdic_tables.h mg_names.inc overload.inc \
3737
packsizetables.inc
38+
# If an input file does not exist, the "digest" of the input file (used as
39+
# a manifest of inputs) in the generated file is a random number, which is
40+
# not reproducible
41+
touch lib/unicore/mktables.lst
42+
3843
perl regen.pl
3944
perl regen_perly.pl -b bison-2.3
4045
perl regen/keywords.pl

steps/perl-5.30.3/pass1.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ src_prepare() {
3030
lib/feature.pm lib/B/Op_private.pm miniperlmain.c unicode_constants.h \
3131
charclass_invlists.h ebcdic_tables.h mg_names.inc overload.inc \
3232
packsizetables.inc uni_keywords.h
33+
# If an input file does not exist, the "digest" of the input file (used as
34+
# a manifest of inputs) in the generated file is a random number, which is
35+
# not reproducible
36+
touch lib/unicore/mktables.lst
37+
3338
perl regen.pl
3439
perl regen_perly.pl -b bison-2.3
3540
perl regen/keywords.pl
@@ -51,7 +56,6 @@ src_prepare() {
5156
ln -s ../perl-* "$mconf_dir"/perl
5257
"$mconf_dir"/U/mkglossary > Porting/Glossary
5358

54-
5559
bash dist/Devel-PPPort/devel/mkapidoc.sh . \
5660
dist/Devel-PPPort/parts/apidoc.fnc \
5761
dist/Devel-PPPort/parts/embed.fnc

steps/perl-5.36.3/pass1.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ src_prepare() {
3131
miniperlmain.c unicode_constants.h uni_keywords.h \
3232
charclass_invlists.h ebcdic_tables.h mg_names.inc overload.inc \
3333
packsizetables.inc
34+
# If an input file does not exist, the "digest" of the input file (used as
35+
# a manifest of inputs) in the generated file is a random number, which is
36+
# not reproducible
37+
touch lib/unicore/mktables.lst
38+
3439
perl regen.pl
3540
perl regen_perly.pl
3641
perl regen/keywords.pl

steps/perl-5.42.0/pass1.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ src_prepare() {
3434
charclass_invlists.h ebcdic_tables.h mg_names.inc overload.inc \
3535
packsizetables.inc regexp_constants.h locale_table.h scope_types.h \
3636
charclass_invlists.inc
37+
# If an input file does not exist, the "digest" of the input file (used as
38+
# a manifest of inputs) in the generated file is a random number, which is
39+
# not reproducible
40+
touch lib/unicore/mktables.lst
41+
3742
perl regen.pl
3843
perl regen_perly.pl
3944
perl regen/keywords.pl

0 commit comments

Comments
 (0)