Edit report at https://bugs.php.net/bug.php?id=61268&edit=1

 ID:                 61268
 Updated by:         s...@php.net
 Reported by:        mike at harschsystems dot com
 Summary:            --enable-dtrace leads make to clobber
                     Zend/zend_dtrace.d
 Status:             Assigned
 Type:               Bug
 Package:            Compile Failure
 Operating System:   solaris
 PHP Version:        5.4.0
 Assigned To:        dsp
 Block user comment: N
 Private report:     N

 New Comment:

After some investigation, I think the easiest patch is below.  This has only 
been tested on Linux in one install scenario.  I'll continuing testing after 
the weekend.

diff --git a/acinclude.m4 b/acinclude.m4
index 07b1f8e..01eabf2 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -2962,8 +2962,12 @@ dnl DTrace objects
   esac
 
 dnl Generate Makefile.objects entries
+dnl The empty $ac_provsrc command stops an implicit circular dependency
+dnl triggering which lead to the .d file being overwritten with GNU make (Bug 
61268)
   cat>>Makefile.objects<<EOF
 
+$abs_srcdir/$ac_provsrc:;
+
 $ac_bdir[$]ac_hdrobj: $abs_srcdir/$ac_provsrc
        CFLAGS="\$(CFLAGS_CLEAN)" dtrace -h -C -s $ac_srcdir[$]ac_provsrc -o 
\$[]@ && cp \$[]@ \$[]@.bak && \$(SED) 's,PHP_,DTRACE_,g' \$[]@.bak > \$[]@


Previous Comments:
------------------------------------------------------------------------
[2013-08-03 01:14:49] s...@php.net

Related To: Bug #61268

------------------------------------------------------------------------
[2013-07-23 10:54:27] eugene at zhegan dot in

Still there on 5.5.1.

------------------------------------------------------------------------
[2013-02-18 16:11:27] mike at harschsystems dot com

Change from closed to assigned.

------------------------------------------------------------------------
[2013-02-18 16:10:16] mike at harschsystems dot com

This bug should not be closed unless someone can confirm that the broken 
behavior 
has been corrected.  The issue is described in detail below.  The requested 
feedback was provided and the issue was reproduced by multiple people on 
several 
versions.

------------------------------------------------------------------------
[2013-02-18 00:35:43] php-bugs at lists dot php dot net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=61268


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61268&edit=1

Reply via email to