Package: blhc
Version: 0.14-1
Severity: normal
Tags: patch

Dear Maintainer,

blhc triggers a NONVERBOSE BUILD error in src:fim

https://salsa.debian.org/debian/fim/-/jobs/5618524

  [snip]
  $ blhc --debian --line-numbers --color ${SALSA_CI_BLHC_ARGS} 
${WORKING_DIR}/*.build || [ $? -eq 1 ]
  338:NONVERBOSE BUILD:         CXX      : g++
  [snip]

blhc is complaining about the output of the upstream configure script, 
which indicates to the user which C++ compiler will be used.

The patch attached to this bug report fixes the problem for me. 
Hopefully, it will not introduce false negatives.

Best regards,

Rafael Laboissi
--- blhc	2024-04-20 15:10:28.965108347 -0300
+++ blhc-new	2024-04-20 15:10:38.509055996 -0300
@@ -554,7 +554,7 @@
     }
 
     if (not (index($line, 'checking if you want to see long compiling messages... no') == 0
-                or $line =~ /^\s*\[?(?:CC|CCLD|C\+\+|CXX|CXXLD|LD|LINK)\]?\s+(.+?)$/
+                or $line =~ /^\s*\[?(?:CC|CCLD|C\+\+|CXX|CXXLD|LD|LINK)\]?\s+([^:]+?)$/
                 or $line =~ /^\s*[][\/0-9 ]*[Cc]ompiling\s+(.+?)(?:\.\.\.)?$/
                 or $line =~ /^\s*[Bb]uilding (?:program|shared library)\s+(.+?)$/
                 or $line =~ /^\s*\[[\d ]+%\] Building (?:C|CXX) object (.+?)$/)) {

Reply via email to