[Mesa-dev] make distclean failing

Rob Clark robdclark at gmail.com
Thu Oct 8 06:56:32 PDT 2015


On Wed, Oct 7, 2015 at 6:00 PM, Andy Furniss <adf.lists at gmail.com> wrote:
> Noticed recently that make distclean is failing for me -
>
> Making distclean in mesa
> make[2]: Entering directory '/mnt/sdb1/Src64/Mesa-git/mesa/src/mesa'
> Makefile:2486: ../glsl/.deps/shader_enums.Plo: No such file or directory
> make[2]: *** No rule to make target '../glsl/.deps/shader_enums.Plo'.  Stop.
> make[2]: Leaving directory '/mnt/sdb1/Src64/Mesa-git/mesa/src/mesa'
> Makefile:684: recipe for target 'distclean-recursive' failed
> make[1]: *** [distclean-recursive] Error 1
> make[1]: Leaving directory '/mnt/sdb1/Src64/Mesa-git/mesa/src'
> Makefile:615: recipe for target 'distclean-recursive' failed
> make: *** [distclean-recursive] Error 1

I think the problem is that shader_enums gets cleaned twice, since it
is built both into libglsl_util.la (for non-mesa state trackers, from
src/Makefile.am), and into libmesa.la/libmesagallium.la (for mesa and
mesa state tracker, from src/mesa/Makefile.am)..  the arrangement with
nir depending on some parts from glsl is a bit unfortunate.

BR,
-R

> My normal usage is
>
> make distclean
> git clean -dfx
> git reset --hard origin/master
>
> so I think I should be clean.
>
> I build like -
>
> ./autogen.sh --prefix=/usr --sysconfdir=/etc --enable-omx
> --enable-texture-float --with-egl-platforms=x11,drm
> --with-gallium-drivers=radeonsi,swrast --enable-opencl --enable-gbm
> --enable-shared-glapi --enable-glx-tls --with-dri-drivers= && make -j5
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list