Skip to content

Request for prebuilt Samba binaries for Time Capsule (NetBSD 6 evbarm) — build takes weeks / runtime crashes #5

@xxade

Description

@xxade

Hi! Thanks for sharing this repo — it’s the most complete guide I’ve found.
I’ve been trying to cross-compile and deploy Samba to an Apple Time Capsule (NetBSD 6.0 evbarm) and I’m stuck after ~2 weeks of build/debugging.

What I tried

  • Built NetBSD evbarm toolchain + sysroot (destdir) and cross-compiled Samba (tested Samba 4.8.12).
  • Followed the same high-port approach (1445/1139) and pf redirection (445→1445, 139→1139) as described in your README: .
  • Deployed to the disk path /Volumes/dk2/ShareRoot and kept configs on /mnt/Flash.

Problems encountered

  1. Linking issues during cross-build (GnuTLS/nettle/hogweed/GMP). Samba’s build system sometimes links against gnutls without pulling the full static dependency chain, causing lots of undefined reference errors (nettle/hogweed/gmp/z). I worked around this by forcing pkg-config --static flags and/or adjusting link flags.
  2. Runtime execution problems on the Time Capsule. I repeatedly hit runtime crashes on the Time Capsule (segmentation faults early during startup). I also saw cases where binaries were refused with Cannot execute ELF binary unless the ELF identification/flags matched what the device accepts.

At this point I’m confident it’s solvable, but I’m burning too much time trying to reproduce the exact build environment/settings that work reliably.

Would you be willing to share a known-working prebuilt binary set (even just smbd + required modules/libs) for the Time Capsule NetBSD 6 evbarm target, or at least the exact versions/flags you used?
If you can upload artifacts (tarball) or point to a release, I can test immediately and report back results.
Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions