On Sunday, June 16, 2019 at 3:39:46 AM UTC-5, Dima Pasechnik wrote:
>
> On Sat, Jun 15, 2019 at 10:51 PM darwin doppelganger <[email protected]
> <javascript:>> wrote:
> >
> > I just wanted to mention that the self-contained source tarball for Sage
> 8.8.rc1 hasn't yet appeared on any of the several mirrors that I tried
> among those listed at http://www.sagemath.org/download-latest.html. I've
> noticed some sluggishness in this respect before, but this seems
> exceptional.
> >
> > I thought it was high time that I suck it up and actually use GitHub, so
> I timidly waded in by choosing the "Download ZIP" option. Then I went to
> the directory and typed "make" as usual, but it failed (patch-2.7.5.log
> enclosed).
>
> This seems to be a particular "feature" of your OS/unzip program
> combination, at least on Linux permissions of the file mentioned in
> the log are as they should be.
>
I had double-clicked on the .zip archive on my Mac, but I tried again just
using the unzip command in the terminal and everything worked fine. Thanks!
I also grabbed the self-contained source tarball for Sage 8.8.rc1 that
Volker posted in response to my earlier comment, and that also worked for
me as per usual.
However, the build I had running from the GitHub clone eventually failed.
It seems that the old Mac Mojave problem with /usr/include has resurfaced
for me. I am running Mac OSX 10.14.4 with Xcode 10.2.1. Google Groups won't
allow me to attach the whole 25MB gfortran-7.2.0.log file, but here is the
section where the problem occurred:
[gfortran-7.2.0] /bin/sh ../../src/gcc/../move-if-change tmp-fixinc_list
> fixinc_list
> [gfortran-7.2.0] echo timestamp > s-fixinc_list
> [gfortran-7.2.0] rm -rf include-fixed; mkdir include-fixed
> [gfortran-7.2.0] chmod a+rx include-fixed
> [gfortran-7.2.0] if [ -d ../prev-gcc ]; then \
> [gfortran-7.2.0] cd ../prev-gcc && \
> [gfortran-7.2.0] make real-install-headers-tar DESTDIR=`pwd`/../gcc/ \
> [gfortran-7.2.0] libsubdir=. ; \
> [gfortran-7.2.0] else \
> [gfortran-7.2.0] set -e; for ml in `cat fixinc_list`; do \
> [gfortran-7.2.0] sysroot_headers_suffix=`echo ${ml} | sed -e 's/;.*$//'`; \
> [gfortran-7.2.0] multi_dir=`echo ${ml} | sed -e 's/^[^;]*;//'`; \
> [gfortran-7.2.0] fix_dir=include-fixed${multi_dir}; \
> [gfortran-7.2.0] if ! false && test ! -d `echo /usr/include | sed -e :a -e
> 's,[^/]*/\.\.\/,,' -e ta`; then \
> [gfortran-7.2.0] echo The directory that should contain system headers
> does not exist: >&2 ; \
> [gfortran-7.2.0] echo " `echo /usr/include | sed -e :a -e
> 's,[^/]*/\.\.\/,,' -e ta`" >&2 ; \
> [gfortran-7.2.0] tooldir_sysinc=`echo
> "/Applications/sage/local/lib/gcc/x86_64-apple-darwin18.5.0/7.2.0/../../../../x86_64-apple-darwin18.5.0/sys-include"
>
> | sed -e :a -e "s,[^/]*/\.\.\/,," -e ta`; \
> [gfortran-7.2.0] if test "x`echo /usr/include | sed -e :a -e
> 's,[^/]*/\.\.\/,,' -e ta`" = "x${tooldir_sysinc}"; \
> [gfortran-7.2.0] then sleep 1; else exit 1; fi; \
> [gfortran-7.2.0] fi; \
> [gfortran-7.2.0] /bin/sh ../../src/gcc/../mkinstalldirs ${fix_dir}; \
> [gfortran-7.2.0] chmod a+rx ${fix_dir} || true; \
> [gfortran-7.2.0] (TARGET_MACHINE='x86_64-apple-darwin18.5.0'; srcdir=`cd
> ../../src/gcc; ${PWDCMD-pwd}`; \
> [gfortran-7.2.0] SHELL='/bin/sh'; MACRO_LIST=`${PWDCMD-pwd}`/macro_list ; \
> [gfortran-7.2.0] gcc_dir=`${PWDCMD-pwd}` ; \
> [gfortran-7.2.0] export TARGET_MACHINE srcdir SHELL MACRO_LIST && \
> [gfortran-7.2.0] cd ../build-x86_64-apple-darwin18.5.0/fixincludes && \
> [gfortran-7.2.0] /bin/sh ./fixinc.sh "${gcc_dir}/${fix_dir}" \
> [gfortran-7.2.0] `echo /usr/include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e
> ta` ); \
> [gfortran-7.2.0] rm -f ${fix_dir}/syslimits.h; \
> [gfortran-7.2.0] if [ -f ${fix_dir}/limits.h ]; then \
> [gfortran-7.2.0] mv ${fix_dir}/limits.h ${fix_dir}/syslimits.h; \
> [gfortran-7.2.0] else \
> [gfortran-7.2.0] cp ../../src/gcc/gsyslimits.h ${fix_dir}/syslimits.h; \
> [gfortran-7.2.0] fi; \
> [gfortran-7.2.0] chmod a+r ${fix_dir}/syslimits.h; \
> [gfortran-7.2.0] done; \
> [gfortran-7.2.0] fi
> [gfortran-7.2.0] The directory that should contain system headers does not
> exist:
> [gfortran-7.2.0] /usr/include
> [gfortran-7.2.0] make[6]: *** [stmp-fixinc] Error 1
> [gfortran-7.2.0] make[5]: *** [all-gcc] Error 2
> [gfortran-7.2.0] make[4]: *** [all] Error 2
> [gfortran-7.2.0]
> ********************************************************************************
> [gfortran-7.2.0] Error building gfortran-7.2.0
When I built Sage 8.8.rc1 from the GitHub .zip file, the gfortran-7.2.0.log
file (at the same point) says:
Fixing headers into
> /Applications/sage-develop/local/var/tmp/sage/build/gfortran-7.2.0/gcc-build/gcc/include-fixed
>
> for x86_64-apple-darwin18.5.0 target
> No forbidden identifiers defined by this target
> Finding directories and links to directories
> ...
And then the build successfully runs to completion.
This is not really a problem for me, because I can always use the tarball
or the GitHub .zip file. I just thought I would record it for future
reference. Thanks for everything!
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-release.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-release/163f5fab-99b9-480b-8cfe-751f5c4c79fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.