Control: tag -1 + patch

On Sun, 06 Aug 2017 17:48:19 -0400, Lucas Nussbaum wrote:

> Source: fltk1.3
> Version: 1.3.4-4
> Severity: serious
> Tags: buster sid
> User: debian...@lists.debian.org
> Usertags: qa-ftbfs-20170805 qa-ftbfs
> Justification: FTBFS on amd64
> 
> > debian/fix-fltk-targets-noconfig \
> >     CMakeTmp/CMakeFiles/Export/share/fltk/FLTK-Targets-noconfig.cmake \
> >     > CMakeTmp/etc/FLTK-Targets-noconfig.cmake
> > Unescaped left brace in regex is illegal here in regex; marked by <-- HERE 
> > in m/(\${ <-- HERE _IMPORT_PREFIX}/lib)(?!/x86_64-linux-gnu)/ at 
> > debian/fix-fltk-targets-noconfig line 6, <> line 1.
> > debian/rules:33: recipe for target 'override_dh_auto_configure' failed
> > make[1]: *** [override_dh_auto_configure] Error 25

Here's a patch which escapes the literal left brace in
debian/fix-fltk-targets-noconfig.


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
   `-   
diff -Nru fltk1.3-1.3.4/debian/.gitignore fltk1.3-1.3.4/debian/.gitignore
--- fltk1.3-1.3.4/debian/.gitignore	2017-01-16 18:26:31.000000000 -0500
+++ fltk1.3-1.3.4/debian/.gitignore	1969-12-31 19:00:00.000000000 -0500
@@ -1,13 +0,0 @@
-*.debhelper
-*.debhelper.log
-*.substvars
-common-build-stamp
-debhelper-build-stamp
-files
-fltk1.3-doc
-fltk1.3-games
-fluid
-libfltk*1.3
-libfltk1.3-dev
-libfltk1.3-compat-headers
-tmp
diff -Nru fltk1.3-1.3.4/debian/changelog fltk1.3-1.3.4/debian/changelog
--- fltk1.3-1.3.4/debian/changelog	2017-02-22 22:28:48.000000000 -0500
+++ fltk1.3-1.3.4/debian/changelog	2017-08-06 21:39:02.000000000 -0400
@@ -1,3 +1,12 @@
+fltk1.3 (1.3.4-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: Unescaped left brace in regex is illegal here in regex;"
+    escape literal left brace in debian/fix-fltk-targets-noconfig.
+    (Closes: #871059)
+
+ -- gregor herrmann <gre...@debian.org>  Sun, 06 Aug 2017 21:39:02 -0400
+
 fltk1.3 (1.3.4-4) unstable; urgency=medium
 
   * debian/control: Build-depend on libxcursor-dev.  (Closes: #855863.)
diff -Nru fltk1.3-1.3.4/debian/fix-fltk-targets-noconfig fltk1.3-1.3.4/debian/fix-fltk-targets-noconfig
--- fltk1.3-1.3.4/debian/fix-fltk-targets-noconfig	2017-02-13 22:08:01.000000000 -0500
+++ fltk1.3-1.3.4/debian/fix-fltk-targets-noconfig	2017-08-06 21:39:02.000000000 -0400
@@ -3,7 +3,7 @@
 
 my $to_untag = '';
 while (<>) {
-    s,(\${_IMPORT_PREFIX}/lib)(?!/$ENV{DEB_HOST_MULTIARCH}),$1/$ENV{DEB_HOST_MULTIARCH},g;
+    s,(\$\{_IMPORT_PREFIX}/lib)(?!/$ENV{DEB_HOST_MULTIARCH}),$1/$ENV{DEB_HOST_MULTIARCH},g;
     s,\.so\.1\.3\.\d*,\.so,g;
     s,([^a-z]fltk\w*(?<!_SHARED))(\W),${1}_STATIC$2,g;
     s,(libfltk\w*)_SHARED,$1,g;
diff -Nru fltk1.3-1.3.4/debian/patches/debian-changes fltk1.3-1.3.4/debian/patches/debian-changes
--- fltk1.3-1.3.4/debian/patches/debian-changes	2017-02-22 22:28:48.000000000 -0500
+++ fltk1.3-1.3.4/debian/patches/debian-changes	2017-08-06 21:39:02.000000000 -0400
@@ -1,17 +1,4 @@
 Combined patches from git.
---- fltk1.3-1.3.4.orig/.gitignore
-+++ fltk1.3-1.3.4/.gitignore
-@@ -1,3 +1,10 @@
-+# Start Debian additions
-+/.pc
-+/CMakeTmp
-+/cairo/libfltk_cairo.so*
-+/documentation/doxygen_sqlite3.db
-+# End Debian additions
-+
- # ignore file for git - generated from subversion with:
- # git svn show-ignore
- 
 --- fltk1.3-1.3.4.orig/KNOWN_BUGS.html
 +++ fltk1.3-1.3.4/KNOWN_BUGS.html
 @@ -6,7 +6,7 @@

Attachment: signature.asc
Description: Digital Signature

Reply via email to