[Mesa-dev] [Bug 63615] New: build fails after configure

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 16 14:37:33 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=63615

          Priority: medium
            Bug ID: 63615
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: build fails after configure
          Severity: critical
    Classification: Unclassified
                OS: Linux (All)
          Reporter: burlen.loring at gmail.com
          Hardware: All
            Status: NEW
           Version: 9.1
         Component: Other
           Product: Mesa

Build is failing for me on every linux system, have issues with all releases of
9.X.X. The following is from an up to date fedora 17. "configure" appears to
succeed but "make" immediately fails with complaints about autoconf. all output
below. Note: I have autoconf, automake, ver 1.11 installed. I don't think
autoconf should be running at all here, if it is it's the first build I have
ever seen like this. Some explanation on the web site of the build process
would be greatly appreciated.


averatec:~/ParaView/Mesa-9.1.1$./configure
--prefix=/home/bloring/apps/Mesa-9.0.3 --enable-shared --disable-static
--enable-texture-float --enable-osmesa --with-osmesa-bits=32
--disable-gallium-llvm --disable-dri --disable-egl --disable-glx
--with-gallium-drivers= --with-dri-drivers=
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to run the C preprocessor... gcc -E
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking whether gcc and cc understand -c and -o together... yes
checking dependency style of gcc... gcc3
checking for gmake... gmake
checking for python2... python2
checking python2 module: libxml2... yes
checking for a sed that does not truncate output... /bin/sed
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu
format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format...
func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking whether the g++ linker (/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for bison... no
checking for byacc... no
checking if bison is the parser generator... no
checking for flex... no
checking for lex... no
checking if flex is the lexer generator... no
checking for perl... /bin/perl
checking for indent... cat
checking if compiling with clang... no
checking whether gcc version is sufficient... yes
checking for pkg-config... /bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether gcc supports -Werror=missing-prototypes... yes
checking whether gcc supports -fvisibility=hidden... yes
checking whether g++ supports -fvisibility=hidden... yes
configure: WARNING: Floating-point textures enabled.
configure: WARNING: Please consult docs/patents.txt with your lawyer before
building Mesa.
checking whether to enable assembly... yes, x86
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for clock_gettime... no
checking for clock_gettime in -lrt... yes
checking for posix_memalign... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... no
configure: WARNING: GLX disabled, disabling Xlib-GLX
configure: Shared GLAPI is only useful for DRI, disabling
checking for LIBDRM... yes
checking for X11... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/egl/Makefile
config.status: creating src/egl/drivers/Makefile
config.status: creating src/egl/drivers/dri2/Makefile
config.status: creating src/egl/drivers/glx/Makefile
config.status: creating src/egl/main/Makefile
config.status: creating src/egl/main/egl.pc
config.status: creating src/egl/wayland/Makefile
config.status: creating src/egl/wayland/wayland-drm/Makefile
config.status: creating src/egl/wayland/wayland-egl/Makefile
config.status: creating src/egl/wayland/wayland-egl/wayland-egl.pc
config.status: creating src/gallium/Makefile
config.status: creating src/gallium/auxiliary/Makefile
config.status: creating src/gallium/auxiliary/pipe-loader/Makefile
config.status: creating src/gallium/drivers/Makefile
config.status: creating src/gallium/drivers/i915/Makefile
config.status: creating src/gallium/drivers/llvmpipe/Makefile
config.status: creating src/gallium/drivers/nouveau/Makefile
config.status: creating src/gallium/drivers/nv30/Makefile
config.status: creating src/gallium/drivers/nv50/Makefile
config.status: creating src/gallium/drivers/nvc0/Makefile
config.status: creating src/gallium/drivers/r300/Makefile
config.status: creating src/gallium/drivers/r600/Makefile
config.status: creating src/gallium/drivers/radeon/Makefile
config.status: creating src/gallium/drivers/radeonsi/Makefile
config.status: creating src/gallium/drivers/rbug/Makefile
config.status: creating src/gallium/drivers/softpipe/Makefile
config.status: creating src/gallium/drivers/svga/Makefile
config.status: creating src/gallium/drivers/trace/Makefile
config.status: creating src/gallium/state_trackers/Makefile
config.status: creating src/gallium/state_trackers/clover/Makefile
config.status: creating src/gallium/state_trackers/dri/Makefile
config.status: creating src/gallium/state_trackers/dri/drm/Makefile
config.status: creating src/gallium/state_trackers/dri/sw/Makefile
config.status: creating src/gallium/state_trackers/egl/Makefile
config.status: creating src/gallium/state_trackers/gbm/Makefile
config.status: creating src/gallium/state_trackers/glx/Makefile
config.status: creating src/gallium/state_trackers/vdpau/Makefile
config.status: creating src/gallium/state_trackers/vega/Makefile
config.status: creating src/gallium/state_trackers/xa/Makefile
config.status: creating src/gallium/state_trackers/xorg/Makefile
config.status: creating src/gallium/state_trackers/xvmc/Makefile
config.status: creating src/gallium/targets/Makefile
config.status: creating src/gallium/targets/dri-i915/Makefile
config.status: creating src/gallium/targets/dri-nouveau/Makefile
config.status: creating src/gallium/targets/dri-r300/Makefile
config.status: creating src/gallium/targets/dri-r600/Makefile
config.status: creating src/gallium/targets/dri-radeonsi/Makefile
config.status: creating src/gallium/targets/dri-swrast/Makefile
config.status: creating src/gallium/targets/dri-vmwgfx/Makefile
config.status: creating src/gallium/targets/egl-static/Makefile
config.status: creating src/gallium/targets/gbm/Makefile
config.status: creating src/gallium/targets/opencl/Makefile
config.status: creating src/gallium/targets/pipe-loader/Makefile
config.status: creating src/gallium/targets/libgl-xlib/Makefile
config.status: creating src/gallium/targets/vdpau-nouveau/Makefile
config.status: creating src/gallium/targets/vdpau-r300/Makefile
config.status: creating src/gallium/targets/vdpau-r600/Makefile
config.status: creating src/gallium/targets/vdpau-radeonsi/Makefile
config.status: creating src/gallium/targets/vdpau-softpipe/Makefile
config.status: creating src/gallium/targets/xa-vmwgfx/Makefile
config.status: creating src/gallium/targets/xa-vmwgfx/xatracker.pc
config.status: creating src/gallium/targets/xorg-i915/Makefile
config.status: creating src/gallium/targets/xorg-nouveau/Makefile
config.status: creating src/gallium/targets/xorg-r600/Makefile
config.status: creating src/gallium/targets/xorg-radeonsi/Makefile
config.status: creating src/gallium/targets/xvmc-nouveau/Makefile
config.status: creating src/gallium/targets/xvmc-r300/Makefile
config.status: creating src/gallium/targets/xvmc-r600/Makefile
config.status: creating src/gallium/targets/xvmc-softpipe/Makefile
config.status: creating src/gallium/tests/trivial/Makefile
config.status: creating src/gallium/tests/unit/Makefile
config.status: creating src/gallium/winsys/Makefile
config.status: creating src/gallium/winsys/i915/drm/Makefile
config.status: creating src/gallium/winsys/i915/sw/Makefile
config.status: creating src/gallium/winsys/nouveau/drm/Makefile
config.status: creating src/gallium/winsys/radeon/drm/Makefile
config.status: creating src/gallium/winsys/svga/drm/Makefile
config.status: creating src/gallium/winsys/sw/Makefile
config.status: creating src/gallium/winsys/sw/dri/Makefile
config.status: creating src/gallium/winsys/sw/fbdev/Makefile
config.status: creating src/gallium/winsys/sw/null/Makefile
config.status: creating src/gallium/winsys/sw/wayland/Makefile
config.status: creating src/gallium/winsys/sw/wrapper/Makefile
config.status: creating src/gallium/winsys/sw/xlib/Makefile
config.status: creating src/gbm/Makefile
config.status: creating src/gbm/main/gbm.pc
config.status: creating src/glsl/Makefile
config.status: creating src/glsl/builtin_compiler/Makefile
config.status: creating src/glx/Makefile
config.status: creating src/glx/tests/Makefile
config.status: creating src/gtest/Makefile
config.status: creating src/mapi/es1api/Makefile
config.status: creating src/mapi/es1api/glesv1_cm.pc
config.status: creating src/mapi/es2api/Makefile
config.status: creating src/mapi/es2api/glesv2.pc
config.status: creating src/mapi/glapi/Makefile
config.status: creating src/mapi/glapi/gen/Makefile
config.status: creating src/mapi/glapi/tests/Makefile
config.status: creating src/mapi/shared-glapi/Makefile
config.status: creating src/mapi/shared-glapi/tests/Makefile
config.status: creating src/mapi/vgapi/Makefile
config.status: creating src/mapi/vgapi/vg.pc
config.status: creating src/mesa/Makefile
config.status: creating src/mesa/gl.pc
config.status: creating src/mesa/drivers/Makefile
config.status: creating src/mesa/drivers/dri/dri.pc
config.status: creating src/mesa/drivers/dri/common/Makefile
config.status: creating src/mesa/drivers/dri/common/xmlpool/Makefile
config.status: creating src/mesa/drivers/dri/i915/Makefile
config.status: creating src/mesa/drivers/dri/i965/Makefile
config.status: creating src/mesa/drivers/dri/Makefile
config.status: creating src/mesa/drivers/dri/nouveau/Makefile
config.status: creating src/mesa/drivers/dri/r200/Makefile
config.status: creating src/mesa/drivers/dri/radeon/Makefile
config.status: creating src/mesa/drivers/dri/swrast/Makefile
config.status: creating src/mesa/drivers/osmesa/Makefile
config.status: creating src/mesa/drivers/osmesa/osmesa.pc
config.status: creating src/mesa/drivers/x11/Makefile
config.status: creating src/mesa/libdricore/Makefile
config.status: creating src/mesa/main/tests/Makefile
config.status: creating src/mesa/main/tests/hash_table/Makefile
config.status: creating src/mesa/program/Makefile
config.status: creating src/mesa/x86-64/Makefile
config.status: creating src/mesa/x86/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands

        prefix:          /home/bloring/apps/Mesa-9.0.3
        exec_prefix:     ${prefix}
        libdir:          ${exec_prefix}/lib
        includedir:      ${prefix}/include

        OpenGL:          yes (ES1: no ES2: no)
        OpenVG:          no

        OSMesa:          libOSMesa32
        GLX:             no

        EGL:             no

        llvm:            no

        Gallium:         no

        Shared libs:     yes
        Static libs:     no
        Shared-glapi:    no

        CFLAGS:          -g -O2 -Wall -std=c99
-Werror=implicit-function-declaration -Werror=missing-prototypes
-fno-strict-aliasing -fno-builtin-memcmp
        CXXFLAGS:        -g -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp
        Macros:          -D_GNU_SOURCE -DHAVE_PTHREAD -DTEXTURE_FLOAT_ENABLED
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DHAVE_DLOPEN
-DHAVE_POSIX_MEMALIGN -DCHAN_BITS=32 -DDEFAULT_SOFTWARE_DEPTH_BITS=31

        PYTHON2:         python2

        Run 'gmake' to build Mesa

averatec:~/ParaView/Mesa-9.1.1$gmake
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
/home/bloring/ParaView/Mesa-9.1.1/bin/missing --run aclocal-1.12 -I m4
/home/bloring/ParaView/Mesa-9.1.1/bin/missing: line 51: aclocal-1.12: command
not found
WARNING: 'aclocal-1.12' is missing on your system.  You should only need it if
         you modified 'acinclude.m4' or 'configure.ac'.  You might want
         to install the Automake and Perl packages.  Grab them from
         any GNU archive site.
 cd . && /bin/sh /home/bloring/ParaView/Mesa-9.1.1/bin/missing --run
automake-1.12 --foreign
/home/bloring/ParaView/Mesa-9.1.1/bin/missing: line 51: automake-1.12: command
not found
WARNING: 'automake-1.12' is missing on your system.  You should only need it if
         you modified 'Makefile.am', 'acinclude.m4' or 'configure.ac'.
         You might want to install the Automake and Perl packages.
         Grab them from any GNU archive site.
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
/home/bloring/ParaView/Mesa-9.1.1/bin/missing --run autoconf
aclocal.m4:16: warning: this file was generated for autoconf 2.69.
You have another version of autoconf.  It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.
/usr/bin/m4:aclocal.m4:1379: cannot open `m4/libtool.m4': No such file or
directory
/usr/bin/m4:aclocal.m4:1380: cannot open `m4/ltoptions.m4': No such file or
directory
/usr/bin/m4:aclocal.m4:1381: cannot open `m4/ltsugar.m4': No such file or
directory
/usr/bin/m4:aclocal.m4:1382: cannot open `m4/ltversion.m4': No such file or
directory
/usr/bin/m4:aclocal.m4:1383: cannot open `m4/lt~obsolete.m4': No such file or
directory
autom4te: /usr/bin/m4 failed with exit status: 1
gmake: *** [configure] Error 1

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130416/8cb8a64a/attachment-0001.html>


More information about the mesa-dev mailing list