On Sat, Apr 5, 2008 at 8:51 AM, mabshoff <[EMAIL PROTECTED]> wrote: > > > > > On Apr 5, 5:43 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: > > I got a compilation error on a macbook with OS10.4. However, it was > > trying to compile a > > version loaded on a firewire external drive, which may be the issue. > > Anyway, the problem was with linbox and here is the tail: > > > > ld: multiple definitions of symbol __ZN6LinBox11commentatorE > > .libs/linbox_wrap.o definition of __ZN6LinBox11commentatorE in section > > (__DATA,__common) > > > /Volumes/G-DRIVE-MINI/sagestuff/sage-3.0.alpha1/local/lib/liblinbox.dylib(single > > module) definition of __ZN6LinBox11commentatorE > > /usr/bin/libtool: internal link edit command failed > > make[2]: *** [liblinboxwrap.la] Error 1 > > Error building linboxwrap > > /bin/sh ./libtool --tag=CXX --mode=link g++ -g -fPIC > > -I"/Volumes/G-DRIVE-MINI/sagestuff/sage-3.0.alpha1/local/include" > > -I"/Volumes/G-DRIVE-MINI/sagestuff/sage-3.0.alpha1/local/include/linbox" > > -L"/Volumes/G-DRIVE-MINI/sagestuff/sage-3.0.alpha1/local/lib" > > -version-info 0:0:0 -o liblinboxwrap.la -rpath > > /Volumes/G-DRIVE-MINI/sagestuff/sage-3.0.alpha1/local/lib > > linbox_wrap.lo -llinbox /usr/lib/libcblas.dylib > > g++ -dynamiclib -single_module ${wl}-flat_namespace ${wl}-undefined > > ${wl}suppress -o .libs/liblinboxwrap.0.0.0.dylib .libs/linbox_wrap.o > > -L/Volumes/G-DRIVE-MINI/sagestuff/sage-3.0.alpha1/local/lib > > /Volumes/G-DRIVE-MINI/sagestuff/sage-3.0.alpha1/local/lib/liblinbox.dylib > > -install_name > > > /Volumes/G-DRIVE-MINI/sagestuff/sage-3.0.alpha1/local/lib/liblinboxwrap.0.dylib > > -Wl,-compatibility_version -Wl,1 -Wl,-current_version -Wl,1.0 > > ld: multiple definitions of symbol __ZN6LinBox11commentatorE > > .libs/linbox_wrap.o definition of __ZN6LinBox11commentatorE in section > > (__DATA,__common) > > > /Volumes/G-DRIVE-MINI/sagestuff/sage-3.0.alpha1/local/lib/liblinbox.dylib(single > > module) definition of __ZN6LinBox11commentatorE > > /usr/bin/libtool: internal link edit command failed > > make[2]: *** [liblinboxwrap.la] Error 1 > > Error installing linboxwrap > > > > real 1m54.803s > > user 1m8.964s > > sys 0m38.311s > > sage: An error occurred while installing linbox-1.1.5 > > Please email sage-develhttp://groups.google.com/group/sage-devel > > > explaining the problem and send the relevant part of > > of /Volumes/G-DRIVE-MINI/sagestuff/sage-3.0.alpha1/install.log. > > Describe your computer, operating system, etc. > > If you want to try to fix the problem, yourself *don't* just cd to > > /Volumes/G-DRIVE-MINI/sagestuff/sage-3.0.alpha1/spkg/build/linbox-1.1.5 > > and type 'make'. > > Instead type "/Volumes/G-DRIVE-MINI/sagestuff/sage-3.0.alpha1/sage -sh" > > in order to set all environment variables correctly, then cd to > > /Volumes/G-DRIVE-MINI/sagestuff/sage-3.0.alpha1/spkg/build/linbox-1.1.5 > > (When you are done debugging, you can type "exit" to leave the > > subshell.) > > make[1]: *** [installed/linbox-1.1.5] Error 1 > > > > real 45m39.810s > > user 27m31.617s > > sys 15m37.378s > > > > Hi David, > > that is exactly the failure I mentioned above. William did have some > patch that disabled the commentator since we do not use it. Clement is > on a plane right now and William doesn't seem to be online yet, so we > will likely look at this during Bug Day 11.
I don't personally know about any commentator / linbox problems. Sage-3.0.alpha1 *built* fine on all supported Sage platforms. There are however a *lot* of misc doctest failures all over the map on PowerPC: {{{ sage -t devel/sage/sage/rings/complex_double.pyx ********************************************** ************************ File "/Users/was/build/sage-3.0.alpha1/tmp/complex_double.py", line 179: sage: CDF.random_element() Expected: -0.436810529675 + 0.736945423566*I Got: 0.736945423566 - 0.436810529675*I ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/complex_double.py", line 181: sage: CDF.random_element(-10,10,-10,10) Expected: -7.08874026302 - 9.54135400334*I Got: -9.54135400334 - 7.08874026302*I ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/complex_double.py", line 183: sage: CDF.random_element(-10^20,10^20,-2,2) Expected: -7.58765473764e+19 + 0.925549022839*I Got: 4.62774511419e+19 - 1.51753094753*I ********************************************************************** 1 items had failures: 3 of 4 in __main__.example_7 ***Test Failed*** 3 failures. }}} This is not technically an error, but looks dumb: {{{ sage -t devel/sage/sage/plot/animate.py dyld: Library not loaded: /usr/local/lib/libfr eetype6.dylib Referenced from: /usr/local/bin/convert Reason: image not found sh: line 1: 67750 Trace/BPT trap convert -delay 20 -loop 0 *.png "/Users/was/build/sage-3.0.alpha 1/sage0.gif" [12.6 s] }}} For this, we need to speed up homspace or increase the timeout, or mark some doctests #long: {{{ sage -t devel/sage/sage/modular/abvar/homspace.py *** *** Error: TIMED OUT! *** *** *** *** Error: TIMED OUT! *** *** [369.2 s] }}} The new randstate stuff is massively broken on ppc, evidently: {{{ sage -t devel/sage/sage/misc/randstate.pyx ********************************************** ************************ File "/Users/was/build/sage-3.0.alpha1/tmp/randstate.py", line 47: : rtest() Expected: (303, -0.187141682737491, 1/2*x^2 - 1/95*x - 1/2, (1,2), 1698070399, 8045, 0.96619117347084138) Got: (303, -0.187141682737491, 1/2*x^2 - 1/95*x - 1/2, (1,2)(4,5), 1698070399, 8045, 0.96619117347084138) ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/randstate.py", line 50: : rtest() Expected: (978, 0.184109262667515, -3*x^2 - 1/12, (2,3), 1046254370, 60359, 0.83350776541997362) Got: (978, 0.184109262667515, -3*x^2 - 1/12, (1,2,3), 1046254370, 60359, 0.83350776541997362) ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/randstate.py", line 53: : rtest() Expected: (207, 0.505364206568040, 4*x^2 + 1/2, (1,2)(4,5), 2137873234, 27695, 0.19982565117278328) Got: (207, 0.505364206568040, 4*x^2 + 1/2, (4,5), 2137873234, 27695, 0.19982565117278328) ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/randstate.py", line 56: : rtest() Expected: (303, -0.187141682737491, 1/2*x^2 - 1/95*x - 1/2, (1,2), 1698070399, 8045, 0.96619117347084138) Got: (303, -0.187141682737491, 1/2*x^2 - 1/95*x - 1/2, (1,2)(4,5), 1698070399, 8045, 0.96619117347084138) ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/randstate.py", line 59: : rtest() Expected: (978, 0.184109262667515, -3*x^2 - 1/12, (2,3), 1046254370, 60359, 0.83350776541997362) Got: (978, 0.184109262667515, -3*x^2 - 1/12, (1,2,3), 1046254370, 60359, 0.83350776541997362) ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/randstate.py", line 62: : rtest() Expected: (207, 0.505364206568040, 4*x^2 + 1/2, (1,2)(4,5), 2137873234, 27695, 0.19982565117278328) Got: (207, 0.505364206568040, 4*x^2 + 1/2, (4,5), 2137873234, 27695, 0.19982565117278328) ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/randstate.py", line 72: : rtest() Expected: (720, 0.0216737401150802, x^2 - x, (), 1506569166, 14005, 0.92053315995181839) Got: (720, 0.0216737401150802, x^2 - x, (1,3,2)(4,5), 1506569166, 14005, 0.92053315995181839) ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/randstate.py", line 206: : r1 = rtest(); r1 Expected: (303, -0.187141682737491, 1/2*x^2 - 1/95*x - 1/2, (1,2), 1698070399, 8045, 0.96619117347084138) Got: (303, -0.187141682737491, 1/2*x^2 - 1/95*x - 1/2, (1,2)(4,5), 1698070399, 8045, 0.96619117347084138) ********************************************************************** ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/randstate.py", line 208: : r2 = rtest(); r2 Expected: (105, -0.581229341007821, -x^2 - x - 6, (1,3,2)(4,5), 697338742, 1271, 0.001767155077382232) Got: (105, -0.581229341007821, -x^2 - x - 6, (2,3), 697338742, 1271, 0.001767155077382232) ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/randstate.py", line 216: : with seed(1): rtest() Expected: (978, 0.184109262667515, -3*x^2 - 1/12, (2,3), 1046254370, 60359, 0.83350776541997362) Got: (978, 0.184109262667515, -3*x^2 - 1/12, (1,2,3), 1046254370, 60359, 0.83350776541997362) ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/randstate.py", line 218: : r2m = rtest(); r2m Expected: (105, -0.581229341007821, -x^2 - x - 6, (1,3,2)(4,5), 697338742, 19769, 0.001767155077382232) Got: (105, -0.581229341007821, -x^2 - x - 6, (2,3), 697338742, 19769, 0.001767155077382232) ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/randstate.py", line 233: : with seed(1): (rtest(), rtest()) Expected: ((978, 0.184109262667515, -3*x^2 - 1/12, (2,3), 1046254370, 60359, 0.83350776541997362), (138, -0.2475 78366457583, 2*x - 24, (), 1077419109, 10234, 0.0033332230808060803)) Got: ((978, 0.184109262667515, -3*x^2 - 1/12, (1,2,3), 1046254370, 60359, 0.83350776541997362), (138, -0.24 7578366457583, 2*x - 24, (4,5), 1077419109, 10234, 0.0033332230808060803)) ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/randstate.py", line 248: : try: ctx.__enter__() rtest() finally: ctx.__exit__(None, None, None) Expected: <sage.misc.randstate.randstate object at 0x...> (978, 0.184109262667515, -3*x^2 - 1/12, (2,3), 1046254370, 60359, 0.83350776541997362) False Got: <sage.misc.randstate.randstate object at 0x6e258a0> (978, 0.184109262667515, -3*x^2 - 1/12, (1,2,3), 1046254370, 60359, 0.83350776541997362) False ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/randstate.py", line 629: sage: gap.Random(1, 10^50) Expected: 24922966241004817547714978350347109473543873184564 Got: 97144566318213989637952954803537490912828430192472 ********************************************************************** 2 items had failures: 13 of 60 in __main__.example_0 1 of 4 in __main__.example_10 ***Test Failed*** 14 failures. For whitespace errors, see the file /Users/was/build/sage-3.0.alpha1/tmp/.doctest_randstate.py [19.4 s] }}} inline_fortran is broken here too: {{{ sage -t devel/sage/sage/misc/inline_fortran.py ********************************************** ************************ File "/Users/was/build/sage-3.0.alpha1/tmp/inline_fortran.py", line 28: sage: test_fortran(s) # -- requires fortran Expected nothing Got: Found executable /Users/was/build/sage-3.0.alpha1/local/bin/sage-g77_shared Found executable /Users/was/build/sage-3.0.alpha1/local/bin/sage_fortran Found executable /usr/bin/ld Found executable /usr/bin/ar Found executable /usr/bin/ranlib /tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5/fortranobject.c: In function ?fortran_doc?: /tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5/fortranobject.c:123: warning: format ?%d? expects type ?int?, b ut argument 4 has type ?long int? /tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5/fortranobject.c:125: warning: format ?%d? expects type ?int?, b ut argument 4 has type ?long int? /tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5/fortranobject.c:129: warning: format ?%d? expects type ?int?, b ut argument 4 has type ?long int? /tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5/fortranobject.c:131: warning: format ?%d? expects type ?int?, b ut argument 4 has type ?long int? /tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5/fortranobject.c: In function ?array_from_pyobj?: /tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5/fortranobject.c:540: warning: format ?%d? expects type ?int?, b ut argument 3 has type ?long int? /tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5/fortranobject.c: In function ?check_and_fix_dimensions?: /tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5/fortranobject.c:703: warning: format ?%d? expects type ?int?, b ut argument 4 has type ?long int? /tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5/fortranobject.c:703: warning: format ?%d? expects type ?int?, b ut argument 5 has type ?long int? /tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5/fortranobject.c:716: warning: format ?%d? expects type ?int?, b ut argument 4 has type ?long int? /tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5/fortranobject.c:729: warning: format ?%d? expects type ?int?, b ut argument 3 has type ?npy_intp? /tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5/fortranobject.c:729: warning: format ?%d? expects type ?int?, b ut argument 4 has type ?npy_intp? /tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5/fortranobject.c:741: warning: format ?%d? expects type ?int?, b ut argument 4 has type ?long int? /tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5/fortranobject.c:741: warning: format ?%d? expects type ?int?, b ut argument 5 has type ?npy_intp? /tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5/fortranobject.c:769: warning: format ?%d? expects type ?int?, b ut argument 4 has type ?long int? /tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5/fortranobject.c:769: warning: format ?%d? expects type ?int?, b ut argument 5 has type ?npy_intp? /tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5/fortranobject.c:787: warning: format ?%d? expects type ?int?, b ut argument 3 has type ?npy_intp? /tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5/fortranobject.c:787: warning: format ?%d? expects type ?int?, b ut argument 4 has type ?npy_intp? /tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5/fortranobject.c:788: warning: format ?%d? expects type ?int?, but argument 3 has type ?long int? /tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5/fortranobject.c:790: warning: format ?%d? expects type ?int?, but argument 3 has type ?long int? Using built-in specs. Target: Configured with: ../configure --enable-languages=c Thread model: posix gcc version 4.0.3 (g95 0.91!) Jun 4 2007 /Users/was/build/sage-3.0.alpha1/local/bin/../lib/gcc-lib/powerpc-apple-darwin6.8/4.0.3//f951 /Users/was/.sage//temp/fermat.math.harvard.edu/62304//tmp_0.f -fPIC -quiet -dumpbase tmp_0.f -auxbase-strip /tmp/tmpmoChbe/Users/was/.sage/temp/fermat.math.harvard.edu/62304/tmp_0.o -O -version -fPIC -ffixed-form -fno-second-underscore -I/tmp/tmpmoChbe/src.macosx-10.3-ppc-2.5 -I/Users/was/build/sage-3.0.alpha1/local/lib/python/site-packages/numpy/core/include -I/Users/was/build/sage-3.0.alpha1/local/include/python2.5 -o /var/tmp//cc039wZf.s G95 Fortran 95 version 4.0.3 (g95 0.91!) Jun 4 2007 (powerpc-apple-darwin6.8) compiled by GNU C version 3.1 20020420 (prerelease). GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 as -arch ppc -o /tmp/tmpmoChbe/Users/was/.sage/temp/fermat.math.harvard.edu/62304/tmp_0.o /var/tmp//cc039wZf.s <BLANKLINE> ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/inline_fortran.py", line 31: sage: fib(n,int(10)) # -- requires fortran Exception raised: Traceback (most recent call last): File "/Users/was/build/sage-3.0.alpha1/local/lib/python2.5/doctest.py", line 1212, in __run compileflags, 1) in test.globs File "<doctest __main__.example_0[7]>", line 1, in <module> fib(n,int(Integer(10))) # -- requires fortran###line 31: sage: fib(n,int(10)) # -- requires fortran NameError: name 'fib' is not defined ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/inline_fortran.py", line 32: sage: n # -- requires fortran Expected: array([ 0., 1., 1., 2., 3., 5., 8., 13., 21., 34.]) Got: array([ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9.]) ********************************************************************** 1 items had failures: 3 of 9 in __main__.example_0 ***Test Failed*** 3 failures. For whitespace errors, see the file /Users/was/build/sage-3.0.alpha1/tmp/.doctest_inline_fortran.py }}} More stuff probably related to random stuff. {{{ [16.6 s]sage -t devel/sage/sage/groups/perm_gps/permgroup.py ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/permgroup.py", line 709: sage: G.random_element() Expected: (1,2)(4,5) Got: (2,3) ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/permgroup.py", line 1270: sage: g = G.random_element(); g Expected: (1,3) Got: (1,2)(3,4) ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/permgroup.py", line 1272: sage: G.normalizer(g) Expected: Group( [ (1,3), (2,4) ] ) Got: Group( [ (1,2)(3,4), (1,4)(2,3) ] ) ********************************************************************** 2 items had failures: 1 of 3 in __main__.example_22 2 of 6 in __main__.example_39 ***Test Failed*** 3 failures. For whitespace errors, see the file /Users/was/build/sage-3.0.alpha1/tmp/.doctest_permgroup.py [19.1 s] }}} No clue: {{{ sage -t devel/sage/sage/groups/matrix_gps/unitary.py ********************************************** ************************ File "/Users/was/build/sage-3.0.alpha1/tmp/unitary.py", line 21: sage: G.random() Expected: [ 3*a 2*a 4*a + 3] [ 3 2*a + 4 3*a] [4*a + 1 4*a + 1 3*a + 2] Got: [ 4 2*a + 4 2*a] [3*a + 3 a + 1 a + 3] [2*a + 2 a + 1 3*a + 1] ********************************************************************** 1 items had failures: 1 of 8 in __main__.example_0 ***Test Failed*** 1 failures. }}} {{{ sage -t devel/sage/sage/groups/matrix_gps/symplectic.py ********************************************** ************************ File "/Users/was/build/sage-3.0.alpha1/tmp/symplectic.py", line 14: sage: G.random() Expected: [1 0 5 6] [0 5 2 4] [4 0 2 3] [3 6 2 0] Got: [4 6 2 0] [2 5 4 0] [3 3 5 1] [2 0 5 5] ********************************************************************** 1 items had failures: 1 of 6 in __main__.example_0 ***Test Failed*** 1 failures. For whitespace errors, see the file /Users/was/build/sage-3.0.alpha1/tmp/.doctest_symplectic.py [7.0 s] }}} {{{ File "/Users/was/build/sage-3.0.alpha1/tmp/orthogonal.py", line 212: sage: GO( 3, GF(7), 0).random() Expected: [3 2 1] [4 0 0] [6 0 1]Got: [1 5 3] [0 1 0] [0 6 6] ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/orthogonal.py", line 120: sage: G.random() Expected: [2 5 1 1] [3 0 0 0] [0 0 3 5] [2 0 4 4] Got: [3 4 5 2] [1 5 2 5] [6 4 6 2] [2 6 4 2] ********************************************************************** 2 items had failures: 1 of 4 in __main__.example_10 1 of 4 in __main__.example_4 ***Test Failed*** 2 failures. For whitespace errors, see the file /Users/was/build/sage-3.0.alpha1/tmp/.doctest_orthogonal.py [7.9 s] sage -t devel/sage/sage/groups/matrix_gps/special_linear.py }}} {{{ sage -t devel/sage/sage/groups/matrix_gps/matrix_group.py ********************************************** ************************ File "/Users/was/build/sage-3.0.alpha1/tmp/matrix_group.py", line 448: sage: G.random()Expected: [2 1 1 1] [1 0 2 1] [0 1 1 0] [1 0 0 1] Got: [1 1 0 1] [2 1 1 1] [1 2 1 0] [1 1 2 0] ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/matrix_group.py", line 457: sage: G.random() Expected: [1 3] [0 3] Got: [2 3] [0 1] ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/matrix_group.py", line 460: sage: G.random() Expected: [2 2] [1 0] Got: [4 1] [1 2] ********************************************************************** File "/Users/was/build/sage-3.0.alpha1/tmp/matrix_group.py", line 463: sage: G.random() Expected: [4 0] [1 4] Got: [4 4] [2 0] ********************************************************************** 1 items had failures: 4 of 9 in __main__.example_17 ***Test Failed*** 4 failures. }}} --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---