[Mesa-dev] make distclean failing

Andy Furniss adf.lists at gmail.com
Thu Oct 8 04:45:36 PDT 2015


Ilia Mirkin wrote:
> Edit shader_enums.Plo and replace shader_enums.cpp with
> shader_enums.c (or vice-versa)

shader_enums.Plo does not exist anymore by the time distclean gets to
the error.

After autogen it contains #dummy, after build it looks like-

ph4[mesa]$ cat src/glsl/.deps/shader_enums.Plo
glsl/shader_enums.lo: glsl/shader_enums.c glsl/shader_enums.h \
  util/macros.h

glsl/shader_enums.h:

util/macros.h:

Regardless, it's a bit strange that make distclean would need some
esoteric editing operation to work!

>
> 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
>>
>> 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