On Thu, Sep 09, 2021 at 08:45:41PM +0000, Eric Wong wrote:
> Konstantin Ryabitsev <[email protected]> wrote:
> > Hello:
> > 
> > I can't seem to get a clean "make test" in the Debian container. It's 
> > possible
> > that I'm missing some of the packages, as the official Debian container 
> > image
> > is very minimal.
> 
> Not sure, it's taking forever to update one of my VMs...
> 
> > The dockerfile is here: 
> > https://gist.github.com/mricon/046ba7c8b03bd92176dbe83e04f2466c
> > 
> > The pertinent section is:
> >     RUN apt-get -y install git liburi-perl libemail-mime-perl libplack-perl 
> > libtimedate-perl \
> >                            libdbd-sqlite3-perl libsearch-xapian-perl 
> > libnet-server-perl \
> >                            libinline-c-perl libemail-address-xs-perl 
> > libparse-recdescent-perl \
> >                            xapian-tools libencode-perl libdbi-perl 
> > liblinux-inotify2-perl \
> >                            libio-compress-perl curl libmail-imapclient-perl 
> > sqlite3 \
> >                            libgit2-dev make eatmydata
> 
> Oops, pkg-config is needed for libgit2-dev.  I thought most
> *-dev packages would pull it in...

Yep, that was the culprit. After installing pkg-config, gcf2 builds and tests
pass. I still have this while running "make test":

t/git.t ...................... 1/? fatal: Needed a single revision

But I do get "All tests successful" in the end, so I assume that's the
expected condition.

Thanks,
-K

Reply via email to