Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-1586

It is not possible to build HAL on RHEL7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • Hide

      mvn clean install -Dmaven.test.skip=false -Dmaven.repo.local=mvn-repo -P prod,theme-wildfly

      Show
      mvn clean install -Dmaven.test.skip=false -Dmaven.repo.local=mvn-repo -P prod,theme-wildfly

    Description

      Building fails with following error in log (including context):

      [INFO] Installing node version v11.12.0
      [INFO] Downloading https://nodejs.org/dist/v11.12.0/node-v11.12.0-linux-x64.tar.gz to /home/hudson/hudson_workspace/workspace/eap-7.x-webconsole-custom-build-job/mvn-repo/com/github/eirslett/node/11.12.0/node-11.12.0-linux-x64.tar.gz
      [INFO] No proxies configured
      [INFO] No proxy was configured, downloading directly
      [INFO] Unpacking /home/hudson/hudson_workspace/workspace/eap-7.x-webconsole-custom-build-job/mvn-repo/com/github/eirslett/node/11.12.0/node-11.12.0-linux-x64.tar.gz into /tmp/tmp.1F7P878J1E/app/node/tmp
      [INFO] Copying node binary from /tmp/tmp.1F7P878J1E/app/node/tmp/node-v11.12.0-linux-x64/bin/node to /tmp/tmp.1F7P878J1E/app/node/node
      [INFO] Installed node locally.
      [INFO] Installing npm version 6.9.0
      [INFO] Downloading https://registry.npmjs.org/npm/-/npm-6.9.0.tgz to /home/hudson/hudson_workspace/workspace/eap-7.x-webconsole-custom-build-job/mvn-repo/com/github/eirslett/npm/6.9.0/npm-6.9.0.tar.gz
      [INFO] No proxies configured
      [INFO] No proxy was configured, downloading directly
      [INFO] Unpacking /home/hudson/hudson_workspace/workspace/eap-7.x-webconsole-custom-build-job/mvn-repo/com/github/eirslett/npm/6.9.0/npm-6.9.0.tar.gz into /tmp/tmp.1F7P878J1E/app/node/node_modules
      [INFO] Installed npm locally.
      [INFO] 
      [INFO] --- frontend-maven-plugin:1.6:npm (npm) @ hal-console ---
      [INFO] Running 'npm install' in /tmp/tmp.1F7P878J1E/app
      [WARNING] npm WARN deprecated core-js@0.9.18: core-js@<2.6.5 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
      [INFO] 
      [INFO] > leveldown@3.0.0 install /tmp/tmp.1F7P878J1E/app/node_modules/leveldown
      [INFO] > prebuild-install || node-gyp rebuild
      [INFO] 
      [ERROR] prebuild-install WARN install No prebuilt binaries found (target=11.12.0 runtime=node arch=x64 platform=linux)
      [INFO] make: Entering directory `/tmp/tmp.1F7P878J1E/app/node_modules/leveldown/build'
      [INFO]   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/builder.o
      [ERROR] cc1plus: error: unrecognized command line option "-std=gnu++1y"
      [INFO] make: Leaving directory `/tmp/tmp.1F7P878J1E/app/node_modules/leveldown/build'
      [ERROR] make: *** [Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/builder.o] Error 1
      [ERROR] gyp ERR! build error 
      [ERROR] gyp ERR! stack Error: `make` failed with exit code: 2
      [ERROR] gyp ERR! stack     at ChildProcess.onExit (/tmp/tmp.1F7P878J1E/app/node/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
      [ERROR] gyp ERR! stack     at ChildProcess.emit (events.js:197:13)
      [ERROR] gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
      [ERROR] gyp ERR! System Linux 2.6.32-754.el6.x86_64
      [ERROR] gyp ERR! command "/tmp/tmp.1F7P878J1E/app/node/node" "/tmp/tmp.1F7P878J1E/app/node/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      [ERROR] gyp ERR! cwd /tmp/tmp.1F7P878J1E/app/node_modules/leveldown
      [ERROR] gyp ERR! node -v v11.12.0
      [ERROR] gyp ERR! node-gyp -v v3.8.0
      [ERROR] gyp ERR! not ok 
      [ERROR] npm ERR! code ELIFECYCLE
      [ERROR] npm ERR! errno 1
      [ERROR] npm ERR! leveldown@3.0.0 install: `prebuild-install || node-gyp rebuild`
      [ERROR] npm ERR! Exit status 1
      [ERROR] npm ERR! 
      [ERROR] npm ERR! Failed at the leveldown@3.0.0 install script.
      [ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      [ERROR] 
      [ERROR] npm ERR! A complete log of this run can be found in:
      [ERROR] npm ERR!     /home/hudson/.npm/_logs/2019-05-09T08_39_57_562Z-debug.log
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary for HAL :: Parent :: Aggregator 3.2.0-SNAPSHOT:
      [INFO] 
      [INFO] HAL :: Parent :: Aggregator ........................ SUCCESS [ 51.801 s]
      [INFO] HAL :: Parent :: Dependencies ...................... SUCCESS [  0.710 s]
      [INFO] HAL :: Parent :: GWT ............................... SUCCESS [  3.036 s]
      [INFO] HAL :: SPI ......................................... SUCCESS [  6.034 s]
      [INFO] HAL :: Resources ................................... SUCCESS [  5.745 s]
      [INFO] HAL :: Config ...................................... SUCCESS [  7.149 s]
      [INFO] HAL :: Flow ........................................ SUCCESS [  0.941 s]
      [INFO] HAL :: JavaScript .................................. SUCCESS [  0.408 s]
      [INFO] HAL :: DMR ......................................... SUCCESS [  4.280 s]
      [INFO] HAL :: DB .......................................... SUCCESS [  0.698 s]
      [INFO] HAL :: Metadata .................................... SUCCESS [  3.831 s]
      [INFO] HAL :: Ballroom .................................... SUCCESS [  6.141 s]
      [INFO] HAL :: Core ........................................ SUCCESS [  9.499 s]
      [INFO] HAL :: Processors .................................. SUCCESS [  2.144 s]
      [INFO] HAL :: Themes ...................................... SUCCESS [  0.214 s]
      [INFO] HAL :: Themes :: WildFly ........................... SUCCESS [  0.434 s]
      [INFO] HAL :: Console ..................................... FAILURE [ 45.638 s]
      [INFO] HAL :: BOM (Bill Of Materials) ..................... SKIPPED
      [INFO] HAL :: Standalone .................................. SKIPPED
      [INFO] HAL :: Themes :: EAP ............................... SKIPPED
      [INFO] HAL :: Themes :: HAL ............................... SKIPPED
      [INFO] HAL :: Testsuite Resources ......................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  02:50 min
      [INFO] Finished at: 2019-05-09T08:39:57Z
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:npm (npm) on project hal-console: Failed to run task: 'npm install' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      [ERROR] 
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :hal-console
      + exit 1
      Build step 'Execute shell' marked build as failure
      Archiving artifacts
      [description-setter] Description set: 
      [Process cleanup] Skipping, there are other builds using the slave.
      Finished: FAILURE
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jkasik@redhat.com Jan Kašík
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: