HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 0507 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 0507.


Report 0507 Actions


    Problem Report Number 0507
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0126
    Raised 1996-03-05 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.3.5
    Test Identification builderrors/
    Problem Summary PG4R.127 The above build are occurring on our system due to the implementation of a XPG4 V2 XCU compliant c89 command. The makefile for the above tests contain the following lines. # Local (to this product onl...
    Problem Text
    The above build are occurring on our system due to the implementation of
    a XPG4 V2 XCU compliant c89 command. The makefile for the above tests
    contain the following lines.

    # Local (to this product only) includes, libraries, etc:

    LOCALINC = ./INC
    LOCALLIB = ./LIB

    and

    INCS = -I$(TET_ROOT)/inc/posix_c -I$(LOCALINC) -I$(VSXINC) -I$(SYSINC)

    Directory ./INC does not exist in the source directories, and our c89
    flags this as an error.

    Page 159 of the XPG4 V2 XCU under "CONSEQUENCES of ERRORS" states the
    following:

    "When c89 encounters a compliation error that causes an object file not to
    be created, it will write a diagnostic to standard error and continue to
    compile other souce code operands, but it will not perform the link phrase
    and will return a non-zero exit status."

    Our c89 considers a missing include directory as compilation error, issues
    a diagnostic message and exits with a status greater than 0 as required
    by the spec.

    Removing the -I($LOCALINC) from the INCS line allows all the tests to
    compile. This appears to match the makefiles for the rest of the VSX
    tests.

    ./"
    ./"
    ./"
    ./" MAKE NO CHANGES BELOW THIS LINE WHEN SUBMITTING A REQUEST
    ./"
    ./"
    ./"
    ./"
    ./" Section C - Comments on Requests - X/Open use only
    ./"
    .de XC
    Test Output

    ************************************************************************
    /tset/ANSI.os/signal/signal_X/T.signal_X Failed

    Make Information:
    /usr/bin/c89 -I../../../../../inc/posix_c -I./INC
    -I/tsuites/VSX/vsx4/SRC/INC
    -I/tsuites/VSX/vsx4/SRC/SYSINC -D_XOPEN_SOURCE
    -DUNDEFINEsignal -qnoro -U__MATH__ -U__STR__ -c
    signal_X.c
    /usr/bin/c89: 1501-248 Directory ./INC specified by command option -I
    cannot be searched
    make: The error code from the last command is 40.


    Stop.
    ************************************************************************
    ************************************************************************
    /tset/POSIX.os/dataform/cpio/T.cpio Failed

    Make Information:
    /usr/bin/c89 -I/tsuites/VSX/vsx4/SRC/../../inc/posix_c -I./INC
    -I/tsuites/VSX/vsx4/SRC/INC
    -I/tsuites/VSX/vsx4/SRC/SYSINC -D_XOPEN_SOURCE
    -DUNDEFINEcpio -qnoro -U__MATH__ -U__STR__ -c cpio.c
    /usr/bin/c89: 1501-248 Directory ./INC specified by command option -I
    cannot be searched
    make: The error code from the last command is 40.


    Stop.
    ************************************************************************
    ************************************************************************
    /tset/POSIX.os/dataform/tar/T.tar Failed

    Make Information:
    /usr/bin/c89 -I/tsuites/VSX/vsx4/SRC/../../inc/posix_c -I./INC
    -I/tsuites/VSX/vsx4/SRC/INC
    -I/tsuites/VSX/vsx4/SRC/SYSINC -D_XOPEN_SOURCE
    -DUNDEFINEtar -qnoro -U__MATH__ -U__STR__ -c tar.c
    /usr/bin/c89: 1501-248 Directory ./INC specified by command option -I
    cannot be searched
    make: The error code from the last command is 40.


    Stop.
    ************************************************************************
    ************************************************************************
    /tset/POSIX.os/procprim/fork/T.fork Failed

    Make Information:
    /usr/bin/c89 -I../../../../../inc/posix_c -I./INC
    -I/tsuites/VSX/vsx4/SRC/INC
    -I/tsuites/VSX/vsx4/SRC/SYSINC -D_XOPEN_SOURCE
    -DUNDEFINEfork -qnoro -U__MATH__ -U__STR__ -c fork.c
    /usr/bin/c89: 1501-248 Directory ./INC specified by command option -I
    cannot be searched
    make: The error code from the last command is 40.


    Stop.
    ************************************************************************
    ************************************************************************
    /tset/POSIX.os/procprim/fork_X/T.fork_X Failed

    Make Information:
    /usr/bin/c89 -I../../../../../inc/posix_c -I./INC
    -I/tsuites/VSX/vsx4/SRC/INC
    -I/tsuites/VSX/vsx4/SRC/SYSINC -D_XOPEN_SOURCE
    -DUNDEFINEfork -qnoro -U__MATH__ -U__STR__ -c
    fork_X.c
    /usr/bin/c89: 1501-248 Directory ./INC specified by command option -I
    cannot be searched
    make: The error code from the last command is 40.


    Stop.
    ************************************************************************
    ************************************************************************
    /tset/POSIX.os/procprim/kill_X/T.kill_X Failed

    Make Information:
    /usr/bin/c89 -I../../../../../inc/posix_c -I./INC
    -I/tsuites/VSX/vsx4/SRC/INC
    -I/tsuites/VSX/vsx4/SRC/SYSINC -D_XOPEN_SOURCE
    -DUNDEFINEkill -qnoro -U__MATH__ -U__STR__ -c
    kill_X.c
    /usr/bin/c89: 1501-248 Directory ./INC specified by command option -I
    cannot be searched
    make: The error code from the last command is 40.


    Stop.
    ************************************************************************
    ************************************************************************
    /tset/POSIX.os/procprim/wait/T.wait Failed

    Make Information:
    /usr/bin/c89 -I../../../../../inc/posix_c -I./INC
    -I/tsuites/VSX/vsx4/SRC/INC
    -I/tsuites/VSX/vsx4/SRC/SYSINC -D_XOPEN_SOURCE
    -DUNDEFINEwait -qnoro -U__MATH__ -U__STR__ -c wait.c
    /usr/bin/c89: 1501-248 Directory ./INC specified by command option -I
    cannot be searched
    make: The error code from the last command is 40.


    Stop.
    ************************************************************************
    ************************************************************************
    /tset/POSIX.os/procprim/waitpid/T.waitpid Failed

    Make Information:
    /usr/bin/c89 -I../../../../../inc/posix_c -I./INC
    -I/tsuites/VSX/vsx4/SRC/INC
    -I/tsuites/VSX/vsx4/SRC/SYSINC -D_XOPEN_SOURCE
    -DUNDEFINEwaitpid -qnoro -U__MATH__ -U__STR__ -c
    waitpid.c
    /usr/bin/c89: 1501-248 Directory ./INC specified by command option -I
    cannot be searched
    make: The error code from the last command is 40.


    Stop.
    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This problem can be easily avoided by creating empty INC directories in the
    various places in the source tree where they are needed. This should allow
    the tests to compile without any need to change the source files or for
    a waiver to be raised against a significant number of tests.

    It is recommended that this request is refused and the simple workaround
    outline above implemented by the user.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority