[MacPorts] #61454: samba3 3.6.25_3: gettimeofday wrong
MacPorts
noreply at macports.org
Sun Nov 22 15:43:37 UTC 2020
#61454: samba3 3.6.25_3: gettimeofday wrong
--------------------------+--------------------
Reporter: MaddTheSane | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: samba3 |
--------------------------+--------------------
Comment (by ballapete):
`/opt/local/bin/python-config` is a symbolic link that was left from
`Catalina` and was not removed when upgrading to `Big Sur` (`port provides
/opt/local/bin/python-config`
reports: "… is not provided by a MacPorts port"). At least it pointed to
/opt/local/bin/python3.8-config, the up-to-date version of Python. Without
this link `configure` finds `python-config... /usr/bin/python-config` –
Python 2.7. With the same failure:
{{{
File "<string>", line 1
from distutils import sysconfig;
print '-I%s -I%s %s' % (
sysconfig.get_python_inc(),
sysconfig.get_python_inc(plat_specific=1), \
sysconfig.get_config_var('CFLAGS'))
^
SyntaxError: invalid syntax
File "<string>", line 1
from distutils import sysconfig;
print '%s %s -lpython%s -L%s %s -L%s' % (
sysconfig.get_config_var('LIBS'),
sysconfig.get_config_var('SYSLIBS'\
),
sysconfig.get_config_var('VERSION'),
sysconfig.get_config_var('LIBDIR'),
sysconfig.get_config_var('LDFLAGS'), \
sysconfig.get_config_var('LIBPL'))
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "<string>", line 1, in <module>
AttributeError: 'sys.version_info' object has no attribute '__getslice__'
checking working python module support... no
}}}
Is `configure` faulty?
--
Ticket URL: <https://trac.macports.org/ticket/61454#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list