Opened 2 years ago
Closed 17 months ago
#65622 closed defect (fixed)
samba4: configure freezes on Checking for setproctitle_init
Reported by: | barracuda156 | Owned by: | barracuda156 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | powerpc | Cc: | mascguy (Christopher Nielsen) |
Port: | samba4 |
Description
I tried both existing in Macports v. 4.15.5 and the latest 4.16.4 (I thought to update the port), same failure – configure reaches the following and then freezes, nothing is happening further:
Checking for library setproctitle : no Checking for setproctitle : not found Checking for library bsd : no Checking for setproctitle : not found Checking for setproctitle_init : not found Checking for library bsd : no Checking for setproctitle_init : not found Checking for closefrom : not found Checking for library bsd : no
Any idea what is going wrong?
Change History (7)
comment:1 Changed 2 years ago by barracuda156
comment:2 Changed 2 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:3 follow-ups: 4 5 Changed 2 years ago by mascguy (Christopher Nielsen)
Is this happening for legacy 10.5 and/or 10.6...?
comment:4 Changed 2 years ago by barracuda156
Replying to mascguy:
Is this happening for legacy 10.5 and/or 10.6...?
I will check Leopard and SL PPC by the end of this month. Rosetta has the problem on 10.6.8. I am quite sure I never had samba4 built on either of three systems, but I don’t recall to what extent I tried.
But btw, if you remember, Ruby31 has troubles on some socket-related stuff on PPC too.
comment:5 Changed 18 months ago by barracuda156
Replying to mascguy:
Is this happening for legacy 10.5 and/or 10.6...?
Turned out, it is broken in a similar way on i386: https://build.macports.org/builders/ports-10.6_i386-builder/builds/119056/steps/install-port/logs/stdio (And yeah, native ppc does not work either.)
comment:6 Changed 18 months ago by barracuda156
I tried to update samba4
to current version, but configure fails early on:
---> Configuring samba4 Executing: cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_samba4/samba4/work/samba-4.18.2" && ./configure --prefix=/opt/local -C --enable-fhs --mandir=/opt/local/share/man --with-libiconv=/opt/local --without-acl-support --without-ad-dc --disable-avahi --with-gpgme --disable-spotlight SyntaxError: Non-UTF-8 code starting with '\xfe' in file /opt/local/bin/python3.10 on line 2, but no encoding declared; see https://python.org/dev/peps/pep-0263/ for details
Any idea what to do about it? Adding coding line to wscript
does not seem to help. Python allegedly fixed this bug, but not.
https://bugs.python.org/issue38755 https://bugs.python.org/issue25643 https://peps.python.org/pep-0263
comment:7 Changed 17 months ago by barracuda156
Owner: | set to barracuda156 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
So it freezes somewhere around this part of configure script: