Skip to content

Conversation

@siddarthkay
Copy link
Contributor

@siddarthkay siddarthkay commented Dec 9, 2025

To fix windows build issues due to very long paths by nimbus-build-system

  • updates mac,windows host install scripts to include nim
  • updates linux dockerfile to install nim
  • updates linux docker image tag to use newer image

@siddarthkay siddarthkay self-assigned this Dec 9, 2025
@status-im-auto
Copy link
Member

status-im-auto commented Dec 9, 2025

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
3017a51 #1 2025-12-09 18:35:11 ~3 min linux/x86_64-nwaku 📄log
3017a51 #1 2025-12-09 18:39:29 ~8 min ios/aarch64 📄log
3017a51 #1 2025-12-09 18:40:06 ~8 min macos/aarch64-nwaku 📄log
3017a51 #1 2025-12-09 18:40:09 ~8 min macos/aarch64 📄log
✖️ 3017a51 #1 2025-12-09 18:40:14 ~8 min tests/nim 📄log
3017a51 #1 2025-12-09 18:40:29 ~9 min linux/x86_64 📄log
✔️ 3017a51 #1 2025-12-09 18:40:53 ~9 min android/arm64 🤖apk 📲
✔️ 3017a51 #1 2025-12-09 18:45:05 ~13 min tests/ui 📄log
3017a51 #1 2025-12-09 18:49:40 ~18 min windows/x86_64 📄log

scoop install --global `
7zip git dos2unix findutils `
wget rcedit inno-setup `
nim mingw-winlibs `
Copy link
Contributor Author

@siddarthkay siddarthkay Dec 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added mingw-winlibs because

Running post_install script...done.
'nim' (2.2.6) was installed successfully!
'nim' suggests installing 'mingw-winlibs'.

@siddarthkay
Copy link
Contributor Author

for linux builds I need to update jenkins base docker image to contain nim

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@siddarthkay siddarthkay force-pushed the fix-nbs-issues-on-windows branch from bb3dffc to dc216e3 Compare December 10, 2025 07:37
@siddarthkay siddarthkay changed the title chore: use status-go which always uses system nim chore: uses system nim everywhere Dec 10, 2025
@siddarthkay siddarthkay marked this pull request as ready for review December 10, 2025 07:39
@siddarthkay siddarthkay requested review from a team as code owners December 10, 2025 07:39
@siddarthkay siddarthkay requested review from glitchminer and removed request for a team December 10, 2025 07:39
@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@siddarthkay siddarthkay force-pushed the fix-nbs-issues-on-windows branch from dc216e3 to 0a5fb0d Compare December 10, 2025 07:53
@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

Copy link
Contributor

@alexjba alexjba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it an option to preserve the single source of truth for the nim compiler version and use the one compiled by the deps-common make target? I think the USE_SYSTEM_NIM could probably be managed internally for status-go target whenever it's not provided by the user.

I was thinking this would be a good rule to have:
USE_SYSTEM_NIM provided by the user - use it everywhere
USE_SYSTEM_NIM not provided by the user - add the nimbus-build-system nim to PATH and enable USE_SYSTEM_NIM internally for all targets.

@status-im-auto
Copy link
Member

@siddarthkay
Copy link
Contributor Author

@alexjba : that is an option true, but since status-go compilation fails, Its neater to modify USE_SYSTEM_NIM flag over there.

This PR merely brings in status-go version with that change : https://github.com/status-im/status-go/pull/7185/changes#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R220

and modifies system scripts to make sure nim is installed on hosts.

@status-im-auto
Copy link
Member

@siddarthkay
Copy link
Contributor Author

also I would rather avoid nimbus-build-system entirely since its been a source of weird build issues that no one has time to fix.

@alexjba
Copy link
Contributor

alexjba commented Dec 10, 2025

@alexjba : that is an option true, but since status-go compilation fails, Its neater to modify USE_SYSTEM_NIM flag over there.

This PR merely brings in status-go version with that change : status-im/status-go#7185

and modifies system scripts to make sure nim is installed on hosts.

What I meant is that we could probably avoid installing Nim on the host machines altogether (and ask developers to pin a specific local nim version). Instead, the main Makefile could configure the Nim path automatically by using the nimbus-build-system-provided Nim version, which would also imply to enable USE_SYSTEM_NIM for status-go target.

@status-im-auto
Copy link
Member

@alexjba
Copy link
Contributor

alexjba commented Dec 10, 2025

also I would rather avoid nimbus-build-system entirely since its been a source of weird build issues that no one has time to fix.

Not sure we can avoid it entirely..So unless the nim compilation part is producing these weird errors we're still stuck with these issues.

@status-im-auto
Copy link
Member

✔️ status-desktop/prs/android/arm64/package/PR-19537#6 🔹 ~11 min 🔹 5ff23b4b 🔹 📦 android/arm64 package

@siddarthkay siddarthkay force-pushed the fix-nbs-issues-on-windows branch from 0a5fb0d to 26e1b96 Compare December 11, 2025 06:00
@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@siddarthkay siddarthkay force-pushed the fix-nbs-issues-on-windows branch 3 times, most recently from ba3b2db to 8095b64 Compare December 11, 2025 16:50
@status-im-auto
Copy link
Member

status-im-auto commented Dec 11, 2025

Jenkins Builds

Click to see older builds (44)
Commit #️⃣ Finished (UTC) Duration Platform Result
dc33683 #2 2025-12-09 19:28:28 ~8 min linux/x86_64 📄log
✔️ dc33683 #3 2025-12-09 19:50:37 ~32 min windows/x86_64 💿exe
✖️ dc33683 PR19537 2025-12-09 20:13:23 ~22 min tests/e2e-windows 📊rpt
fa38b65 #2 2025-12-10 06:59:50 ~8 min macos/aarch64 📄log
✖️ fa38b65 #2 2025-12-10 06:59:54 ~8 min tests/nim 📄log
fa38b65 #2 2025-12-10 07:00:19 ~9 min ios/aarch64 📄log
fa38b65 #2 2025-12-10 07:00:43 ~9 min macos/aarch64-nwaku 📄log
✔️ fa38b65 #2 2025-12-10 07:01:18 ~10 min android/arm64 🤖apk 📲
fa38b65 #3 2025-12-10 07:01:51 ~10 min linux/x86_64 📄log
fa38b65 #2 2025-12-10 07:01:53 ~10 min linux/x86_64-nwaku 📄log
✔️ fa38b65 #2 2025-12-10 07:04:51 ~13 min tests/ui 📄log
bb3dffc #3 2025-12-10 07:15:59 ~8 min macos/aarch64 📄log
bb3dffc #3 2025-12-10 07:16:08 ~9 min ios/aarch64 📄log
bb3dffc #3 2025-12-10 07:16:33 ~9 min macos/aarch64-nwaku 📄log
✖️ bb3dffc #3 2025-12-10 07:16:34 ~9 min tests/nim 📄log
✔️ bb3dffc #3 2025-12-10 07:17:15 ~10 min android/arm64 🤖apk 📲
✔️ bb3dffc #3 2025-12-10 07:21:21 ~14 min tests/ui 📄log
✔️ bb3dffc #3 2025-12-10 07:28:21 ~21 min linux/x86_64-nwaku 📦tgz
✔️ bb3dffc #4 2025-12-10 07:28:27 ~21 min linux/x86_64 📦tgz
✖️ bb3dffc pr19537 2025-12-10 07:43:55 ~15 min tests/e2e 📊rpt
dc216e3 #4 2025-12-10 07:46:49 ~8 min macos/aarch64-nwaku 📄log
✖️ dc216e3 #4 2025-12-10 07:47:29 ~9 min tests/nim 📄log
✔️ dc216e3 #4 2025-12-10 07:48:29 ~10 min android/arm64 🤖apk 📲
✖️ dc216e3 #4 2025-12-10 07:50:47 ~12 min ios/aarch64 📱ipa
✔️ dc216e3 #5 2025-12-10 07:51:40 ~13 min macos/aarch64 🍎dmg
✔️ dc216e3 #4 2025-12-10 07:51:42 ~13 min tests/ui 📄log
✖️ 0a5fb0d #5 2025-12-10 08:02:45 ~8 min tests/nim 📄log
✔️ 0a5fb0d #5 2025-12-10 08:03:01 ~9 min android/arm64 🤖apk 📲
0a5fb0d #6 2025-12-10 08:03:58 ~9 min linux/x86_64 📄log
0a5fb0d #5 2025-12-10 08:04:09 ~10 min linux/x86_64-nwaku 📄log
✖️ 0a5fb0d #5 2025-12-10 08:08:55 ~14 min ios/aarch64 📱ipa
✔️ 0a5fb0d #5 2025-12-10 08:08:57 ~14 min tests/ui 📄log
✔️ 0a5fb0d #6 2025-12-10 08:09:54 ~15 min macos/aarch64 🍎dmg
✔️ 0a5fb0d #5 2025-12-10 08:13:16 ~19 min macos/aarch64-nwaku 🍎dmg
✔️ 0a5fb0d #7 2025-12-10 08:25:34 ~31 min windows/x86_64 💿exe
✔️ 0a5fb0d #7 2025-12-10 08:39:23 ~10 min tests/nim 📄log
✔️ 0a5fb0d #7 2025-12-10 08:48:47 ~20 min linux/x86_64 📦tgz
✖️ 0a5fb0d PR19537 2025-12-10 08:51:06 ~25 min tests/e2e-windows 📊rpt
✖️ 0a5fb0d pr19537 2025-12-10 09:05:40 ~16 min tests/e2e 📊rpt
✔️ 5ff23b4b #6 2025-12-10 21:26:55 ~11 min android/arm64 🤖apk 📲
✔️ 26e1b96 #8 2025-12-11 07:05:33 ~37 min tests/nim 📄log
✖️ 26e1b96 #6 2025-12-11 07:16:36 ~1 hr 4 min ios/aarch64 📱ipa
✔️ 26e1b96 #7 2025-12-11 07:19:47 ~1 hr 9 min android/arm64 🤖apk 📲
✔️ 26e1b96 #6 2025-12-11 07:27:35 ~58 min tests/ui 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
8095b64 #8 2025-12-11 16:56:06 ~5 min macos/aarch64 📄log
8095b64 #9 2025-12-11 16:58:15 ~7 min android/arm64 📄log
8095b64 #7 2025-12-11 16:58:27 ~7 min macos/aarch64-nwaku 📄log
8095b64 #8 2025-12-11 17:01:36 ~11 min ios/aarch64 📄log
✔️ 8095b64 #10 2025-12-11 17:02:09 ~11 min tests/nim 📄log
✔️ 8095b64 #7 2025-12-11 17:04:23 ~13 min tests/ui 📄log
✔️ 8095b64 #10 2025-12-11 17:11:19 ~20 min linux/x86_64 📦tgz
✔️ 8095b64 #8 2025-12-11 17:11:24 ~20 min linux/x86_64-nwaku 📦tgz
✔️ 8095b64 #9 2025-12-11 17:16:59 ~26 min windows/x86_64 💿exe
✔️ 8095b64 pr19537 2025-12-11 17:28:35 ~17 min tests/e2e 📊rpt
✔️ 8095b64 #9 2025-12-11 17:35:00 ~23 min macos/aarch64 🍎dmg
85115c5 #10 2025-12-12 05:00:12 ~7 min android/arm64 📄log
85115c5 #8 2025-12-12 05:01:33 ~8 min macos/aarch64-nwaku 📄log
✔️ 85115c5 #11 2025-12-12 05:03:53 ~10 min tests/nim 📄log
85115c5 #9 2025-12-12 05:04:44 ~11 min ios/aarch64 📄log
✔️ 85115c5 #8 2025-12-12 05:07:00 ~13 min tests/ui 📄log
✔️ 85115c5 #10 2025-12-12 05:07:37 ~14 min macos/aarch64 🍎dmg
✔️ 85115c5 #10 2025-12-12 05:24:50 ~31 min windows/x86_64 💿exe
✔️ 85115c5 PR19537 2025-12-12 05:51:47 ~26 min tests/e2e-windows 📊rpt

To fix windows build issues due to very long paths by
nimbus-build-system

- points status-go to bring in
status-im/status-go#7185
- updates mac,windows host install scripts to include nim
- updates linux dockerfile to install nim
- updates linux docker image tag to use newer image
@siddarthkay siddarthkay force-pushed the fix-nbs-issues-on-windows branch from 8095b64 to 85115c5 Compare December 12, 2025 04:52
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.

5 participants