From nobody@FreeBSD.org  Tue May 27 22:28:47 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 226F37AC
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 May 2014 22:28:47 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id 0FCBB2CB9
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 May 2014 22:28:47 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4RMSk7X002832
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 May 2014 22:28:46 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4RMSkO6002829;
	Tue, 27 May 2014 22:28:46 GMT
	(envelope-from nobody)
Message-Id: <201405272228.s4RMSkO6002829@cgiserv.freebsd.org>
Date: Tue, 27 May 2014 22:28:46 GMT
From: Chris Phillips <cphillips@aptient.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: PHP 5.5.x fails to install on 10.0-RELEASE
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         190324
>Category:       misc
>Synopsis:       PHP 5.5.x fails to install on 10.0-RELEASE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 27 22:30:00 UTC 2014
>Closed-Date:    
>Last-Modified:  Thu May 29 21:30:00 UTC 2014
>Originator:     Chris Phillips
>Release:        10.0-RELEASE
>Organization:
Aptient Consulting Group, Inc.
>Environment:
FreeBSD domain.com 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 #0: Tue May 13 18:31:10 UTC 2014     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
PHP-5.5.x fails to install on a source build.  As far as I can tell, the issue is with libtool.  The libphp5.so module is not being created by libtool and thus not installed.

[root@server01 /usr/local/src/php-5.5.5]# make install
Installing PHP SAPI module:       apache2handler
/usr/local/httpd/build/instdso.sh SH_LIBTOOL='/usr/local/apr/build-1/libtool' libphp5.la /usr/local/httpd/modules
/usr/local/apr/build-1/libtool --mode=install cp libphp5.la /usr/local/httpd/modules/
libtool: install: cp .libs/libphp5.lai /usr/local/httpd/modules/libphp5.la
libtool: install: cp .libs/libphp5.a /usr/local/httpd/modules/libphp5.a
libtool: install: chmod 644 /usr/local/httpd/modules/libphp5.a
libtool: install: ranlib /usr/local/httpd/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish /usr/local/src/php-5.5.5/libs'
Warning!  dlname not found in /usr/local/httpd/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/httpd/modules/libphp5.so
chmod: /usr/local/httpd/modules/libphp5.so: No such file or directory
apxs:Error: Command failed with rc=65536
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:

From: Chris Phillips <cphillips@aptient.com>
To: Gary Palmer <gpalmer@freebsd.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/190324: PHP 5.5.x fails to install on 10.0-RELEASE
Date: Thu, 29 May 2014 12:58:00 -0700

 Gary,
 
 I have too many compile options and too much customization for MySQL, 
 Apache and PHP for ports to suit my needs.  I've been compiling from 
 source for 20 years without issue.  Why change now.
 
 Regardless of ports being available or not, one would think that it 
 would be a great concern to the FreeBSD team that one of the most 
 ubiquitous scripting languages won't compile on FreeBSD from source.
 
 On 5/29/2014 12:47 PM, Gary Palmer wrote:
 > On Tue, May 27, 2014 at 10:28:46PM +0000, Chris Phillips wrote:
 >>
 >>> Number:         190324
 >>> Category:       misc
 >>> Synopsis:       PHP 5.5.x fails to install on 10.0-RELEASE
 >>> Confidential:   no
 >>> Severity:       non-critical
 >>> Priority:       low
 >>> Responsible:    freebsd-bugs
 >>> State:          open
 >>> Quarter:
 >>> Keywords:
 >>> Date-Required:
 >>> Class:          sw-bug
 >>> Submitter-Id:   current-users
 >>> Arrival-Date:   Tue May 27 22:30:00 UTC 2014
 >>> Closed-Date:
 >>> Last-Modified:
 >>> Originator:     Chris Phillips
 >>> Release:        10.0-RELEASE
 >>> Organization:
 >> Aptient Consulting Group, Inc.
 >>> Environment:
 >> FreeBSD domain.com 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 #0: Tue May 13 18:31:10 UTC 2014     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
 >>> Description:
 >> PHP-5.5.x fails to install on a source build.  As far as I can tell, the issue is with libtool.  The libphp5.so module is not being created by libtool and thus not installed.
 >>
 >> [root@server01 /usr/local/src/php-5.5.5]# make install
 >> Installing PHP SAPI module:       apache2handler
 >> /usr/local/httpd/build/instdso.sh SH_LIBTOOL='/usr/local/apr/build-1/libtool' libphp5.la /usr/local/httpd/modules
 >> /usr/local/apr/build-1/libtool --mode=install cp libphp5.la /usr/local/httpd/modules/
 >> libtool: install: cp .libs/libphp5.lai /usr/local/httpd/modules/libphp5.la
 >> libtool: install: cp .libs/libphp5.a /usr/local/httpd/modules/libphp5.a
 >> libtool: install: chmod 644 /usr/local/httpd/modules/libphp5.a
 >> libtool: install: ranlib /usr/local/httpd/modules/libphp5.a
 >> libtool: install: warning: remember to run `libtool --finish /usr/local/src/php-5.5.5/libs'
 >> Warning!  dlname not found in /usr/local/httpd/modules/libphp5.la.
 >> Assuming installing a .so rather than a libtool archive.
 >> chmod 755 /usr/local/httpd/modules/libphp5.so
 >> chmod: /usr/local/httpd/modules/libphp5.so: No such file or directory
 >> apxs:Error: Command failed with rc=65536
 >
 > Why are you not using /usr/ports/lang/php55 ?
 >
 > Regards,
 >
 > Gary
 >
 
 -- 
 Chris Phillips
 Aptient Consulting Group
 +1 (917) 521-5290 - office
 +1 (250) 863-3519 - mobile

From: Gary Palmer <gpalmer@freebsd.org>
To: Chris Phillips <cphillips@aptient.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/190324: PHP 5.5.x fails to install on 10.0-RELEASE
Date: Thu, 29 May 2014 15:47:21 -0400

 On Tue, May 27, 2014 at 10:28:46PM +0000, Chris Phillips wrote:
 > 
 > >Number:         190324
 > >Category:       misc
 > >Synopsis:       PHP 5.5.x fails to install on 10.0-RELEASE
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    freebsd-bugs
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Tue May 27 22:30:00 UTC 2014
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Chris Phillips
 > >Release:        10.0-RELEASE
 > >Organization:
 > Aptient Consulting Group, Inc.
 > >Environment:
 > FreeBSD domain.com 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 #0: Tue May 13 18:31:10 UTC 2014     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
 > >Description:
 > PHP-5.5.x fails to install on a source build.  As far as I can tell, the issue is with libtool.  The libphp5.so module is not being created by libtool and thus not installed.
 > 
 > [root@server01 /usr/local/src/php-5.5.5]# make install
 > Installing PHP SAPI module:       apache2handler
 > /usr/local/httpd/build/instdso.sh SH_LIBTOOL='/usr/local/apr/build-1/libtool' libphp5.la /usr/local/httpd/modules
 > /usr/local/apr/build-1/libtool --mode=install cp libphp5.la /usr/local/httpd/modules/
 > libtool: install: cp .libs/libphp5.lai /usr/local/httpd/modules/libphp5.la
 > libtool: install: cp .libs/libphp5.a /usr/local/httpd/modules/libphp5.a
 > libtool: install: chmod 644 /usr/local/httpd/modules/libphp5.a
 > libtool: install: ranlib /usr/local/httpd/modules/libphp5.a
 > libtool: install: warning: remember to run `libtool --finish /usr/local/src/php-5.5.5/libs'
 > Warning!  dlname not found in /usr/local/httpd/modules/libphp5.la.
 > Assuming installing a .so rather than a libtool archive.
 > chmod 755 /usr/local/httpd/modules/libphp5.so
 > chmod: /usr/local/httpd/modules/libphp5.so: No such file or directory
 > apxs:Error: Command failed with rc=65536
 
 Why are you not using /usr/ports/lang/php55 ?
 
 Regards,
 
 Gary

From: Gary Palmer <gpalmer@freebsd.org>
To: Chris Phillips <cphillips@aptient.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/190324: PHP 5.5.x fails to install on 10.0-RELEASE
Date: Thu, 29 May 2014 16:50:10 -0400

 On Thu, May 29, 2014 at 12:58:00PM -0700, Chris Phillips wrote:
 > Gary,
 > 
 > I have too many compile options and too much customization for MySQL, 
 > Apache and PHP for ports to suit my needs.  I've been compiling from 
 > source for 20 years without issue.  Why change now.
 > 
 > Regardless of ports being available or not, one would think that it 
 > would be a great concern to the FreeBSD team that one of the most 
 > ubiquitous scripting languages won't compile on FreeBSD from source.
 
 It is ports policy to try and upstream patches so that 3rd party software
 compiles outside ports OK, however that is not always possible for a variety
 of reasons, largely outside our control.
 
 We also have no way of knowing what interaction your customisation is having
 on the build, or other things on your system, if you are not using ports.
 It is impossible to say if one of those is causing your problem or not.  That
 is why we have the ports tree there.  If you are not using ports, then
 please try one of the mailing lists to see if someone can help you, however
 it is not a FreeBSD bug
 
 Regards,
 
 Gary
 
 > 
 > On 5/29/2014 12:47 PM, Gary Palmer wrote:
 > > On Tue, May 27, 2014 at 10:28:46PM +0000, Chris Phillips wrote:
 > >>
 > >>> Number:         190324
 > >>> Category:       misc
 > >>> Synopsis:       PHP 5.5.x fails to install on 10.0-RELEASE
 > >>> Confidential:   no
 > >>> Severity:       non-critical
 > >>> Priority:       low
 > >>> Responsible:    freebsd-bugs
 > >>> State:          open
 > >>> Quarter:
 > >>> Keywords:
 > >>> Date-Required:
 > >>> Class:          sw-bug
 > >>> Submitter-Id:   current-users
 > >>> Arrival-Date:   Tue May 27 22:30:00 UTC 2014
 > >>> Closed-Date:
 > >>> Last-Modified:
 > >>> Originator:     Chris Phillips
 > >>> Release:        10.0-RELEASE
 > >>> Organization:
 > >> Aptient Consulting Group, Inc.
 > >>> Environment:
 > >> FreeBSD domain.com 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 #0: Tue May 13 18:31:10 UTC 2014     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
 > >>> Description:
 > >> PHP-5.5.x fails to install on a source build.  As far as I can tell, the issue is with libtool.  The libphp5.so module is not being created by libtool and thus not installed.
 > >>
 > >> [root@server01 /usr/local/src/php-5.5.5]# make install
 > >> Installing PHP SAPI module:       apache2handler
 > >> /usr/local/httpd/build/instdso.sh SH_LIBTOOL='/usr/local/apr/build-1/libtool' libphp5.la /usr/local/httpd/modules
 > >> /usr/local/apr/build-1/libtool --mode=install cp libphp5.la /usr/local/httpd/modules/
 > >> libtool: install: cp .libs/libphp5.lai /usr/local/httpd/modules/libphp5.la
 > >> libtool: install: cp .libs/libphp5.a /usr/local/httpd/modules/libphp5.a
 > >> libtool: install: chmod 644 /usr/local/httpd/modules/libphp5.a
 > >> libtool: install: ranlib /usr/local/httpd/modules/libphp5.a
 > >> libtool: install: warning: remember to run `libtool --finish /usr/local/src/php-5.5.5/libs'
 > >> Warning!  dlname not found in /usr/local/httpd/modules/libphp5.la.
 > >> Assuming installing a .so rather than a libtool archive.
 > >> chmod 755 /usr/local/httpd/modules/libphp5.so
 > >> chmod: /usr/local/httpd/modules/libphp5.so: No such file or directory
 > >> apxs:Error: Command failed with rc=65536
 > >
 > > Why are you not using /usr/ports/lang/php55 ?
 > >
 > > Regards,
 > >
 > > Gary
 > >
 > 
 > -- 
 > Chris Phillips
 > Aptient Consulting Group
 > +1 (917) 521-5290 - office
 > +1 (250) 863-3519 - mobile
 > 

From: Chris Phillips <cphillips@aptient.com>
To: Gary Palmer <gpalmer@freebsd.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/190324: PHP 5.5.x fails to install on 10.0-RELEASE
Date: Thu, 29 May 2014 14:22:35 -0700

 Gary,
 
 It is a FreeBSD issue.  When things failed to compile on 10.0-RELEASE, I 
 reloaded the OS and did a base install without any modifications or 
 customization.  It also failed.
 
 When I wiped the slate clean again, but installed 9.2-RELEASE it 
 installed fine.  No difference, except OS versions.
 
 I spent two days troubleshooting this and replicating the issue across 
 several different scenarios before I submitted this.  If you would like 
 step by step directions on how to replicate the problem, I am happy to 
 provide them.
 
 To simply sweep this under the rug would be doing the community at large 
 a huge disservice.
 
 For what it's worth, I tried this on both a VPS and bare-metal server 
 environment.
 
 Again, ports are not the answer for a lot of people.  Please don't 
 band-aid this.
 
 On 5/29/2014 1:50 PM, Gary Palmer wrote:
 > On Thu, May 29, 2014 at 12:58:00PM -0700, Chris Phillips wrote:
 >> Gary,
 >>
 >> I have too many compile options and too much customization for MySQL,
 >> Apache and PHP for ports to suit my needs.  I've been compiling from
 >> source for 20 years without issue.  Why change now.
 >>
 >> Regardless of ports being available or not, one would think that it
 >> would be a great concern to the FreeBSD team that one of the most
 >> ubiquitous scripting languages won't compile on FreeBSD from source.
 >
 > It is ports policy to try and upstream patches so that 3rd party software
 > compiles outside ports OK, however that is not always possible for a variety
 > of reasons, largely outside our control.
 >
 > We also have no way of knowing what interaction your customisation is having
 > on the build, or other things on your system, if you are not using ports.
 > It is impossible to say if one of those is causing your problem or not.  That
 > is why we have the ports tree there.  If you are not using ports, then
 > please try one of the mailing lists to see if someone can help you, however
 > it is not a FreeBSD bug
 >
 > Regards,
 >
 > Gary
 >
 >>
 >> On 5/29/2014 12:47 PM, Gary Palmer wrote:
 >>> On Tue, May 27, 2014 at 10:28:46PM +0000, Chris Phillips wrote:
 >>>>
 >>>>> Number:         190324
 >>>>> Category:       misc
 >>>>> Synopsis:       PHP 5.5.x fails to install on 10.0-RELEASE
 >>>>> Confidential:   no
 >>>>> Severity:       non-critical
 >>>>> Priority:       low
 >>>>> Responsible:    freebsd-bugs
 >>>>> State:          open
 >>>>> Quarter:
 >>>>> Keywords:
 >>>>> Date-Required:
 >>>>> Class:          sw-bug
 >>>>> Submitter-Id:   current-users
 >>>>> Arrival-Date:   Tue May 27 22:30:00 UTC 2014
 >>>>> Closed-Date:
 >>>>> Last-Modified:
 >>>>> Originator:     Chris Phillips
 >>>>> Release:        10.0-RELEASE
 >>>>> Organization:
 >>>> Aptient Consulting Group, Inc.
 >>>>> Environment:
 >>>> FreeBSD domain.com 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 #0: Tue May 13 18:31:10 UTC 2014     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
 >>>>> Description:
 >>>> PHP-5.5.x fails to install on a source build.  As far as I can tell, the issue is with libtool.  The libphp5.so module is not being created by libtool and thus not installed.
 >>>>
 >>>> [root@server01 /usr/local/src/php-5.5.5]# make install
 >>>> Installing PHP SAPI module:       apache2handler
 >>>> /usr/local/httpd/build/instdso.sh SH_LIBTOOL='/usr/local/apr/build-1/libtool' libphp5.la /usr/local/httpd/modules
 >>>> /usr/local/apr/build-1/libtool --mode=install cp libphp5.la /usr/local/httpd/modules/
 >>>> libtool: install: cp .libs/libphp5.lai /usr/local/httpd/modules/libphp5.la
 >>>> libtool: install: cp .libs/libphp5.a /usr/local/httpd/modules/libphp5.a
 >>>> libtool: install: chmod 644 /usr/local/httpd/modules/libphp5.a
 >>>> libtool: install: ranlib /usr/local/httpd/modules/libphp5.a
 >>>> libtool: install: warning: remember to run `libtool --finish /usr/local/src/php-5.5.5/libs'
 >>>> Warning!  dlname not found in /usr/local/httpd/modules/libphp5.la.
 >>>> Assuming installing a .so rather than a libtool archive.
 >>>> chmod 755 /usr/local/httpd/modules/libphp5.so
 >>>> chmod: /usr/local/httpd/modules/libphp5.so: No such file or directory
 >>>> apxs:Error: Command failed with rc=65536
 >>>
 >>> Why are you not using /usr/ports/lang/php55 ?
 >>>
 >>> Regards,
 >>>
 >>> Gary
 >>>
 >>
 >> --
 >> Chris Phillips
 >> Aptient Consulting Group
 >> +1 (917) 521-5290 - office
 >> +1 (250) 863-3519 - mobile
 >>
 
 -- 
 Chris Phillips
 Aptient Consulting Group
 +1 (917) 521-5290 - office
 +1 (250) 863-3519 - mobile
>Unformatted:
