Skip to content

Dockerfile fails to build #134

@s3ts

Description

@s3ts

Tried latest, fails to build.

git checkout d8084f9 <-- this seems to work.

taehkim$ docker build -t svn2git .
[+] Building 93.2s (8/9)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 367B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/debian:8.11 1.6s
=> [internal] load build context 0.0s
=> => transferring context: 663.04kB 0.0s
=> [1/5] FROM docker.io/library/debian:8.11@sha256:32ad5050caffb2c7e969dac873bce2c370015c2256ff984b70c1c08b3a2816a0 6.2s
=> => resolve docker.io/library/debian:8.11@sha256:32ad5050caffb2c7e969dac873bce2c370015c2256ff984b70c1c08b3a2816a0 0.0s
=> => sha256:32ad5050caffb2c7e969dac873bce2c370015c2256ff984b70c1c08b3a2816a0 982B / 982B 0.0s
=> => sha256:23f6c1ca631220b4a17c659e70e4c20092965590b406b1fb02780475680622f4 529B / 529B 0.0s
=> => sha256:3aaeab7a47777b5ca21fc6de40a6f9e7ee7ebb7302e7a025795eb9e73200c404 1.46kB / 1.46kB 0.0s
=> => sha256:b82b9923b08dfd4c2a83d1669b67a3a0c12f2d17fc989315c05f201eabc33b52 54.39MB / 54.39MB 3.7s
=> => extracting sha256:b82b9923b08dfd4c2a83d1669b67a3a0c12f2d17fc989315c05f201eabc33b52 2.3s
=> [2/5] RUN apt update && apt install -y make g++ libapr1-dev libsvn-dev libqt4-dev git subversion && rm -rf /var/lib/apt/lists/* && mkdir /usr/local/svn2git 83.2s
=> [3/5] ADD . /usr/local/svn2git 0.0s
=> ERROR [4/5] RUN cd /usr/local/svn2git && qmake && make 2.1s

[4/5] RUN cd /usr/local/svn2git && qmake && make:
#7 0.239 cd src/ && /usr/lib/x86_64-linux-gnu/qt4/bin/qmake /usr/local/svn2git/src/src.pro -o Makefile
#7 0.243 /usr/local/svn2git/src/src.pro:1: defined(function, type): unexpected type [var].
#7 0.243 /usr/local/svn2git/src/src.pro:4: defined(function, type): unexpected type [var].
#7 0.243 /usr/local/svn2git/src/src.pro:9: defined(function, type): unexpected type [var].
#7 0.257 cd src/ && make -f Makefile
#7 0.265 make[1]: Entering directory '/usr/local/svn2git/src'
#7 0.265 g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVER=""71d254eeef991901595fefa3fb0d7074660ae17e"" -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../share/qt4/mkspecs/linux-g++-64 -I. -I../../../include/qt4/QtCore -I../../../include/qt4 -I. -I../../../include/subversion-1 -I/usr/local/include/subversion-1 -I../../../include/apr-1.0 -I/usr/include/apr-1 -I/usr/local/include/apr-1 -I. -o ruleparser.o ruleparser.cpp
#7 1.678 g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVER=""71d254eeef991901595fefa3fb0d7074660ae17e"" -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../share/qt4/mkspecs/linux-g++-64 -I. -I../../../include/qt4/QtCore -I../../../include/qt4 -I. -I../../../include/subversion-1 -I/usr/local/include/subversion-1 -I../../../include/apr-1.0 -I/usr/include/apr-1 -I/usr/local/include/apr-1 -I. -o repository.o repository.cpp
#7 2.002 repository.cpp: In constructor 'LoggingQProcess::LoggingQProcess(QString)':
#7 2.002 repository.cpp:48:20: error: 'errorOccurred' is not a member of 'QProcess'
#7 2.002 connect(this, &QProcess::errorOccurred, this,
#7 2.002 ^
#7 2.002 repository.cpp:51:9: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
#7 2.002 });
#7 2.002 ^
#7 2.122 make[1]: *** [repository.o] Error 1
#7 2.122 Makefile:221: recipe for target 'repository.o' failed
#7 2.122 make[1]: Leaving directory '/usr/local/svn2git/src'
#7 2.122 make: *** [sub-src-make_default] Error 2
#7 2.122 Makefile:39: recipe for target 'sub-src-make_default' failed


executor failed running [/bin/sh -c cd /usr/local/svn2git && qmake && make]: exit code: 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions