Hi John,
Can you try adding `-Wl,-headerpad_max_install_names` (or, perhaps,
`-Wl,-headerpad`)
to LDFLAGS for GAP?
Dima


On Tue, May 13, 2025 at 4:36 PM John H Palmieri <jhpalmier...@gmail.com>
wrote:

> This is a very awkward workaround:
>
> $ ./configure
> $ make gap # THIS FAILS
> $ ./sage --buildsh
> % cd SAGE_ROOT/local/var/tmp/sage/build/gap-4.14.0/src
> % make install
> % exit # (to exit the buildsh shell)
> $ make gap # THIS NOW SUCCEEDS
>
> Somehow the presence of the file local/lib/libgap.9.dylib (and
> libgap.dylib, a symlink pointing to it) lets the build complete, I have no
> idea why.
>
>
> On Monday, May 12, 2025 at 9:32:31 AM UTC-7 John H Palmieri wrote:
>
>> On Monday, May 12, 2025 at 9:31:59 AM UTC-7 John H Palmieri wrote:
>>
>> On Saturday, May 10, 2025 at 5:07:38 PM UTC-7 Dima Pasechnik wrote:
>>
>> perhaps it's a proper GAP problem?
>>
>> can you build GAP standalone?
>>
>>
>> It looks like it. If I unpack the tarball that Sage downloaded, and I
>> type `./configure; make`, then I get a functional `gap` executable.
>>
>>
>> (The gap tarball, that is.)
>>
>>
>>
>>
>>
>>
>> On Sun, May 11, 2025, 01:04 John H Palmieri <jhpalm...@gmail.com> wrote:
>>
>> Same problem on another similarly configured machine.
>>
>> On Thursday, May 8, 2025 at 2:11:04 PM UTC-7 John H Palmieri wrote:
>>
>> As I said before, I don't know how to attach files here. Here are links
>> to the files:
>>
>> https://sites.math.washington.edu/~palmieri/gap-4.14.0.log
>> https://sites.math.washington.edu/~palmieri/config.log
>>
>> On Thursday, May 8, 2025 at 11:47:59 AM UTC-7 Dima Pasechnik wrote:
>>
>> Hi John,
>> please post the complete logs/pkgs/gap...log. From what you posted it's
>> not even clear what gcc stands for here.
>> Dima
>>
>> On Thu, May 8, 2025 at 1:31 PM John H Palmieri <jhpalm...@gmail.com>
>> wrote:
>>
>> On OS X 15.4.1, latest Xcode, lots of homebrew packages: I cannot build
>> gap. (This has been true for a while, not new to this beta release.) The
>> tail end of the log file:
>>
>> [spkg-install] /usr/bin/install -c -d -m 0755
>> /Users/jpalmier/Sage/TESTING/sage-10.7.beta2/local/var/tmp/sage/build/gap-4.14.0/inst/Users/jpalmier/Sage/TESTING/sage-10.7.beta2/local/lib
>> [spkg-install] /usr/bin/install -c -m 0644 libgap.9.dylib
>> /Users/jpalmier/Sage/TESTING/sage-10.7.beta2/local/var/tmp/sage/build/gap-4.14.0/inst/Users/jpalmier/Sage/TESTING/sage-10.7.beta2/local/lib
>> [spkg-install] ln -sf libgap.9.dylib
>> /Users/jpalmier/Sage/TESTING/sage-10.7.beta2/local/var/tmp/sage/build/gap-4.14.0/inst/Users/jpalmier/Sage/TESTING/sage-10.7.beta2/local/lib/libgap.dylib
>> [spkg-install] /usr/bin/install -c -d -m 0755
>> /Users/jpalmier/Sage/TESTING/sage-10.7.beta2/local/var/tmp/sage/build/gap-4.14.0/inst/Users/jpalmier/Sage/TESTING/sage-10.7.beta2/local/lib/pkgconfig
>> [spkg-install] /usr/bin/install -c -m 0644 libgap.pc
>> /Users/jpalmier/Sage/TESTING/sage-10.7.beta2/local/var/tmp/sage/build/gap-4.14.0/inst/Users/jpalmier/Sage/TESTING/sage-10.7.beta2/local/lib/pkgconfig
>> [spkg-install] gcc         -pthread -lpthread
>> -L/Users/jpalmier/Sage/TESTING/sage-10.7.beta2/local/lib
>> -L/Users/jpalmier/Sage/TESTING/sage-10.7.beta2/local/lib
>>  build/obj/build/main.c.o  -lgmp -lz -lreadline
>> -L/Users/jpalmier/Sage/TESTING/sage-10.7.beta2/local/var/tmp/sage/build/gap-4.14.0/src
>> -lgap -o build/gap-install
>> [spkg-install] error:
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool:
>> changing install names or rpaths can't be redone for: build/gap-install
>> (for architecture arm64) because larger updated load commands do not fit
>> (the program must be relinked, and you may need to use -headerpad or
>> -headerpad_max_install_names)
>> [spkg-install] make[5]: *** [build/gap-install] Error 1
>>
>> Suggestions?
>>
>> (By the way, I interact with Google groups using my browser, not via
>> email. How do I attach files? There used to be a button for this, but I
>> don't see it any more.)
>>
>>
>> On Tuesday, April 29, 2025 at 3:56:13 PM UTC-7 Volker Braun wrote:
>>
>> As always, you can get the latest beta version from the "develop" git
>> branch. Alternatively, the self-contained source tarball is at
>> http://www.sagemath.org/download-latest.html
>>
>>
>> 7888c42db95 (github/develop, tag: 10.7.beta2) Updated SageMath version to
>> 10.7.beta2
>> 14e996467f7 gh-39995: typing annotations for is_something in
>> knots,quadratic_forms,quivers
>> 8156226328c gh-39994: typing annotation for is_something in modules/
>> a5b97563a64 gh-39989: Refactor imports in PoorManMap and Sequence classes
>> edf324ef728 gh-39987: add some typing annotations in modular folder
>> 0ab46d1c7a8 gh-39982: Implement conversion of log(2) to Giac
>> 4c7c421f230 gh-39976: fix e_antic patch header
>> a8606913389 gh-39972: some fixes for ruff C4
>> a48c9c3f811 gh-39971: micro details in pyx files in matroids
>> 9e061a17cfb gh-39970: convert between two implementations of fin-dim
>> algebras
>> 65a11d4c4c3 gh-39969: Replace conda with mamba for consistency
>> f7131a813a0 gh-39968: fix again the pycodestyle linter
>> 9da003611db gh-39965: Modified iterator & counter type from int to
>> Py_ssize_t throughout Matrix class
>> f0e41038c05 gh-39963: Add offset argument to diagonal method
>> eb80cc0859c gh-39962: Docs: Migrate developer walkthrough to Meson
>> b800a70d0dc gh-39958: some care for unused variables in rings/polynomial/
>> pyx files
>> c1a1bc7229d gh-39954: Meson: automatically install into venv if activated
>> b932b401188 gh-39946: add parameter immutable to methods in
>> `src/sage/graphs/graph_decompositions/graph_products.pyx`
>> 93bfdb80798 gh-39942: Fix various issues with CI
>> bc6bd4e0efd gh-39939: Add sphinx-copybutton to dependency of sage-docbuild
>> 3678dc6ec12 gh-39936: update givaro to 4.2.1
>> 82553b199ce gh-39935: improve graph backends to fix bug in `lex_BFS`
>> 0795808f6d2 gh-39925: add parameter immutable to methods in
>> `src/sage/graphs/line_graph.pyx`
>> 0cdea6fb801 gh-39884: Make generic polynomial multiplication interruptible
>> 06d1fde3dbd gh-39856: Improve NotImplementedError for sqrt(Mod(a,n),
>> all=True)
>> ac81b0b8759 gh-39852: Handle empty matrices over univariate polynomials
>> 3e469e136e3 gh-39792: Add Simplified Chinese translation of
>> a_tour_of_sage and tutorial
>> d0ed6df699a gh-39783: Add LINS to gap_packages
>> b36120dd9e2 gh-39716: Added code to calculate crt for non-coprime moduli
>> in Integer
>> 3dd3925708a gh-39661: Changed gens to tuple in ModularFormsSpace.
>> c5972879f7d gh-39660: Changed gens to tuple in
>> AbstractLinearCodeNoMetric, mwrank_EllipticCurve, and FiniteSubgroup.
>> 09dd1efec2c gh-39636: cython-lint for calculus/ folder
>> e7eabc46c40 gh-39480: Added enhancement for power series that allows
>> access to the coefficients of specific terms
>> d76572e8b07 gh-39436: Refactor O() and fix O() for lazy power series ring
>> c3a4aa64425 gh-39279: Show signature for binding=False cython functions
>> e0cf1e41d41 (tag: 10.7.beta1) Updated SageMath version to 10.7.beta1
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups
>> "sage-release" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to sage-release...@googlegroups.com.
>>
>> To view this discussion visit
>> https://groups.google.com/d/msgid/sage-release/b2cb70e9-1465-4989-bbb0-2468abf268fbn%40googlegroups.com
>> <https://groups.google.com/d/msgid/sage-release/b2cb70e9-1465-4989-bbb0-2468abf268fbn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sage-release" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to sage-release...@googlegroups.com.
>>
>> To view this discussion visit
>> https://groups.google.com/d/msgid/sage-release/72b30850-1e88-4871-a64e-e3d7bf7668c0n%40googlegroups.com
>> <https://groups.google.com/d/msgid/sage-release/72b30850-1e88-4871-a64e-e3d7bf7668c0n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "sage-release" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-release+unsubscr...@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/sage-release/b0f285e8-ed03-4d5c-bf21-a7f77db9b002n%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-release/b0f285e8-ed03-4d5c-bf21-a7f77db9b002n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/sage-release/CAAWYfq1XFvFZ0SjDiXGK-ozGzQoujf6vJncts8PdB5wmGVJ7KQ%40mail.gmail.com.

Reply via email to