#40592 [NEW]: undeclared constant causes build failure. bug not present in v5.2.0

Ask a Question related to PHP Bugs, Design and Development.

  1. #1

    Default #40592 [NEW]: undeclared constant causes build failure. bug not present in v5.2.0

    From: fluor_druid at hotmail dot com
    Operating system: OpenBSD 4.0 stable
    PHP version: 5.2.1
    PHP Bug Type: Compile Failure
    Bug description: undeclared constant causes build failure. bug not present in v5.2.0

    Description:
    ------------
    I'm no wiz with this, so this output is the best I can
    supply to give you guys a hint of what's going on when I do
    make after configure. it was configured with only --
    prefix=..., the exact same way I configured and compiled
    version 5.2.0 on the same OS just some weeks earlier - no
    changes has been made to my system.

    /bin/sh /usr/opt/php-5.2.1/libtool --silent --preserve-dup-
    deps --mode=compile gcc -Iext/posix/ -I/usr/opt/php-5.2.1/
    ext/posix/ -DPHP_ATOM_INC -I/usr/opt/php-5.2.1/include -I/
    usr/opt/php-5.2.1/main -I/usr/opt/php-5.2.1 -I/usr/local/
    include/libxml2 -I/usr/opt/php-5.2.1/ext/date/lib -I/usr/
    local/include -I/usr/opt/php-5.2.1/TSRM -I/usr/opt/
    php-5.2.1/Zend -I/usr/local/include -g -O2 -c /usr/opt/
    php-5.2.1/ext/posix/posix.c -o ext/posix/posix.lo
    /usr/opt/php-5.2.1/ext/posix/posix.c: In function
    `zif_posix_getgrgid':
    /usr/opt/php-5.2.1/ext/posix/posix.c:889: error:
    `_SC_GETGR_R_SIZE_MAX' undeclared (first use in this
    function)
    /usr/opt/php-5.2.1/ext/posix/posix.c:889: error: (Each
    undeclared identifier is reported only once
    /usr/opt/php-5.2.1/ext/posix/posix.c:889: error: for each
    function it appears in.)
    *** Error code 1


    Expected result:
    ----------------
    That the package would compile without problems, as the
    earlier 5.2.0 version did with identical configuration and
    same OS.

    Actual result:
    --------------
    Failure as described above.

    --
    Edit bug report at [url]http://bugs.php.net/?id=40592&edit=1[/url]
    --
    Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40592&r=trysnapshot44[/url]
    Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40592&r=trysnapshot52[/url]
    Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40592&r=trysnapshot60[/url]
    Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40592&r=fixedcvs[/url]
    Fixed in release: [url]http://bugs.php.net/fix.php?id=40592&r=alreadyfixed[/url]
    Need backtrace: [url]http://bugs.php.net/fix.php?id=40592&r=needtrace[/url]
    Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40592&r=needscript[/url]
    Try newer version: [url]http://bugs.php.net/fix.php?id=40592&r=oldversion[/url]
    Not developer issue: [url]http://bugs.php.net/fix.php?id=40592&r=support[/url]
    Expected behavior: [url]http://bugs.php.net/fix.php?id=40592&r=notwrong[/url]
    Not enough info: [url]http://bugs.php.net/fix.php?id=40592&r=notenoughinfo[/url]
    Submitted twice: [url]http://bugs.php.net/fix.php?id=40592&r=submittedtwice[/url]
    register_globals: [url]http://bugs.php.net/fix.php?id=40592&r=globals[/url]
    PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40592&r=php3[/url]
    Daylight Savings: [url]http://bugs.php.net/fix.php?id=40592&r=dst[/url]
    IIS Stability: [url]http://bugs.php.net/fix.php?id=40592&r=isapi[/url]
    Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40592&r=gnused[/url]
    Floating point limitations: [url]http://bugs.php.net/fix.php?id=40592&r=float[/url]
    No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40592&r=nozend[/url]
    MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40592&r=mysqlcfg[/url]

    fluor_druid at hotmail dot com Guest

  2. Similar Questions and Discussions

    1. #26258 [Ver->Bgs]: CLI Build Failure With XSLT
      ID: 26258 Updated by: sniper@php.net Reported By: nathan@php.net -Status: Verified +Status: Bogus...
    2. #26258 [Opn->Ver]: CLI Build Failure With XSLT
      ID: 26258 Updated by: nathan@php.net Reported By: nathan@php.net -Status: Open +Status: Verified...
    3. #26258 [Opn]: CLI Build Failure With XSLT
      ID: 26258 User updated by: nathan@php.net Reported By: nathan@php.net Status: Open Bug Type: XSLT related...
    4. #26258 [NEW]: CLI Build Failure With XSLT
      From: nathan@php.net Operating system: Linux 2.4.20 PHP version: 4.3.4 PHP Bug Type: XSLT related Bug description: CLI...
    5. #24648 [Fbk->NoF]: Compile failure with apache_1.3.26 php-4.3.2 (static build)
      ID: 24648 Updated by: sniper@php.net Reported By: bergansk at daac dot gsfc dot nasa dot gov -Status: Feedback...
  3. #2

    Default #40592 [Opn]: undeclared constant causes build failure. bug not present in v5.2.0

    ID: 40592
    User updated by: fluor_druid at hotmail dot com
    Reported By: fluor_druid at hotmail dot com
    Status: Open
    Bug Type: Compile Failure
    Operating System: OpenBSD 4.0 stable
    PHP Version: 5.2.1
    New Comment:

    Description:
    ------------
    I'm no wiz with this, so this output is the best I can
    supply to give you guys a hint of what's going on when I do
    make after configure. it was configured with only --
    prefix=somepath, the exact same way I configured and
    compiled
    version 5.2.0 on the same system just some weeks earlier -
    no
    changes has been made to my system since i built 5.2.0.
    I suspect this problem is due OpenBSD not being 100% POSIX
    compliant.

    --- snip ---
    /bin/sh /usr/opt/php-5.2.1/libtool --silent --preserve-dup-
    deps --mode=compile gcc -Iext/posix/ -I/usr/opt/php-5.2.1/
    ext/posix/ -DPHP_ATOM_INC -I/usr/opt/php-5.2.1/include -I/
    usr/opt/php-5.2.1/main -I/usr/opt/php-5.2.1 -I/usr/local/
    include/libxml2 -I/usr/opt/php-5.2.1/ext/date/lib -I/usr/
    local/include -I/usr/opt/php-5.2.1/TSRM -I/usr/opt/
    php-5.2.1/Zend -I/usr/local/include -g -O2 -c /usr/opt/
    php-5.2.1/ext/posix/posix.c -o ext/posix/posix.lo
    /usr/opt/php-5.2.1/ext/posix/posix.c: In function
    `zif_posix_getgrgid':
    /usr/opt/php-5.2.1/ext/posix/posix.c:889: error:
    `_SC_GETGR_R_SIZE_MAX' undeclared (first use in this
    function)
    /usr/opt/php-5.2.1/ext/posix/posix.c:889: error: (Each
    undeclared identifier is reported only once
    /usr/opt/php-5.2.1/ext/posix/posix.c:889: error: for each
    function it appears in.)
    *** Error code 1

    Expected result:
    ----------------
    That the package would compile without problems, as the
    earlier 5.2.0 version did with identical configuration and
    same OS.

    Actual result:
    --------------
    Failure as described above.


    Previous Comments:
    ------------------------------------------------------------------------

    [2007-02-22 15:33:21] fluor_druid at hotmail dot com

    Description:
    ------------
    I'm no wiz with this, so this output is the best I can
    supply to give you guys a hint of what's going on when I do
    make after configure. it was configured with only --
    prefix=..., the exact same way I configured and compiled
    version 5.2.0 on the same OS just some weeks earlier - no
    changes has been made to my system.

    /bin/sh /usr/opt/php-5.2.1/libtool --silent --preserve-dup-
    deps --mode=compile gcc -Iext/posix/ -I/usr/opt/php-5.2.1/
    ext/posix/ -DPHP_ATOM_INC -I/usr/opt/php-5.2.1/include -I/
    usr/opt/php-5.2.1/main -I/usr/opt/php-5.2.1 -I/usr/local/
    include/libxml2 -I/usr/opt/php-5.2.1/ext/date/lib -I/usr/
    local/include -I/usr/opt/php-5.2.1/TSRM -I/usr/opt/
    php-5.2.1/Zend -I/usr/local/include -g -O2 -c /usr/opt/
    php-5.2.1/ext/posix/posix.c -o ext/posix/posix.lo
    /usr/opt/php-5.2.1/ext/posix/posix.c: In function
    `zif_posix_getgrgid':
    /usr/opt/php-5.2.1/ext/posix/posix.c:889: error:
    `_SC_GETGR_R_SIZE_MAX' undeclared (first use in this
    function)
    /usr/opt/php-5.2.1/ext/posix/posix.c:889: error: (Each
    undeclared identifier is reported only once
    /usr/opt/php-5.2.1/ext/posix/posix.c:889: error: for each
    function it appears in.)
    *** Error code 1


    Expected result:
    ----------------
    That the package would compile without problems, as the
    earlier 5.2.0 version did with identical configuration and
    same OS.

    Actual result:
    --------------
    Failure as described above.


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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=40592&edit=1[/url]
    fluor_druid at hotmail dot com Guest

  4. #3

    Default #40592 [Opn->Fbk]: undeclared constant causes build failure. bug not present in v5.2.0

    ID: 40592
    Updated by: [email]tony2001@php.net[/email]
    Reported By: fluor_druid at hotmail dot com
    -Status: Open
    +Status: Feedback
    Bug Type: Compile Failure
    Operating System: OpenBSD 4.0 stable
    PHP Version: 5.2.1
    New Comment:

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php5.2-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]




    Previous Comments:
    ------------------------------------------------------------------------

    [2007-02-22 15:37:22] fluor_druid at hotmail dot com

    Description:
    ------------
    I'm no wiz with this, so this output is the best I can
    supply to give you guys a hint of what's going on when I do
    make after configure. it was configured with only --
    prefix=somepath, the exact same way I configured and
    compiled
    version 5.2.0 on the same system just some weeks earlier -
    no
    changes has been made to my system since i built 5.2.0.
    I suspect this problem is due OpenBSD not being 100% POSIX
    compliant.

    --- snip ---
    /bin/sh /usr/opt/php-5.2.1/libtool --silent --preserve-dup-
    deps --mode=compile gcc -Iext/posix/ -I/usr/opt/php-5.2.1/
    ext/posix/ -DPHP_ATOM_INC -I/usr/opt/php-5.2.1/include -I/
    usr/opt/php-5.2.1/main -I/usr/opt/php-5.2.1 -I/usr/local/
    include/libxml2 -I/usr/opt/php-5.2.1/ext/date/lib -I/usr/
    local/include -I/usr/opt/php-5.2.1/TSRM -I/usr/opt/
    php-5.2.1/Zend -I/usr/local/include -g -O2 -c /usr/opt/
    php-5.2.1/ext/posix/posix.c -o ext/posix/posix.lo
    /usr/opt/php-5.2.1/ext/posix/posix.c: In function
    `zif_posix_getgrgid':
    /usr/opt/php-5.2.1/ext/posix/posix.c:889: error:
    `_SC_GETGR_R_SIZE_MAX' undeclared (first use in this
    function)
    /usr/opt/php-5.2.1/ext/posix/posix.c:889: error: (Each
    undeclared identifier is reported only once
    /usr/opt/php-5.2.1/ext/posix/posix.c:889: error: for each
    function it appears in.)
    *** Error code 1

    Expected result:
    ----------------
    That the package would compile without problems, as the
    earlier 5.2.0 version did with identical configuration and
    same OS.

    Actual result:
    --------------
    Failure as described above.

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

    [2007-02-22 15:33:21] fluor_druid at hotmail dot com

    Description:
    ------------
    I'm no wiz with this, so this output is the best I can
    supply to give you guys a hint of what's going on when I do
    make after configure. it was configured with only --
    prefix=..., the exact same way I configured and compiled
    version 5.2.0 on the same OS just some weeks earlier - no
    changes has been made to my system.

    /bin/sh /usr/opt/php-5.2.1/libtool --silent --preserve-dup-
    deps --mode=compile gcc -Iext/posix/ -I/usr/opt/php-5.2.1/
    ext/posix/ -DPHP_ATOM_INC -I/usr/opt/php-5.2.1/include -I/
    usr/opt/php-5.2.1/main -I/usr/opt/php-5.2.1 -I/usr/local/
    include/libxml2 -I/usr/opt/php-5.2.1/ext/date/lib -I/usr/
    local/include -I/usr/opt/php-5.2.1/TSRM -I/usr/opt/
    php-5.2.1/Zend -I/usr/local/include -g -O2 -c /usr/opt/
    php-5.2.1/ext/posix/posix.c -o ext/posix/posix.lo
    /usr/opt/php-5.2.1/ext/posix/posix.c: In function
    `zif_posix_getgrgid':
    /usr/opt/php-5.2.1/ext/posix/posix.c:889: error:
    `_SC_GETGR_R_SIZE_MAX' undeclared (first use in this
    function)
    /usr/opt/php-5.2.1/ext/posix/posix.c:889: error: (Each
    undeclared identifier is reported only once
    /usr/opt/php-5.2.1/ext/posix/posix.c:889: error: for each
    function it appears in.)
    *** Error code 1


    Expected result:
    ----------------
    That the package would compile without problems, as the
    earlier 5.2.0 version did with identical configuration and
    same OS.

    Actual result:
    --------------
    Failure as described above.


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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=40592&edit=1[/url]
    tony2001@php.net Guest

  5. #4

    Default #40592 [Fbk->Csd]: undeclared constant causes build failure. bug not present in v5.2.0

    ID: 40592
    User updated by: fluor_druid at hotmail dot com
    Reported By: fluor_druid at hotmail dot com
    -Status: Feedback
    +Status: Closed
    Bug Type: Compile Failure
    Operating System: OpenBSD 4.0 stable
    PHP Version: 5.2.1
    New Comment:

    Builds perfectly. Thanks.


    Previous Comments:
    ------------------------------------------------------------------------

    [2007-02-22 15:50:10] [email]tony2001@php.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php5.2-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]



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

    [2007-02-22 15:37:22] fluor_druid at hotmail dot com

    Description:
    ------------
    I'm no wiz with this, so this output is the best I can
    supply to give you guys a hint of what's going on when I do
    make after configure. it was configured with only --
    prefix=somepath, the exact same way I configured and
    compiled
    version 5.2.0 on the same system just some weeks earlier -
    no
    changes has been made to my system since i built 5.2.0.
    I suspect this problem is due OpenBSD not being 100% POSIX
    compliant.

    --- snip ---
    /bin/sh /usr/opt/php-5.2.1/libtool --silent --preserve-dup-
    deps --mode=compile gcc -Iext/posix/ -I/usr/opt/php-5.2.1/
    ext/posix/ -DPHP_ATOM_INC -I/usr/opt/php-5.2.1/include -I/
    usr/opt/php-5.2.1/main -I/usr/opt/php-5.2.1 -I/usr/local/
    include/libxml2 -I/usr/opt/php-5.2.1/ext/date/lib -I/usr/
    local/include -I/usr/opt/php-5.2.1/TSRM -I/usr/opt/
    php-5.2.1/Zend -I/usr/local/include -g -O2 -c /usr/opt/
    php-5.2.1/ext/posix/posix.c -o ext/posix/posix.lo
    /usr/opt/php-5.2.1/ext/posix/posix.c: In function
    `zif_posix_getgrgid':
    /usr/opt/php-5.2.1/ext/posix/posix.c:889: error:
    `_SC_GETGR_R_SIZE_MAX' undeclared (first use in this
    function)
    /usr/opt/php-5.2.1/ext/posix/posix.c:889: error: (Each
    undeclared identifier is reported only once
    /usr/opt/php-5.2.1/ext/posix/posix.c:889: error: for each
    function it appears in.)
    *** Error code 1

    Expected result:
    ----------------
    That the package would compile without problems, as the
    earlier 5.2.0 version did with identical configuration and
    same OS.

    Actual result:
    --------------
    Failure as described above.

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

    [2007-02-22 15:33:21] fluor_druid at hotmail dot com

    Description:
    ------------
    I'm no wiz with this, so this output is the best I can
    supply to give you guys a hint of what's going on when I do
    make after configure. it was configured with only --
    prefix=..., the exact same way I configured and compiled
    version 5.2.0 on the same OS just some weeks earlier - no
    changes has been made to my system.

    /bin/sh /usr/opt/php-5.2.1/libtool --silent --preserve-dup-
    deps --mode=compile gcc -Iext/posix/ -I/usr/opt/php-5.2.1/
    ext/posix/ -DPHP_ATOM_INC -I/usr/opt/php-5.2.1/include -I/
    usr/opt/php-5.2.1/main -I/usr/opt/php-5.2.1 -I/usr/local/
    include/libxml2 -I/usr/opt/php-5.2.1/ext/date/lib -I/usr/
    local/include -I/usr/opt/php-5.2.1/TSRM -I/usr/opt/
    php-5.2.1/Zend -I/usr/local/include -g -O2 -c /usr/opt/
    php-5.2.1/ext/posix/posix.c -o ext/posix/posix.lo
    /usr/opt/php-5.2.1/ext/posix/posix.c: In function
    `zif_posix_getgrgid':
    /usr/opt/php-5.2.1/ext/posix/posix.c:889: error:
    `_SC_GETGR_R_SIZE_MAX' undeclared (first use in this
    function)
    /usr/opt/php-5.2.1/ext/posix/posix.c:889: error: (Each
    undeclared identifier is reported only once
    /usr/opt/php-5.2.1/ext/posix/posix.c:889: error: for each
    function it appears in.)
    *** Error code 1


    Expected result:
    ----------------
    That the package would compile without problems, as the
    earlier 5.2.0 version did with identical configuration and
    same OS.

    Actual result:
    --------------
    Failure as described above.


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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=40592&edit=1[/url]
    fluor_druid at hotmail dot com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139