[Bug 265500] lang/php82 Building with some options off fails on staging

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 29 Jul 2022 13:17:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265500

            Bug ID: 265500
           Summary: lang/php82 Building with some options off fails on
                    staging
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: a.shikov@itcons.net.ua
             Flags: maintainer-feedback?(bofh@freebsd.org)
          Assignee: bofh@freebsd.org

Hello!

Makefile post-install target does not take into account possible off options.
For example, building with CGI option off fails:

/usr/ports/lang/php82>make
[...]
===>  Staging for php82-8.2.0.a3
===>   Generating temporary packing list
Installing PHP SAPI module:       embed
Installing PHP CLI binary:       
/usr/ports/lang/php82/work/stage/usr/local/bin/
Installing PHP CLI man page:     
/usr/ports/lang/php82/work/stage/usr/local/man/man1/
Installing phpdbg binary:        
/usr/ports/lang/php82/work/stage/usr/local/bin/
Installing phpdbg man page:      
/usr/ports/lang/php82/work/stage/usr/local/man/man1/
Installing build environment:    
/usr/ports/lang/php82/work/stage/usr/local/lib/php/build/
Installing header files:         
/usr/ports/lang/php82/work/stage/usr/local/include/php/
Installing helper programs:      
/usr/ports/lang/php82/work/stage/usr/local/bin/
  program: phpize
  program: php-config
Installing man pages:            
/usr/ports/lang/php82/work/stage/usr/local/man/man1/
  page: phpize.1
  page: php-config.1
/usr/bin/strip /usr/ports/lang/php82/work/stage//usr/local/bin/php-cgi
strip: open /usr/ports/lang/php82/work/stage//usr/local/bin/php-cgi failed: No
such file or directory
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/lang/php82
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/php82

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