cancel
Showing results for 
Search instead for 
Did you mean: 

SAP HANA Express Edition - Database Content - Build successful with an error!

jjmiquelf
Explorer
0 Kudos

Hi,

I am running on premise version SAP HANA Express 2.00.045.00.20200121.1

It is the Image file hxexsa.ova

When I build the database module, I get a build error. This error is not stopping the module to compile, but every time I build it, the error shows up. I do not know what’s why. And may be taking a little bit extra time building the module.

It runs under SUSE, but I do not have access to use yum and try to install a gcc-c++ package.

The versions:

node -v v10.17.0

node-gyp -v v5.0.3

@sap/hdi-deploy, version 3.11.11

The screen log:

3:39:22 PM (Builder) Build of "/openSAPHana_V3/db" started.

3:39:24 PM (DIBuild) Build of "/openSAPHana_V3/db" in progress.

3:39:24 PM (DIBuild) Service provisioning for module: '/db'
Service instance 'XSA_DEV-l1kd0842nvkfmbmi-openSAPHana_V3-openSAPHana_V3-db-hdi-container' for resource 'XSA_DEV-l1kd0842nvkfmbmi-openSAPHana_V3-openSAPHana_V3-db-hdi-container' already exists, no operation will be performed.
[INFO] Injecting source code into builder...
[INFO] Source code injection finished
[INFO] ------------------------------------------------------------------------
Your module contains a package.json file, it will be used for the build.

3:39:29 PM (DIBuild)
> segfault-handler@1.3.0 install /hana/shared/HXE/xs/controller_data/executionagent/executionroot/2cad70ad-4679-40cd-a86e-69ebc47fc2dd/app/META-INF/.sap_java_buildpack/tomcat/temp/builder/hdi-builder/builds/build-3675343555138006185/openSAPHana_V3/db/node_modules/segfault-handler
> node-gyp rebuild

3:39:31 PM (DIBuild) make: Entering directory '/hana/shared/HXE/xs/controller_data/executionagent/executionroot/2cad70ad-4679-40cd-a86e-69ebc47fc2dd/app/META-INF/.sap_java_buildpack/tomcat/temp/builder/hdi-builder/builds/build-3675343555138006185/openSAPHana_V3/db/node_modules/segfault-handler/build'
CXX(target) Release/obj.target/segfault-handler/src/segfault-handler.o
make: g++: Command not found
segfault-handler.target.mk:107: recipe for target 'Release/obj.target/segfault-handler/src/segfault-handler.o' failed
make: *** [Release/obj.target/segfault-handler/src/segfault-handler.o] Error 127
make: Leaving directory '/hana/shared/HXE/xs/controller_data/executionagent/executionroot/2cad70ad-4679-40cd-a86e-69ebc47fc2dd/app/META-INF/.sap_java_buildpack/tomcat/temp/builder/hdi-builder/builds/build-3675343555138006185/openSAPHana_V3/db/node_modules/segfault-handler/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stackat ChildProcess.onExit (/hana/shared/HXE/xs/controller_data/executionagent/executionroot/2cad70ad-4679-40cd-a86e-69ebc47fc2dd/app/META-INF/resources/nodejs/vendor/node10.17/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:193:23)
gyp ERR! stackat ChildProcess.emit (events.js:198:13)
gyp ERR! stackat Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 4.4.121-92.125-default
gyp ERR! command "/hana/shared/HXE/xs/controller_data/executionagent/executionroot/2cad70ad-4679-40cd-a86e-69ebc47fc2dd/app/META-INF/resources/nodejs/vendor/node10.17/bin/node" "/hana/shared/HXE/xs/controller_data/executionagent/executionroot/2cad70ad-4679-40cd-a86e-69ebc47fc2dd/app/META-INF/resources/nodejs/vendor/node10.17/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /hana/shared/HXE/xs/controller_data/executionagent/executionroot/2cad70ad-4679-40cd-a86e-69ebc47fc2dd/app/META-INF/.sap_java_buildpack/tomcat/temp/builder/hdi-builder/builds/build-3675343555138006185/openSAPHana_V3/db/node_modules/segfault-handler
gyp ERR! node -v v10.17.0
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok

> deploy@ postinstall /hana/shared/HXE/xs/controller_data/executionagent/executionroot/2cad70ad-4679-40cd-a86e-69ebc47fc2dd/app/META-INF/.sap_java_buildpack/tomcat/temp/builder/hdi-builder/builds/build-3675343555138006185/openSAPHana_V3/db
> node .build.js

3:40:13 PM (DIBuild)
> sqlite3@4.2.0 install /hana/shared/HXE/xs/controller_data/executionagent/executionroot/2cad70ad-4679-40cd-a86e-69ebc47fc2dd/app/META-INF/.sap_java_buildpack/tomcat/temp/builder/hdi-builder/builds/build-3675343555138006185/openSAPHana_V3/node_modules/@sap/cds-dk/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

3:40:15 PM (DIBuild) [sqlite3] Success: "/hana/shared/HXE/xs/controller_data/executionagent/executionroot/2cad70ad-4679-40cd-a86e-69ebc47fc2dd/app/META-INF/.sap_java_buildpack/tomcat/temp/builder/hdi-builder/builds/build-3675343555138006185/openSAPHana_V3/node_modules/@sap/cds-dk/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node" is installed via remote

> @sap/hana-client@2.5.105 install /hana/shared/HXE/xs/controller_data/executionagent/executionroot/2cad70ad-4679-40cd-a86e-69ebc47fc2dd/app/META-INF/.sap_java_buildpack/tomcat/temp/builder/hdi-builder/builds/build-3675343555138006185/openSAPHana_V3/node_modules/@sap/hana-client
> node checkbuild.js


> @sap-cloud-sdk/core@1.18.1 postinstall /hana/shared/HXE/xs/controller_data/executionagent/executionroot/2cad70ad-4679-40cd-a86e-69ebc47fc2dd/app/META-INF/.sap_java_buildpack/tomcat/temp/builder/hdi-builder/builds/build-3675343555138006185/openSAPHana_V3/node_modules/@sap/cds-dk/node_modules/@sap-cloud-sdk/core
> node usage-analytics.js


> nodemon@2.0.2 postinstall /hana/shared/HXE/xs/controller_data/executionagent/executionroot/2cad70ad-4679-40cd-a86e-69ebc47fc2dd/app/META-INF/.sap_java_buildpack/tomcat/temp/builder/hdi-builder/builds/build-3675343555138006185/openSAPHana_V3/node_modules/@sap/cds-dk/node_modules/nodemon
> node bin/postinstall || exit 0


> @sap-cloud-sdk/core@1.27.0 postinstall /hana/shared/HXE/xs/controller_data/executionagent/executionroot/2cad70ad-4679-40cd-a86e-69ebc47fc2dd/app/META-INF/.sap_java_buildpack/tomcat/temp/builder/hdi-builder/builds/build-3675343555138006185/openSAPHana_V3/node_modules/@sap-cloud-sdk/core
> node usage-analytics.js

3:40:17 PM (DIBuild) added 561 packages from 279 contributors in 45.632s

> openSAPHana_V3@1.0.0 build /hana/shared/HXE/xs/controller_data/executionagent/executionroot/2cad70ad-4679-40cd-a86e-69ebc47fc2dd/app/META-INF/.sap_java_buildpack/tomcat/temp/builder/hdi-builder/builds/build-3675343555138006185/openSAPHana_V3
> cds build

[cds] - determining build tasks for project [/hana/shared/HXE/xs/controller_data/executionagent/executionroot/2cad70ad-4679-40cd-a86e-69ebc47fc2dd/app/META-INF/.sap_java_buildpack/tomcat/temp/builder/hdi-builder/builds/build-3675343555138006185/openSAPHana_V3].
{
"build": {
"target": ".",
"tasks": [
{"for":"hana", "src":"db", "options":{"model":["db","srv"]}},
{"for":"node-cf", "src":"srv", "options":{"model":["db","srv"]}}
]
}
}

[cds] - building project [/hana/shared/HXE/xs/controller_data/executionagent/executionroot/2cad70ad-4679-40cd-a86e-69ebc47fc2dd/app/META-INF/.sap_java_buildpack/tomcat/temp/builder/hdi-builder/builds/build-3675343555138006185/openSAPHana_V3], clean [true]
[cds] - cds [4.1.5], compiler [1.35.0], home [/hana/shared/HXE/xs/controller_data/executionagent/executionroot/2cad70ad-4679-40cd-a86e-69ebc47fc2dd/app/META-INF/.sap_java_buildpack/tomcat/temp/builder/hdi-builder/builds/build-3675343555138006185/openSAPHana_V3/node_modules/@sap/cds-dk/node_modules/@sap/cds]


[cds] - done > wrote output to:
db/src/gen/.hdiconfig
db/src/gen/.hdinamespace
db/src/gen/CATALOGSERVICE_AUTHORS.hdbcds
db/src/gen/CATALOGSERVICE_BOOKS.hdbcds
db/src/gen/CATALOGSERVICE_BOOKS_TEXTS.hdbcds
db/src/gen/CATALOGSERVICE_COUNTRIES.hdbcds
db/src/gen/CATALOGSERVICE_COUNTRIES_TEXTS.hdbcds
db/src/gen/CATALOGSERVICE_ORDERS.hdbcds
db/src/gen/LOCALIZED_CATALOGSERVICE_AUTHORS.hdbcds
db/src/gen/LOCALIZED_CATALOGSERVICE_BOOKS.hdbcds
db/src/gen/LOCALIZED_CATALOGSERVICE_COUNTRIES.hdbcds
db/src/gen/LOCALIZED_CATALOGSERVICE_ORDERS.hdbcds
db/src/gen/LOCALIZED_MY_BOOKSHOP_AUTHORS.hdbcds
db/src/gen/LOCALIZED_MY_BOOKSHOP_BOOKS.hdbcds
db/src/gen/LOCALIZED_MY_BOOKSHOP_ORDERS.hdbcds
db/src/gen/LOCALIZED_SAP_COMMON_COUNTRIES.hdbcds
db/src/gen/MY_BOOKSHOP_AUTHORS.hdbcds
db/src/gen/MY_BOOKSHOP_BOOKS.hdbcds
db/src/gen/MY_BOOKSHOP_BOOKS_TEXTS.hdbcds
db/src/gen/MY_BOOKSHOP_ORDERS.hdbcds
db/src/gen/SAP_COMMON_COUNTRIES.hdbcds
db/src/gen/SAP_COMMON_COUNTRIES_TEXTS.hdbcds
db/src/gen/csv/my.bookshop-Authors.csv
db/src/gen/csv/my.bookshop-Authors.hdbtabledata
db/src/gen/csv/my.bookshop-Books.csv
db/src/gen/csv/my.bookshop-Books.hdbtabledata
db/src/gen/csv/my.bookshop-Orders.csv
db/src/gen/csv/my.bookshop-Orders.hdbtabledata
srv/gen/_i18n/i18n.json
srv/gen/csn.json


[cds] - build completed in: 635.919ms

up to date in 51.273s

> deploy@ start /hana/shared/HXE/xs/controller_data/executionagent/executionroot/2cad70ad-4679-40cd-a86e-69ebc47fc2dd/app/META-INF/.sap_java_buildpack/tomcat/temp/builder/hdi-builder/builds/build-3675343555138006185/openSAPHana_V3/db
> node node_modules/@sap/hdi-deploy/deploy.js

@sap/hdi-deploy, version 3.11.11 (mode default), server version 2.00.045.00.1575639312 (2.0.45.0), node version 10.17.0, HDI version 4, container API version 44
No ignore file at /hana/shared/HXE/xs/controller_data/executionagent/executionroot/2cad70ad-4679-40cd-a86e-69ebc47fc2dd/app/META-INF/.sap_java_buildpack/tomcat/temp/builder/hdi-builder/builds/build-3675343555138006185/openSAPHana_V3/db/.hdiignore.
Collecting files...
Collecting files... ok (0s 6ms)
3 directories collected
29 files collected
0 reusable modules collected
Target service: XSA_DEV-l1kd0842nvkfmbmi-openSAPHana_V3-openSAPHana_V3-db-hdi-container
Session variable APPLICATION is set to "SAP_HDI/development/HANAExpress".
Previous build with request ID 636 finished at 2020-08-25 17:16:15.660048000 with status Committed and message: Make succeeded (0 warnings): 29 files deployed (effective 52), 0 files undeployed (effective 0), 0 dependent files redeployed.
Processing revoke files...
Processing revoke files... ok (0s 0ms)
Processing grants files...
Processing grants files... ok (0s 0ms)
Preprocessing files...
Preprocessing files... ok (0s 0ms)
Connecting to the container "OPENSAPHANA_V3_OPENSAPHANA_V3_DB_HDI_CONTAINER_1"...
Connecting to the container "OPENSAPHANA_V3_OPENSAPHANA_V3_DB_HDI_CONTAINER_1"... ok (0s 17ms)
Locking the container "OPENSAPHANA_V3_OPENSAPHANA_V3_DB_HDI_CONTAINER_1"...
Locking the container "OPENSAPHANA_V3_OPENSAPHANA_V3_DB_HDI_CONTAINER_1"... ok (0s 158ms)
Synchronizing files with the container "OPENSAPHANA_V3_OPENSAPHANA_V3_DB_HDI_CONTAINER_1"...

3:40:19 PM (DIBuild) Synchronizing files with the container "OPENSAPHANA_V3_OPENSAPHANA_V3_DB_HDI_CONTAINER_1"... ok (0s 519ms)
0 modified or added files are scheduled for deploy based on delta detection
0 deleted files are scheduled for undeploy based on delta detection (filtered by undeploy whitelist)
0 files are scheduled for deploy based on explicit specification
0 files are scheduled for undeploy based on explicit specification
Deploying to the container "OPENSAPHANA_V3_OPENSAPHANA_V3_DB_HDI_CONTAINER_1"...
Starting make in the container "OPENSAPHANA_V3_OPENSAPHANA_V3_DB_HDI_CONTAINER_1" with 0 files to deploy, 0 files to undeploy...
Enabling table replication for the container schema "OPENSAPHANA_V3_OPENSAPHANA_V3_DB_HDI_CONTAINER_1"...
Enabling table replication for the container schema "OPENSAPHANA_V3_OPENSAPHANA_V3_DB_HDI_CONTAINER_1"... ok(0s 1ms)
Starting make in the container "OPENSAPHANA_V3_OPENSAPHANA_V3_DB_HDI_CONTAINER_1" with 0 files to deploy, 0 files to undeploy... ok(0s 4ms)
Deploying to the container "OPENSAPHANA_V3_OPENSAPHANA_V3_DB_HDI_CONTAINER_1"... ok (0s 208ms)
No default-access-role handling needed; global role "OPENSAPHANA_V3_OPENSAPHANA_V3_DB_HDI_CONTAINER_1::access_role" will not be adapted
Unlocking the container "OPENSAPHANA_V3_OPENSAPHANA_V3_DB_HDI_CONTAINER_1"...
Unlocking the container "OPENSAPHANA_V3_OPENSAPHANA_V3_DB_HDI_CONTAINER_1"... ok (0s 0ms)
Deployment to container OPENSAPHANA_V3_OPENSAPHANA_V3_DB_HDI_CONTAINER_1 done [Deployment ID: none].
(1s 374ms)

3:40:19 PM (DIBuild) ********** End of /openSAPHana_V3/db Build Log **********

3:40:19 PM (DIBuild) Build results link: https://hxehost:53075/che/builder/workspacel1kd0842nvkfmbmi/download-all/dda7e951-285b-43ce-822a-0b7...

3:40:22 PM (Builder) Build of /openSAPHana_V3/db completed successfully.

Accepted Solutions (0)

Answers (0)