Bug#828636: [Reproducible-builds] Bug#828636: libembperl-perl: please make the build reproducible

Axel Beckert abe at debian.org
Sun Jun 26 21:21:38 UTC 2016


Hi again,

Axel Beckert wrote:
> > It's actually related to the shell...
> >
> > $ touch aD bD cD dD eD AD BD
> > $ dash -c "ls *[a-z]D"
> > aD  bD	cD  dD	eD
> > $ bash -c "ls *[a-z]D"
> > aD  AD	bD  BD	cD  dD	eD
> > 
> > With bash POD.3pm also matches *[a-z]D.3pm.
> 
> Yay, thanks for that. I actually also suspected capitalization during
> matching as culprit, but suspected different locales as reason for
> that.

It's actually both:

→ env LC_ALL=C bash -c 'ls -l D[a-z]*'
-rw-r--r-- 1 abe abe 32420 May  9 18:51 Doxyfile
→ env LC_ALL=de_DE.utf-8 bash -c 'ls -l D[a-z]*'
-rwxr-xr-x 1 abe abe 13752 Mai  9 18:51 DOM.xs
-rw-r--r-- 1 abe abe 32420 Mai  9 18:51 Doxyfile
→ env LC_ALL=C dash -c 'ls -l D[a-z]*'
-rw-r--r-- 1 abe abe 32420 May  9 18:51 Doxyfile
→ env LC_ALL=de_DE.utf-8 dash -c 'ls -l D[a-z]*'
-rw-r--r-- 1 abe abe 32420 Mai  9 18:51 Doxyfile

> Will do an upload which re-includes the man page, but with proper
> matching.

My plan is to use something like "find . -name '*[a-z]D.*'" which
seems to be resistent to the above mentioned problem:

→ env LC_ALL=C find . -name '*[a-z]D.*'
./eg/web/indexD.htm
./FeaturesD.pod
→ env LC_ALL=de_DE.utf-8 find . -name '*[a-z]D.*'
./eg/web/indexD.htm
./FeaturesD.pod
→ switchsh env LC_ALL=de_DE.utf-8 find . -name '*[a-z]D.*'
./eg/web/indexD.htm
./FeaturesD.pod

None of the cases above find the POD.pm file:

→ find . -name '*[A-Z]D.*'
./Embperl/Syntax/POD.pm

And just to show what switchsh indeed works and replaces /bin/sh with
bash for a single command (via bind mount):

→ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Mar 12 10:05 /bin/sh -> dash*
→ env LC_ALL=de_DE.utf-8 sh -c 'ls -l D[a-z]*'
-rw-r--r-- 1 abe abe 32420 Mai  9 18:51 Doxyfile
→ switchsh env LC_ALL=de_DE.utf-8 sh -c 'ls -l D[a-z]*'
-rwxr-xr-x 1 abe abe 13752 Mai  9 18:51 DOM.xs
-rw-r--r-- 1 abe abe 32420 Mai  9 18:51 Doxyfile

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



More information about the pkg-perl-maintainers mailing list