Date: Thu, 6 Jun 2013 09:41:46 -0500 From: Michael Gass <mgass@csbsju.edu> To: <freebsd-questions@freebsd.org> Subject: Error building math/sage Message-ID: <20130606144146.GA14877@csbsju.edu>
next in thread | raw e-mail | index | archive | help
Trying to build math/sage-5.9_1 from ports. Everything builds except sage itself. Here is the system info. FreeBSD dc7800.home.net 9.1-STABLE FreeBSD 9.1-STABLE #0 r251294: Mon Jun 3 17:52:11 CDT 2013 root@:/usr/obj/usr/src/sys/HP20130603 amd64 Here is /etc/make.conf CPUTYPE?=core2 WITH_PKGNG=yes # added by use.perl 2013-06-03 21:30:08 PERL_VERSION=5.14.2 TEX_DEFAULT=texlive Here is output from the build (sorry for any control chars in script). Error is around 120 lines down. ===> Found saved configuration for sage-5.9_1 ===> sage-5.9_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by sage-5.9_1 for building ===> Extracting for sage-5.9_1 => SHA256 Checksum OK for sage-5.9.tar. ===> Patching for sage-5.9_1 Patching cephes-2.8.p1: applying spkg-install Patching eclib-20120830: applying src_libsrc_eclib_interface.h Patching maxima-5.29.1.p1: applying src_interfaces_xmaxima_Makefile.in Patching pycrypto-2.1.0: applying patches_src.libtom.tomcrypt_pk.h applying spkg-install Patching python-2.7.3.p6: applying src_Doc_library_fcntl.rst applying src_Modules__ctypes_libffi_configure applying src_Modules_fcntlmodule.c applying src_Python_thread_pthread.h applying src_setup.py Patching sage-5.9: applying doc_common_builder.py Patching sympow-1.018.1.p11: applying src_disk.c ===> sage-5.9_1 depends on executable: bash - found ===> sage-5.9_1 depends on file: /usr/local/share/texmf-var/web2c/tex/tex.fmt - found ===> sage-5.9_1 depends on executable: gmake - found ===> sage-5.9_1 depends on executable: gcc46 - found ===> sage-5.9_1 depends on file: /usr/local/bin/as - found ===> sage-5.9_1 depends on file: /usr/local/bin/autoconf-2.69 - found ===> sage-5.9_1 depends on shared library: atlas - found ===> sage-5.9_1 depends on shared library: lapack - found ===> sage-5.9_1 depends on shared library: jpeg - found ===> sage-5.9_1 depends on shared library: tk86 - found ===> sage-5.9_1 depends on shared library: iconv.3 - found ===> Configuring for sage-5.9_1 ===> Building for sage-5.9_1 mkdir -p logs cd spkg && \ "../spkg/pipestatus" \ "env SAGE_PARALLEL_SPKG_BUILD='' ./install all 2>&1" \ "tee -a ../logs/install.log" make: illegal option -- - usage: make [-BPSXeiknpqrstv] [-C directory] [-D variable] [-d flags] [-E variable] [-f makefile] [-I directory] [-j max_jobs] [-m directory] [-V variable] [variable=value] [target ...] *** ALL ENVIRONMENT VARIABLES BEFORE BUILD: *** ADDR2LINE=/usr/local/bin/addr2line ALWAYS_SCRUB_DISTFILES=dopt AR=/usr/local/bin/ar ARCH=/usr/local/bin/ar AS=/usr/local/bin/as AUTOCONF=/usr/local/bin/autoconf-2.69 AUTOCONF_DIR=/usr/local/share/autoconf-2.69 AUTOCONF_VERSION=2.69 AUTOHEADER=/usr/local/bin/autoheader-2.69 AUTOIFNAMES=/usr/local/bin/ifnames-2.69 AUTOM4TE=/usr/local/bin/autom4te-2.69 AUTORECONF=/usr/local/bin/autoreconf-2.69 AUTOSCAN=/usr/local/bin/autoscan-2.69 AUTOUPDATE=/usr/local/bin/autoupdate-2.69 BACKUP=bopt BSD_INSTALL_DATA=install -o root -g wheel -m 444 BSD_INSTALL_LIB=install -s -o root -g wheel -m 444 BSD_INSTALL_MAN=install -o root -g wheel -m 444 BSD_INSTALL_PROGRAM=install -s -o root -g wheel -m 555 BSD_INSTALL_SCRIPT=install -o root -g wheel -m 555 CC=gcc46 CFLAGS=-pipe -march=core2 -Wl,-rpath=/usr/ports/math/sage/work/sage-5.9/local/lib -Wl,-rpath=/usr/local/lib/gcc46 CONFIG_DONE_SAGE=1 CPP=cpp46 CPPFILT=/usr/local/bin/c++filt CPPFLAGS= CXX=g++46 CXXFLAGS=-pipe -march=core2 -Wl,-rpath=/usr/ports/math/sage/work/sage-5.9/local/lib -Wl,-rpath=/usr/local/lib/gcc46 -Wl,-rpath=/usr/ports/math/sage/work/sage-5.9/local/lib -Wl,-rpath=/usr/local/lib/gcc46 DISPLAY_LIST= DISTDIR=/usr/ports/distfiles/ DI_FILES=/tmp/f-65716-DI-FILES.ahBRYhX0 DOT_SAGE=/usr/ports/math/sage/work/sage-5.9/tmp/.sage F77=gfortran46 FFLAGS=-pipe -march=core2 -Wl,-rpath=/usr/ports/math/sage/work/sage-5.9/local/lib -Wl,-rpath=/usr/local/lib/gcc46 GPROF=/usr/local/bin/gprof HOME=/root IPC_SAVE=/tmp/f-65716-IPC_SAVE.p1jz1M0L LD=/usr/local/bin/ld LDFLAGS=-Wl,-rpath=/usr/ports/math/sage/work/sage-5.9/local/lib -Wl,-rpath=/usr/local/lib/gcc46 LIBDIR=/usr/lib LOCALBASE=/usr/local LOCALBASE_COMPAT=/usr/local/lib/compat/pkg LOGNAME=root MAIL=/var/mail/root MAKE=/usr/bin/make -j2 MAKEFLAGS= --jobserver-fds=3,4 -j -- CONFIG_DONE_SAGE=1 SYSTEMVERSION= OSVERSION=901504 OSREL=9.1 OPSYS=FreeBSD ARCH=/usr/local/bin/ar MAKELEVEL=1 MAKEOVERRIDES=${-*-command-variables-*-} MANPREFIX=/usr/local MFLAGS=- --jobserver-fds=3,4 -j MOTIFLIB=-L/usr/local/lib -lXm -lXp NM=/usr/local/bin/nm NO_DEP_UPDATES=no_dep_updates NO_LINT=YES OBJCOPY=/usr/local/bin/objcopy OBJDUMP=/usr/local/bin/objdump OPSYS=FreeBSD OSREL=9.1 OSVERSION=901504 PACKAGES=/usr/ports/packages PATH=/usr/ports/math/sage/work/sage-5.9/spkg/bin:/usr/ports/math/sage/work/sage-5.9/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin PM_BUILDING=pmbuildingmain PM_BUILD_ONLY_LIST=pm_bol PM_DEL_BUILD_ONLY=pm_dbo PM_NEEDS_UPDATE= math/sage PM_PARENT_PID=65716 PM_PARENT_PORT=math/sage PM_VERBOSE=vopt PREFIX=/usr/local PWD=/usr/ports/math/sage/work/sage-5.9/spkg PYTHONPATH=/usr/ports/math/sage/work/sage-5.9/local RANLIB=/usr/local/bin/ranlib READELF=/usr/local/bin/readelf SAGE_ATLAS_LIB=/usr/local/lib SAGE_FAT_BINARY=yes SAGE_INSTALL_GCC=no SAGE_LOCAL=/usr/ports/math/sage/work/sage-5.9/local SAGE_LOGS=/usr/ports/math/sage/work/sage-5.9/logs/pkgs SAGE_PARALLEL_SPKG_BUILD= SAGE_PORT=yes SAGE_ROOT=/usr/ports/math/sage/work/sage-5.9 SAGE_SPKG_INST=/usr/ports/math/sage/work/sage-5.9/spkg/installed SAVE_SHARED=wopt SHELL=/bin/sh SHLVL=2 SIZE=/usr/local/bin/size STRINGS=/usr/local/bin/strings SUDO_COMMAND=/usr/local/sbin/portmaster math/sage SUDO_GID=1001 SUDO_UID=1001 SUDO_USER=mgass SYSTEMVERSION= TERM=xterm TMPDIR=/tmp UPGRADE_TOOL=portmaster USER=root USERNAME=root _=/usr/bin/env __MKLVL__=2 build_deps_il= build_only_dl_g= dep_of_deps=0 num_of_deps=0 pbu=/usr/ports/packages/portmaster-backup pd=/usr/ports pdb=/var/db/pkg port_dbdir=/var/db/ports use_pkgng=yes *********************************************** make: illegal option -- - usage: make [-BPSXeiknpqrstv] [-C directory] [-D variable] [-d flags] [-E variable] [-f makefile] [-I directory] [-j max_jobs] [-m directory] [-V variable] [variable=value] [target ...] real 0m0.001s user 0m0.000s sys 0m0.001s *************************************************************** Error building Sage. The following package(s) may have failed to build: tail: /usr/ports/math/sage/work/sage-5.9/logs/pkgs/*.log: No such file or directory 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. gmake: *** [build] Error 1 *** [do-build] Error code 1 Stop in /usr/ports/math/sage. *** [build] Error code 1 Any suggestions? -- Michael Gass mgass@csbsju.edu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130606144146.GA14877>