couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Rigor (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-2008) CI: Create repeatable images for different operating system configurations
Date Mon, 27 Jan 2014 01:49:37 GMT


Christopher Rigor commented on COUCHDB-2008:

I'm running make distcheck manually first to test if the VM setup is correct. I am using Example
2 (with minimal dependencies) on

I have 3 questions so far:
Do I need to set BUILD_MAN?
Do you know why building the docs is hanging (see below)?
Are the packages I installed correct?

I am using the 1.5.x branch from the apache git repo. make install works but make distcheck
hangs. It succeeds if I comment out distcheck-hook. I ran into an error with couchdb.1.

make[1]: Entering directory `/root/couchdb'
make -C bin distcheck-hook
make[2]: Entering directory `/root/couchdb/bin'
if test ! -s couchdb.1; then \
	    ../build-aux/dist-error couchdb.1; \
	else \
	    if test ! `cat couchdb.1 | wc -l` -gt 1; then \
	        ../build-aux/dist-error couchdb.1; \
	    fi \
ERROR: This file is missing or incomplete:


       This file is optional at build and install time,
       but is required when preparing a distribution.
make[2]: *** [distcheck-hook] Error 1
make[2]: Leaving directory `/root/couchdb/bin'
make[1]: *** [distcheck-hook] Error 2
make[1]: Leaving directory `/root/couchdb'
make: *** [distcheck] Error 1

Looking at the Makefiles, I have to set BUILD_MAN correct? I didn't see this set on the jenkins
build. With that set, make distcheck hangs in generating some docs. make -C share/doc/build
latex/CouchDB.pdf.gz reproduces the issue.

/usr/share/texmf/web2c/mktexnam: Could not map source abbreviation  for ecrm1000.
/usr/share/texmf/web2c/mktexnam: Need to update ?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecrm1000
This is METAFONT, Version 2.718281 (TeX Live 2009/Debian)

kpathsea: Running mktexmf ecrm1000
! I can't find file `ecrm1000'.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm1000
Please type another input file name
! Emergency stop.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm1000
Transcript written on mfput.log.
grep: ecrm1000.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecrm1000' failed
to make ecrm1000.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Font T1/cmr/m/n/10=ecrm1000 at 10.0pt not loadable: Metric (TFM) file not fou
<to be read again> 
l.100 \fontencoding\encodingdefault\selectfont

Perhaps I need to install a missing package? Here are the packages I installed on Ubuntu 12.04.
The packages are not exactly the same as Example 2 on the wiki.

Spidermonkey is installed from source. JavaScript-C 1.7.0 2007-10-03.
Erlang R14B04 is installed from apt.

    3  apt-get install erlang
    8  apt-get install git-core
   17  apt-get install libtool
   23  apt-get install automake
   27  apt-get install autoconf-archive
   29  apt-get install pkg-config
   32  apt-get install -y g++
   49  apt-get install make
   63  apt-get install libicu-dev
  127  apt-get install help2man
  162  apt-get install sphinx-build
  170  apt-get install makeinfo
  171  apt-get install  python-sphinx
  176  apt-get install texinfo
  181  apt-get install locale
  203  apt-get install pdflatex
  205  apt-get install texlive-latex-base

> CI: Create repeatable images for different operating system configurations
> --------------------------------------------------------------------------
>                 Key: COUCHDB-2008
>                 URL:
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Infrastructure
>            Reporter: Jan Lehnardt
> Dave suggests to look into Ansible & Packer to create images for CI.
> The idea would be to run these configurations on the CI server and controlled by Jenkins.
It should also be possible to set up a configuration locally that matches the CI box exactly,
so one can do debugging under the same circumstances the CI server runs tests.
> The requirement for now is that it all needs to work with a set of VMs that we have SSH
access to, but we don’t manage the host. I’m not too familiar with all the automation
and VM image packaging tools, so I don’t know if one or another is useful in that context
or not.

This message was sent by Atlassian JIRA

View raw message