Announcement

Collapse
No announcement yet.

pts/sqlite The installer exited with a non-zero exit status.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • pts/sqlite The installer exited with a non-zero exit status.

    Hi,
    I am having some troubles installing a pts test.

    OS: CentOS release 6.3
    Arch: x86_64

    Package Versions:
    gcc-4.4.6-4.el6.x86_64
    php-fpdf-1.6-4.el6.noarch
    libgcc-4.4.6-4.el6.x86_64
    php-common-5.3.3-14.el6_3.x86_64
    php-cli-5.3.3-14.el6_3.x86_64
    php-domxml-php4-php5-1.21.2-1.el6.noarch
    make-3.81-20.el6.x86_64
    automake-1.11.1-1.2.el6.noarch
    libgcc-4.4.6-4.el6.i686
    php-gd-5.3.3-14.el6_3.x86_64
    php-xml-5.3.3-14.el6_3.x86_64
    php-5.3.3-14.el6_3.x86_64
    gcc-c++-4.4.6-4.el6.x86_64


    Code:
    pts/sqlite-1.8.0:
    Test Installation 2 of 3
    2 Files Needed [1.48 MB / 1 Minute]
    File Found: sqlite-amalgamation-3.7.3.tar.gz                [1.44MB]
    File Found: pts-sqlite-tests-1.tar.gz                       [0.04MB]
    Installation Size: 18.4 MB
    Installing Test @ 14:28:11
    The installer exited with a non-zero exit status.
    Installation Log: /root/.phoronix-test-suite/installed-tests/pts/sqlite-1.8.0/install-failed.log
    install-failed.log

    Code:
    gcc: 3.7.3": No such file or directory
    <command-line>: warning: missing terminating " character
    make: *** [sqlite3.lo] Error 1
    any idea how to solve this?

  • #2
    There is a bug in the installer wrapper.
    pts-core/objects/client/pts_test_installer.php at line 481 (in the 4.0 distro)

    479: // Write the main mask for the compiler
    480: file_put_contents($main_compiler,
    481: '#!/bin/bash' . PHP_EOL . 'COMPILER_OPTIONS="$@"' . PHP_EOL . $env_var_check . PHP_EOL . 'echo $COMPILER_OPTIONS >> ' . $mask_dir . $compiler_type . '-options-' . $compiler_name . PHP_EOL . $compiler_path . ' $COMPILER_OPTIONS' . PHP_EOL);


    change the final appearance of $COMPILER_OPTIONS to "$@" (with the quotes):

    '#!/bin/bash' . PHP_EOL . 'COMPILER_OPTIONS="$@"' . PHP_EOL . $env_var_check . PHP_EOL . 'echo $COMPILER_OPTIONS >> ' . $mask_dir . $compiler_type . '-options-' . $compiler_name . PHP_EOL . $compiler_path . ' "$@"' . PHP_EOL);

    Comment


    • #3
      trying this now. will report back after the test.

      Thank You.

      Comment


      • #4
        works. Thank You.

        Comment

        Working...
        X