Re: Fedora sagemath 5.0.rc0 - work in progress

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2012/5/6 Vedran Miletić <rivanvx@xxxxxxxxx>:
> 2012/5/6 Paulo César Pereira de Andrade
> <paulo.cesar.pereira.de.andrade@xxxxxxxxx>:
>>  I think I am close to have the first binaries.
>
> This is awesome. Keep up the great work.

  It should still take significant time to have it working.
I corrected the buildroot in binaries by updating some paths
because for some reason it was not expanding symlinks
so I just hardcoded it to search in %_includedir.

  I also updated some extra patches, as sage needs to be run
in the buildroot environment, to generate documentation, but
it failed. Need to check what every gap package provides.
Sample of startup:

+ python common/builder.py all html
Setting permissions of DOT_SAGE directory so only you can read and write it.
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x2299950>> ignored
** Gap crashed or quit executing 'LoadPackage("ctbllib");' **
Restarting Gap and trying again
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x2299ab8>> ignored
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x2299ab8>> ignored
** Gap crashed or quit executing 'LoadPackage("sonata");' **
Restarting Gap and trying again
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x2299ab8>> ignored
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x2299b90>> ignored
** Gap crashed or quit executing 'LoadPackage("guava");' **
Restarting Gap and trying again
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x2299b90>> ignored
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x2299d88>> ignored
** Gap crashed or quit executing 'LoadPackage("factint");' **
Restarting Gap and trying again
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x2299d88>> ignored
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x2299ab8>> ignored
** Gap crashed or quit executing 'LoadPackage("gapdoc");' **
Restarting Gap and trying again
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x2299ab8>> ignored
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x22999e0>> ignored
** Gap crashed or quit executing 'LoadPackage("grape");' **
Restarting Gap and trying again
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x22999e0>> ignored
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x2299d88>> ignored
** Gap crashed or quit executing 'LoadPackage("design");' **
Restarting Gap and trying again
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x2299d88>> ignored
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x2299e60>> ignored
** Gap crashed or quit executing 'LoadPackage("toric");' **
Restarting Gap and trying again
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x2299e60>> ignored
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x22999e0>> ignored
** Gap crashed or quit executing 'LoadPackage("laguna");' **
Restarting Gap and trying again
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x22999e0>> ignored
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x2299b90>> ignored
** Gap crashed or quit executing 'LoadPackage("braid");' **
Restarting Gap and trying again
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x2299b90>> ignored
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x2299e60>> ignored
** Gap crashed or quit executing
'SaveWorkspace("/tmp/sage6675/gap/workspace-3286394836701090534");' **
Restarting Gap and trying again
Exception AttributeError: "spawn instance has no attribute 'closed'"
in <bound method spawn.__del__ of <pexpect.spawn instance at
0x2299e18>> ignored
Traceback (most recent call last):
  File "common/builder.py", line 1095, in <module>
    getattr(get_builder(name), type)()
  File "common/builder.py", line 243, in _wrapper
    getattr(get_builder(document), name)(*args, **kwds)
  File "common/builder.py", line 363, in _wrapper
    self.write_auto_rest_file(module_name)
  File "common/builder.py", line 622, in write_auto_rest_file
    title = self.get_module_docstring_title(module_name)
  File "common/builder.py", line 579, in get_module_docstring_title
    import sage.all
  File "/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/all.py",
line 68, in <module>
    from sage.misc.all       import *         # takes a while
  File "/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/misc/all.py",
line 81, in <module>
    from functional import (additive_order,
  File "/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/misc/functional.py",
line 36, in <module>
    from sage.rings.complex_double import CDF
  File "complex_double.pyx", line 92, in init
sage.rings.complex_double (sage/rings/complex_double.c:15189)
  File "/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/rings/complex_field.py",
line 87, in ComplexField
    C = ComplexField_class(prec)
  File "/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/rings/complex_field.py",
line 187, in __init__
    self._populate_coercion_lists_(coerce_list=[complex_number.RRtoCC(self._real_field(),
self)])
  File "complex_number.pyx", line 2265, in
sage.rings.complex_number.RRtoCC.__init__
(sage/rings/complex_number.c:14470)
  File "map.pyx", line 124, in sage.categories.map.Map.__init__
(sage/categories/map.c:2265)
  File "/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/categories/homset.py",
line 201, in Hom
    H = category.hom_category().parent_class(X, Y, category = category)
  File "/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/categories/rings.py",
line 578, in __new__
    from sage.rings.homset import RingHomset
  File "/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/rings/homset.py",
line 18, in <module>
    import quotient_ring
  File "/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/rings/quotient_ring.py",
line 95, in <module>
    import sage.rings.polynomial.multi_polynomial_ideal
  File "/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/rings/polynomial/multi_polynomial_ideal.py",
line 235, in <module>
    from sage.interfaces.all import (singular as singular_default,
  File "/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/interfaces/all.py",
line 8, in <module>
    from gap import gap, gap_reset_workspace, gap_console,
gap_version, is_GapElement, Gap
  File "/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/interfaces/gap.py",
line 1247, in <module>
    gap_reset_workspace(verbose=False)
  File "/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/interfaces/gap.py",
line 1238, in gap_reset_workspace
    g.save_workspace()
  File "/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/interfaces/gap.py",
line 1042, in save_workspace
    self.eval('SaveWorkspace("%s");'%WORKSPACE, allow_use_file=False)
  File "/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/interfaces/gap.py",
line 376, in eval
    result = Expect.eval(self, input_line, **kwds)
  File "/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/interfaces/expect.py",
line 1246, in eval
    for L in code.split('\n') if L != ''])
  File "/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/interfaces/gap.py",
line 571, in _eval_line
    self._start()
  File "/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/interfaces/gap.py",
line 972, in _start
    raise RuntimeError, msg
RuntimeError: __init__() got an unexpected keyword argument 'env'
error: Bad exit status from /var/tmp/rpm-tmp.45l3V7 (%install)

  But this is the first actual run...

> Vedran

Paulo
_______________________________________________
scitech mailing list
scitech@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/scitech



[Index of Archives]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Deep Creek Hot Springs]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux