#6177: [with patch, needs work] Update PolyBoRi to newest upstream release
-------------------------+--------------------------------------------------
 Reporter:  malb         |       Owner:  malb          
     Type:  enhancement  |      Status:  new           
 Priority:  major        |   Milestone:  sage-4.1.2    
Component:  packages     |    Keywords:  M4RI, PolyBoRi
 Reviewer:               |      Author:                
   Merged:               |  
-------------------------+--------------------------------------------------

Comment(by drkirkby):

 This appears to suffer the same issue earlier releases of PolyBoRi had on
 Solaris. Even if the Sun Studio compiler is not in the path, and CC, CXX
 are not set, so this attempts to use the Sun C++ compiler. That fails
 miserably.

 Changes had to be made to the earlier PolyBoRi code to allow this to build
 with gcc on Solaris if the Sun compiler was present. I assume those
 changes will need to be reintegrated.

 Here you can see CC and CXX are not set
 {{{
 drkir...@smudge:[~/sage/sage-4.1.1] $ echo $CC

 drkir...@smudge:[~/sage/sage-4.1.1] $ echo $CXX

 drkir...@smudge:[~/sage/sage-4.1.1] $
 }}}

 But still the package uses Sun's C++ compiler.

 {{{
 /opt/sunstudio12.1/bin/CC -o polybori/src/BoolePolyRing.o -c -O3 -Wno-
 long-long -Wreturn-type -g -fPIC -ftemplate-depth-100 -g -fPIC -O3 -Wno-
 long-long -Wreturn -type -g -fPIC -DNDEBUG -DHAVE_GD -DPACKED -DHAVE_M4RI
 -DHAVE_GD -DHAVE_IEEE_754  -DBSD
 -I/export/home/drkirkby/sage/sage-4.1.1/spkg/build/polybori-0.6.3-2009081
 0/src/boost_1_34_1.cropped
 -I/export/home/drkirkby/sage/sage-4.1.1/local/include
 -I/export/home/drkirkby/sage/sage-4.1.1/local/include/python2.6
 -Ipolybori/incl ude -ICudd/obj -ICudd/util -ICudd/cudd -ICudd/mtr
 -ICudd/st -ICudd/epd polybori/ src/BoolePolyRing.cc
 CC: Warning: Option -Wno-long-long passed to ld, if ld is invoked, ignored
 other wise
 CC: Warning: Option -Wreturn-type passed to ld, if ld is invoked, ignored
 otherw ise
 CC: Warning: Option -fPIC passed to ld, if ld is invoked, ignored
 otherwise
 CC: Warning: Option -ftemplate-depth-100 passed to ld, if ld is invoked,
 ignored  otherwise
 CC: Warning: Option -fPIC passed to ld, if ld is invoked, ignored
 otherwise
 CC: Warning: Option -Wno-long-long passed to ld, if ld is invoked, ignored
 other wise
 CC: Warning: Option -Wreturn-type passed to ld, if ld is invoked, ignored
 otherw ise
 CC: Warning: Option -fPIC passed to ld, if ld is invoked, ignored
 otherwise
 "polybori/include/CDDManager.h", line 103: Warning: Last line in file
 "polybori/ include/cacheopts.h" is not terminated with a newline.
 "polybori/include/CCuddZDD.h", line 308: Warning (Anachronism): Formal
 argument func of type DdNode*(*)(DdManager*,DdNode*,int) in call to
 polybori::CCuddDDBase
 <polybori::CCuddZDD>::apply(DdNode*(*)(DdManager*,DdNode*,int), int) const
 is be ing passed extern "C" DdNode*(*)(DdManager*,DdNode*,int).
 "polybori/include/CCuddZDD.h", line 308: Warning (Anachronism): Formal
 argument func of type DdNode*(*)(DdManager*,DdNode*,int) in call to
 polybori::CCuddDDBase
 <polybori::CCuddZDD>::apply(DdNode*(*)(DdManager*,DdNode*,int), int) const
 is be ing passed extern "C" DdNode*(*)(DdManager*,DdNode*,int).
 "polybori/include/CCuddZDD.h", line 308: Warning (Anachronism): Formal
 argument func of type DdNode*(*)(DdManager*,DdNode*,int) in call to
 polybori::CCuddDDBase
 <polybori::CCuddZDD>::apply(DdNode*(*)(DdManager*,DdNode*,int), int) const
 is be ing passed extern "C" DdNode*(*)(DdManager*,DdNode*,int).
 "polybori/include/CCuddZDD.h", line 313: Warning (Anachronism): Formal
 argument func of type DdNode*(*)(DdManager*,DdNode*,DdNode*,DdNode*) in
 call to polybori:
 
:CCuddDDBase<polybori::CCuddZDD>::apply(DdNode*(*)(DdManager*,DdNode*,DdNode*,Dd
 Node*), const polybori::CCuddZDD&, const polybori::CCuddZDD&) const is
 being pas sed extern "C" DdNode*(*)(DdManager*,DdNode*,DdNode*,DdNode*).
 "polybori/include/CCuddZDD.h", line 322: Warning (Anachronism): Formal
 argument func of type int(*)(DdManager*,DdNode*) in call to
 polybori::CCuddDDBase<polybor
 i::CCuddZDD>::apply(int(*)(DdManager*,DdNode*)) const is being passed
 extern "C"  int(*)(DdManager*,DdNode*).
 "polybori/include/CCuddZDD.h", line 323: Warning (Anachronism): Formal
 argument func of type int(*)(DdManager*,DdNode*) in call to
 polybori::CCuddDDBase<polybor
 i::CCuddZDD>::apply(int(*)(DdManager*,DdNode*)) const is being passed
 extern "C"  int(*)(DdManager*,DdNode*).
 "polybori/include/CCuddZDD.h", line 327: Warning (Anachronism): Formal
 argument func of type int(*)(DdManager*,DdNode*) in call to
 polybori::CCuddDDBase<polybor
 i::CCuddZDD>::memApply<int>(int(*)(DdManager*,DdNode*)) const is being
 passed ex tern "C" int(*)(DdManager*,DdNode*).
 "polybori/include/CCuddZDD.h", line 330: Warning (Anachronism): Formal
 argument func of type double(*)(DdManager*,DdNode*) in call to
 polybori::CCuddDDBase<poly
 bori::CCuddZDD>::memApply<double>(double(*)(DdManager*,DdNode*)) const is
 being passed extern "C" double(*)(DdManager*,DdNode*).
 "polybori/include/CCuddInterface.h", line 192: Warning (Anachronism):
 Formal arg ument func of type DdNode*(*)(DdManager*,int) in call to
 polybori::CCuddInterfac e::apply(DdNode*(*)(DdManager*,int), int) const is
 being passed extern "C" DdNod e*(*)(DdManager*,int).
 "polybori/include/CCuddInterface.h", line 195: Warning (Anachronism):
 Formal arg ument func of type DdNode*(*)(DdManager*,int) in call to
 polybori::CCuddInterfac e::apply(DdNode*(*)(DdManager*,int), int) const is
 being passed extern "C" DdNod e*(*)(DdManager*,int).
 "polybori/include/CCuddInterface.h", line 198: Warning (Anachronism):
 Formal arg ument func of type DdNode*(*)(DdManager*) in call to
 polybori::CCuddInterface::a pply(DdNode*(*)(DdManager*)) const is being
 passed extern "C" DdNode*(*)(DdManag er*).
 "polybori/include/CCuddNavigator.h", line 157: Error: iterator_traits is
 not a m ember of std.
 "polybori/include/CCuddNavigator.h", line 157: Error: A declaration does
 not spe cify a tag or an identifier.
 "polybori/include/CCuddNavigator.h", line 157: Error: Use ";" to terminate
 decla rations.
 "polybori/include/CCuddNavigator.h", line 157: Error: "}" expected instead
 of "< ".
 "polybori/include/CCuddNavigator.h", line 157: Error: Use ";" to terminate
 decla rations.
 "polybori/include/CCuddNavigator.h", line 157: Error: A declaration was
 expected  instead of "<".
 "polybori/include/CCuddNavigator.h", line 157: Error: "," expected instead
 of "> ".
 "polybori/include/CCuddNavigator.h", line 159: Error: value_type is not
 defined.
 "polybori/include/CCuddNavigator.h", line 163: Error: There must be an
 identifie r to declare.
 "polybori/include/CCuddNavigator.h", line 171: Error: "explicit" is not
 allowed here.
 "polybori/include/CCuddNavigator.h", line 171: Error: ")" expected instead
 of "& ".
 "polybori/include/CCuddNavigator.h", line 174: Error: ")" expected instead
 of "& ".
 "polybori/include/CCuddNavigator.h", line 177: Error: Type name expected
 instead  of "CCuddNavigator".
 "polybori/include/CCuddNavigator.h", line 177: Error: Illegal number of
 argument s for ~file level().
 "polybori/include/CCuddNavigator.h", line 180: Error: "," expected instead
 of "& ".
 "polybori/include/CCuddNavigator.h", line 183: Error: self is not defined.
 "polybori/include/CCuddNavigator.h", line 183: Error: The function
 "thenBranch()  const" cannot be declared const.
 "polybori/include/CCuddNavigator.h", line 183: Error: Can only use this
 within a  non-static member function.
 "polybori/include/CCuddNavigator.h", line 183: Error: Only a function may
 be cal led.
 "polybori/include/CCuddNavigator.h", line 183: Error: Only a function may
 be cal led.
 "polybori/include/CCuddNavigator.h", line 186: Error: Multiple declaration
 for s elf.
 "polybori/include/CCuddNavigator.h", line 186: Error: "," expected instead
 of "& ".
 "polybori/include/CCuddNavigator.h", line 189: Error: self is not defined.
 "polybori/include/CCuddNavigator.h", line 189: Error: The function
 "elseBranch()  const" cannot be declared const.
 "polybori/include/CCuddNavigator.h", line 189: Error: Can only use this
 within a  non-static member function.
 Compilation aborted, too many Error messages.
 scons: *** [polybori/src/BoolePolyRing.o] Error 1
 scons: building terminated because of errors.
 Error building PolyBoRi.

 real    0m22.968s
 user    0m17.385s
 sys     0m4.811s
 sage: An error occurred while installing polybori-0.6.3-20090810
 Please email sage-devel http://groups.google.com/group/sage-devel
 explaining the problem and send the relevant part of
 of /export/home/drkirkby/sage/sage-4.1.1/install.log.  Describe your
 computer, o perating system, etc.
 If you want to try to fix the problem, yourself *don't* just cd to
 /export/home/drkirkby/sage/sage-4.1.1/spkg/build/polybori-0.6.3-20090810
 and typ e 'make'.
 Instead type "/export/home/drkirkby/sage/sage-4.1.1/sage -sh"
 in order to set all environment variables correctly, then cd to
 /export/home/drkirkby/sage/sage-4.1.1/spkg/build/polybori-0.6.3-20090810
 (When you are done debugging, you can type "exit" to leave the
 subshell.)
 make[1]: *** [installed/polybori-0.6.3-20090810] Error 1
 make[1]: Leaving directory `/export/home/drkirkby/sage/sage-4.1.1/spkg'
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6177#comment:29>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to