Bug#909906: jh_installlibs --version-strip="+.*": Quantifier follows nothing in regex
On Sat, 29 Sep 2018 20:47:00 + Niels Thykier wrote: > clone 909906 -1 > reassign -1 jython > reassign 909906 jsurf-alggeo > retitle -1 jython: Invalid regex passed to jh_installlibs > retitle 909906 jsurf-alggeo: Invalid regex passed to jh_installlibs > thanks, > > Adrian Bunk: > > Package: javatools > > Version: 0.66 > > Severity: serious > > Control: affects -1 src:jython > > > > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/jython.html > > > > ... > >debian/rules override_jh_installlibs > > make[1]: Entering directory '/build/1st/jython-2.7.1+repack' > > jh_installlibs --version-strip="+.*" > > Quantifier follows nothing in regex; marked by <-- HERE in m/+ <-- HERE .*/ > > at /usr/bin/jh_installlibs line 111. > > make[1]: *** [debian/rules:89: override_jh_installlibs] Error 25 > > > > The shell version of jh_installlibs used sed which is apparently more > forgiving (or possibly does not handle "+" like perl does). Attempting > to emulate sed's behaviour will never be a perfect match. > > Maintainers of jython and jsurf-alggeo: You presumably wanted to match a > literal "+", in which case please escape it (by using e.g. [+] like the > htsjdk package). > > * The jython variant then becomes --version-strip="[+].*" > * The jsurf-alggeo variant becomes --version-strip="[+]ds" > > Thanks, > ~Niels > > Btw, the default regex for jh_installlibs is: [\.+~-]ds(?:fg)?[0-9]* It looks like it might be sufficient to replace the need for passing the --version-strip option. Thanks, ~Niels
Processed (with 5 errors): Re: Bug#909906: jh_installlibs --version-strip="+.*": Quantifier follows nothing in regex
Processing commands for cont...@bugs.debian.org: > clone 909906 -1 Bug #909906 [javatools] jh_installlibs --version-strip="+.*": Quantifier follows nothing in regex Bug 909906 cloned as bug 909910 > reassign -1 jython Bug #909910 [javatools] jh_installlibs --version-strip="+.*": Quantifier follows nothing in regex Bug reassigned from package 'javatools' to 'jython'. No longer marked as found in versions 0.66. Ignoring request to alter fixed versions of bug #909910 to the same values previously set > reassign 909906 jsurf-alggeo Bug #909906 [javatools] jh_installlibs --version-strip="+.*": Quantifier follows nothing in regex Bug reassigned from package 'javatools' to 'jsurf-alggeo'. No longer marked as found in versions 0.66. Ignoring request to alter fixed versions of bug #909906 to the same values previously set > retitle -1 jython: Invalid regex passed to jh_installlibs Bug #909910 [jython] jh_installlibs --version-strip="+.*": Quantifier follows nothing in regex Changed Bug title to 'jython: Invalid regex passed to jh_installlibs' from 'jh_installlibs --version-strip="+.*": Quantifier follows nothing in regex'. > retitle 909906 jsurf-alggeo: Invalid regex passed to jh_installlibs Bug #909906 [jsurf-alggeo] jh_installlibs --version-strip="+.*": Quantifier follows nothing in regex Changed Bug title to 'jsurf-alggeo: Invalid regex passed to jh_installlibs' from 'jh_installlibs --version-strip="+.*": Quantifier follows nothing in regex'. > thanks, Unknown command or malformed arguments to command. > Adrian Bunk: Unknown command or malformed arguments to command. > > Package: javatools Unknown command or malformed arguments to command. > > Version: 0.66 Unknown command or malformed arguments to command. > > Severity: serious Unknown command or malformed arguments to command. Too many unknown commands, stopping here. Please contact me if you need assistance. -- 909906: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909906 909910: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909910 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#909906: jh_installlibs --version-strip="+.*": Quantifier follows nothing in regex
clone 909906 -1 reassign -1 jython reassign 909906 jsurf-alggeo retitle -1 jython: Invalid regex passed to jh_installlibs retitle 909906 jsurf-alggeo: Invalid regex passed to jh_installlibs thanks, Adrian Bunk: > Package: javatools > Version: 0.66 > Severity: serious > Control: affects -1 src:jython > > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/jython.html > > ... >debian/rules override_jh_installlibs > make[1]: Entering directory '/build/1st/jython-2.7.1+repack' > jh_installlibs --version-strip="+.*" > Quantifier follows nothing in regex; marked by <-- HERE in m/+ <-- HERE .*/ > at /usr/bin/jh_installlibs line 111. > make[1]: *** [debian/rules:89: override_jh_installlibs] Error 25 > The shell version of jh_installlibs used sed which is apparently more forgiving (or possibly does not handle "+" like perl does). Attempting to emulate sed's behaviour will never be a perfect match. Maintainers of jython and jsurf-alggeo: You presumably wanted to match a literal "+", in which case please escape it (by using e.g. [+] like the htsjdk package). * The jython variant then becomes --version-strip="[+].*" * The jsurf-alggeo variant becomes --version-strip="[+]ds" Thanks, ~Niels
Bug#909906: jh_installlibs --version-strip="+.*": Quantifier follows nothing in regex
Package: javatools Version: 0.66 Severity: serious Control: affects -1 src:jython https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/jython.html ... debian/rules override_jh_installlibs make[1]: Entering directory '/build/1st/jython-2.7.1+repack' jh_installlibs --version-strip="+.*" Quantifier follows nothing in regex; marked by <-- HERE in m/+ <-- HERE .*/ at /usr/bin/jh_installlibs line 111. make[1]: *** [debian/rules:89: override_jh_installlibs] Error 25