Opened 4 weeks ago

Last modified 2 weeks ago

#62473 assigned defect

Build htcondor failed on macOS Big Sur 11.2.3

Reported by: mrkite92 Owned by: lpsinger (Leo Singer)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: htcondor

Description (last modified by jmroot (Joshua Root))

Hi Mac Ports gurus,

The command

sudo port -v install htcondor

results in error

Traceback (most recent call last):
  File "/opt/local/bin/g-ir-scanner", line 99, in <module>
    sys.exit(scanner_main(sys.argv))
  File "/opt/local/lib/gobject-introspection/giscanner/scannermain.py", line 570, in scanner_main
    ss, filenames = create_source_scanner(options, args)
  File "/opt/local/lib/gobject-introspection/giscanner/scannermain.py", line 443, in create_source_scanner
    ss.parse_files(filenames)
  File "/opt/local/lib/gobject-introspection/giscanner/sourcescanner.py", line 257, in parse_files
    self._parse(headers)
  File "/opt/local/lib/gobject-introspection/giscanner/sourcescanner.py", line 303, in _parse
    cc.preprocess(tmp_name_cpp,
  File "/opt/local/lib/gobject-introspection/giscanner/ccompiler.py", line 275, in preprocess
    self.compiler.preprocess(source=source,
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/distutils/unixccompiler.py", line 107, in preprocess
    self.spawn(pp_args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/distutils/ccompiler.py", line 910, in spawn
    spawn(cmd, dry_run=self.dry_run)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/distutils/spawn.py", line 36, in spawn
    _spawn_posix(cmd, search_path, dry_run=dry_run)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/distutils/spawn.py", line 111, in _spawn_posix
    raise DistutilsPlatformError(my_msg)
distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "11.0" but "11.2" during configure

Installing python39 as default version doesn't fix the issue.

Thanks for your expertise, Cheers, JB

Change History (3)

comment:1 Changed 4 weeks ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: set to lpsinger
Port: htcondor added
Status: newassigned

comment:2 Changed 4 weeks ago by jmroot (Joshua Root)

In 37be48da8b5e1ae57a09ffc3b489d7c2883cc136/macports-ports (master):

py-setuptools: update to 54.1.2, bug fix

Relax MACOSX_DEPLOYMENT_TARGET check to allow different minor versions.

See: #62473
See: #62450

comment:3 Changed 2 weeks ago by mrkite92

Hi,

After complete reinstall from scratch, the output in error in now:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcondor_utils_8_8_1.a(condor_common.cpp.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcondor_utils_8_8_1.a(condor_unsetenv.cpp.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcondor_utils_8_8_1.a(getdtablesize.unix.cpp.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcondor_utils_8_8_1.a(getpagesize.unix.cpp.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcondor_utils_8_8_1.a(lsa_mgr.cpp.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcondor_utils_8_8_1.a(mk_cache_links.cpp.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcondor_utils_8_8_1.a(strcasestr.cpp.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcondor_utils_8_8_1.a(condor_auth_munge.cpp.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcondor_utils_8_8_1.a(condor_auth_sspi.cpp.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcondor_utils_8_8_1.a(condor_auth_x509.cpp.o) has no symbols /usr/bin/ranlib libcondor_utils_8_8_1.a /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcondor_utils_8_8_1.a(condor_common.cpp.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcondor_utils_8_8_1.a(condor_unsetenv.cpp.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcondor_utils_8_8_1.a(getdtablesize.unix.cpp.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcondor_utils_8_8_1.a(getpagesize.unix.cpp.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcondor_utils_8_8_1.a(lsa_mgr.cpp.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcondor_utils_8_8_1.a(mk_cache_links.cpp.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcondor_utils_8_8_1.a(strcasestr.cpp.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcondor_utils_8_8_1.a(condor_auth_munge.cpp.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcondor_utils_8_8_1.a(condor_auth_sspi.cpp.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcondor_utils_8_8_1.a(condor_auth_x509.cpp.o) has no symbols make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_htcondor/htcondor/work/build

Full log file on request.

Cheers, JB

Note: See TracTickets for help on using tickets.