Closed rkoystart closed 10 months ago
Hi, Tried to execute the following command sudo docker build -f Dockerfile . -t build-pt and got the following output
sudo docker build -f Dockerfile . -t build-pt
---> b6f507652425 Step 2/15 : RUN apt-get update && apt-get install -y build-essential cmake git-core pkg-config automake libtool wge t zlib1g-dev python-dev libbz2-dev ---> Using cache ---> 07ec3c39df14 Step 3/15 : WORKDIR /root ---> Using cache ---> a33a4ef8f071 Step 4/15 : RUN git clone --branch RELEASE-4.0 https://github.com/moses-smt/mosesdecoder.git ---> Using cache ---> ed4fc633a2d7 Step 5/15 : WORKDIR /root/mosesdecoder ---> Using cache ---> 2dd13f55c191 Step 6/15 : RUN make -f contrib/Makefiles/install-dependencies.gmake ---> Using cache ---> c3f4ac2c2792 Step 7/15 : RUN ./compile.sh ---> Running in daaf29ccd1a2 ~/mosesdecoder/jam-files/engine ~/mosesdecoder ### ### Using 'gcc' toolset. ### rm -rf bootstrap mkdir bootstrap gcc -o bootstrap/jam0 command.c compile.c constants.c debug.c execcmd.c frames.c function.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c object.c option.c output.c parse.c pathsys.c pathunix.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c class.c cwd.c native.c md5.c w32_getreg.c modules/set.c modules/path. c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c modules/path.c: In function 'path_exists': modules/path.c:16:12: warning: implicit declaration of function 'file_query' [-Wimplicit-function-declaration] return file_query( list_front( lol_get( frame->args, 0 ) ) ) ? ^ ./bootstrap/jam0 -f build.jam --toolset=gcc --toolset-root= clean ...found 1 target... ...updating 1 target... ...updated 1 target... ./bootstrap/jam0 -f build.jam --toolset=gcc --toolset-root= ..found 158 targets... ...updating 3 targets... [MKDIR] bin.linuxx86_64 [COMPILE] bin.linuxx86_64/b2 modules/path.c: In function 'path_exists': modules/path.c:16:12: warning: implicit declaration of function 'file_query' [-Wimplicit-function-declaration] return file_query( list_front( lol_get( frame->args, 0 ) ) ) ? ^ [COPY] bin.linuxx86_64/bjam ...updated 3 targets... ~/mosesdecoder Invalid value for the '-j' option, valid values are 1 through 64. The command '/bin/sh -c ./compile.sh' returned a non-zero code: 1
I am not sure what went wrong. Can anyone help me on this ?
@guillaumekln any idea on how to solve this ?
this is not a code repo. closing.
Hi, Tried to execute the following command
sudo docker build -f Dockerfile . -t build-pt
and got the following outputI am not sure what went wrong. Can anyone help me on this ?