Skip to content

Commit 4f225f4

Browse files
author
Release Manager
committed
Trac #34533: OS X 12.6 "chained fixups" warning
The upgrade to OS X 12.6 leads to a number of failing doctests because of a warning {{{ ld: warning: -undefined dynamic_lookup may not work with chained fixups }}} Let's ignore this warning when parsing doctest output. URL: https://trac.sagemath.org/34533 Reported by: jhpalmieri Ticket author(s): John Palmieri Reviewer(s): Volker Braun
2 parents e421c55 + 67c914c commit 4f225f4

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

build/pkgs/configure/checksums.ini

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
tarball=configure-VERSION.tar.gz
2-
sha1=b85d5166274c116a578276c7f3a4c81dce03f907
3-
md5=c468fd1ceed66270b7b9940610eeca54
4-
cksum=4220060468
2+
sha1=fae7f3b6b614f4317d549df685c71f3d73266f53
3+
md5=b5f77a97a8ef2f292a0413af8fce6b4b
4+
cksum=1358596786
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3e4ee897d7e994b1fb8495b20da675425a43c50d
1+
d049cd8b3d2b86dc91acfca862daee4d105099c7

src/sage/doctest/parsing.py

+5
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
ld_warning_regex = re.compile(r'^.*dylib.*was built for newer macOS version.*than being linked.*')
4444
# :trac:`30845` -- suppress warning on conda about ld
4545
ld_pie_warning_regex = re.compile(r'ld: warning: -pie being ignored. It is only used when linking a main executable')
46+
# :trac:`34533` -- suppress warning on OS X 12.6 about chained fixups
47+
chained_fixup_warning_regex = re.compile(r'ld: warning: -undefined dynamic_lookup may not work with chained fixups')
4648
sympow_cache_warning_regex = re.compile(r'\*\*WARNING\*\* /var/cache/sympow/datafiles/le64 yields insufficient permissions')
4749
find_sage_prompt = re.compile(r"^(\s*)sage: ", re.M)
4850
find_sage_continuation = re.compile(r"^(\s*)\.\.\.\.:", re.M)
@@ -117,6 +119,9 @@ def fake_RIFtol(*args):
117119
(lambda g, w: "Long-step" in g,
118120
lambda g, w: (glpk_simplex_warning_regex.sub('', g), w)),
119121

122+
(lambda g, w: "chained fixups" in g,
123+
lambda g, w: (chained_fixup_warning_regex.sub('', g), w)),
124+
120125
(lambda g, w: "insufficient permissions" in g,
121126
lambda g, w: (sympow_cache_warning_regex.sub('', g), w)),
122127

0 commit comments

Comments
 (0)