bash completion for make targets

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Wed Nov 21 12:02:58 UTC 2018


On 2018-11-20 14:30, Thomas Stüfe wrote:

> Hi Magnus,
>
> The problem did vanish for me. Tab completion works again in all my
> configurations. On zero, which I do not build that often, I had to run
> reconfigure.
>
> Sorry, I lost track of this one. I am not sure when it started working
> again. I even synced before Severins change, but it worked with that
> version too, so either this was a local fluke or it was fixed before
> 8213736.
Great that it works again. I don't care where it was fixed, only that it 
works. :) Sometimes this gets stuck on incorrect updates of the 
generated targets list in configurations as well, so it might have 
actually "broke" at one point but not been discovered, since the target 
list was not regenerated. And similarly "fixed" at some later point but 
still not been discovered as fixed, due to a bad cache. If you ever get 
trouble with tab expansion again, make sure to start by cleaning out the 
entire build directory (if only temporary with "mv build build-old").

/Magnus
>
> Cheers, Thomas
> On Tue, Nov 20, 2018 at 12:56 PM Magnus Ihse Bursie
> <magnus.ihse.bursie at oracle.com> wrote:
>> On 2018-11-08 12:20, Thomas Stüfe wrote:
>>> On Thu, Nov 8, 2018 at 12:13 PM Magnus Ihse Bursie
>>> <magnus.ihse.bursie at oracle.com> wrote:
>>>> On 2018-11-08 12:10, Thomas Stüfe wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> This may be a stupid question, and not that important, but bash
>>>>> completion for targets like "clean" and "images" stopped working for
>>>>> me. "reconfigure" still works thouugh. Did anything change?
>>>>>
>>>>> Best Regards, Thomas
>>>> Not intentionally. It can be that there were too many targets. Does the
>>>> recent fix for JDK-8213338 help?
>>>>
>>> Unfortunately no.
>> Bummer. :-( Is it better after JDK-8213736? This too affected target
>> handling.
>>
>> If not, does "make print-targets" work properly for you? Does it work
>> differently if you have zero, exactly one, many configurations? (This is
>> one of the complications for make tab expansions -- theoretically
>> different configurations can have different targets available to them.)
>>
>> /Magnus
>>
>>> ..Thomas
>>>
>>>> /Magnus



More information about the build-dev mailing list