Bug 183157

Summary: lang/php55 fails to build
Product: Ports & Packages Reporter: dotnot <dotnot>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description dotnot 2013-10-21 14:00:00 UTC
I use poudriere with FreeBSD 9.2-RELEASE (jail and host) to build lang/php55 for pkgng. At the end of the buildprocess it fails with the following error:

===>  Installing for php55-5.5.5
===>  Checking if lang/php55 already installed
===>  Registering installation for php55-5.5.5
pkg-static: lstat(/wrkdirs/usr/ports/lang/php55/work/stage/usr/local/include/php/sapi/cli/): No such file or directory
pkg-static: lstat(/wrkdirs/usr/ports/lang/php55/work/stage/usr/local/include/php/sapi/): No such file or directory
*** [fake-pkg] Error code 74

Stop in /usr/ports/lang/php55.
===>  Cleaning for php55-5.5.5

Fix: 

Set NO_STAGE=yes in the ports' make.conf.
How-To-Repeat: Build the current version (21.10.2013) version of lang/php55 (with poudriere, but I suspect it would work with the "normal" ports collection too.)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-21 14:00:07 UTC
Class Changed
From-To: maintainer-update->change-request

Fix category (submitter is not maintainer) (via the GNATS Auto Assign 
Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-21 14:00:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 3 Kevin Zheng 2013-10-25 00:49:16 UTC
Hi there,

I've managed to reproduce the same problem. Poudriere fails the build
after an issue with `make package` when using STAGE support.

However, the correct solution is not to add NO_STAGE, but instead to
create the missing directories in pkg-plist.

Thanks,
Kevin Zheng
Comment 4 Alex Dupre freebsd_committer freebsd_triage 2013-10-30 13:49:32 UTC
State Changed
From-To: open->feedback

php builds fine in poudriere, do you have non-default options set?
Comment 5 Kevin Zheng 2013-11-01 17:12:41 UTC
Hi again,

Yes, I do have non-default OPTIONS set, that's probably the problem.

I have both CLI and CGI off, which are on by default. In addition, I
have APACHE on, which is off by default.

From the build log it *seems* that the CLI option is the issue.

Thanks,
Kevin Zheng
Comment 6 Alex Dupre freebsd_committer freebsd_triage 2014-02-09 12:46:52 UTC
State Changed
From-To: feedback->closed

Should be fixed.