Opened 4 months ago

Last modified 4 weeks ago

#69239 assigned defect

clang-11-bootstrap @11.1.0_5+universal: error: use of undeclared identifier '__sanitizer_XDR'; did you mean '__sanitizer'?

Reported by: ag2014 (@lex) Owned by: catap (Kirill A. Korinsky)
Priority: Normal Milestone:
Component: ports Version: 2.9.0
Keywords: Cc:
Port: clang-11-bootstrap

Description (last modified by ag2014 (@lex))

:error:build Failed to build clang-11-bootstrap: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_clang-11-bootstrap/clang-11-bootstrap/main.log for details.

Attachments (1)

main.log (3.0 MB) - added by ag2014 (@lex) 4 months ago.

Change History (7)

Changed 4 months ago by ag2014 (@lex)

Attachment: main.log added

comment:1 Changed 4 months ago by ag2014 (@lex)

Description: modified (diff)

comment:2 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to catap
Status: newassigned
Summary: port upgrade /Failed to build clang-11-bootstrapclang-11-bootstrap @11.1.0_5+universal: error: use of undeclared identifier '__sanitizer_XDR'; did you mean '__sanitizer'?
Version: 2.9.0

The error in the log is:

error: use of undeclared identifier '__sanitizer_XDR'; did you mean '__sanitizer'?

comment:3 Changed 4 months ago by kencu (Ken)

clang-11-bootstrap needs to be blocked from building on this system:

macOS 14.2.1 (darwin/23.2.0) arch arm

and things set up so it is never brought forth as a dependency.

It is completely unnecessary, of course, on such a system and more to the point, we don't want to waste time trying to make this old version of clang, useful only for bootstrapping older systems, work on every new system.

comment:4 Changed 4 months ago by ag2014 (@lex)

If so, then how do you explain the existing dependencies:

➜  ~ git:(adf) ✗  port info --pretty --fullname --depends clang-11-bootstrap
Full Name: clang-11-bootstrap @11.1.0+universal
Extract Dependencies: xz-bootstrap
Build Dependencies:   cmake-bootstrap, python27-bootstrap, diffutils-for-muniversal
➜  ~ git:(adf) ✗ port select --list python
Available versions for python:
	none
	python310
	python311 (active)

for python it's ok because I already use version 3.11, but in my case bootstrapping for cmake is a must

Last edited 4 weeks ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:5 Changed 4 months ago by kencu (Ken)

if any deps exist on clang11-bootstrap on any newer systems (newer being any system where the systen clang is equal to or newer than clang11, say) , then they need to be removed.

comment:6 Changed 4 weeks ago by ryandesign (Ryan Carsten Schmidt)

Same issue reported for the clang-12 port in #69794.

Note: See TracTickets for help on using tickets.