Re: [mlmmj] Candidate for an 1.4.0.a1

Baptiste Daroussin <[email protected]> Mon, 05 Dec 2022 09:32:03 +0000
Newsgroups org.mlmmj.mlmmj
Message-ID <[email protected]>
On Sat, Dec 03, 2022 at 04:24:42PM +0100, A. Schulze wrote:
> 
> 
> Am 03.12.22 um 09:48 schrieb Franky Van Liedekerke:
> > > ok, now "make check" fail:
> > You need to install atf-sh (the devel-package of it, on fedora it is libatf-sh-devel)
> 
> Hello,
> 
> adding 'atf-sh' make sense, but do not change anything, at least on Debian (Bullseye|Bookworm).
> Here is how to reproduce with docker:
> 
> $ install -d /tmp/mlmmj/
> $ cat <<EOF > /tmp/mlmmj/Dockerfile
> FROM debian:bullseye-slim
> 
> RUN  apt-get -qq update && apt-get -qq --no-install-recommends install \
>        atf-sh \
>        autoconf \
>        automake \
>        build-essential \
>        ca-certificates \
>        git \
>        kyua \
>        libatf-dev \
>        pkg-config \
> 
> WORKDIR /tmp/
> RUN git clone https://codeberg.org/mlmmj/mlmmj
> WORKDIR /tmp/mlmmj/
> RUN git clone https://codeberg.org/mlmmj/listtexts
> 
> RUN sed -i -e '/^AC_CHECK_INCLUDES_DEFAULT/d' configure.ac
> RUN autoreconf -i
> RUN ./configure
> RUN make
> 
> # this fail ...
> RUN make check
> EOF
> 
> $ docker build -t mlmmj:1.4.0.a1 /tmp/mlmmj/
> 

The issue is because it runs the test suite as root, I will make sure the
testsuite can be run safely as root.

Best regards,
Bapt