A workaround is "git clean -f -d -x"
On Monday, December 7, 2015 at 6:10:12 PM UTC+1, David Coudert wrote: > > Hello, > > I’m having a serious issue to compile sage on OSX 10.9. > I did a checkout on latest beta but `make distclean`fails. > > Help is more than welcome ;) > > David. > > > confetti:sage dcoudert$ git log --oneline| head -n 1 > 7c27cd2 Updated Sage version to 6.10.beta7 > > > confetti:sage dcoudert$ make distclean > /Applications/Xcode.app/Contents/Developer/usr/bin/make build/make/Makefile > rm -f config.log > mkdir -p logs/pkgs > ln -s logs/pkgs/config.log config.log > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p > checking for gawk... no > checking for mawk... no > checking for nawk... no > checking for awk... awk > checking whether make sets $(MAKE)... yes > checking whether make supports nested variables... yes > checking whether to enable maintainer-specific portions of Makefiles... yes > checking for root user... no > checking build system type... x86_64-apple-darwin14.5.0 > checking host system type... x86_64-apple-darwin14.5.0 > checking for ar... yes > checking for m4... yes > checking for ranlib... yes > checking for strip... yes > checking for GNU or BSD tar... /usr/bin/tar > checking for GNU make... /usr/bin/make > checking for latex... yes > checking for perl... /usr/bin/perl > checking for Perl version 5.8.0 or later... yes > checking for gcc... gcc > checking whether the C compiler works... yes > checking for C compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking whether gcc understands -c and -o together... yes > checking for style of include used by make... GNU > checking dependency style of gcc... none > checking how to run the C preprocessor... gcc -E > checking for g++... g++ > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking dependency style of g++... none > checking for gfortran... no > checking for g95... no > checking for xlf95... no > checking for f95... no > checking for fort... no > checking for ifort... no > checking for ifc... no > checking for efc... no > checking for pgfortran... no > checking for pgf95... no > checking for lf95... no > checking for ftn... no > checking for nagfor... no > checking for xlf90... no > checking for f90... no > checking for pgf90... no > checking for pghpf... no > checking for epcf90... no > checking for g77... no > checking for xlf... no > checking for f77... no > checking for frt... no > checking for pgf77... no > checking for cf77... no > checking for fort77... no > checking for fl32... no > checking for af77... no > checking whether we are using the GNU Fortran compiler... no > checking whether accepts -g... no > checking how to run the C++ preprocessor... g++ -E > checking for grep that handles long lines and -e... /usr/bin/grep > checking for egrep... /usr/bin/grep -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking complex.h usability... yes > checking complex.h presence... yes > checking for complex.h... yes > checking whether g++ supports C++11 features by default... no > checking whether g++ supports C++11 features with -std=gnu++11... yes > checking for gcc option to accept ISO C99... none needed > configure: Installing GCC because a Fortran compiler is missing > checking for sqrt in -lm... yes > *************************************************** > *************************************************** > You are using OS X Lion (or later). > You are strongly advised to install Apple's latest Xcode > unless you already have it. You can install this using > the App Store. Also, make sure you install Xcode's > Command Line Tools -- see Sage's README.txt. > configure: error: "found MacPorts in /opt/local/bin/port. Either: > (1) rename /opt/local and /sw, or > (2) change PATH and DYLD_LIBRARY_PATH > (Once Sage is built, you can restore them.) > Since 'SAGE_PORT' is set, we will try to build anyway. > build/bin/sage-logger \ > "cd build/make && ./install 'build-clean'" logs/install.log > *** ALL ENVIRONMENT VARIABLES BEFORE BUILD: *** > Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.jaHQkHKbRK/Render > DISPLAY=/private/tmp/com.apple.launchd.KrjtFBZNat/org.macosforge.xquartz:0 > HOME=/Users/dcoudert > LANG=fr_FR.UTF-8 > LOGNAME=dcoudert > MAKE=make > MAKEFLAGS= > MAKELEVEL=1 > MFLAGS= > > PATH=/Users/dcoudert/sage/build/bin:/Users/dcoudert/sage/src/bin:/Users/dcoudert/sage/local/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Users/dcoudert/sage/git-trac-command/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/texbin:/Users/dcoudert/bin:/opt/local/bin:/opt/local/sbin > PERL_MB_OPT=--install_base "/Users/dcoudert/perl5" > PERL_MM_OPT=INSTALL_BASE=/Users/dcoudert/perl5 > PWD=/Users/dcoudert/sage/build/make > PYTHONPATH=/Users/dcoudert/sage/local > SAGE_EXTCODE=/Users/dcoudert/sage/local/share/sage/ext > SAGE_LOCAL=/Users/dcoudert/sage/local > SAGE_LOGS=/Users/dcoudert/sage/logs/pkgs > > SAGE_ORIG_PATH=/Library/Frameworks/Python.framework/Versions/2.7/bin:/Users/dcoudert/sage/git-trac-command/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/texbin:/Users/dcoudert/bin:/opt/local/bin:/opt/local/sbin > SAGE_ORIG_PATH_SET=True > SAGE_PORT= > SAGE_ROOT=/Users/dcoudert/sage > SAGE_SPKG_INST=/Users/dcoudert/sage/local/var/lib/sage/installed > SAGE_SRC=/Users/dcoudert/sage/src > SAGE_VERSION=6.10.beta7 > SBL_DIR=/Users/dcoudert/Recherche/Graph/mcc-inference/sbl/ > SHELL=/bin/bash > SHLVL=4 > SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.qPSdnfFYAm/Listeners > TERM=xterm-256color > TERM_PROGRAM=Apple_Terminal > TERM_PROGRAM_VERSION=343.7 > TERM_SESSION_ID=06C44368-1975-4460-A2FD-8760563A4E78 > TMPDIR=/var/folders/r_/qf30vcyd3c7gkwtn7pz6hfy40000gn/T/ > USER=dcoudert > XPC_FLAGS=0x0 > XPC_SERVICE_NAME=0 > _=/usr/bin/env > __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x1 > *********************************************** > make[1]: *** No rule to make target `build-clean'. Stop. > > real 0m0.007s > user 0m0.003s > sys 0m0.003s > *************************************************************** > Error building Sage. > > The following package(s) may have failed to build (not necessarily > during this run of 'make build-clean'): > > The build directory may contain configuration files and other potentially > helpful information. WARNING: if you now run 'make' again, the build > directory will, by default, be deleted. Set the environment variable > SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. > > make: *** [build-clean] Error 1 > > ---- > David Coudert > Centre de Recherche INRIA Sophia Antipolis - Méditerranée > COATI, Inria, I3S, CNRS UMR 7271, Univ. Nice Sophia, France > http://www-sop.inria.fr/members/David.Coudert > <http://www-sop.inria.fr/mascotte/David.Coudert> > > > > > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.