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

Conversation

@robertkirkman
Copy link
Member

@robertkirkman robertkirkman commented Oct 26, 2025

  • Fixes multiple malformations in the 32-bit builds of guile 3.0.10, including but not limited to this MRE of a WARNING:
~ $ cat hello.scm 
#!/data/data/com.termux/files/usr/bin/guile
!#
(display "Hello, world!")
(newline)
~ $ ./hello.scm 
;;; WARNING: compilation of /data/data/com.termux/files/home/./hello.scm failed:
;;; In procedure load-thunk-from-memory: ELF file does not have native word size
Hello, world!
~ $ 

- Fixes multiple malformations in the 32-bit builds of `guile` 3.0.10, including but not limited to this MRE of a `WARNING`:

```
~ $ cat hello.scm
!#
(display "Hello, world!")
(newline)
~ $ ./hello.scm
;;; WARNING: compilation of /data/data/com.termux/files/home/./hello.scm failed:
;;; In procedure load-thunk-from-memory: ELF file does not have native word size
Hello, world!
~ $
```

- Necessary after these three upstream Guile commits and other commits which depend on them:
  - https://cgit.git.savannah.gnu.org/cgit/guile.git/commit/?id=137b0e85b956a7b7e7c9bc0029d09fe6868e5b17
  - https://cgit.git.savannah.gnu.org/cgit/guile.git/commit/?id=c758c99b5e37408e48dc1b22c73d6ec35d9de866
  - https://cgit.git.savannah.gnu.org/cgit/guile.git/commit/?id=88e0933450ed9f1cc96858641e0756ffa44c53c6

- Tangentially related follow-up to termux#26977, but **that PR is still necessary also, this PR does not replace it**.

- Necessary to complete termux#25962
@robertkirkman
Copy link
Member Author

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

@robertkirkman
Copy link
Member Author

I considered also trying to apply this improvement to the package guile18, but I haven't for three reasons:

  1. guile18 is not affected by the same problems that have been affecting Guile 3.0.10
  2. guile18 conflicts with this guile and nothing depends on it, so it is unlikely to be used as a dependency of anything
  3. guile18 is extremely old, and I don't know what the purpose of it is exactly in Termux, so I don't know what to test it with. guile-1.8 was removed from Debian in 2016.

@robertkirkman robertkirkman merged commit 550f3ed into termux:master Oct 27, 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.

1 participant