#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)

Apparently ncdu 2.2.1 still uses zig 0.9, so maybe we can install that?

# Make some coffee... this takes a while.
git clone --single-branch https://github.com/macports/macports-ports.git  
cd macports-ports
git checkout 6032b8aa0e865ddedc83b63bc662c7e5e091a909
cd sysutils/ncdu
port install

Don't forget to exclude this when you update:

port upgrade outdated and not ncdu

(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?

Last edited 20 months ago by mforbes (Michael McNeil Forbes) (previous) (diff)

comment:3 Changed 20 months ago by mforbes (Michael McNeil Forbes)

Description: modified (diff)

comment:4 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 in reply to:  4 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)

In 28f0f53d550f321b2da4fbd8c6c046d36306bc1b/macports-ports (master):

ncdu: update to 2.3

See #67139.

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: newclosed
Note: See TracTickets for help on using tickets.