build.sh: "autogen.sh" failed on doc/xorg-docs

dclarke at blastwave.org dclarke at blastwave.org
Wed Oct 14 01:54:12 PDT 2015


On a new Debian 8 system which I simply named "xorg" I see the following
: 

xorg$ cat /etc/debian_version 
8.2

xorg$ pwd
/home/dclarke
xorg$ 
xorg$ cd $HOME 
xorg$ rm -rf xorg/
xorg$ rm -rf /opt/xorg/*
xorg$ mkdir -p xorg/util
xorg$ git clone git://anongit.freedesktop.org/git/xorg/util/modular
xorg/util/modular
Cloning into 'xorg/util/modular'...
remote: Counting objects: 2526, done.
remote: Compressing objects: 100% (1395/1395), done.
remote: Total 2526 (delta 1610), reused 1763 (delta 1125)
Receiving objects: 100% (2526/2526), 1.09 MiB | 587.00 KiB/s, done.
Resolving deltas: 100% (1610/1610), done.
Checking connectivity... done.
xorg$ cd $HOME/xorg
xorg$ CONFFLAGS=\-\-with\-udev\-rules\-dir\=/opt/xorg/udev
xorg$ export CONFFLAGS
xorg$ cp -p util/modular/build.sh util/modular/build.sh_backup
xorg$ cp -p $HOME/build_new_util_modular_build.sh util/modular/build.sh

xorg$ 
xorg$ 
xorg$ date -u ; ./util/modular/build.sh --clone --autoresume
built.modules /opt/xorg
Wed Oct 14 08:48:27 UTC 2015
Building to run Linux / x86_64 ()
Wed Oct 14 04:48:27 EDT 2015

======================================================================
==  Processing:  "util/macros"
==        configuration options:  --with-udev-rules-dir=/opt/xorg/udev 
Cloning into 'util/macros'...
remote: Counting objects: 633, done.
remote: Compressing objects: 100% (472/472), done.
remote: Total 633 (delta 386), reused 262 (delta 161)
Receiving objects: 100% (633/633), 145.57 KiB | 0 bytes/s, done.
Resolving deltas: 100% (386/386), done.
Checking connectivity... done.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I /opt/xorg/share/aclocal 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:30: installing './install-sh'
configure.ac:30: installing './missing'
autoreconf: Leaving directory `.'
configure: WARNING: unrecognized options: --with-udev-rules-dir
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating xorg-macros.pc
config.status: creating Makefile
config.status: creating xorg-macros.m4
configure: WARNING: unrecognized options: --with-udev-rules-dir
make: Nothing to be done for 'all'.
make[1]: Entering directory '/home/dclarke/xorg/util/macros'
make[1]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/opt/xorg/share/aclocal'
 /usr/bin/install -c -m 644 xorg-macros.m4 '/opt/xorg/share/aclocal'
 /bin/mkdir -p '/opt/xorg/share/util-macros'
 /usr/bin/install -c -m 644 INSTALL '/opt/xorg/share/util-macros'
 /bin/mkdir -p '/opt/xorg/share/pkgconfig'
 /usr/bin/install -c -m 644 xorg-macros.pc '/opt/xorg/share/pkgconfig'
make  install-data-hook
make[2]: Entering directory '/home/dclarke/xorg/util/macros'
rm -f /opt/xorg/share/aclocal/xorgversion.m4
make[2]: Leaving directory '/home/dclarke/xorg/util/macros'
make[1]: Leaving directory '/home/dclarke/xorg/util/macros'

======================================================================
==  Processing:  "font/util"
==        configuration options:  --with-udev-rules-dir=/opt/xorg/udev 
Cloning into 'font/util'...
remote: Counting objects: 301, done.
remote: Compressing objects: 100% (177/177), done.
remote: Total 301 (delta 187), reused 196 (delta 123)
Receiving objects: 100% (301/301), 83.10 KiB | 0 bytes/s, done.
Resolving deltas: 100% (187/187), done.
Checking connectivity... done.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext

.
.
.


======================================================================
==  Processing:  "doc/xorg-docs"
==        configuration options:  --with-udev-rules-dir=/opt/xorg/udev 
Cloning into 'doc/xorg-docs'...
remote: Counting objects: 3709, done.
remote: Compressing objects: 100% (1357/1357), done.
remote: Total 3709 (delta 2213), reused 3702 (delta 2210)
Receiving objects: 100% (3709/3709), 15.21 MiB | 3.30 MiB/s, done.
Resolving deltas: 100% (2213/2213), done.
Checking connectivity... done.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I /opt/xorg/share/aclocal 
configure.ac:38: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
/opt/xorg/share/aclocal/xorg-macros.m4:1822: XORG_INSTALL is expanded
from...
/opt/xorg/share/aclocal/xorg-macros.m4:1802: XORG_DEFAULT_OPTIONS is
expanded from...
configure.ac:38: the top level
autoreconf: configure.ac: tracing
configure.ac:38: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
aclocal.m4:2971: XORG_INSTALL is expanded from...
aclocal.m4:2951: XORG_DEFAULT_OPTIONS is expanded from...
configure.ac:38: the top level
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
configure.ac:38: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
m4_defun'd
aclocal.m4:2971: XORG_INSTALL is expanded from...
aclocal.m4:2951: XORG_DEFAULT_OPTIONS is expanded from...
configure.ac:38: the top level
configure:11041: error: possibly undefined macro: m4_ifval
      If this token and others are legitimate, please use
m4_pattern_allow.
      See the Autoconf documentation.
configure:11045: error: possibly undefined macro: AC_CHECK_FILE
autoreconf: /usr/bin/autoconf failed with exit status: 1
build.sh: "autogen.sh" failed on doc/xorg-docs
build.sh: error processing:  "doc/xorg-docs"


xorg$ 


Not sure what is needed here but the build stalls at this point. 

Any hints ? 

Dennis 


More information about the xorg mailing list