Bug#870821: esys-particle FTBFS with perl 5.26

2017-08-06 Thread gregor herrmann
On Sun, 06 Aug 2017 21:31:43 -0400, gregor herrmann wrote:

> Here's a patch fixing the regexps in the helper scripts and making
> the build succedd.

2nd try


Cheeers,
gregor


-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   
diff -Nru esys-particle-2.3.5+dfsg1/debian/changelog esys-particle-2.3.5+dfsg1/debian/changelog
--- esys-particle-2.3.5+dfsg1/debian/changelog	2017-07-17 14:18:46.0 -0400
+++ esys-particle-2.3.5+dfsg1/debian/changelog	2017-08-06 17:48:39.0 -0400
@@ -1,3 +1,11 @@
+esys-particle (2.3.5+dfsg1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "esys-particle FTBFS with perl 5.26"
+(Closes: #870821)
+
+ -- gregor herrmann   Sun, 06 Aug 2017 17:48:39 -0400
+
 esys-particle (2.3.5+dfsg1-1) unstable; urgency=medium
 
   * Upload into unstable.
diff -Nru esys-particle-2.3.5+dfsg1/debian/patches/07_fix_FTBFS_perl5.26.patch esys-particle-2.3.5+dfsg1/debian/patches/07_fix_FTBFS_perl5.26.patch
--- esys-particle-2.3.5+dfsg1/debian/patches/07_fix_FTBFS_perl5.26.patch	1969-12-31 19:00:00.0 -0500
+++ esys-particle-2.3.5+dfsg1/debian/patches/07_fix_FTBFS_perl5.26.patch	2017-08-06 17:48:39.0 -0400
@@ -0,0 +1,47 @@
+Description: Fix "Unescaped left brace in regex is illegal" error in perl helper scripts
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/870821
+Forwarded: no
+Author: gregor herrmann 
+Last-Update: 2017-08-06
+
+--- a/Doc/Notes/makeglos.pl
 b/Doc/Notes/makeglos.pl
+@@ -46,7 +46,7 @@
+ {
+while ()
+{
+-  if (m/\\newglossarytype\[(.*)\]{(.*)}{(.*)}{(.*)}/)
++  if (m/\\newglossarytype\[(.*)\]\{(.*)}\{(.*)}\{(.*)}/)
+   {
+  $exttype{$2}{'in'}  = $3;
+  $exttype{$2}{'out'} = $4;
+@@ -237,7 +237,7 @@
+ 
+  for ($i = 1, $j=-1; $i < $n; $i++)
+  {
+-if ($stuff[$i]=~s/{(.+)\\glosslabel{(.+)}}//)
++if ($stuff[$i]=~s/\{(.+)\\glosslabel\{(.+)}}//)
+ {
+$name = $&;
+ 
+--- a/Doc/Tutorial/makeglos.pl
 b/Doc/Tutorial/makeglos.pl
+@@ -46,7 +46,7 @@
+ {
+while ()
+{
+-  if (m/\\newglossarytype\[(.*)\]{(.*)}{(.*)}{(.*)}/)
++  if (m/\\newglossarytype\[(.*)\]\{(.*)}\{(.*)}\{(.*)}/)
+   {
+  $exttype{$2}{'in'}  = $3;
+  $exttype{$2}{'out'} = $4;
+@@ -237,7 +237,7 @@
+ 
+  for ($i = 1, $j=-1; $i < $n; $i++)
+  {
+-if ($stuff[$i]=~s/{(.+)\\glosslabel{(.+)}}//)
++if ($stuff[$i]=~s/\{(.+)\\glosslabel\{(.+)}}//)
+ {
+$name = $&;
+ 
diff -Nru esys-particle-2.3.5+dfsg1/debian/patches/series esys-particle-2.3.5+dfsg1/debian/patches/series
--- esys-particle-2.3.5+dfsg1/debian/patches/series	2017-07-17 13:32:47.0 -0400
+++ esys-particle-2.3.5+dfsg1/debian/patches/series	2017-08-06 17:48:39.0 -0400
@@ -3,3 +3,4 @@
 03_ax-boost.patch
 05_fix_epydoc_timestamp.patch
 06_fix_FTBFS_gcc6.patch
+07_fix_FTBFS_perl5.26.patch


signature.asc
Description: Digital Signature


Processed: Re: Bug#870821: esys-particle FTBFS with perl 5.26

2017-08-06 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 + patch
Bug #870821 [src:esys-particle] esys-particle FTBFS with perl 5.26
Added tag(s) patch.

-- 
870821: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870821
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#870821: esys-particle FTBFS with perl 5.26

2017-08-06 Thread gregor herrmann
Control: tag -1 + patch

On Sat, 05 Aug 2017 17:30:46 +0300, Adrian Bunk wrote:

> Source: esys-particle
> Version: 2.3.5+dfsg1-1
> Severity: serious
> 
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/esys-particle.html
> 
> ...
> ./makeglos.pl paper.glo
> Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in 
> m/\\newglossarytype\[(.*)\]{ <-- HERE (.*)}{(.*)}{(.*)}/ at ./makeglos.pl 
> line 49.
> Makefile:606: recipe for target 'ESyS-Particle_Tutorial.pdf' failed
> make[4]: *** [ESyS-Particle_Tutorial.pdf] Error 255

Here's a patch fixing the regexps in the helper scripts and making
the build succedd.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   


signature.asc
Description: Digital Signature


Bug#870821: esys-particle FTBFS with perl 5.26

2017-08-05 Thread Adrian Bunk
Source: esys-particle
Version: 2.3.5+dfsg1-1
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/esys-particle.html

...
./makeglos.pl paper.glo
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in 
m/\\newglossarytype\[(.*)\]{ <-- HERE (.*)}{(.*)}{(.*)}/ at ./makeglos.pl line 
49.
Makefile:606: recipe for target 'ESyS-Particle_Tutorial.pdf' failed
make[4]: *** [ESyS-Particle_Tutorial.pdf] Error 255