Bug 200132 - math/sage fails to build - Error installing package gcc-4.9.2.p1
Summary: math/sage fails to build - Error installing package gcc-4.9.2.p1
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Stephen Montgomery-Smith
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-11 17:34 UTC by a.n.us
Modified: 2018-02-26 17:27 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (stephen)


Attachments
/usr/ports/math/sage/work/sage-6.6/logs/pkgs/gcc-4.9.2.p1.log (516.37 KB, application/x-gzip)
2015-05-11 17:34 UTC, a.n.us
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description a.n.us 2015-05-11 17:34:00 UTC
Created attachment 156663 [details]
/usr/ports/math/sage/work/sage-6.6/logs/pkgs/gcc-4.9.2.p1.log

FreeBSD FBSD11 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r281839: Wed Apr 22 07:40:44 EDT 2015     root@FBSD11:/usr/obj/usr/src/sys/MYKERNEL  amd64
...


make[9]: Leaving directory '/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/x86_64-unknown-freebsd11.0/libstdc++-v3/python'
make[9]: Entering directory '/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/x86_64-unknown-freebsd11.0/libstdc++-v3'
true "AR_FLAGS=rc" "CC_FOR_BUILD=cc" "CC_FOR_TARGET=/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/./gcc/xgcc -B/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/./gcc/" "CFLAGS=-g -O2 -pipe  -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing" "CXXFLAGS=-g -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG" "CFLAGS_FOR_BUILD=-pipe  -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing" "CFLAGS_FOR_TARGET=-g -O2 -pipe  -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2 -pipe  -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing" "LIBCFLAGS_FOR_TARGET=-g -O2 -pipe  -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000   " "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/usr/ports/math/sage/work/sage-6.6/local" "infodir=/usr/ports/math/sage/work/sage-6.6/local/share/info" "libdir=/usr/ports/math/sage/work/sage-6.6/local/lib" "includedir=/usr/ports/math/sage/work/sage-6.6/local/include" "prefix=/usr/ports/math/sage/work/sage-6.6/local" "tooldir=/usr/ports/math/sage/work/sage-6.6/local/x86_64-unknown-freebsd11.0" "gxx_include_dir=/usr/ports/math/sage/work/sage-6.6/local/include/c++/4.9.2" "AR=ar" "AS=/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/./gcc/as" "LD=/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/./gcc/collect-ld" "RANLIB=ranlib" "NM=/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=" DO=all multi-do # make
make[9]: Leaving directory '/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/x86_64-unknown-freebsd11.0/libstdc++-v3'
make[8]: Leaving directory '/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/x86_64-unknown-freebsd11.0/libstdc++-v3'
make[7]: Leaving directory '/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/x86_64-unknown-freebsd11.0/libstdc++-v3'
make[6]: Leaving directory '/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build'
make "DESTDIR=" "RPATH_ENVVAR=LD_LIBRARY_PATH" "TARGET_SUBDIR=x86_64-unknown-freebsd11.0" "bindir=/usr/ports/math/sage/work/sage-6.6/local/bin" "datadir=/usr/ports/math/sage/work/sage-6.6/local/share" "exec_prefix=/usr/ports/math/sage/work/sage-6.6/local" "includedir=/usr/ports/math/sage/work/sage-6.6/local/include" "datarootdir=/usr/ports/math/sage/work/sage-6.6/local/share" "docdir=/usr/ports/math/sage/work/sage-6.6/local/share/doc/" "infodir=/usr/ports/math/sage/work/sage-6.6/local/share/info" "pdfdir=/usr/ports/math/sage/work/sage-6.6/local/share/doc/" "htmldir=/usr/ports/math/sage/work/sage-6.6/local/share/doc/" "libdir=/usr/ports/math/sage/work/sage-6.6/local/lib" "libexecdir=/usr/ports/math/sage/work/sage-6.6/local/libexec" "lispdir=" "localstatedir=/usr/ports/math/sage/work/sage-6.6/local/var" "mandir=/usr/ports/math/sage/work/sage-6.6/local/share/man" "oldincludedir=/usr/include" "prefix=/usr/ports/math/sage/work/sage-6.6/local" "sbindir=/usr/ports/math/sage/work/sage-6.6/local/sbin" "sharedstatedir=/usr/ports/math/sage/work/sage-6.6/local/com" "sysconfdir=/usr/ports/math/sage/work/sage-6.6/local/etc" "tooldir=/usr/ports/math/sage/work/sage-6.6/local/x86_64-unknown-freebsd11.0" "build_tooldir=/usr/ports/math/sage/work/sage-6.6/local/x86_64-unknown-freebsd11.0" "target_alias=x86_64-unknown-freebsd11.0" "AWK=nawk" "BISON=bison" "CC_FOR_BUILD=cc" "CFLAGS_FOR_BUILD=-pipe  -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing" "CXX_FOR_BUILD=c++" "EXPECT=expect" "FLEX=flex" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS_FOR_BUILD=-fstack-protector" "LEX=flex" "M4=gm4" "MAKE=make" "RUNTEST=runtest" "RUNTESTFLAGS=" "SED=/usr/local/bin/gsed" "SHELL=/bin/sh" "YACC=bison -y" "`echo 'ADAFLAGS=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "ADA_CFLAGS=" "AR_FLAGS=rc" "`echo 'BOOT_ADAFLAGS=-gnatpg' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "BOOT_CFLAGS=-g -O2" "BOOT_LDFLAGS=" "CFLAGS=-pipe  -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing" "CXXFLAGS=-pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG" "LDFLAGS=-fstack-protector" "LIBCFLAGS=-pipe  -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing" "LIBCXXFLAGS=-pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG -fno-implicit-templates" "STAGE1_CHECKING=--enable-checking=yes,types" "STAGE1_LANGUAGES=c,c++,lto" "GNATBIND=no" "GNATMAKE=no" "AR_FOR_TARGET=ar" "AS_FOR_TARGET=as" "CC_FOR_TARGET=/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/./gcc/xgcc -B/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/./gcc/" "CFLAGS_FOR_TARGET=-g -O2 -pipe  -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing" "CPPFLAGS_FOR_TARGET=" "CXXFLAGS_FOR_TARGET=-g -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG" "DLLTOOL_FOR_TARGET=dlltool" "FLAGS_FOR_TARGET=-B/usr/ports/math/sage/work/sage-6.6/local/x86_64-unknown-freebsd11.0/bin/ -B/usr/ports/math/sage/work/sage-6.6/local/x86_64-unknown-freebsd11.0/lib/ -isystem /usr/ports/math/sage/work/sage-6.6/local/x86_64-unknown-freebsd11.0/include -isystem /usr/ports/math/sage/work/sage-6.6/local/x86_64-unknown-freebsd11.0/sys-include" "GCJ_FOR_TARGET=" "GFORTRAN_FOR_TARGET=/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/./gcc/gfortran -B/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/./gcc/" "GOC_FOR_TARGET=" "GOCFLAGS_FOR_TARGET=-O2 -g" "LD_FOR_TARGET=ld" "LIPO_FOR_TARGET=lipo" "LDFLAGS_FOR_TARGET=" "LIBCFLAGS_FOR_TARGET=-g -O2 -pipe  -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing" "LIBCXXFLAGS_FOR_TARGET=-g -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG -fno-implicit-templates" "NM_FOR_TARGET=nm" "OBJDUMP_FOR_TARGET=objdump" "RANLIB_FOR_TARGET=ranlib" "READELF_FOR_TARGET=readelf" "STRIP_FOR_TARGET=strip" "WINDRES_FOR_TARGET=windres" "WINDMC_FOR_TARGET=windmc" "BUILD_CONFIG=" "`echo 'LANGUAGES=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "LEAN=false" "STAGE1_CFLAGS=-g" "STAGE1_CXXFLAGS=-g" "STAGE1_TFLAGS=" "STAGE2_CFLAGS=-g -O2" "STAGE2_CXXFLAGS=-g -O2" "STAGE2_TFLAGS=" "STAGE3_CFLAGS=-g -O2" "STAGE3_CXXFLAGS=-g -O2" "STAGE3_TFLAGS=" "STAGE4_CFLAGS=-g -O2" "STAGE4_CXXFLAGS=-g -O2" "STAGE4_TFLAGS=" "STAGEprofile_CFLAGS=-g -O2 -fprofile-generate" "STAGEprofile_CXXFLAGS=-g -O2 -fprofile-generate" "STAGEprofile_TFLAGS=" "STAGEfeedback_CFLAGS=-g -O2 -fprofile-use" "STAGEfeedback_CXXFLAGS=-g -O2 -fprofile-use" "STAGEfeedback_TFLAGS=" "CXX_FOR_TARGET= $r/./gcc/xg++ -B$r/./gcc/ -nostdinc++ `if test -f $r/x86_64-unknown-freebsd11.0/libstdc++-v3/scripts/testsuite_flags; then /bin/sh $r/x86_64-unknown-freebsd11.0/libstdc++-v3/scripts/testsuite_flags --build-includes; else echo -funconfigured-libstdc++-v3 ; fi` -L$r/x86_64-unknown-freebsd11.0/libstdc++-v3/src -L$r/x86_64-unknown-freebsd11.0/libstdc++-v3/src/.libs -L$r/x86_64-unknown-freebsd11.0/libstdc++-v3/libsupc++/.libs" "TFLAGS=" "CONFIG_SHELL=/bin/sh" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000"  compare
make[6]: Entering directory '/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build'
make[7]: Entering directory '/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build'
rm -f stage_current
make[7]: Leaving directory '/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build'
Comparing stages 2 and 3
warning: gcc/cc1-checksum.o differs
warning: gcc/cc1plus-checksum.o differs
Bootstrap comparison failure!
gcc/fortran/trans-common.o differs
gcc/cfg.o differs
gcc/coverage.o differs
gcc/except.o differs
gcc/dwarf2out.o differs
gcc/ggc-common.o differs
gcc/ira-costs.o differs
gcc/lto-streamer-in.o differs
gcc/lto-streamer-out.o differs
gcc/plugin.o differs
gcc/postreload-gcse.o differs
gcc/passes.o differs
gcc/statistics.o differs
gcc/asan.o differs
gcc/trans-mem.o differs
gcc/tree-cfg.o differs
gcc/tree-eh.o differs
gcc/tree-ssa-coalesce.o differs
gcc/tree-ssa-ccp.o differs
gcc/tree-ssa-live.o differs
gcc/tree-ssa-loop-ivopts.o differs
gcc/tree-ssa-phiopt.o differs
gcc/tree-ssa-threadupdate.o differs
gcc/tree-ssa-uncprop.o differs
gcc/tree-vectorizer.o differs
gcc/valtrack.o differs
gcc/vtable-verify.o differs
Makefile:18449: recipe for target 'compare' failed
make[6]: *** [compare] Error 1
make[6]: Leaving directory '/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build'
Makefile:18428: recipe for target 'stage3-bubble' failed
make[5]: *** [stage3-bubble] Error 2
make[5]: Leaving directory '/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build'
Makefile:886: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build'

real	37m23.058s
user	85m36.985s
sys	7m31.724s
************************************************************************
Error installing package gcc-4.9.2.p1
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /usr/ports/math/sage/work/sage-6.6/logs/pkgs/gcc-4.9.2.p1.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1 and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1' && '/usr/ports/math/sage/work/sage-6.6/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
Makefile:946: recipe for target '/usr/ports/math/sage/work/sage-6.6/local/var/lib/sage/installed/gcc-4.9.2.p1' failed
make[3]: *** [/usr/ports/math/sage/work/sage-6.6/local/var/lib/sage/installed/gcc-4.9.2.p1] Error 1
make[3]: Leaving directory '/usr/ports/math/sage/work/sage-6.6/build'
Makefile:416: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/usr/ports/math/sage/work/sage-6.6/build'

real	39m0.115s
user	85m58.062s
sys	8m1.889s
***************************************************************
Error building Sage.

The following package(s) may have failed to build:

package: gcc-4.9.2.p1
log file: /usr/ports/math/sage/work/sage-6.6/logs/pkgs/gcc-4.9.2.p1.log
build directory: /usr/ports/math/sage/work/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1

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.

Makefile:19: recipe for target 'build' failed
gmake[1]: *** [build] Error 1
gmake[1]: Leaving directory '/usr/ports/math/sage/work/sage-6.6'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/math/sage
Comment 1 Walter Schwarzenfeld 2018-01-10 06:59:45 UTC
I think this is overcome by events.