There are a number of recent tickets, not yet merged, that fix /usr/local leakage. First ticket to try: https://trac.sagemath.org/ticket/31552 - singular
On Wednesday, March 31, 2021 at 8:35:26 PM UTC-7 jus...@mac.com wrote: > A quick follow-up: > > > On Mar 31, 2021, at 20:26 , 'Justin C. Walker' via sage-release < > sage-r...@googlegroups.com> wrote: > > > > Thanks for looking at this. See below: > > > >> On Mar 31, 2021, at 17:33 , Matthias Köppe <matthia...@gmail.com> > wrote: > >> > >> On Wednesday, March 31, 2021 at 2:53:22 PM UTC-7 jus...@mac.com wrote: > >> > >>> with rc0 and rc1, I have a real problem on all three macOS systems of > mine (10.13.6, 10.14.6 and 10.15.7): the build proceeds a while, and then > blows up on pynac. The log for this build, and the config.log, are attached > (and I do not use any package managers). > >>> > >>> One possibly odd thing is this line near the end of the pynac log: > >>> ld: can't map file, errno=22 file '/Users/Sage/sage-9.3.rc1/local/lib' > for architecture x86_64 > >> From pynac.log: > >> > >> /bin/bash ../libtool --tag=CXX --mode=link g++ -std=gnu++11 -std=c++11 > -O2 -g -O2 -g -march=native -version-info 21:5:3 > -L/Users/Sage/sage-9.3.rc0/local/lib > -Wl,-rpath,/Users/Sage/sage-9.3.rc0/local/lib -o libpynac.la -rpath > /Users/Sage/sage-9.3.rc0/local/lib libpynac_la-add.lo [...] > libpynac_la-useries.lo -bundle -undefined dynamic_lookup > -L/Users/Sage/sage-9.3.rc0/local/lib > -Wl,-rpath,/Users/Sage/sage-9.3.rc0/local/lib -L. > -L/Users/Sage/sage-9.3.rc0/local/lib > -Wl,-rpath,/Users/Sage/sage-9.3.rc0/local/lib > -L/Users/Sage/sage-9.3.rc0/local/lib > -Wl,-rpath,/Users/Sage/sage-9.3.rc0/local/lib -O2 -g -march=native -lflint > -lgmp -lfactory -Wl,/Users/Sage/sage-9.3.rc0/local/lib -lflint -lmpfr -lntl > -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -lgmp -lomalloc > -L/Users/Sage/sage-9.3.rc0/local/lib -lsingular_resources -lflint -lgmp > >> > >> Note the "-Wl,-rpath -Wl,/usr/local/lib" - which gets reordered by > libtool in the next line to something that causes the error. > >> Correct would be "-Wl,-rpath,/usr/local/lib". It would be worth > checking whether this is coming in from some environment variables that you > may have set. > > > > Here is the environment in my normal shell: > > > > $ env|grep lib > > $ > > > > so nothing that mentions ‘lib’. I ran this in SAGE_ROOT for 9.3-rc1 > > > > Then, following the instructions near the end of the pynac log, I did > the same: > > > > (sage-buildsh) justin@Kronecker:pynac-0.7.27.p1$ env|grep lib > > LDFLAGS=-L/Users/Sage/sage-9.3.rc1/local/lib > -Wl,-rpath,/Users/Sage/sage-9.3.rc1/local/lib > > R_MAKEVARS_SITE=/Users/Sage/sage-9.3.rc1/local/lib/R/share/Makevars.site > > ECLDIR=/Users/Sage/sage-9.3.rc1/local/lib/ecl/ > > LIBRARY_PATH=/Users/Sage/sage-9.3.rc1/local/lib > > PERL5LIB=/Users/Sage/sage-9.3.rc1/local/lib/perl5: > > MPLCONFIGDIR=/Users/justin/.sage//matplotlib-1.5.1 > > SAGE_SPKG_INST=/Users/Sage/sage-9.3.rc1/local/var/lib/sage/installed > > RANLIB=ranlib > > SAGE_PARI_CFG=/Users/Sage/sage-9.3.rc1/local/lib/pari/pari.cfg > > (sage-buildsh) justin@Kronecker:pynac-0.7.27.p1$ > > > > Doesn’t seem like “/usr/local/lib” is mentioned. Does ‘env’ catch all > environment variables? > > > > Justin > > I see the same thing you pointed out in the rc0 log for pynac, but there > is no mention at all of “/usr/local” in the pynac logs for earlier betas. > This is on my 10.13.6 system, and have not updated this system’s tool chain > in forever (a technical term meaning “I've forgotten the last time I did > it”). > > Maybe something snuck into the repository between beta9 and rc0? > > Justin > > -- > Justin C. Walker, Curmudgeon at Large > Director > Institute for the Enhancement of the Director's income > ----------- > Question 43: > What if the hokey pokey > really *is* what it’s all about? > -- > > -- 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 on the web visit https://groups.google.com/d/msgid/sage-release/89e0f38d-439a-4264-9f4b-6b463605c8d8n%40googlegroups.com.