The debug print by the way doesn’t show any additional information for this error.
This error does not make any sense to me, and asking the Internet doesn’t help, so I decided to ask you guys to help me.
This error means that parsing the error message files under share has failed. Most likely you edited share/messages_to_clients.txt or share/messages_to_error_log.txt.
By looking at your error you have an extra line somewhere in the file /opt/percona-server/share/messages_to_clients.txt :
Hey @Marcelo_Altmann,
thanks for your help. I followed your advice to check the file difference. Because I wanted to make sure that everything is clean, I did a git hard reset.
Unfortunately, this doesn’t change anything. The same error occurs again.
Maybe it helps if I explain to you my overall goal: I want to create a storage engine and want to build a docker image with the engine installed. Is there any easy way to get this thing done without building the whole thing from source?
Maybe the Dockerfile content helps as well:
FROM ubuntu
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Berlin
ENV CMAKE_VERSION 3.20.0
# Install required dependencies
RUN apt update -y && \
apt install -y \
tzdata \
curl \
git \
gcc \
g++ \
make \
bison \
ccache \
libssl-dev \
libncurses5-dev \
libreadline-dev \
libcurl4-openssl-dev \
procps \
zlib1g-dev \
libldap2-dev \
pkg-config \
libtirpc-dev \
&& rm -rf /var/lib/apt/lists/*
# Install and configure cmake
RUN mkdir /tmp/cmake && \
cd /tmp/cmake && \
curl -L https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}.tar.gz | tar zxf - && \
cd cmake-${CMAKE_VERSION} && \
./configure && \
make -j4 && \
make install && \
rm -rf /tmp/cmake
WORKDIR /opt/percona-server
ADD percona-server /opt/percona-server
# Copy storage engine source into percona-server/storage
COPY src /opt/percona-server/storage/gcsv
COPY scripts /opt/percona-server/scripts
# Configure build
RUN cmake . \
-DDOWNLOAD_BOOST=1 \
-DWITH_BOOST=/tmp/boost \
-DFORCE_INSOURCE_BUILD=1 \
-DWITHOUT_ROCKSDB=1 \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_CONFIG=mysql_release \
-DFEATURE_SET=community
# Compile using make
RUN make
# Install percona-server on the system
RUN make install
Hi @bkuen
For build using build script you can use your own repo on github or you can take our source tarball, unpack it, add your storage engine and again create source tarball tarball.
Once it is done you can use your tarball to create binary tarball or packages.