iriscouch / build-couchdb

Batteries-included CouchDB build system
227 stars 36 forks source link

[Mac OS X 10.7.5] Autoconf build fails. Blocks 1.3.0 binaries. #77

Open janl opened 11 years ago

janl commented 11 years ago

master, Mac OS X 10.7.5

> brew list
autoconf                help2man                node                    sphinx
autoconf-archive        hub                     nspr                    spidermonkey
automake                icu4c                   phantomjs               ssh-copy-id
couchdb                 libevent                pkg-config              wget
erlang                  libtool                 pow
git                     libvbucket              qt
gnupg                   md5sha1sum              readline

yields:

        if (/bin/sh /Users/jan/Work/build-couchdb-mac/build-couchdb/dependencies/autoconf-2.69/build-aux/missing --run makeinfo --version) >/dev/null 2>&1; then \
          for f in /Users/jan/Work/build-couchdb-mac/build-couchdb/dependencies/autoconf-2.69/doc/standards.info /Users/jan/Work/build-couchdb-mac/build-couchdb/dependencies/autoconf-2.69/doc/standards.info-[0-9] /Users/jan/Work/build-couchdb-mac/build-couchdb/dependencies/autoconf-2.69/doc/standards.info-[0-9][0-9] /Users/jan/Work/build-couchdb-mac/build-couchdb/dependencies/autoconf-2.69/doc/standards.i[0-9] /Users/jan/Work/build-couchdb-mac/build-couchdb/dependencies/autoconf-2.69/doc/standards.i[0-9][0-9]; do \
            if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
          done; \
        else :; fi && \
        cd "$am__cwd"; \
        if /bin/sh /Users/jan/Work/build-couchdb-mac/build-couchdb/dependencies/autoconf-2.69/build-aux/missing --run makeinfo --no-split  -I /Users/jan/Work/build-couchdb-mac/build-couchdb/dependencies/autoconf-2.69/doc \
         -o /Users/jan/Work/build-couchdb-mac/build-couchdb/dependencies/autoconf-2.69/doc/standards.info /Users/jan/Work/build-couchdb-mac/build-couchdb/dependencies/autoconf-2.69/doc/standards.texi; \
        then \
          rc=0; \
          CDPATH="${ZSH_VERSION+.}:" && cd /Users/jan/Work/build-couchdb-mac/build-couchdb/dependencies/autoconf-2.69/doc; \
        else \
          rc=$?; \
          CDPATH="${ZSH_VERSION+.}:" && cd /Users/jan/Work/build-couchdb-mac/build-couchdb/dependencies/autoconf-2.69/doc && \
          $restore $backupdir/* `echo ".//Users/jan/Work/build-couchdb-mac/build-couchdb/dependencies/autoconf-2.69/doc/standards.info" | sed 's|[^/]*$||'`; \
        fi; \
        rm -rf $backupdir; exit $rc
/Users/jan/Work/build-couchdb-mac/build-couchdb/dependencies/autoconf-2.69/doc/standards.texi:3229: Unknown command `guilsinglleft'.
/Users/jan/Work/build-couchdb-mac/build-couchdb/dependencies/autoconf-2.69/doc/standards.texi:3229: Misplaced {.
/Users/jan/Work/build-couchdb-mac/build-couchdb/dependencies/autoconf-2.69/doc/standards.texi:3229: Misplaced }.
/Users/jan/Work/build-couchdb-mac/build-couchdb/dependencies/autoconf-2.69/doc/standards.texi:3229: Unknown command `guilsinglright'.
/Users/jan/Work/build-couchdb-mac/build-couchdb/dependencies/autoconf-2.69/doc/standards.texi:3229: Misplaced {.
/Users/jan/Work/build-couchdb-mac/build-couchdb/dependencies/autoconf-2.69/doc/standards.texi:3229: Misplaced }.
makeinfo: Removing output file `/Users/jan/Work/build-couchdb-mac/build-couchdb/dependencies/autoconf-2.69/doc/standards.info' due to errors; use --force to preserve.
make[2]: *** [/Users/jan/Work/build-couchdb-mac/build-couchdb/dependencies/autoconf-2.69/doc/standards.info] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
git checkout HEAD .
rm -rf autom4te.cache
rake aborted!
Command failed with status (2): [make ...]

(See full trace by running task with --trace)
janl commented 11 years ago

I used this to work around it:


> git diff
diff --git a/doc/Makefile.am b/doc/Makefile.am
index a3075ff..44b6ab1 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -19,7 +19,7 @@ AM_MAKEINFOFLAGS = --no-split
 TEXI2HTML_FLAGS = -split_chapter
 TEXINFO_TEX = ../build-aux/texinfo.tex

-info_TEXINFOS = autoconf.texi standards.texi
+#info_TEXINFOS = autoconf.texi standards.texi
 autoconf_TEXINFOS = fdl.texi install.texi
 standards_TEXINFOS = fdl.texi gnu-oids.texi make-stds.texi
jhs commented 11 years ago

Thank you.

Please contact me on IRC (whoops, I see that you did already). Maybe we should be sharing each other's build systems (i.e. SSH access) to expedite fixing these bugs.

On Mon, Apr 1, 2013 at 1:00 PM, Jan Lehnardt notifications@github.comwrote:

I used this to work around it:

git diff diff --git a/doc/Makefile.am b/doc/Makefile.am index a3075ff..44b6ab1 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -19,7 +19,7 @@ AM_MAKEINFOFLAGS = --no-split TEXI2HTML_FLAGS = -split_chapter TEXINFO_TEX = ../build-aux/texinfo.tex

-info_TEXINFOS = autoconf.texi standards.texi +#info_TEXINFOS = autoconf.texi standards.texi autoconf_TEXINFOS = fdl.texi install.texi standards_TEXINFOS = fdl.texi gnu-oids.texi make-stds.texi

— Reply to this email directly or view it on GitHubhttps://github.com/iriscouch/build-couchdb/issues/77#issuecomment-15714391 .

Iris Couch