Opened 20 months ago
Closed 15 months ago
#67139 closed defect (fixed)
ncdu won't install on ARM platforms.
Reported by: | mforbes (Michael McNeil Forbes) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | lucaheise (Luca Heise) | |
Port: | ncdu |
Description (last modified by mforbes (Michael McNeil Forbes))
The useful ncdu
port is very unhealthy...
https://ports.macports.org/port/ncdu/details/
The failure is due to the unresolved #65333 where zig fails to build. While that is unresolved, is there any workaround? I asked for one in that thread, but none has been provided.
I don't see any tickets about ncdu.
Change History (9)
comment:1 Changed 20 months ago by mforbes (Michael McNeil Forbes)
Summary: | ncdu won't build on ARM platforms. → ncdu won't install on ARM platforms. |
---|
comment:2 Changed 20 months ago by mforbes (Michael McNeil Forbes)
comment:3 Changed 20 months ago by mforbes (Michael McNeil Forbes)
Description: | modified (diff) |
---|
comment:4 follow-up: 5 Changed 20 months ago by antixsuperstar (Marcos G Y)
I came here exactly because I also wanted to install ncdu
, but after following these steps it kept trying to install zig@0.10.1, failing as originally reported.
I went and tried to force install a previous version of zip by checking out commit d1f9eb2d73
and manuallly installing zig@0.9.1 but it failed with another error. Went with version zig@0.9.0 in commit ba629c6fc6a
but it died with the same error. I‘m at a loss here.
comment:5 Changed 20 months ago by mforbes (Michael McNeil Forbes)
Replying to antixsuperstar:
Did you try installing ncdu@2.2.1
from the revisions I listed above? That worked for me. I can't see exactly what the error you had is when you tried to install zig@0.9.0
. You might need to paste main.log
.
comment:6 Changed 17 months ago by lucaheise (Luca Heise)
Cc: | lucaheise added |
---|
comment:7 Changed 15 months ago by maverickwoo (Maverick Woo)
comment:8 Changed 15 months ago by mforbes (Michael McNeil Forbes)
@maverickwoo Thanks! That seems to work nicely. Will this get automatically picked up by the tests? They currently still fail, but I assume that they just have not run yet. Also, I realize I have no idea how to close this ticket... maybe I don't have permission?
comment:9 Changed 15 months ago by judaew (Vadym-Valdis Yudaiev)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Successful for the ARM https://build.macports.org/builders/ports-13_arm64-watcher/builds/10795
Apparently ncdu 2.2.1 still uses zig 0.9, so maybe we can install that?
Don't forget to exclude this when you update:
(Is there any way to pin this? If so, please answer this superuser question.)
Can 2.2.1 be made the default version for ARM processors while this issue remains?