这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@robertkirkman
Copy link
Member

@robertkirkman robertkirkman commented Nov 5, 2025

  • Follow-up to fix(scripts/setup-termux): install bison, not byacc #24977

  • Fixes Add glslang to Mesa build.sh file in dependencies section #26373

  • Split from tree-wide: port debpython to termux  #23652 because it does not really depend on the other things in that PR and it is now needed separately

  • tree-wide: never run tests (for tests that are possible to disable using -T, which are some but not all tests) for cpan installations in postinst scripts

    • These tests take way too long to run and are much too time-consuming to wait for on slow devices
    • Remove all instances of -f because -f forces tests to run (and be ignored), overriding -T, rather than skipping tests
  • force cpan to never interactively prompt to use local::lib, just always default to it

    • Gets rid of this infinite loop that can permanently freeze many noninteractive scripts which need to run cpan:
What approach do you want?  (Choose 'local::lib', 'sudo' or 'manual')
 [local::lib]
Warning: You do not have write permission for Perl library directories.

To install modules, you need to configure a local Perl library directory or
escalate your privileges.  CPAN can help you by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if available).  You may also
resolve this problem manually if you need to customize your setup.

What approach do you want?  (Choose 'local::lib', 'sudo' or 'manual')
 [local::lib]
Warning: You do not have write permission for Perl library directories.

To install modules, you need to configure a local Perl library directory or
escalate your privileges.  CPAN can help you by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if available).  You may also
resolve this problem manually if you need to customize your setup.

What approach do you want?  (Choose 'local::lib', 'sudo' or 'manual')
 [local::lib]
Warning: You do not have write permission for Perl library directories.

To install modules, you need to configure a local Perl library directory or
escalate your privileges.  CPAN can help you by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if available).  You may also
resolve this problem manually if you need to customize your setup.

What approach do you want?  (Choose 'local::lib', 'sudo' or 'manual')
 [local::lib]

…hronize `setup-termux.sh` closer to `setup-ubuntu.sh`

- Follow-up to termux#24977

- Fixes termux#26373

- Split from termux#23652 because it does not really depend on the other things in that PR and it is now needed separately
@robertkirkman robertkirkman force-pushed the updates-for-setup-termux branch from 377974f to 82afd4d Compare November 5, 2025 10:36
@robertkirkman
Copy link
Member Author

I will merge it in 24 hours if no problems are found.

…ipts

- These tests take way too long to run and are much too time-consuming to wait for on slow devices

- Remove all instances of `-f` because `-f` forces tests to run (and be ignored), overriding `-T`, rather than skipping tests
…cal::lib`, just always default to it

Gets rid of this infinite loop that can permanently freeze many noninteractive scripts which need to run `cpan`:

```
What approach do you want?  (Choose 'local::lib', 'sudo' or 'manual')
 [local::lib]
Warning: You do not have write permission for Perl library directories.

To install modules, you need to configure a local Perl library directory or
escalate your privileges.  CPAN can help you by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if available).  You may also
resolve this problem manually if you need to customize your setup.

What approach do you want?  (Choose 'local::lib', 'sudo' or 'manual')
 [local::lib]
Warning: You do not have write permission for Perl library directories.

To install modules, you need to configure a local Perl library directory or
escalate your privileges.  CPAN can help you by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if available).  You may also
resolve this problem manually if you need to customize your setup.

What approach do you want?  (Choose 'local::lib', 'sudo' or 'manual')
 [local::lib]
Warning: You do not have write permission for Perl library directories.

To install modules, you need to configure a local Perl library directory or
escalate your privileges.  CPAN can help you by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if available).  You may also
resolve this problem manually if you need to customize your setup.

What approach do you want?  (Choose 'local::lib', 'sudo' or 'manual')
 [local::lib]
```
@robertkirkman robertkirkman force-pushed the updates-for-setup-termux branch from d292a13 to 016b45f Compare November 6, 2025 04:15
@robertkirkman robertkirkman merged commit 2eae682 into termux:master Nov 6, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add glslang to Mesa build.sh file in dependencies section

1 participant