Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2014 22:27:29 GMT
From:      Mitja <lumiwa@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/186259: Port math/sage cannot build on FreeBSD 10.0
Message-ID:  <201401292227.s0TMRTMN022430@oldred.freebsd.org>
Resent-Message-ID: <201401292230.s0TMU1jH081605@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186259
>Category:       amd64
>Synopsis:       Port math/sage cannot build on FreeBSD 10.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 29 22:30:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Mitja
>Release:        FreeBSD 10.0-RELEASE
>Organization:
>Environment:
FreeBSD 10.0-RELEASE #1: Mon Jan 20 12:44:17 EST 2014     root@bla.bla.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
I cannot build port math/sage from FreeBSD-10.0 ALPHA to FreeBSD-10.0-RELEASE now and on the all betas and releases between.


===>>> Starting build for math/sage <<<===

===>>> All dependencies are up to date

===>  Cleaning for sage-math-5.13
===>  Found saved configuration for sage-math-5.13
===>   sage-math-5.13 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by sage-math-5.13 for building
===>  Extracting for sage-math-5.13
=> SHA256 Checksum OK for sage-5.13.tar.
===>  Patching for sage-math-5.13
Patching cephes-2.8.p1:
        applying spkg-install
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- cephes-2.8.p1/spkg-install-orig    2013-03-30 20:48:35.000000000 +0000
|+++ cephes-2.8.p1/spkg-install 2013-03-30 20:48:57.000000000 +0000
--------------------------
Patching file cephes-2.8.p1/spkg-install using Plan A...
Hunk #1 succeeded at 24.
done
Patching eclib-20120830:
        applying src_libsrc_eclib_interface.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- eclib-20120830/src/libsrc/eclib/interface.h-orig   2013-04-26 23:46:24.000000000 +0000
|+++ eclib-20120830/src/libsrc/eclib/interface.h        2013-04-26 23:47:09.000000000 +0000
--------------------------
Patching file eclib-20120830/src/libsrc/eclib/interface.h using Plan A...
Hunk #1 succeeded at 48.
done
Patching maxima-5.29.1.p3:
        applying src_interfaces_xmaxima_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- maxima-5.29.1.p1/src/interfaces/xmaxima/Makefile.in-orig   2013-05-09 02:26:31.000000000 +0000
|+++ maxima-5.29.1.p3/src/interfaces/xmaxima/Makefile.in        2013-05-09 02:30:12.000000000 +0000
--------------------------
Patching file maxima-5.29.1.p3/src/interfaces/xmaxima/Makefile.in using Plan A...
Hunk #1 succeeded at 624.
done
Patching ncurses-5.9.p2:
        applying src_configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- ncurses-5.9/src/configure.orig     2013-08-21 02:51:59.000000000 +0000
|+++ ncurses-5.9.p2/src/configure       2013-08-21 02:53:23.000000000 +0000
--------------------------
Patching file ncurses-5.9.p2/src/configure using Plan A...
Hunk #1 succeeded at 5719.
done
Patching numpy-1.7.0:
        applying src_numpy_distutils_system_info.py
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- numpy-1.7.0/src/numpy/distutils/system_info.py.orig        2013-02-09 21:04:56.000000000 +0000
|+++ numpy-1.7.0/src/numpy/distutils/system_info.py     2013-05-27 21:51:12.000000000 +0000
--------------------------
Patching file numpy-1.7.0/src/numpy/distutils/system_info.py using Plan A...
Hunk #1 succeeded at 983.
done
Patching ppl-1.1pre9.p0:
        applying src_demos_ppl_lpsol_ppl_lpsol.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- ppl-1.0.p0/src/demos/ppl_lpsol/ppl_lpsol.c.orig    2013-06-20 17:21:39.000000000 +0000
|+++ ppl-1.1pre9.p0/src/demos/ppl_lpsol/ppl_lpsol.c     2013-06-20 17:39:44.000000000 +0000
--------------------------
Patching file ppl-1.1pre9.p0/src/demos/ppl_lpsol/ppl_lpsol.c using Plan A...
Hunk #1 succeeded at 534.
done
Patching pycrypto-2.1.0:
        applying patches_src.libtom.tomcrypt_pk.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- /dev/null  2012-04-08 01:30:00.000000000 +0000
|+++ pycrypto-2.1.0/patches_src.libtom.tomcrypt_pk.h    2012-04-08 01:30:26.000000000 +0000
--------------------------
(Creating file pycrypto-2.1.0/patches_src.libtom.tomcrypt_pk.h...)
Patching file pycrypto-2.1.0/patches_src.libtom.tomcrypt_pk.h using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
done
        applying spkg-install
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- pycrypto-2.1.0/spkg-install-orig   2012-04-08 01:30:47.000000000 +0000
|+++ pycrypto-2.1.0/spkg-install        2012-04-08 01:31:41.000000000 +0000
--------------------------
Patching file pycrypto-2.1.0/spkg-install using Plan A...
Hunk #1 succeeded at 12.
done
Patching python-2.7.5.p1:
        applying src_Doc_library_fcntl.rst
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- python-2.7.3.p0/src/Doc/library/fcntl.rst.orig     2011-06-11 15:46:23.000000000 +0000
|+++ python-2.7.5.p1/src/Doc/library/fcntl.rst  2012-04-22 00:31:48.000000000 +0000
--------------------------
Patching file python-2.7.5.p1/src/Doc/library/fcntl.rst using Plan A...
Hunk #1 succeeded at 50.
done
        applying src_Modules__ctypes_libffi_configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- python-2.7.3.p0/src/Modules/_ctypes/libffi/configure.orig  2011-06-11 15:46:26.000000000 +0000
|+++ python-2.7.5.p1/src/Modules/_ctypes/libffi/configure       2012-04-22 00:23:14.000000000 +0000
--------------------------
Patching file python-2.7.5.p1/src/Modules/_ctypes/libffi/configure using Plan A...
Hunk #1 succeeded at 6889 (offset 600 lines).
Hunk #2 succeeded at 12859 with fuzz 2 (offset 1584 lines).
done
        applying src_Modules_fcntlmodule.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- python-2.7.3.p0/src/Modules/fcntlmodule.c.orig     2011-06-11 15:46:27.000000000 +0000
|+++ python-2.7.5.p1/src/Modules/fcntlmodule.c  2012-04-22 00:23:34.000000000 +0000
--------------------------
Patching file python-2.7.5.p1/src/Modules/fcntlmodule.c using Plan A...
Hunk #1 succeeded at 97.
Hunk #2 succeeded at 113.
Hunk #3 succeeded at 164.
Hunk #4 succeeded at 186.
done
        applying src_Python_thread_pthread.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- python-2.7.3.p0/src/Python/thread_pthread.h.orig   2011-06-11 15:46:28.000000000 +0000
|+++ python-2.7.5.p1/src/Python/thread_pthread.h        2012-04-22 00:23:46.000000000 +0000
--------------------------
Patching file python-2.7.5.p1/src/Python/thread_pthread.h using Plan A...
Hunk #1 succeeded at 38.
Hunk #2 succeeded at 61.
Hunk #3 succeeded at 165.
Hunk #4 succeeded at 194.
Hunk #5 succeeded at 207.
done
        applying src_setup.py
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- python-2.7.5.p1/src/setup.py-orig  2013-03-17 03:13:46.000000000 +0000
|+++ python-2.7.5.p1/src/setup.py       2013-03-17 03:15:11.000000000 +0000
--------------------------
Patching file python-2.7.5.p1/src/setup.py using Plan A...
Hunk #1 succeeded at 721 (offset 79 lines).
Hunk #2 succeeded at 760 (offset 79 lines).
Hunk #3 succeeded at 1132 (offset 10 lines).
Hunk #4 succeeded at 1331 with fuzz 2 (offset 83 lines).
Hunk #5 succeeded at 1277 (offset 10 lines).
Hunk #6 succeeded at 1535 (offset 99 lines).
Hunk #7 succeeded at 1510 (offset 10 lines).
Hunk #8 succeeded at 2183 (offset 101 lines).
done
Patching sage-5.13:
        applying doc_common_builder.py
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- sage-5.8.rc0/doc/common/builder.py-orig    2013-03-17 20:50:38.000000000 +0000
|+++ sage-5.13/doc/common/builder.py    2013-03-17 20:56:42.000000000 +0000
--------------------------
Patching file sage-5.13/doc/common/builder.py using Plan A...
Hunk #1 succeeded at 274 (offset 2 lines).
Hunk #2 succeeded at 469 (offset 2 lines).
done
Patching sympow-1.018.1.p11:
        applying src_disk.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- sympow-1.018.1.p11/src/disk.c-orig 2012-04-19 02:33:51.000000000 +0000
|+++ sympow-1.018.1.p11/src/disk.c      2012-04-19 02:34:22.000000000 +0000
--------------------------
Patching file sympow-1.018.1.p11/src/disk.c using Plan A...
Hunk #1 succeeded at 39.
done
===>   sage-math-5.13 depends on executable: bash - found
===>   sage-math-5.13 depends on file: /usr/local/share/texmf-dist/LICENSE.texmf - found
===>   sage-math-5.13 depends on executable: mktexlsr - found
===>   sage-math-5.13 depends on executable: gmake - found
===>   sage-math-5.13 depends on executable: gcc46 - found
===>   sage-math-5.13 depends on file: /usr/local/bin/as - found
===>   sage-math-5.13 depends on file: /usr/local/bin/autoconf-2.69 - found
===>   sage-math-5.13 depends on shared library: atlas - found
===>   sage-math-5.13 depends on shared library: lapack - found
===>   sage-math-5.13 depends on shared library: jpeg - found
===>   sage-math-5.13 depends on shared library: tk86 - found
===>  Configuring for sage-math-5.13
===>  Building for sage-math-5.13
gmake[2]: Entering directory `/usr/ports/math/sage/work/sage-5.13'
mkdir -p logs
cd spkg && \
"../spkg/pipestatus" \
        "env SAGE_PARALLEL_SPKG_BUILD='' ./install all 2>&1" \
        "tee -a ../logs/install.log"
*** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
.MAKE.LEVEL.ENV=MAKELEVEL
ADDR2LINE=/usr/local/bin/addr2line
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
BLOCKSIZE=K
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 -Wl,-rpath=/usr/ports/math/sage/work/sage-5.13/local/lib -Wl,-rpath=/usr/local/lib/gcc46
COLORFGBG=0;15
CONFIG_DONE_SAGE=1
CPP=cpp46
CPPFILT=/usr/local/bin/c++filt
CPPFLAGS=
CXX=g++46
CXXFLAGS=-pipe -Wl,-rpath=/usr/ports/math/sage/work/sage-5.13/local/lib -Wl,-rpath=/usr/local/lib/gcc46 -Wl,-rpath=/usr/ports/math/sage/work/sage-5.13/local/lib  -Wl,-rpath=/usr/local/lib/gcc46
DBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/dbus-3HFe8GxLg6,guid=7873e5070f3d4dcd5242981652e92729
DISPLAY=:0
DISPLAY_LIST=
DISTDIR=/usr/ports/distfiles/
DI_FILES=/tmp/f-41106-DI-FILES.IIV5zE0z
DOT_SAGE=/usr/ports/math/sage/work/sage-5.13/tmp/.sage
EDITOR=vi
F77=gfortran46
FFLAGS=-pipe -Wl,-rpath=/usr/ports/math/sage/work/sage-5.13/local/lib  -Wl,-rpath=/usr/local/lib/gcc46
GPROF=/usr/local/bin/gprof
GROUP=ajtim
GS_LIB=/home/ajtim/.fonts
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/ajtim/.gtkrc-2.0:/usr/home/ajtim/.kde4/share/config/gtkrc-2.0
GTK_RC_FILES=/etc/gtk/gtkrc:/home/ajtim/.gtkrc:/usr/home/ajtim/.kde4/share/config/gtkrc
HOME=/root
HOST=lumiwa.farms.net
HOSTTYPE=FreeBSD
IPC_SAVE=/tmp/f-41106-IPC_SAVE.o9VkarIf
KDE_FULL_SESSION=true
KDE_MULTIHEAD=false
KDE_SESSION_UID=1001
KDE_SESSION_VERSION=4
KONSOLE_DBUS_SERVICE=:1.109
KONSOLE_DBUS_SESSION=/Sessions/1
KONSOLE_DBUS_WINDOW=/Windows/1
KONSOLE_PROFILE_NAME=Shell
LANGUAGE=
LD=/usr/local/bin/ld
LDFLAGS=-Wl,-rpath=/usr/ports/math/sage/work/sage-5.13/local/lib  -Wl,-rpath=/usr/local/lib/gcc46 -L/usr/local/lib/gcc46
LIBDIR=/usr/lib
LOCALBASE=/usr/local
LOCALBASE_COMPAT=/usr/local/lib/compat/pkg
LOGNAME=ajtim
MACHTYPE=x86_64
MAIL=/var/mail/ajtim
MAKE=/usr/bin/make -j8
MAKEFLAGS=w --jobserver-fds=3,4 -j -- SYSTEMVERSION= OSVERSION=1000510 OSREL=10.0 OPSYS=FreeBSD CONFIG_DONE_SAGE=1 ARCH=/usr/local/bin/ar .MAKE.LEVEL.ENV=MAKELEVEL
MAKELEVEL=3
MAKEOVERRIDES=${-*-command-variables-*-}
MANPREFIX=/usr/local
MFLAGS=-w --jobserver-fds=3,4 -j
NB_DELETE=
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=10.0
OSTYPE=FreeBSD
OSVERSION=1000510
PACKAGES=/usr/ports/packages
PAGER=more
PATH=/usr/ports/math/sage/work/sage-5.13/spkg/bin:/usr/ports/math/sage/work/sage-5.13/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
PERL5LIB=
PM_BUILDING=pmbuildingmain
PM_FORCE_CONFIG=pm_force_config
PM_NEEDS_UPDATE= math/sage 
PM_PARENT_PID=41106
PM_PARENT_PORT=math/sage
PREFIX=/usr/local
PROFILEHOME=
PWD=/usr/ports/math/sage/work/sage-5.13/spkg
PYTHONPATH=/usr/ports/math/sage/work/sage-5.13/local
QT_PLUGIN_PATH=/usr/home/ajtim/.kde4/lib/kde4/plugins/:/usr/local/kde4/lib/kde4/plugins/
RANLIB=/usr/local/bin/ranlib
READELF=/usr/local/bin/readelf
RUBYLIB=:/usr/local/kde4/lib/ruby/site_ruby/1.9:/usr/local/kde4/lib/ruby/site_ruby/1.9/amd64-freebsd10
SAGE_ATLAS_LIB=/usr/local/lib
SAGE_FAT_BINARY=yes
SAGE_INSTALL_GCC=no
SAGE_LOCAL=/usr/ports/math/sage/work/sage-5.13/local
SAGE_LOGS=/usr/ports/math/sage/work/sage-5.13/logs/pkgs
SAGE_PARALLEL_SPKG_BUILD=
SAGE_PORT=yes
SAGE_ROOT=/usr/ports/math/sage/work/sage-5.13
SAGE_SPKG_INST=/usr/ports/math/sage/work/sage-5.13/spkg/installed
SESSION_MANAGER=local/lumiwa.farms.net:/tmp/.ICE-unix/2216
SHELL=/bin/sh
SHELL_SESSION_ID=12509662400a4b949d4936a7f650b467
SHLVL=5
SIZE=/usr/local/bin/size
STRIGI_PLUGIN_PATH=:/usr/local/kde4/lib/strigi:/usr/local/lib/strigi
STRINGS=/usr/local/bin/strings
SYSTEMVERSION=
TERM=xterm
TMPDIR=/tmp
UPGRADE_TOOL=portmaster
USER=ajtim
VENDOR=amd
WINDOWID=77594653
WINDOWPATH=9
XAUTHORITY=/tmp/kde-ajtim/xauth-1001-_0
XCURSOR_PATH=/usr/local/kde4/share/icons::~/.icons:/usr/local/share/icons:/usr/local/share/pixmaps:/usr/local/lib/X11/icons
XCURSOR_THEME=Oxygen_White
XDG_CONFIG_DIRS=/usr/local/kde4/etc/xdg::/etc/xdg:/usr/local/etc/xdg:/usr/local/etc/xdg/xfce4
XDG_CURRENT_DESKTOP=KDE
XDG_DATA_DIRS=/usr/local/kde4/share:/usr/local/kde4/share::/usr/share:/usr/local/share:/usr/local/share/gnome
_=/usr/bin/env
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[3]: illegal argument to -j -- must be positive integer!

real    0m0.001s
user    0m0.000s
sys     0m0.000s
***************************************************************
Error building Sage.

The following package(s) may have failed to build:
tail: /usr/ports/math/sage/work/sage-5.13/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[2]: *** [build] Error 1
gmake[2]: Leaving directory `/usr/ports/math/sage/work/sage-5.13'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/math/sage
*** Error code 1

Stop.
make: stopped in /usr/ports/math/sage

===>>> make failed for math/sage
===>>> Aborting update

>How-To-Repeat:
It is the same all the time.

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401292227.s0TMRTMN022430>