Bug 52417

Summary: Compilation of devel/php-dbg fails early
Product: Ports & Packages Reporter: cvarda_flopnet <cvarda_flopnet>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description cvarda_flopnet 2003-05-19 01:10:11 UTC
        The port devel/php-dbg (php debugger) fails to compile.
        The ports database were updated today from cvsup.FreeBSD.org.

        Output of "make" follows:

        # make
        ===>  Extracting for php-dbg-2.11.5_1
        >> Checksum OK for dbg-2.11.5-src.tar.gz.
        ===>  PHPizing for dbg-2.11.5-src
        aclocal: not found
        configure.in:72: error: possibly undefined macro: AC_PROG_LIBTOOL
        autoheader: `config.h.in' is created
        You should add the contents of `/usr/local/share/aclocal/libtool.m4' to `aclocal.m4'.
        Configuring for:
        PHP Api Version:   20020918
        Zend Module Api No:   20020429
        Zend Extension Api No:   20021010
        ===>  Patching for php-dbg-2.11.5_1
        ===>  Applying FreeBSD patches for php-dbg-2.11.5_1
        1 out of 1 hunks failed--saving rejects to configure.rej
        >> Patch patch-configure failed to apply cleanly.
        *** Error code 1

        Stop in /s2/ports/devel/php-dbg.

       

        The following lines are the content of "configure.reg" file (hope it helps).


***************
*** 2217,2234 ****

    OVERALL_TARGET=php
    php_c_pre='$(CC)'
-   php_c_meta='$(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS)'
    php_c_post=' && echo > $@'
    php_cxx_pre='$(CXX)'
-   php_cxx_meta='$(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)'
    php_cxx_post=' && echo > $@'
    php_lo=o

    shared_c_pre='$(LIBTOOL) --mode=compile $(CC)'
-   shared_c_meta='$(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) -prefer-pic'
    shared_c_post=
    shared_cxx_pre='$(LIBTOOL) --mode=compile $(CXX)'
-   shared_cxx_meta='$(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS) -prefer-pic'
    shared_cxx_post=
    shared_lo=lo

--- 2217,2234 ----

    OVERALL_TARGET=php
    php_c_pre='$(CC)'
+   php_c_meta='$(COMMON_FLAGS) ${CFLAGS} $(CFLAGS_CLEAN) 
+ $(EXTRA_CFLAGS)'
    php_c_post=' && echo > $@'
    php_cxx_pre='$(CXX)'
+   php_cxx_meta='$(COMMON_FLAGS) ${CXXFLAGS} $(CXXFLAGS_CLEAN) 
+ $(EXTRA_CXXFLAGS)'
    php_cxx_post=' && echo > $@'
    php_lo=o

    shared_c_pre='$(LIBTOOL) --mode=compile $(CC)'
+   shared_c_meta='$(COMMON_FLAGS) ${CFLAGS} $(CFLAGS_CLEAN) 
+ $(EXTRA_CFLAGS)'
    shared_c_post=
    shared_cxx_pre='$(LIBTOOL) --mode=compile $(CXX)'
+   shared_cxx_meta='$(COMMON_FLAGS) ${CXXFLAGS} $(CXXFLAGS_CLEAN) 
+ $(EXTRA_CXXFLAGS)'
    shared_cxx_post=
    shared_lo=lo

How-To-Repeat:         Just try to compile it:

        cd /usr/ports/devel/php-dbg
        make
Comment 1 Jens Rehsack 2003-05-21 12:37:41 UTC
I got the same problem but a directory removal and cvsup removes it. The
patch in the ports-tree looks exactly as I submitted it, so the problem
may reside somewhere else.

But I think this PR can be closed.

Thanks for submitting,
Jens
Comment 2 Foxfair Hu freebsd_committer freebsd_triage 2003-06-11 05:24:02 UTC
State Changed
From-To: open->closed

Close it by request, php-dbg does build now.