addpkg(main/turbopack): 16.2.0~canary.84#28772
Conversation
0652e15 to
e2c13fd
Compare
|
It's seem like wasmer upstream bug of 32 bits system. |
yes, wasmer does not support 32-bit and the termux wasmer package also does not termux-packages/packages/wasmer/build.sh Line 14 in 578804d so you will need to add |
e2c13fd to
52a1df9
Compare
|
The test did not pass; it used mimalloc, resulting in a |
f4d35a6 to
8ae409a
Compare
|
I check this issue #27937 . |
|
In my repo the patch didn't work for 32bit architecture, and only work for aarch64 and x86_64. I looked into adding 32-bit support, but it turns out I would need to patch several underlying Next.js dependencies to make it work, so I left it out, as there was no segmentation fault in arm 32bit patched compile binary but a dl open error. You can look my patch in my forked repo of nextjs in personal build branch, it only include patch for 64bit and not for 32bit once. vercel/next.js@canary...Kuldeep-Dilliwar:next.js:personal-build |
Yes, I know, I have also encountered some issues with 32-bit, and I am currently not compiling it. It relies on Wasmer, but Wasmer does not support 32-bit. |
1b149a2 to
2dfcca4
Compare
d2eb98d to
491adf1
Compare
|
Add ca-certificates dependency. This is required because the binary patch uses a hard-coded path for Termux-installed certificates instead of utilizing the Android system's native CA store. |
|
I mean in order to run the binary they have to first install certificates via "pkg install ca-certificates". |
|
OK, I just test for patch generator. |
5ac0aa1 to
b13f08b
Compare
24c7253 to
f834386
Compare
f834386 to
7004273
Compare
|
Ah, oops, It's seem like it download https://github.com/vercel/next.js/archive/refs/tags/v16.2.0~canary.84.tar.gz, not https://github.com/vercel/next.js/archive/refs/tags/v16.2.0-canary.84.tar.gz |
Yes I think it needs this syntax #28772 (comment) |
7004273 to
ed40883
Compare
ed40883 to
9c831c5
Compare
9c831c5 to
f5bd1e6
Compare
|
All passed! |
f5bd1e6 to
09134f1
Compare
|
Based on my testing on Termux, I found that the Next.js JavaScript layer and the Turbopack native bindings are tightly coupled. A version mismatch (e.g., using Next 16.1.5 with a later Turbopack canary) triggers errors like Missing field isPersistentCachingEnabled. |
|
In other words, it is not backward compatible. |
|
Like this. When the versions match: My testing indicates that the version offset must not exceed one minor version to maintain stability. |
|
Users have to explicitly use the |
Yeah that's not ideal... |
|
Yes, maybe it's just an issue with the canary version. Let's keep things as they are for now. If there are problems in the stable version in the future, I will open a new PR to resolve them. |
Could we add a |
09134f1 to
4a18629
Compare
Co-authored-by: Kuldeep-Dilliwar <kuldeepdilliwar@gmail.com>
4a18629 to
688315d
Compare
How about this |
|
Yes |
|
Okay, It's build sucessful |
|
Ok it looks good now I will merge it in 24 hours |
turbo.createProjectis not supported by the wasm bindings. #27937A high-performance build tool for the modern web. Turbopack uses an incremental engine to provide near-instantaneous HMR and build speeds, leveraging the power of Rust and SWC.