Found local metadata for gfan-0.6.2.p1
Using cached file /Applications/Sage3.app/Contents/Resources/sage/upstream/gfan0.6.2.tar.gz
gfan-0.6.2.p1
====================================================
Setting up build directory for gfan-0.6.2.p1
Finished extraction
Applying patches from ../patches...
Applying ../patches/Makefile.patch
patching file Makefile
Applying ../patches/maketestsreturnerror.patch
patching file src/app_test.cpp
Applying ../patches/nodel.patch
patching file src/app_main.cpp
Applying ../patches/truncate0008outputs.patch
patching file testsuite/0008PolynomialSetUnion/command
patching file testsuite/0008PolynomialSetUnion/output
patching file testsuite/0008PolynomialSetUnion/outputNew
****************************************************
Host system:
Darwin U 18.7.0 Darwin Kernel Version 18.7.0: Sun Dec 1 18:59:03 PST 2019; root:xnu-4903.278.19~1/RELEASE_X86_64 x86_64
****************************************************
C compiler: clang
C compiler version:
Apple clang version 11.0.0 (clang-1100.0.33.16)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
****************************************************
Package 'gfan' is currently not installed
Uninstalling 'gfan' with legacy uninstaller
Removing old version of gfan (if any)...
Now building gfan...
Building gfan-0.6.2.p1
src/polynomialgcd.cpp:286:6: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for(auto i=p.begin();i!=p.end();i++)dv=min(dv,i->degreeVector());
^
src/polynomialgcd.cpp:339:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto i=p.begin();
^
src/polynomialgcd.cpp:497:35: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
IntegerVectorList setTemp;for(auto c=observedExponents.begin();c!=observedExponents.end();c++)setTemp.push_back(*c);
^
src/polynomialgcd.cpp:621:8: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if((i==1000))
~^~~~~~
src/polynomialgcd.cpp:621:8: note: remove extraneous parentheses around the comparison to silence this warning
if((i==1000))
~ ^ ~
src/polynomialgcd.cpp:621:8: note: use '=' to turn this equality comparison into an assignment
if((i==1000))
^~
=
4 warnings generated.
src/vektor.cpp:99:36: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for(int i=0;i<v.size();i++)if(ret=v[i])break;
~~~^~~~~
src/vektor.cpp:99:36: note: place parentheses around the assignment to silence this warning
for(int i=0;i<v.size();i++)if(ret=v[i])break;
^
( )
src/vektor.cpp:99:36: note: use '==' to turn this assignment into an equality comparison
for(int i=0;i<v.size();i++)if(ret=v[i])break;
^
==
1 warning generated.
In file included from src/buchberger.cpp:13:
In file included from src/gebauermoeller.h:11:
src/packedmonomial.h:82:17: warning: expression result unused [-Wunused-value]
while(v>0){v>>1;l++;}
~^ ~
1 warning generated.
src/wallideal.cpp:955:7: warning: '/*' within block comment [-Wcomment]
/* IntegerVector maxAttained(n);
^
1 warning generated.
src/field_rationals.cpp:400:3: warning: '/*' within block comment [-Wcomment]
/* fprintf(Stderr,"Adding field rationals\n");
^
1 warning generated.
src/polymakefile.cpp:374:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
while((c>='0') && (c<='9')|| (c==' '))
~~~~~~~~~^~~~~~~~~~~~~
src/polymakefile.cpp:374:18: note: place parentheses around the '&&' expression to silence this warning
while((c>='0') && (c<='9')|| (c==' '))
^
( )
1 warning generated.
src/gfanlib_mixedvolume.cpp:72:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for(auto x=tuple.begin();x!=tuple.end();x++)
^
src/gfanlib_mixedvolume.cpp:84:26: error: no member named 'emplace_back' in 'std::__1::vector<gfan::SpecializedRTraverser<gfan::CircuitTableInt32, gfan::CircuitTableInt32::Double, gfan::CircuitTableInt32::Divisor>, std::__1::allocator<gfan::SpecializedRTraverser<gfan::CircuitTableInt32, gfan::CircuitTableInt32::Double, gfan::CircuitTableInt32::Divisor> > >'; did you mean '__emplace_back'?
for(int i=0;i<N;i++)T1.emplace_back(tuple2);
^~~~~~~~~~~~
__emplace_back
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:703:10: note: '__emplace_back' declared here
void __emplace_back(const value_type& __x) { push_back(__x); }
^
In file included from src/gfanlib_mixedvolume.cpp:11:
src/gfanlib_tropicalhomotopy.h:677:11: error: no member named 'emplace_back' in 'std::__1::vector<gfan::SingleTropicalHomotopyTraverser<gfan::CircuitTableInt32, gfan::CircuitTableInt32::Double, gfan::CircuitTableInt32::Divisor>::StackItem, std::__1::allocator<gfan::SingleTropicalHomotopyTraverser<gfan::CircuitTableInt32, gfan::CircuitTableInt32::Double, gfan::CircuitTableInt32::Divisor>::StackItem> >'
stack.emplace_back(StackItem(
~~~~~ ^
src/gfanlib_tropicalhomotopy.h:698:6: note: in instantiation of member function 'gfan::SingleTropicalHomotopyTraverser<gfan::CircuitTableInt32, gfan::CircuitTableInt32::Double, gfan::CircuitTableInt32::Divisor>::goToSecondChild' requested here
goToSecondChild();
^
src/gfanlib_tropicalhomotopy.h:888:23: note: in instantiation of member function 'gfan::SingleTropicalHomotopyTraverser<gfan::CircuitTableInt32, gfan::CircuitTableInt32::Double, gfan::CircuitTableInt32::Divisor>::goToNthChild' requested here
traversers[level].goToNthChild(n);
^
src/gfanlib_tropicalhomotopy.h:954:8: note: in instantiation of member function 'gfan::TropicalRegenerationTraverser<gfan::CircuitTableInt32, gfan::CircuitTableInt32::Double, gfan::CircuitTableInt32::Divisor>::goToNthChild' requested here
T.goToNthChild(index);
^
src/gfanlib_mixedvolume.cpp:84:39: note: in instantiation of member function 'gfan::SpecializedRTraverser<gfan::CircuitTableInt32, gfan::CircuitTableInt32::Double, gfan::CircuitTableInt32::Divisor>::moveToNext' requested here
for(int i=0;i<N;i++)T1.emplace_back(tuple2);
^
1 warning and 2 errors generated.
make[4]: *** [src/gfanlib_mixedvolume.o] Error 1
********************************************************************************
Error building gfan-0.6.2.p1
********************************************************************************
real 6m34.145s
user 4m14.373s
sys 0m17.907s
************************************************************************
Error installing package gfan-0.6.2.p1
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the log file
/Applications/Sage3.app/Contents/Resources/sage/logs/pkgs/gfan-0.6.2.p1.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Applications/Sage3.app/Contents/Resources/sage/local/var/tmp/sage/build/gfan-0.6.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 '/Applications/Sage3.app/Contents/Resources/sage/local/var/tmp/sage/build/gfan-0.6.2.p1' && '/Applications/Sage3.app/Contents/Resources/sage/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
Found local metadata for gfan-0.6.2.p1
Using cached file /Applications/Sage3.app/Contents/Resources/sage/upstream/gfan0.6.2.tar.gz
gfan-0.6.2.p1
====================================================
Setting up build directory for gfan-0.6.2.p1
Finished extraction
Applying patches from ../patches...
Applying ../patches/Makefile.patch
patching file Makefile
Applying ../patches/maketestsreturnerror.patch
patching file src/app_test.cpp
Applying ../patches/nodel.patch
patching file src/app_main.cpp
Applying ../patches/truncate0008outputs.patch
patching file testsuite/0008PolynomialSetUnion/command
patching file testsuite/0008PolynomialSetUnion/output
patching file testsuite/0008PolynomialSetUnion/outputNew
****************************************************
Host system:
Darwin U 18.7.0 Darwin Kernel Version 18.7.0: Sun Dec 1 18:59:03 PST 2019; root:xnu-4903.278.19~1/RELEASE_X86_64 x86_64
****************************************************
C compiler: clang
C compiler version:
Apple clang version 11.0.0 (clang-1100.0.33.16)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
****************************************************
Package 'gfan' is currently not installed
Uninstalling 'gfan' with legacy uninstaller
Removing old version of gfan (if any)...
Now building gfan...
Building gfan-0.6.2.p1
src/polynomialgcd.cpp:286:6: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for(auto i=p.begin();i!=p.end();i++)dv=min(dv,i->degreeVector());
^
src/polynomialgcd.cpp:339:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto i=p.begin();
^
src/polynomialgcd.cpp:497:35: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
IntegerVectorList setTemp;for(auto c=observedExponents.begin();c!=observedExponents.end();c++)setTemp.push_back(*c);
^
src/polynomialgcd.cpp:621:8: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if((i==1000))
~^~~~~~
src/polynomialgcd.cpp:621:8: note: remove extraneous parentheses around the comparison to silence this warning
if((i==1000))
~ ^ ~
src/polynomialgcd.cpp:621:8: note: use '=' to turn this equality comparison into an assignment
if((i==1000))
^~
=
4 warnings generated.
src/vektor.cpp:99:36: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for(int i=0;i<v.size();i++)if(ret=v[i])break;
~~~^~~~~
src/vektor.cpp:99:36: note: place parentheses around the assignment to silence this warning
for(int i=0;i<v.size();i++)if(ret=v[i])break;
^
( )
src/vektor.cpp:99:36: note: use '==' to turn this assignment into an equality comparison
for(int i=0;i<v.size();i++)if(ret=v[i])break;
^
==
1 warning generated.
In file included from src/buchberger.cpp:13:
In file included from src/gebauermoeller.h:11:
src/packedmonomial.h:82:17: warning: expression result unused [-Wunused-value]
while(v>0){v>>1;l++;}
~^ ~
1 warning generated.
src/wallideal.cpp:955:7: warning: '/*' within block comment [-Wcomment]
/* IntegerVector maxAttained(n);
^
1 warning generated.
src/field_rationals.cpp:400:3: warning: '/*' within block comment [-Wcomment]
/* fprintf(Stderr,"Adding field rationals\n");
^
1 warning generated.
src/polymakefile.cpp:374:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
while((c>='0') && (c<='9')|| (c==' '))
~~~~~~~~~^~~~~~~~~~~~~
src/polymakefile.cpp:374:18: note: place parentheses around the '&&' expression to silence this warning
while((c>='0') && (c<='9')|| (c==' '))
^
( )
1 warning generated.
src/gfanlib_mixedvolume.cpp:72:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for(auto x=tuple.begin();x!=tuple.end();x++)
^
src/gfanlib_mixedvolume.cpp:84:26: error: no member named 'emplace_back' in 'std::__1::vector<gfan::SpecializedRTraverser<gfan::CircuitTableInt32, gfan::CircuitTableInt32::Double, gfan::CircuitTableInt32::Divisor>, std::__1::allocator<gfan::SpecializedRTraverser<gfan::CircuitTableInt32, gfan::CircuitTableInt32::Double, gfan::CircuitTableInt32::Divisor> > >'; did you mean '__emplace_back'?
for(int i=0;i<N;i++)T1.emplace_back(tuple2);
^~~~~~~~~~~~
__emplace_back
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:703:10: note: '__emplace_back' declared here
void __emplace_back(const value_type& __x) { push_back(__x); }
^
In file included from src/gfanlib_mixedvolume.cpp:11:
src/gfanlib_tropicalhomotopy.h:677:11: error: no member named 'emplace_back' in 'std::__1::vector<gfan::SingleTropicalHomotopyTraverser<gfan::CircuitTableInt32, gfan::CircuitTableInt32::Double, gfan::CircuitTableInt32::Divisor>::StackItem, std::__1::allocator<gfan::SingleTropicalHomotopyTraverser<gfan::CircuitTableInt32, gfan::CircuitTableInt32::Double, gfan::CircuitTableInt32::Divisor>::StackItem> >'
stack.emplace_back(StackItem(
~~~~~ ^
src/gfanlib_tropicalhomotopy.h:698:6: note: in instantiation of member function 'gfan::SingleTropicalHomotopyTraverser<gfan::CircuitTableInt32, gfan::CircuitTableInt32::Double, gfan::CircuitTableInt32::Divisor>::goToSecondChild' requested here
goToSecondChild();
^
src/gfanlib_tropicalhomotopy.h:888:23: note: in instantiation of member function 'gfan::SingleTropicalHomotopyTraverser<gfan::CircuitTableInt32, gfan::CircuitTableInt32::Double, gfan::CircuitTableInt32::Divisor>::goToNthChild' requested here
traversers[level].goToNthChild(n);
^
src/gfanlib_tropicalhomotopy.h:954:8: note: in instantiation of member function 'gfan::TropicalRegenerationTraverser<gfan::CircuitTableInt32, gfan::CircuitTableInt32::Double, gfan::CircuitTableInt32::Divisor>::goToNthChild' requested here
T.goToNthChild(index);
^
src/gfanlib_mixedvolume.cpp:84:39: note: in instantiation of member function 'gfan::SpecializedRTraverser<gfan::CircuitTableInt32, gfan::CircuitTableInt32::Double, gfan::CircuitTableInt32::Divisor>::moveToNext' requested here
for(int i=0;i<N;i++)T1.emplace_back(tuple2);
^
1 warning and 2 errors generated.
make[4]: *** [src/gfanlib_mixedvolume.o] Error 1
********************************************************************************
Error building gfan-0.6.2.p1
********************************************************************************
real 0m7.429s
user 0m3.343s
sys 0m2.241s
************************************************************************
Error installing package gfan-0.6.2.p1
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the log file
/Applications/Sage3.app/Contents/Resources/sage/logs/pkgs/gfan-0.6.2.p1.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Applications/Sage3.app/Contents/Resources/sage/local/var/tmp/sage/build/gfan-0.6.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 '/Applications/Sage3.app/Contents/Resources/sage/local/var/tmp/sage/build/gfan-0.6.2.p1' && '/Applications/Sage3.app/Contents/Resources/sage/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************