[Mesa-dev] mesa-10.6.8: ERROR on 'make distclean' when removing *.Plo files

Ilia Mirkin imirkin at alum.mit.edu
Fri Sep 25 10:05:54 PDT 2015


This happens when you rename a file between .c and .cpp -- the
destination object stays the same, and so the deps don't get
regenerated. Or something. I fix this by hand-editing the Plo file to
flip from .c to .cpp or vice-versa.

On Fri, Sep 25, 2015 at 12:46 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> On 25 September 2015 at 16:14, Sedat Dilek <sedat.dilek at gmail.com> wrote:
>> On Fri, Sep 25, 2015 at 4:44 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>>> On 25 September 2015 at 14:35, Sedat Dilek <sedat.dilek at gmail.com> wrote:
>>>> On Fri, Sep 25, 2015 at 3:32 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>>>>> Hi Sedat,
>>>>>
>>>>> On 25 September 2015 at 11:53, Sedat Dilek <sedat.dilek at gmail.com> wrote:
>>>>>> $ make distclean
>>>>>> ...
>>>>>> Making distclean in .
>>>>>> make[2]: Entering directory `/home/wearefam/src/mesa/mesa-git/src'
>>>>>> Makefile:545: mesa/main/.deps/imports.Plo: No such file or directory
>>>>>> Makefile:546: mesa/program/.deps/dummy_errors.Plo: No such file or directory
>>>>>> Makefile:547: mesa/program/.deps/prog_hash_table.Plo: No such file or directory
>>>>>> Makefile:548: mesa/program/.deps/symbol_table.Plo: No such file or directory
>>>>>> make[2]: *** No rule to make target
>>>>>> `mesa/program/.deps/symbol_table.Plo'.  Stop.
>>>>>> make[2]: Leaving directory `/home/wearefam/src/mesa/mesa-git/src'
>>>>>> make[1]: *** [distclean-recursive] Error 1
>>>>>> make[1]: Leaving directory `/home/wearefam/src/mesa/mesa-git/src'
>>>>>> make: *** [distclean-recursive] Error 1
>>>>>>
>>>>>> $ find ./ -name '*.Plo'
>>>>>> [ NO OUTPUT ]
>>>>>>
>>>>> Don't think I've ever seen such issue. Can you let me know of:
>>>>> - building from git (tag) or tarball ?
>>>>> - 'how to' so that I can reproduce this ?
>>>>>
>>>>
>>>> It's from git and mesa-10.6.8 tag (checkout).
>>>>
>>>> Compiled. OK or BROKEN.
>>>>
>>>> And then do a 'make distclean'.
>>>>
>>> Can you do a step-by-step guide, as the above does not parse.
>>>
>>> Something like the following would be great - the given example works
>>> great on my system.
>>>
>>> $ git checkout -B foo mesa-10.6.8 && git clean -fxd
>>> $ ./autogen.sh && make -j2 && make distclean
>>>
>>
>>
>> $ tar -xf files/mesa-266d05a3a0651ac954c91aea12c870940e8a9820.tar.gz
>>
>> $ find ./ -name '*.Plo'
>>
>> [ EMPTY OUTPUT ]
>>
> Not sure how this tarball is created, but in 99.9% of the cases it
> won't/shouldn't include any .Plo files.
>
>> $ ./scripts/git-clone_mesa-fdo.sh
>>
>> $ ./scripts/build_mesa-with-llvm.sh 2>&1 | tee
>> logs/build-and-install-log_mesa-10-6-8_enable-glx-tls_llvm-3-7-0.txt
>>
>> [ BUILD BROKEN ]
>>
> I'd assume this log is going to help answer why some files are
> missing. Although to eliminate any funny interactions - can you try
> with gcc (instead of clang) and additionally a non-concurrent build
> (make -j1).
>
>
>> $ cd mesa-git/
>>
>> $ find ./ -name '*.Plo'
>> [ Bing Bing Bing...]
>>
>> $ LC_ALL=C make distclean
>> ...
>> Making distclean in gtest
>> make[2]: Entering directory `/home/wearefam/src/mesa/mesa-git/src/gtest'
>> test -z "libgtest.la" || rm -f libgtest.la
>> rm -f "./so_locations"
>> rm -rf .libs _libs
>> rm -rf src/.libs src/_libs
>> rm -f *.o
>> rm -f src/gtest-all.o
>> rm -f src/gtest-all.lo
>> rm -f src/gtest_main.o
>> rm -f src/gtest_main.lo
>> rm -f *.lo
>> rm -f *.tab.c
>> test -z "" || rm -f
>> test . = "." || test -z "" || rm -f
>> rm -f src/.deps/.dirstamp
>> rm -f src/.dirstamp
>> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
>> rm -rf src/.deps
>> rm -f Makefile
>> make[2]: Leaving directory `/home/wearefam/src/mesa/mesa-git/src/gtest'
>> Making distclean in .
>> make[2]: Entering directory `/home/wearefam/src/mesa/mesa-git/src'
>> Makefile:545: mesa/main/.deps/imports.Plo: No such file or directory
>> Makefile:546: mesa/program/.deps/dummy_errors.Plo: No such file or directory
>> Makefile:547: mesa/program/.deps/prog_hash_table.Plo: No such file or directory
>> Makefile:548: mesa/program/.deps/symbol_table.Plo: No such file or directory
> I take it that these are not in the "bing bing bing" list ?
>
> Thanks
> Emil
> _______________________________________________
> 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