Hello, Thanks again for help. We just followed the doc and few others examples from the internet (that also follows this doc). But still, we are getting build failure. Please find below the error log and any help on this would be much appreciated.
Step 1/26 : ARG V8_VERSION=7.7.299.11 Step 2/26 : ARG V8_SOURCE_IMAGE=gcr.io/runscope-228819/v8-lib Step 3/26 : FROM ${V8_SOURCE_IMAGE}:${V8_VERSION} as v8 ---> f9377d7abbea Step 4/26 : FROM golang:1.9.3 as builder 1.9.3: Pulling from library/golang 723254a2c089: Pulling fs layer abe15a44e12f: Pulling fs layer 409a28e3cc3d: Pulling fs layer 503166935590: Pulling fs layer abe52c89597f: Pulling fs layer 1ef5b28c171b: Pulling fs layer e564f1d18399: Pulling fs layer 2e76f3e2e9fa: Pulling fs layer abe52c89597f: Waiting 1ef5b28c171b: Waiting e564f1d18399: Waiting 2e76f3e2e9fa: Waiting 503166935590: Waiting 409a28e3cc3d: Verifying Checksum 409a28e3cc3d: Download complete abe15a44e12f: Verifying Checksum abe15a44e12f: Download complete 723254a2c089: Verifying Checksum 723254a2c089: Download complete 503166935590: Verifying Checksum 503166935590: Download complete abe52c89597f: Verifying Checksum abe52c89597f: Download complete e564f1d18399: Verifying Checksum e564f1d18399: Download complete 2e76f3e2e9fa: Verifying Checksum 2e76f3e2e9fa: Download complete 1ef5b28c171b: Verifying Checksum 1ef5b28c171b: Download complete 723254a2c089: Pull complete abe15a44e12f: Pull complete 409a28e3cc3d: Pull complete 503166935590: Pull complete abe52c89597f: Pull complete 1ef5b28c171b: Pull complete e564f1d18399: Pull complete 2e76f3e2e9fa: Pull complete Digest: sha256:3983f9b1f0b11509e21ab72591f5677cfca0eabbe3a863df01b29e46550ae84b Status: Downloaded newer image for golang:1.9.3 ---> 3858fd70eed2 Step 5/26 : ENV APP_PATH=/go/src/github.com/Runscope/script-processor/ ---> Running in f78b550901fa Removing intermediate container f78b550901fa ---> a330fba46fdf Step 6/26 : RUN mkdir -p $APP_PATH ---> Running in 67071d195459 Removing intermediate container 67071d195459 ---> 7c02ad5d46fa Step 7/26 : COPY . $APP_PATH ---> 9f7549840f09 Step 8/26 : COPY --from=v8 /v8/lib $APP_PATH/libv8/ ---> 3c4549619c3d Step 9/26 : COPY --from=v8 /v8/include $APP_PATH/include/ ---> e093ac4c0da2 Step 10/26 : WORKDIR $APP_PATH ---> Running in b5f53e31a3d5 Removing intermediate container b5f53e31a3d5 ---> aa27f1561e0b Step 11/26 : RUN git config --global url."https://ad60b38edeea42abc456f3bf9a7c9bff29b5c...@github.com/".insteadOf "https://github.com/" ---> Running in 2fdc0d25f592 Removing intermediate container 2fdc0d25f592 ---> 9ca335b00a1c Step 12/26 : RUN go get ./... ---> Running in d782f3931880 [91m# pkg-config --cflags v8.pc Failed to open 'v8.pc': No such file or directory No package 'v8.pc' found [0m [91mpkg-config: exit status 1 [0m [91m# pkg-config --cflags libxml-2.0 Package libxml-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libxml-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libxml-2.0' found [0m [91mpkg-config: exit status 1 [0m [91m# pkg-config --cflags libxml-2.0 libxml-2.0 Package libxml-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libxml-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libxml-2.0' found Package libxml-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libxml-2.0.pc' to the PKG_CONFIG_PATH environment variable Thanks, Mani On Wednesday, September 25, 2019 at 1:13:27 AM UTC-7, Manikandan Kaliyaperumal wrote: > > Hello, > > I have been struggling with this V8 build fail for a day or two now and > any help on this would be much appreciated. > > We use V8 version in our project.for a script process engine. It suddenly > stopped working and build fails. > > CXX(target) > /go/v8-3.28.71/out/native/obj.target/v8_snapshot/gen/experimental-libraries.o > CXX(target) /go/v8-3.28.71/out/native/obj.target/v8_snapshot/geni/snapshot.o > CXX(target) > /go/v8-3.28.71/out/native/obj.target/v8_snapshot/src/snapshot-common.o > AR(target) /go/v8-3.28.71/out/native/obj.target/tools/gyp/libv8_snapshot.a > TOUCH /go/v8-3.28.71/out/native/obj.target/tools/gyp/v8.stamp > CXX(target) /go/v8-3.28.71/out/native/obj.target/shell/samples/shell.o > LINK(target) /go/v8-3.28.71/out/native/shell > CXX(target) /go/v8-3.28.71/out/native/obj.target/process/samples/process.o > LINK(target) /go/v8-3.28.71/out/native/process > CXX(target) > /go/v8-3.28.71/out/native/obj.target/lineprocessor/samples/lineprocessor.o > LINK(target) /go/v8-3.28.71/out/native/lineprocessor > ACTION src_d8_gyp_d8_js2c_target_d8_js2c > /go/v8-3.28.71/out/native/obj/gen/d8-js.cc > TOUCH /go/v8-3.28.71/out/native/obj.target/src/d8_js2c.stamp > CXX(target) /go/v8-3.28.71/out/native/obj.target/d8/src/d8.o > CXX(target) /go/v8-3.28.71/out/native/obj.target/d8/src/d8-posix.o > CXX(target) /go/v8-3.28.71/out/native/obj.target/d8/src/d8-debug.o > CXX(target) /go/v8-3.28.71/out/native/obj.target/d8/gen/d8-js.o > LINK(target) /go/v8-3.28.71/out/native/d8 > TOUCH /go/v8-3.28.71/out/native/obj.target/testing/gtest_prod.stamp > AR(target) /go/v8-3.28.71/out/native/obj.target/testing/libgtest.a > [91mar: > /go/v8-3.28.71/out/native/obj.target/gtest/testing/gtest/src/gtest-death-test.o: > No such file or directory > [0m [91mmake[1]: *** > [/go/v8-3.28.71/out/native/obj.target/testing/libgtest.a] Error 1 > [0mmake[1]: Leaving directory `/go/v8-3.28.71/out' > [91mmake: *** [native] Error 2 > [0m [91m+ V8_TMP_finish > [0m [91m+ rm -rf /go/v8.tmp > [0mThe command '/bin/sh -c /tmp/build.v8.sh' returned a non-zero code: 2 > Build step 'Execute shell' marked build as failure > Archiving artifacts > Finished: FAILURE > > > Herewith, i am sharing my build.v8.sh and Docker file for your reference and > any pointers on this would be helpful as we are not much familiar with the > C++ GN way of code building here. > > > Thanks, > > Mani > > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/2e52e639-9d47-4a6c-b072-8bcc8222a54f%40googlegroups.com.
Dockerfile
Description: Binary data