Integrated: 649: SKARA will not build/install without termcap
Erik Helin
ehelin at openjdk.java.net
Fri Sep 18 07:14:02 UTC 2020
On Thu, 17 Sep 2020 21:28:37 GMT, Patric Hedlin <phedlin at openjdk.org> wrote:
>> Hi all,
>>
>> please review this small patch that makes us fall back to `TERM=dumb` if `TERM` is not specified when building on Linux.
>>
>> Testing:
>> - [x] `make` works on Linux x64 with and without `TERM` defined
>>
>> Thanks,
>> Erik
>
> gradlew line 191:
>
>> 189: export LANG=en_US.UTF-8
>> 190: export LANGUAGE=en_US.UTF-8
>> 191: export TERM=${TERM:-dumb}
>
> TERM=dumb will work as a workaround (dropping the _fancy_ progress bar) but TERM not being set is not the proper
> condition for lack of **termcap** support (e.g. when **terminfo** is used and TERM set accordingly).
@phedlin I'm not sure that there is a way to determine whether a process uses `termcap` or `terminfo`, do you know of a
reliable way? I think the best we can do here is to add some documentation to `README.md`, instructing the user to run
`sh gradlew --console=plain` as a workaround. Or do you have any other suggestions?
-------------
PR: https://git.openjdk.java.net/skara/pull/830
More information about the skara-dev
mailing list