[Bug 287051] net-mgmt/check_mysql_health: poudriere creates unrunnable check_mysql_health

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 24 May 2025 16:42:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287051

            Bug ID: 287051
           Summary: net-mgmt/check_mysql_health: poudriere creates
                    unrunnable check_mysql_health
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: openjdk@getsnappy.com
                CC: kirill@varnakov.com
             Flags: maintainer-feedback?(kirill@varnakov.com)
                CC: kirill@varnakov.com

Created attachment 260689
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=260689&action=edit
remove problematic line from

After upgrading to FreeBSD 13.5 and rebuilding the latest quarterly ports, I
received the following error.  Looking into the logs it looks like it was
hitting an error during the build phase but silently continuing.

if [ "yes" == "yes" ]; then  /bin/echo i am standalone;  for m in
../GLPlugin/lib/Monitoring/GLPlugin/Commandline/Extraopts.pm 
../GLPlugin/lib/Monitoring/GLPlugin/Commandline/Getopt.pm 
../GLPlugin/lib/Monitoring/GLPlugin/Commandline.pm 
../GLPlugin/lib/Monitoring/GLPlugin.pm 
../GLPlugin/lib/Monitoring/GLPlugin/Item.pm 
../GLPlugin/lib/Monitoring/GLPlugin/TableItem.pm 
../GLPlugin/lib/Monitoring/GLPlugin/DB.pm 
../GLPlugin/lib/Monitoring/GLPlugin/DB/DBI.pm 
../GLPlugin/lib/Monitoring/GLPlugin/DB/CSF.pm 
../GLPlugin/lib/Monitoring/GLPlugin/DB/Item.pm 
../GLPlugin/lib/Monitoring/GLPlugin/DB/TableItem.pm; do  /usr/bin/sed -e
's/^1;//g' < $m | /usr/bin/sed -e '/^__END__/,$d' | /usr/bin/sed -e
'/^__PACKAGE__/,$d' | /usr/bin/awk -f ./subst >> check_mysql_health;  done  fi
i am standalone
/usr/bin/awk: syntax error in regular expression ^#! ?\/.*\/[a-z]{0,2}awk at 
 source line number 44 source file ./subst
 context is
        /^#! ?\/.*\/[a-z]{0,2}awk/ {sub(/^#! ?\/.*\/[a-z]{0,2}awk/,"#! >>> 
/usr/bin/awk") <<< ;}
*** Error code 2




I created a patch to remove line 44 from the subst.in, as it doesn't seem
necessary and everything builds and works as expected.

-- 
You are receiving this mail because:
You are the assignee for the bug.