Bug 257271 - net/samba412 samba-tool fails with ImportError undefined symbol "__aeabi_uidiv"
Summary: net/samba412 samba-tool fails with ImportError undefined symbol "__aeabi_uidiv"
Status: Closed DUPLICATE of bug 271087
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Only Me
Assignee: Timur I. Bakeyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-19 09:31 UTC by bas
Modified: 2023-04-26 22:56 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (timur)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bas 2021-07-19 09:31:42 UTC
Running FreeBSD 13.0p3 on a Raspberry Pi2B (Armv7 arch). Installed Samba412 from ports on the machine itself as well as from my own Poudriere-built package repo (local builds take forever). Also tried with a clean FreeBSD 13.0 RELEASE image from the project FTP. The errors remain the same, regardless.

Point being that I need Samba412 to use MIT Kerberos and OpenLDAP SASL-client for it to play nice when installed alongside with SSSD.

ImportError: /usr/local/lib/libunwind.so.8: Undefined symbol "__aeabi_uidiv"
Comment 1 bas 2021-07-20 07:47:52 UTC
This same issue also affects net/samba413 for that matter.
Comment 2 Rene Ladan freebsd_committer freebsd_triage 2022-12-18 12:39:15 UTC
FYI, samba412 expired and got removed.
Comment 3 bas 2022-12-18 15:46:00 UTC
Issue is still current on Samba 4.16 (at least, didn't check the others) on armv7.
Comment 4 bas 2022-12-18 15:46:47 UTC
# samba-tool
Traceback (most recent call last):
  File "/usr/local/bin/samba-tool", line 33, in <module>
    from samba.netcmd.main import cmd_sambatool
  File "/usr/local/lib/python3.9/site-packages/samba/__init__.py", line 29, in <module>
    import samba.param
ImportError: /usr/local/lib/libunwind.so.8: Undefined symbol "__aeabi_uidiv"
Comment 5 Timur I. Bakeyev freebsd_committer freebsd_triage 2022-12-19 01:39:45 UTC
Well, this isn't really a Samba issue, but rather libunwind.

But, looking through the Bugzilla, I think that https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210237#c8 should give you a clue what could be wrong with your toolchain..
Comment 6 Jessica Clarke freebsd_committer freebsd_triage 2023-04-26 22:56:42 UTC

*** This bug has been marked as a duplicate of bug 271087 ***