Red Hat Bugzilla – Full Text Bug Listing 
Summary:  Review Request: sagemath  A free opensource mathematics software system  

Product:  [Fedora] Fedora  Reporter:  Paulo Andrade <paulo.cesar.pereira.de.andrade>  
Component:  Package Review  Assignee:  Jerry James <loganjerry>  
Status:  CLOSED ERRATA  QA Contact:  Fedora Extras Quality Assurance <extrasqa>  
Severity:  medium  Docs Contact:  
Priority:  medium  
Version:  rawhide  CC:  alexl, bugsgentoo, chillermillerlong, germano.massullo, i, jamatos, loganjerry, ndbecker2, notting, packagereview, rdieter, samuelrhbugs, vbraun.name, vedran  
Target Milestone:    Flags:  loganjerry:
fedora‑review+
limburgher: fedora‑cvs+ 

Target Release:    
Hardware:  All  
OS:  Linux  
Whiteboard:  
Fixed In Version:  sagemath5.95.fc18  Doc Type:  Bug Fix  
Doc Text:  Story Points:    
Clone Of:  Environment:  
Last Closed:  20130427 23:51:07 EDT  Type:    
Regression:    Mount Type:    
Documentation:    CRM:  
Verified Versions:  Category:    
oVirt Team:    RHEL 7.3 requirements from Atomic Host:  
Bug Depends On:  905420  
Bug Blocks:  
Attachments: 

Description
Paulo Andrade
20121117 12:17:22 EST
Major know issue is that it builds an "internal" version of cython, ipython and pexpect; does not work with system version of those. I have been working on packaging sagemath in Fedora for over 6 months, so I have intested quite some time on it. But I have been packaging sagemath in Mandriva since 2009, so, while it is very tough to package, I managed to work on it for quite some time. To make it a bit easier to have an idea of a review, here is a review before a few extra corrections: %< Package Review ============== Key: [x] = Pass [!] = Fail [] = Not applicable [?] = Not evaluated [ ] = Manual review needed Issues: ======= [!]: Package installs properly. Note: Installation errors (see attachment) See: https://fedoraproject.org/wiki/Packaging:Guidelines [!]: Packages have proper BuildRequires/Requires on jpackageutils See: https://fedoraproject.org/wiki/Packaging:Java [!]: Javadocs are placed in %{_javadocdir}/%{name} (no %{version} symlink) Note: No javadoc subpackage present See: https://fedoraproject.org/wiki/Packaging:Java#Javadoc_installation [!]: Fully versioned dependency in subpackages, if present. Note: Missing: 'Requires: %%{name} =' in: %package devel See: http://fedoraproject.org/wiki/Packaging/Guidelines#RequiringBasePackage [!]: Development (unversioned) .so files in devel subpackage, if present. Note: Unversioned sofiles directly in %_libdir. See: http://fedoraproject.org/wiki/Packaging/Guidelines#DevelPackages [!]: If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package is included in %doc. Note: Cannot find COPYING.txt in rpm(s) See: http://fedoraproject.org/wiki/Packaging/LicensingGuidelines#License_Text [!]: Javadoc documentation files are generated and included in javadoc subpackage Note: No javadoc subpackage present See: https://fedoraproject.org/wiki/Packaging:Java#Javadoc_installation [!]: Javadoc subpackages have Requires: jpackageutils See: https://fedoraproject.org/wiki/Packaging:Java ===== MUST items ===== C/C++: [x]: Header files in devel subpackage, if present. [x]: Package does not contain any libtool archives (.la) [ ]: Package does not contain kernel modules. [ ]: Package contains no static executables. [x]: Rpath absent or only used for internal libs. [!]: Development (unversioned) .so files in devel subpackage, if present. Note: Unversioned sofiles directly in %_libdir. Generic: [ ]: Package is licensed with an opensource compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines. [x]: Package successfully compiles and builds into binary rpms on at least one supported primary architecture. [ ]: %build honors applicable compiler flags or justifies otherwise. [x]: All build dependencies are listed in BuildRequires, except for any that are listed in the exceptions section of Packaging Guidelines. [ ]: Package contains no bundled libraries. [ ]: Changelog in prescribed format. [x]: Package does not run rm rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install. [ ]: Sources contain only permissible code or content. [x]: Each %files section contains %defattr if rpm < 4.4 [ ]: Macros in Summary, %description expandable at SRPM build time. [x]: Package contains desktop file if it is a GUI application. [x]: Package installs a %{name}.desktop using desktopfileinstall if there is such a file. [ ]: Development files must be in a devel package [ ]: Package requires other packages for directories it uses. [ ]: Package uses nothing in %doc for runtime. [ ]: Package is not known to require ExcludeArch. [x]: Package does not contain duplicates in %files. [x]: Permissions on files are set properly. [ ]: Fully versioned dependency in subpackages, if present. Note: No Requires: %{name}%{?_isa} = %{version}%{release} in %package devel [ ]: Package complies to the Packaging Guidelines [x]: Spec file lacks Packager, Vendor, PreReq tags. [!]: If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package is included in %doc. Note: Cannot find COPYING.txt in rpm(s) [ ]: License field in the package spec file matches the actual license. Note: Checking patched sources after %prep for licenses. Licenses found: "Apache (v2.0)", "GPL (v2 or later)", "Unknown or generated", "MIT/X11 (BSD like)", "*No copyright* PSF (v2.)", "GPL (v2 or later) (with incorrect FSF address)", "BSD (3 clause)", "BSD (2 clause)", "LGPL (v2.1 or later)". 9 files have unknown license. Detailed output of licensecheck in /home/pcpa/reviewsagemath/licensecheck.txt [ ]: License file installed when any subpackage combination is installed. [ ]: Package consistently uses macro is (instead of hardcoded directory names). [ ]: If the package is under multiple licenses, the licensing breakdown must be documented in the spec. [x]: Package is named using only allowed ASCII characters. [ ]: Package is named according to the Package Naming Guidelines. [ ]: Package does not generate any conflict. Note: Package contains no Conflicts: tag(s) [x]: Package do not use a name that already exist [ ]: Package obeys FHS, except libexecdir and /usr/target. [ ]: If the package is a rename of another package, proper Obsoletes and Provides are present. [ ]: Package must own all directories that it creates. [ ]: Package does not own files or directories owned by other packages. [!]: Package installs properly. Note: Installation errors (see attachment) [ ]: Package is not relocatable. [ ]: Requires correct, justified where necessary. [x]: CheckResultdir [x]: Rpmlint is run on all rpms the build produces. Note: There are rpmlint messages (see attachment). [x]: Sources used to build the package match the upstream source, as provided in the spec URL. [ ]: Spec file is legible and written in American English. [x]: Spec file name must match the spec package %{name}, in the format %{name}.spec. [ ]: Package contains systemd file(s) if in need. [x]: File names are valid UTF8. [ ]: Useful debuginfo package or justification otherwise. [ ]: Large documentation must go in a doc subpackage. Note: Documentation size is 409600 bytes in 2 files. [x]: Packages must not store files under /srv, /opt or /usr/local Java: [!]: Packages have proper BuildRequires/Requires on jpackageutils [!]: Fully versioned dependency in subpackages, if present. Note: Missing: 'Requires: %%{name} =' in: %package devel [!]: Javadoc documentation files are generated and included in javadoc subpackage Note: No javadoc subpackage present [!]: Javadoc subpackages have Requires: jpackageutils [!]: Javadocs are placed in %{_javadocdir}/%{name} (no %{version} symlink) Note: No javadoc subpackage present [x]: Bundled jar/class files should be removed before build Maven: [x]: Old add_to_maven_depmap macro is not being used [ ]: If package contains pom.xml files install it (including depmaps) even when building with ant Python: [x]: Package contains BR: python2devel or python3devel [ ]: Binary eggs must be removed in %prep Note: Cannot find sources under BUILD (using prebuilt sources?) [ ]: Python eggs must not download any dependencies during the build process. [ ]: A package which is used by another package via an egg interface should provide egg info. [ ]: Package meets the Packaging Guidelines::Python ===== SHOULD items ===== Generic: [x]: Reviewer should test that the package builds in mock. [x]: Buildroot is not present [ ]: Avoid bundling fonts in nonfonts packages. Note: Package contains font files [x]: Package has no %clean section with rm rf %{buildroot} (or $RPM_BUILD_ROOT) [ ]: If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it. [x]: Dist tag is present. [x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin. [ ]: Final provides and requires are sane (rpm q provides and rpm q requires). [ ]: Package functions as described. [ ]: Latest version is packaged. [ ]: Package does not include license text files separate from upstream. [ ]: Patches link to upstream bugs/comments/lists or are otherwise justified. [x]: The placement of pkgconfig(.pc) files are correct. [ ]: Scriptlets must be sane, if used. [x]: SourceX tarball generation or download is documented. [!]: SourceX / PatchY prefixed with %{name}. Note: Source2 (makecmds.sty) Source3 (Jmol.js) Source0 (sage5.4.tar) Source1 (gprc.expect) Source4 (JmolHelp.html) Source5 (testjava.sh) Patch16 (trac_12822_pt_translation_of_tutorial.patch) Patch17 (trac_12822_pt_translation_of_tutorial_rev1.patch) Patch15 (trac_12502_pt_translation_of_a_tour_of_sage_rebase1.patch) [x]: SourceX is a working URL. [ ]: Description and summary sections in the package spec file contains translations for supported NonEnglish languages, if available. [ ]: Package should compile and build into binary rpms on all supported architectures. [ ]: %check is present and all tests pass. [ ]: Packages should try to preserve timestamps of original installed files. [x]: Spec use %global instead of %define. Java: [ ]: Package has BuildArch: noarch (if possible) [ ]: Package uses upstream build method (ant/maven/etc.) ===== EXTRA items ===== Generic: [!]: Rpmlint is run on all installed packages. Note: Mock build failed [x]: Large data in /usr/share should live in a noarch subpackage if package is arched. Installation errors  INFO: mock.py version 1.1.28 starting... Start: init plugins INFO: selinux enabled Finish: init plugins Start: run Mock Version: 1.1.28 INFO: Mock Version: 1.1.28 Start: lock buildroot INFO: installing package(s): /home/pcpa/reviewsagemath/results/sagemathdebuginfo5.41.fc19.x86_64.rpm /home/pcpa/reviewsagemath/results/sagemathdevel5.41.fc19.x86_64.rpm /home/pcpa/reviewsagemath/results/sagemath5.41.fc19.x86_64.rpm ERROR: Command failed: # ['/usr/bin/yum', 'installroot', '/var/lib/mock/fedorarawhidex86_64/root/', 'install', '/home/pcpa/reviewsagemath/results/sagemathdebuginfo5.41.fc19.x86_64.rpm', '/home/pcpa/reviewsagemath/results/sagemathdevel5.41.fc19.x86_64.rpm', '/home/pcpa/reviewsagemath/results/sagemath5.41.fc19.x86_64.rpm', 'setopt=tsflags=nocontexts'] Error: Package: pythoncvxopt1.1.55.fc19.x86_64 (fedora) Requires: libcholmod.so.1()(64bit) You could try using skipbroken to work around the problem You could try running: rpm Va nofiles nodigest Rpmlint  Checking: sagemath5.41.fc19.src.rpm sagemathdebuginfo5.41.fc19.x86_64.rpm sagemathdevel5.41.fc19.x86_64.rpm sagemath5.41.fc19.x86_64.rpm sagemath.src: W: strangepermission testjava.sh 0755L sagemath.src:353: W: rpmbuildrootusage %prep rm rf %{buildroot} sagemath.src:356: W: rpmbuildrootusage %prep export SAGE_ROOT=%{buildroot}%{SAGE_ROOT} sagemath.src:357: W: rpmbuildrootusage %prep export SAGE_LOCAL=%{buildroot}%{SAGE_LOCAL} sagemath.src:358: W: rpmbuildrootusage %prep export SAGE_DEVEL=%{buildroot}%{SAGE_DEVEL} sagemath.src:379: W: rpmbuildrootusage %build export SAGE_ROOT=%{buildroot}%{SAGE_ROOT} sagemath.src:380: W: rpmbuildrootusage %build export SAGE_LOCAL=%{buildroot}%{SAGE_LOCAL} sagemath.src:381: W: rpmbuildrootusage %build export SAGE_DEVEL=%{buildroot}%{SAGE_DEVEL} sagemath.src:384: W: rpmbuildrootusage %build export DESTDIR=%{buildroot} sagemath.src:389: W: rpmbuildrootusage %build export PATH=%{buildroot}%{_bindir}:$PATH sagemath.src:390: W: rpmbuildrootusage %build export PYTHONPATH=%{buildroot}%{python_sitearch}:$PYTHONPATH sagemath.src:394: W: rpmbuildrootusage %build %__python setup.py install root=%{buildroot} sagemath.src:400: W: rpmbuildrootusage %build %__python setup.py install root=%{buildroot} sagemath.src:294: W: mixeduseofspacesandtabs (spaces: line 294, tab: line 3) sagemath.src: W: invalidurl Source0: http://www.sagemath.org/src/sage5.4.tar HTTP Error 404: Not Found sagemathdevel.x86_64: W: summarynotcapitalized C sagemath development files sagemathdevel.x86_64: W: nodocumentation sagemath.x86_64: W: nosoname /usr/lib64/libcsage.so sagemath.x86_64: W: sharedlibcallsexit /usr/lib64/libcsage.so exit@GLIBC_2.2.5 sagemath.x86_64: W: danglingsymlink /usr/lib64/sagemath/local/bin/sage_pari /usr/bin/gp sagemath.x86_64: E: zerolength /usr/lib64/python2.7/sitepackages/sage/misc/test_cpickle_sage.py sagemath.x86_64: W: danglingsymlink /usr/lib64/python2.7/sitepackages/sagenb/data/jmol/JmolApplet.jar /usr/share/java/JmolApplet.jar sagemath.x86_64: W: danglingsymlink /usr/lib64/sagemath/share/extcode/sage /usr/lib64/python2.7/sitepackages sagemath.x86_64: W: danglingsymlink /usr/lib64/sagemath/local/include /usr/include sagemath.x86_64: W: danglingsymlink /usr/lib64/sagemath/devel/sage /usr/lib64/python2.7/sitepackages sagemath.x86_64: E: zerolength /usr/lib64/sagemath/share/extcode/notebook/javascript/jquery/starterkit/ratings.dat sagemath.x86_64: W: danglingsymlink /usr/lib64/sagemath/local/share /usr/share sagemath.x86_64: W: danglingsymlink /usr/lib64/sagemath/local/lib /usr/lib64 sagemath.x86_64: E: zerolength /usr/lib64/python2.7/sitepackages/sage/server/notebook/compress/all.py sagemath.x86_64: E: zerolength /usr/lib64/python2.7/sitepackages/sage/libs/pari/to_gen.pxi sagemath.x86_64: W: danglingsymlink /usr/lib64/sagemath/local/bin/gap_stamp /usr/bin/gap sagemath.x86_64: W: danglingsymlink /usr/lib64/python2.7/sitepackages/sagenb/data/jmol/vecmath.jar /usr/share/java/vecmath.jar sagemath.x86_64: W: nomanualpageforbinary sage sagemath.x86_64: W: nomanualpageforbinary cygdb sagemath.x86_64: W: filenotin%lang /usr/lib64/python2.7/sitepackages/sagenb/translations/cs_CZ/LC_MESSAGES/messages.mo sagemath.x86_64: W: filenotin%lang /usr/lib64/python2.7/sitepackages/sagenb/translations/de_AT/LC_MESSAGES/messages.mo sagemath.x86_64: W: filenotin%lang /usr/lib64/python2.7/sitepackages/sagenb/translations/pt_BR/LC_MESSAGES/messages.mo sagemath.x86_64: W: filenotin%lang /usr/lib64/python2.7/sitepackages/sagenb/translations/ru_RU/LC_MESSAGES/messages.mo sagemath.x86_64: W: onelinecommandin%post /usr/bin/mktexlsr 4 packages and 0 specfiles checked; 4 errors, 35 warnings. Requires  sagemathdebuginfo5.41.fc19.x86_64.rpm (rpmlib, GLIBC filtered): sagemathdevel5.41.fc19.x86_64.rpm (rpmlib, GLIBC filtered): sagemath(x8664) = 5.41.fc19 sagemath5.41.fc19.x86_64.rpm (rpmlib, GLIBC filtered): /bin/bash /bin/sh /usr/bin/env /usr/bin/python 4ti2 GAPDoc R Singular apachecommonscli cddlibtools ecl firefox gap gapcharactertables gapprimgroups gapsmallgroups gaptableofmarks gaptransgroups genus2reduction gfan jmol jsmathfonts ldlinuxx8664.so.2()(64bit) libLfunction.so.1.23()(64bit) libc.so.6()(64bit) libcliquer.so.1()(64bit) libcsage.so()(64bit) libcudd.so.2()(64bit) libecl.so.12.7()(64bit) libecm.so.0()(64bit) libflint.so.1()(64bit) libfplll.so.0()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_4.0.0)(64bit) libgd.so.2()(64bit) libgivaro.so.0()(64bit) libglpk.so.0()(64bit) libgmp.so.10()(64bit) libgmpxx.so.4()(64bit) libgsl.so.0()(64bit) libgslcblas.so.0()(64bit) libiml.so.0()(64bit) libjc.so.0()(64bit) liblinbox.so.0()(64bit) liblinboxsage.so.0()(64bit) libm.so.6()(64bit) libm4ri0.0.20111203.so()(64bit) libm4rie0.0.20111203.so()(64bit) libmpc.so.2()(64bit) libmpfi.so.0()(64bit) libmpfr.so.4()(64bit) libntl.so.0()(64bit) libparigmp.so.3()(64bit) libpng15.so.15()(64bit) libpolybori0.8.2.so.0()(64bit) libpolybori_groebner0.8.2.so.0()(64bit) libppl.so.9()(64bit) libpthread.so.0()(64bit) libpynac.so.4()(64bit) libpython2.7.so.1.0()(64bit) libratpoints.so.0()(64bit) libreadline.so.6()(64bit) libsingular.so()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libsymmetrica.so.0()(64bit) libz.so.1()(64bit) libzn_poly0.9.so()(64bit) maximagui maximaruntimeecl palp parigp python(abi) = 2.7 pythonZODB3 pythoncrypto pythoncvxopt pythonflaskautoindex pythonflaskbabel pythonflaskopenid pythonflasksilk pythonnetworkx pythonpolybori pythontwistedweb pythontwistedweb2 rpy rtld(GNU_HASH) sympow sympy tachyon texlive vecmath Provides  sagemathdebuginfo5.41.fc19.x86_64.rpm: sagemathdebuginfo = 5.41.fc19 sagemathdebuginfo(x8664) = 5.41.fc19 sagemathdevel5.41.fc19.x86_64.rpm: sagemathdevel = 5.41.fc19 sagemathdevel(x8664) = 5.41.fc19 sagemath5.41.fc19.x86_64.rpm: libcsage.so()(64bit) sagemath = 5.41.fc19 sagemath(x8664) = 5.41.fc19 Unversioned sofiles  sagemath5.41.fc19.x86_64.rpm: /usr/lib64/libcsage.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/algebras/quatalg/quaternion_algebra_cython.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/algebras/quatalg/quaternion_algebra_element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/calculus/interpolators.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/calculus/riemann.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/calculus/var.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/categories/action.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/categories/category_singleton.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/categories/examples/semigroups_cython.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/categories/functor.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/categories/map.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/categories/morphism.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/coding/binary_code.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/combinat/combinat_cython.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/combinat/debruijn_sequence.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/combinat/degree_sequences.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/combinat/dict_addition.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/combinat/enumeration_mod_permgroup.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/combinat/expnums.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/combinat/matrices/dancing_links.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/combinat/partitions.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/combinat/permutation_cython.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/combinat/words/word_datatypes.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/crypto/boolean_function.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/ext/c_lib.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/ext/fast_callable.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/ext/fast_eval.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/ext/interactive_constructors_c.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/ext/interpreters/wrapper_cdf.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/ext/interpreters/wrapper_el.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/ext/interpreters/wrapper_py.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/ext/interpreters/wrapper_rdf.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/ext/interpreters/wrapper_rr.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/ext/multi_modular.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/finance/fractal.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/finance/markov_multifractal_cython.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/finance/time_series.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/functions/prime_pi.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/games/sudoku_backtrack.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/geometry/integral_points.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/geometry/point_collection.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/geometry/toric_lattice_element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/geometry/triangulation/base.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/graphs/base/c_graph.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/graphs/base/dense_graph.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/graphs/base/sparse_graph.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/graphs/base/static_sparse_graph.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/graphs/chrompoly.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/graphs/cliquer.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/graphs/comparability.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/graphs/convexity_properties.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/graphs/distances_all_pairs.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/graphs/generic_graph_pyx.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/graphs/genus.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/graphs/graph_decompositions/graph_products.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/graphs/graph_decompositions/rankwidth.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/graphs/graph_decompositions/vertex_separation.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/graphs/graph_generators_pyx.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/graphs/matchpoly.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/graphs/modular_decomposition/modular_decomposition.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/graphs/planarity.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/graphs/spanning_tree.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/graphs/trees.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/graphs/weakly_chordal.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/groups/group.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/groups/perm_gps/partn_ref/automorphism_group_canonical_label.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/groups/perm_gps/partn_ref/double_coset.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/groups/perm_gps/partn_ref/refinement_binary.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/groups/perm_gps/partn_ref/refinement_graphs.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/groups/perm_gps/partn_ref/refinement_lists.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/groups/perm_gps/partn_ref/refinement_matrices.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/groups/perm_gps/partn_ref/refinement_python.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/groups/perm_gps/permgroup_element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/gsl/callback.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/gsl/dwt.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/gsl/fft.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/gsl/gsl_array.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/gsl/integration.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/gsl/interpolation.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/gsl/ode.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/gsl/probability_distribution.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/interacts/library_cython.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/cremona/homspace.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/cremona/mat.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/cremona/newforms.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ecl.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/flint/flint.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/flint/fmpz_poly.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/fplll/fplll.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/lcalc/lcalc_Lfunction.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/libecm.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/linbox/linbox.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/mpmath/ext_impl.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/mpmath/ext_libmp.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/mpmath/ext_main.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/mpmath/utils.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/mwrank/mwrank.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ntl/ntl_GF2.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ntl/ntl_GF2E.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ntl/ntl_GF2EContext.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ntl/ntl_GF2EX.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ntl/ntl_GF2X.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ntl/ntl_ZZ.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ntl/ntl_ZZX.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ntl/ntl_ZZ_p.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ntl/ntl_ZZ_pContext.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ntl/ntl_ZZ_pE.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ntl/ntl_ZZ_pEContext.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ntl/ntl_ZZ_pEX.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ntl/ntl_ZZ_pX.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ntl/ntl_lzz_p.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ntl/ntl_lzz_pContext.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ntl/ntl_lzz_pX.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ntl/ntl_mat_GF2.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ntl/ntl_mat_GF2E.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ntl/ntl_mat_ZZ.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/pari/gen.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ppl.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/ratpoints.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/singular/function.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/singular/groebner_strategy.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/singular/option.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/singular/polynomial.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/singular/ring.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/singular/singular.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/libs/symmetrica/symmetrica.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/action.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/change_ring.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix0.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix1.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix2.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_complex_double_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_cyclo_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_double_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_generic_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_generic_sparse.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_integer_2x2.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_integer_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_integer_sparse.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_mod2_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_mod2e_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_modn_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_modn_dense_double.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_modn_dense_float.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_modn_sparse.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_mpolynomial_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_rational_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_rational_sparse.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_real_double_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_sparse.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_symbolic_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_window.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/matrix_window_modn_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/misc.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/matrix/strassen.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/media/channels.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/allocator.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/binary_tree.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/bitset.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/c3.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/cachefunc.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/citation.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/classcall_metaclass.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/constant_function.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/cython_c.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/derivative.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/fpickle.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/function_mangling.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/lazy_import.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/misc_c.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/nested_class.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/parser.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/pickle_old.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/randstate.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/readline_extra_commands.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/refcount.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/reset.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/sage_timeit_class.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/search.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/session.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/misc/stopgap.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/modular/arithgroup/congroup_pyx.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/modular/arithgroup/farey_symbol.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/modular/modform/eis_series_cython.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/modular/modsym/apply.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/modular/modsym/heilbronn.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/modular/modsym/p1list.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/modular/modsym/relation_matrix_pyx.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/modules/free_module_element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/modules/module.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/modules/vector_complex_double_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/modules/vector_double_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/modules/vector_integer_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/modules/vector_mod2_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/modules/vector_modn_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/modules/vector_rational_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/modules/vector_real_double_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/numerical/backends/generic_backend.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/numerical/backends/glpk_backend.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/numerical/mip.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/plot/complex_plot.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/plot/plot3d/base.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/plot/plot3d/implicit_surface.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/plot/plot3d/index_face_set.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/plot/plot3d/parametric_surface.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/plot/plot3d/shapes.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/plot/plot3d/transform.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/quadratic_forms/count_local_2.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/quadratic_forms/quadratic_form__evaluate.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/bernmm.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/bernoulli_mod_p.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/complex_double.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/complex_interval.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/complex_mpc.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/complex_number.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/factorint.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/fast_arith.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/finite_rings/element_base.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/finite_rings/element_givaro.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/finite_rings/element_ntl_gf2e.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/finite_rings/finite_field_base.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/finite_rings/integer_mod.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/fraction_field_FpT.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/fraction_field_element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/function_field/function_field_element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/integer.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/integer_ring.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/laurent_series_ring_element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/morphism.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/noncommutative_ideals.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/number_field/number_field_base.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/number_field/number_field_element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/number_field/number_field_element_quadratic.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/number_field/number_field_morphisms.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/number_field/totallyreal.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/number_field/totallyreal_data.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/padics/local_generic_element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/padics/padic_ZZ_pX_CA_element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/padics/padic_ZZ_pX_CR_element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/padics/padic_ZZ_pX_FM_element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/padics/padic_ZZ_pX_element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/padics/padic_base_coercion.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/padics/padic_base_generic_element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/padics/padic_capped_absolute_element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/padics/padic_capped_relative_element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/padics/padic_ext_element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/padics/padic_fixed_mod_element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/padics/padic_generic_element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/padics/padic_printing.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/padics/pow_computer.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/padics/pow_computer_ext.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/polynomial/cyclotomic.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/polynomial/laurent_polynomial.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/polynomial/multi_polynomial.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/polynomial/multi_polynomial_ideal_libsingular.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/polynomial/multi_polynomial_libsingular.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/polynomial/multi_polynomial_ring_generic.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/polynomial/pbori.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/polynomial/plural.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/polynomial/polydict.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/polynomial/polynomial_compiled.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/polynomial/polynomial_element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/polynomial/polynomial_gf2x.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/polynomial/polynomial_integer_dense_flint.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/polynomial/polynomial_integer_dense_ntl.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/polynomial/polynomial_modn_dense_ntl.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/polynomial/polynomial_rational_flint.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/polynomial/polynomial_real_mpfr_dense.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/polynomial/polynomial_zmod_flint.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/polynomial/polynomial_zz_pex.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/polynomial/real_roots.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/polynomial/symmetric_reduction.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/power_series_mpoly.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/power_series_poly.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/power_series_ring_element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/rational.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/real_double.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/real_interval_absolute.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/real_lazy.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/real_mpfi.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/real_mpfr.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/residue_field.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/rings/ring.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/sat/solvers/satsolver.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/schemes/elliptic_curves/descent_two_isogeny.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/schemes/hyperelliptic_curves/hypellfrob.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/schemes/toric/divisor_class.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/sets/disjoint_set.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/sets/finite_set_map_cy.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/stats/hmm/chmm.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/stats/hmm/distributions.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/stats/hmm/hmm.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/stats/hmm/util.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/stats/intlist.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/structure/category_object.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/structure/coerce.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/structure/coerce_actions.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/structure/coerce_dict.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/structure/coerce_maps.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/structure/element.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/structure/factory.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/structure/generators.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/structure/list_clone.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/structure/list_clone_timings_cy.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/structure/misc.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/structure/mutability.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/structure/parent.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/structure/parent_base.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/structure/parent_gens.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/structure/parent_old.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/structure/sage_object.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/structure/wrapper_parent.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/symbolic/constants_c.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/symbolic/expression.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/symbolic/function.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/symbolic/getitem.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/symbolic/pynac.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/symbolic/ring.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/tests/cython.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/tests/interrupt.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/python2.7/sitepackages/sage/tests/stl_vector.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/sagemath/sitepackages/Cython/Compiler/Code.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/sagemath/sitepackages/Cython/Compiler/FlowControl.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/sagemath/sitepackages/Cython/Compiler/Lexicon.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/sagemath/sitepackages/Cython/Compiler/Parsing.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/sagemath/sitepackages/Cython/Compiler/Scanning.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/sagemath/sitepackages/Cython/Compiler/Visitor.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/sagemath/sitepackages/Cython/Plex/Actions.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/sagemath/sitepackages/Cython/Plex/Scanners.so sagemath5.41.fc19.x86_64.rpm: /usr/lib64/sagemath/sitepackages/Cython/Runtime/refnanny.so MD5sum check  Generated by fedorareview 0.3.1 (b71abc1) last change: 20121016 Buildroot used: fedorarawhidex86_64 Command line :/usr/bin/fedorareview v r n sagemath %< Source0 is known to be wrong, but left that way for now to avoid downloading it again for every test, also, that link used to work and redirect to a proper mirror, need to bug report about it. The package is mean't for rawhide, but if successful in adding it to rawhide, a f18 build requires very few updates (3 new packages, and 2 updates, other issues can be worked around in the sagemath package itself). This is great! I'm so glad somebody is getting around to packaging this. It would be great if you could make this bug dependent on the package reviews for the 3 new packages (assuming they're not yet included in Fedora) so they can be tracked. I notice you've also updated the wiki: https://fedoraproject.org/wiki/SIGs/SciTech/SAGE It would be good if you could add a link to this review there, as some folks might not know about it. (I only found out about it because I happened across the archives for the scitech list, which I'm not a member of right now). PS. I'm willing to help review this when the time comes. I made some new branch requests for a possible f18 backport (my initial plan was to have a private repository like I do for f17): https://bugzilla.redhat.com/show_bug.cgi?id=839097 https://bugzilla.redhat.com/show_bug.cgi?id=839098 https://bugzilla.redhat.com/show_bug.cgi?id=839071 I updated https://fedoraproject.org/wiki/SIGs/SciTech/SAGE and removed the required update to libmpc, as I added stubs in a sagemath patch for the missing functions: http://lists.gforge.inria.fr/pipermail/mpcdiscuss/2012October/001214.html Actually, there is another "requires" issue, but I still suspect a newer numpy snapshot (or final version will be avaiable before a fedora sagemath package): https://bugzilla.redhat.com/show_bug.cgi?id=868585 Package was updated to better split subpackages and to remove some unnecessary files being installed. Spec URL: http://pcpa.fedorapeople.org/sagemath.spec SRPM URL: http://pcpa.fedorapeople.org/sagemath/SRPMS/sagemath5.42.fc19.src.rpm  Do not install alternate cygdb in %%_bindir  Create the %{name}core subpackage  Create the %{name}doc subpackage  Create the %{name}docen subpackage  Create the %{name}docde subpackage  Create the %{name}docfr subpackage  Create the %{name}docpt subpackage  Create the %{name}docru subpackage  Create the %{name}doctr subpackage  Create the %{name}data metapackage  Create the %{name}dataconway_polynomials subpackage  Create the %{name}dataelliptic_curves subpackage  Create the %{name}dataextcode subpackage  Do not install pickle_jar extcode contents  Do not install notebook extcode contents  Create the %{name}datagraphs subpackage  Create the %{name}datapolytopes_db subpackage  Create the %{name}notebook subpackage  Create the %{name}rubiks subpackage  Create the %{name}sagetex subpackage (In reply to comment #3) > PS. I'm willing to help review this when the time comes. The time is now! You can make an unofficial review request if you prefer :) Better to have more eyes looking at possible packaging issues. Help on debugging issues as the problems found in http://pcpa.fedorapeople.org/sagemath/test.log also welcome. Updated to sagemath 5.4.1: Spec URL: http://pcpa.fedorapeople.org/sagemath.spec SRPM URL: http://pcpa.fedorapeople.org/sagemath/SRPMS/sagemath5.4.11.fc19.src.rpm I've had a look at the test failures: * Fonts are missing, should be required. * the test suite needs the built documentation (to test the builtin help system), hg, scons, Singular help file, fortran compiler, * lrcalc is missing, this is one of the spkgs. * Segfaults when using pari and symmetrica. The latter has a symbol clash which probably explains it (sort_sum_rename.patch in the symmetrica spkg). Both are modified and linked in, so it is likely that you'll have to install the Sagespecific versions. We are planning to move to git next year and revamp some of the built system in the process. I think it would be great if you write about your experience in packaging and what would make your life easier. (In reply to comment #8) Many thanks for the comments Volker! > I've had a look at the test failures: > * Fonts are missing, should be required. I will work on it, should be only an extra requires. > * the test suite needs the built documentation (to test the builtin help > system), hg, scons, Singular help file, fortran compiler, Documentation is built during package build, actually I have a somewhat nasty problem with sphinx, see: https://bugzilla.redhat.com/show_bug.cgi?id=839321 http://trac.sagemath.org/sage_trac/ticket/13230 > * lrcalc is missing, this is one of the spkgs. Is the spkg the official upstream package? I have a request for information at: http://trac.sagemath.org/sage_trac/ticket/11563#comment:45 but left it as one of the few known issues :) > * Segfaults when using pari and symmetrica. The latter has a symbol clash > which probably explains it (sort_sum_rename.patch in the symmetrica spkg). > Both are modified and linked in, so it is likely that you'll have to install > the Sagespecific versions. I am afraid it should be another issue, the patch is applied, see: http://pkgs.fedoraproject.org/cgit/symmetrica.git/tree/ but may be another symbol, because in fedora symmetrica is built as a shared library. > We are planning to move to git next year and revamp some of the built system > in the process. I think it would be great if you write about your experience > in packaging and what would make your life easier. My major issues, in integrating sagemath in the system are versions of components, it will be required an exception to be able to use: o old ipython version o old and/or non standard cython o old pexpect Otherwise, other then sometimes relying on some very intrusive patches, like the sphinx patch, it is mainly problems with versions of components. An interesting example is that I could not convince upstream pari to use an extra flag to not call mp_set_memory_functions in the library, so it now uses this patch: %< diff up sage5.4.1/spkg/build/sage5.4.1/sage/libs/pari/gen.pyx.orig sage5.4.1/spkg/build/sage5.4.1/sage/libs/pari/gen.pyx  sage5.4.1/spkg/build/sage5.4.1/sage/libs/pari/gen.pyx.orig 20121112 21:15:23.758879845 0200 +++ sage5.4.1/spkg/build/sage5.4.1/sage/libs/pari/gen.pyx 20121112 21:15:43.213880590 0200 @@ 182,6 +182,10 @@ include '../../ext/stdsage.pxi' cdef extern from "mpz_pylong.h": cdef int mpz_set_pylong(mpz_t dst, src) except 1 +cdef extern from "gmp.h": + cdef void mp_get_memory_functions(void**, void**, void**) + cdef void mp_set_memory_functions(void*, void*, void*) + # Make sure we don't use mpz_t_offset before initializing it by # putting in a value that's likely to provoke a segmentation fault, # rather than silently corrupting memory. @@ 9171,7 +9175,12 @@ cdef class PariInstance(sage.structure.p # The size here doesn't really matter, because we will allocate # our own stack anyway. We ask PARI not to set up signal handlers. + cdef void *_gmp_malloc + cdef void *_gmp_realloc + cdef void *_gmp_free + mp_get_memory_functions(&_gmp_malloc, &_gmp_realloc, &_gmp_free) pari_init_opts(10000, maxprime, INIT_JMPm  INIT_DFTm) + mp_set_memory_functions(_gmp_malloc, _gmp_realloc, _gmp_free) num_primes = maxprime # NOTE: sig_on() can only come AFTER pari_init_opts()! %< There are a few other somewhat related issues, like a "back patch" for ntl to not rely on a patched ntl. I asked upstream NTL to provide the features required by sagemath, see: http://shoup.net/pipermail/ntl_shoup.net/2012April/000033.html I exchanged a few emails with Victor Shoup at that time, but need to ping again :), basically, something could be done when a new NTL release were released. Packaging sagemath itself has not been a major issue for quite some time (I did package sagemath in mandriva since late sage 3.x) it is the dependencies that make it non trivial to package. I just updated http://pcpa.fedorapeople.org/sagemath/test.log Issues there that are simple to correct: o just added requires pythonmatplotlibtk to requires in sagemath.spec, side effect of my update to matplotlib 1.2, that is, all errors like: ImportError: No module named backend_tkagg are corrected if installing pythonmatplotlibtk Not so simple to correct issues: o this error [Errno 2] No such file or directory: '/usr/lib64/sagemath/sitepackages/Cython/Utility/ObjectHandling.c' is a side effect of explicitly not installing .c and .h files to reduce number of warnings/errors from rpmlint, but they are required, so, changed the spec back to install them Too bad this did cascade in several other test failures... o this error %< sage t force_lib "devel/sage/sage/structure/sage_object.pyx" [?1034hbunzip2: Can't open input file /usr/lib64/sagemath/share/extcode/pickle_jar/pickle_jar.tar.bz2: No such file or directory. tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors %< will stay for now, need a very good explanation to add it to the package. o the error ImportError: No module named lrcalc should be fixed when solving the issue with what is lrcalc upstream. o this is still happening %< File "/usr/lib64/python2.7/sitepackages/sage/combinat/sf/sf.py", line 1136, in __call__ return self._codomain._from_dict(dict(self._t(self.fake_sym.monomial(partition))), coerce = True) File "schur.pxi", line 574, in sage.libs.symmetrica.symmetrica.t_MONOMIAL_HOMSYM_symmetrica (sage/libs/symmetrica/symmetrica.c:18879) RuntimeError: Segmentation fault %< I did not debug it enough to understand the root cause of the problem, only learned that if I compile symmetrica without DFAST it would follow a code path jumping over the dereferencing of the invalid pointer, but rebuilding symmetrica that way should not be the proper correction. o this error IOError: [Errno 2] No such file or directory: '/usr/lib64/sagemath/local/bin/ipython' should remain for now, as it should be a single doctest failure, otherwise it works, but I can change it to install ipython wrapper o no idea about this, need to debug: sage: len(pari(p).polroots(precision=128)) File "gen.pyx", line 8025, in sage.libs.pari.gen.gen.polroots (sage/libs/pari/gen.c:39360) RuntimeError: Segmentation fault I will do another sage testall run now with pythonmatplotlibtk installed, as missing it caused way too much noise in test.log... Update:  Change back to install .c and .h files in bundled cython.  Make symlink of gmpecm to $SAGE_LOCAL/bin/ecm.  Add SAGE_LOCAL/bin to python path so that "sage gdb" works. Forgot to add to changelog that it now explicitly requires pythonmatplotlibtk to avoid import errors in "sage testall", will add it to changelog. A not so trivial debug I did was some cut&paste + search&replace in gdb to verify the address every symbol in the symmetrica shared library (checking all symbols in symmetrica's def.h and macros.h) to confirm it was mapped to libsymmetrica.so and it indeed was, only the generic "div" symbol was not, but after properly checking symmetrica sources, I learned that it already has a "#define div SYM_div" in def.h and checking SYM_div showed correct results, so, while it is better to figure out what is causing crashes in symmetrica, an option is to link it statically. Spec URL: http://pcpa.fedorapeople.org/sagemath.spec SRPM URL: http://pcpa.fedorapeople.org/sagemath/SRPMS/sagemath5.4.12.fc19.src.rpm Hi Paulo, I had the same issue with pythonmatplotlibtk just by using ipython gui so I think that this problem is not specific of sage. FWIW I am interested in reviewing sage. :) (In reply to comment #12) > Hi Paulo, > I had the same issue with pythonmatplotlibtk just by using ipython gui > so I think that this problem is not specific of sage. It should have been fixed it in yet another pythonmatplotlib build https://admin.fedoraproject.org/updates/FEDORA201219809/pythonmatplotlib1.2.05.fc18 the problem was that it was not "detecting" gtk, that is in the main package (but only for python2.7...) and is the default backend if available. Wrapping setup.py run in xvfbrun fixed that. Could also have patched %{python_sitearch}/matplotlib/mpldata/matplotlibrc after %install. > FWIW I am interested in reviewing sage. :) I am waiting for someone to click the "take" link and do the review :) But any non official review is welcome, that is, something like download the srpm and run: /usr/bin/fedorareview v r n sagemath (In reply to comment #8) > * Fonts are missing, should be required. Fonts are "truly" missing in Fedora. Stix fonts appear to have changed significantly from 1.0.0 (f17) to 1.1.0 (f18+). I opened a bug report, about missing fonts in stixfonts 1.1.0 at: https://bugzilla.redhat.com/show_bug.cgi?id=885307 and about missing "extra" jsmath fonts at: https://bugzilla.redhat.com/show_bug.cgi?id=885312 Anyway, this apparently was a side effect of my update to matplotlib 1.2.0 (sage uses 1.1.0), and as commented in the above bug reports, I am ok with making a patch in the matplotlib package to not require/reference those fonts. Minor corrections:  Revert requires pythonmatplotlibtk as it was a pythonmatplotlib bug.  Add stixfonts requires. Spec URL: http://pcpa.fedorapeople.org/sagemath.spec SRPM URL: http://pcpa.fedorapeople.org/sagemath/SRPMS/sagemath5.4.13.fc19.src.rpm Have you applied for bundling exceptions for cython, ipython, and pexpect? (In reply to comment #16) > Have you applied for bundling exceptions for cython, ipython, and pexpect? Not yet. I was expecting to need to ask for bundling during or after the review process. I will make a bundling exception request. If you apply the patch from http://trac.sagemath.org/13740 then you should be able to use the Fedora Cython rpm. At least it fixes an incompatibility with Cython0.17.2, so probably also 0.17.1 (Fedora 18). (In reply to comment #18) > If you apply the patch from http://trac.sagemath.org/13740 then you should > be able to use the Fedora Cython rpm. At least it fixes an incompatibility > with Cython0.17.2, so probably also 0.17.1 (Fedora 18). I asked for bundling exceptions in https://fedorahosted.org/fpc/ticket/238 I did comment about bundling cython that hopefully it would be temporary. In my Mandriva sagemath packages I did for some time either make my own patches or use patches from trac.sagemath.org, but that caused trouble because system cython could be upgraded in the mean time, making the sagemath package no longer buildable or generating a broken package. Ironic. Why is cython even in fedora? Because a good while back, we discussed packaging sage. At the time, I volunteered to package cython as a first step. Now, I don't even use cython , and then I learn sage won't use it either. Minor corrections so that it builds cleanly in f18:  The fplll patch is also required to build in f18.  Add factory include to plural.pyx build. Spec URL: http://pcpa.fedorapeople.org/sagemath.spec SRPM URL: http://pcpa.fedorapeople.org/sagemath/SRPMS/sagemath5.4.14.fc19.src.rpm I agree that Cython upgrades have been troublesome in the past. But, for the record, with the patch http://trac.sagemath.org/13740 Sage can use up to Cython 0.17.3 (released today). (In reply to comment #22) > I agree that Cython upgrades have been troublesome in the past. But, for the > record, with the patch http://trac.sagemath.org/13740 Sage can use up to > Cython 0.17.3 (released today). I rebuilt the sagemath rpm with your patch and everything looks file. Well the problems that appear related to cython are still there :) For now I think I better not lift my request for bundling cython. What I want to have some "freedom" is to be able to bundle it if things go bad, but having a wider audience for the package should help :) changelog:  Build with system cython by default on fedora 18 or newer (#877651). Spec URL: http://pcpa.fedorapeople.org/sagemath.spec SRPM URL: http://pcpa.fedorapeople.org/sagemath/SRPMS/sagemath5.4.15.fc19.src.rpm cython0.17.3 has been queued for f18 testing, and should be in rawhide now. Paulo, is this planned to be included in F19 or as an update in F18? (In reply to comment #25) > Paulo, is this planned to be included in F19 or as an update in F18? My initial plan was to have sagemath ready for F18, then I gave up and was considering just a private repository, but I did that for F17 at http://pcpa.fedorapeople.org/sagemath/f17/ Once the package is approved, it should be built for rawhide (future F19) and made as a F18 update. Updated package:  Update to sagemath 5.5.  Add maxima.system patch to work with maxima 5.29.1 package. Spec URL: http://pcpa.fedorapeople.org/sagemath.spec SRPM URL: http://pcpa.fedorapeople.org/sagemath/SRPMS/sagemath5.51.fc19.src.rpm While building your package in mock the build fails because it can not find cython in path. I am building your package in rawhide FWIW. I had this problems 2 weeks ago and I noticed that it still persists today. (In reply to comment #28) > While building your package in mock the build fails because it can not find > cython in path. > > I am building your package in rawhide FWIW. > > I had this problems 2 weeks ago and I noticed that it still persists today. Please try this new one (I forgot to validate it was building in a clean chroot after changing to use system cython):  Add cython to build requires (#877651#c28). Spec URL: http://pcpa.fedorapeople.org/sagemath.spec SRPM URL: http://pcpa.fedorapeople.org/sagemath/SRPMS/sagemath5.52.fc19.src.rpm (In reply to comment #16) > Have you applied for bundling exceptions for cython, ipython, and pexpect? Exception has been granted for 6 month ipython and pexect only if no solution can be found: https://fedorahosted.org/fpc/ticket/238 It should be 6 months for ipython but depending on flow of review I can at least experiment on backporting the ipython patches targeted to sagemath 5.6. Unfortunately, probably will need to use the bundled pexpect. I did mail the pexpect author but got no response, and started a small thread about in at https://groups.google.com/forum/?fromgroups=#!topic/sagedevel/_tEyhHq7Vwg Since Paulo is reviewing polymake for me, I am, with great fear and trepidation, taking this review. Paulo, what is the status of the bundled pexpect? Are you still looking for a way to use the system pexpect? (In reply to comment #31) > Since Paulo is reviewing polymake for me, I am, with great fear and > trepidation, taking this review. Paulo, what is the status of the bundled > pexpect? Are you still looking for a way to use the system pexpect? I just added another comment to https://fedorahosted.org/fpc/ticket/238 about it. I believe the only alternative right now is to use the bundled pexpect. BTW, Many thanks for taking the review Jerry :) I am working on a minor howto for anybody that used my f17 repository to cleanly update to f18, while I do the same :) And should provide a temporary f18 repository also, that now is very simple as basically all dependencies are already in f18. Update correcting a very large amount of doctest failures:  Rediff rpmbuild patch to address some underlinked modules.  Make gapsonata a mandatory requires.  Add cremona patch to adjust logic as only cremona mini is built.  Add lrslib patch to know lrslib is available.  Add nauty patch and comment about reason it cannot be made available.  Add gaphap patch for better description of missing gap hap package. Spec URL: http://pcpa.fedorapeople.org/sagemath.spec SRPM URL: http://pcpa.fedorapeople.org/sagemath/SRPMS/sagemath5.53.fc19.src.rpm Sorry to take so long with this, Paulo. It's a really big package. :) Currently, fedorareview is warning that it can't download the sage5.5.tar file. That's because it is now 5.6. Also, the build of 5.5 is failing on both F18 and Rawhide, although a bit differently. On Rawhide, it looks like there is some kind of conflict between the ppl and gmp headers. On F18, it fails like this: In file included from /usr/include/singular/structs.h:15:0, from /usr/include/libsingular.h:6, from sage/algebras/letterplace/free_algebra_letterplace.cpp:261: /usr/include/singular/si_gmp.h:4:22: fatal error: cf_gmp.h: No such file or directory compilation terminated. It looks like the factorydevel header files have been moved into a subdirectory of %{_includedir}, so it will now be necessary to specify I/usr/include/factory. Thanks! I think I may have been using a Singular with that problem already solved in f18 builds. Interestingly, I just pushed to f18 stable a Singular that matches the rawhide version. I will update to sagemath 5.6 and test mock builds as right now it works for me on f18 and rawhide. Only rawhide build should work, f18 should fail until https://admin.fedoraproject.org/updates/eclib201208301.fc18 hits f18 stable. Update:  Update to sagemath 5.6.  Remove no longer required patch to build with system cython. Spec URL: http://pcpa.fedorapeople.org/sagemath.spec SRPM URL: http://pcpa.fedorapeople.org/sagemath/SRPMS/sagemath5.61.fc19.src.rpm Actually, builds are failing in Rawhide, too. I got this in a mock build for i386 Rawhide: gcc pthread fnostrictaliasing O2 g pipe Wall Wp,D_FORTIFY_SOURCE=2 fexceptions fstackprotector param=sspbuffersize=4 m32 march=i686 mtune=atom fasynchronousunwindtables D_GNU_SOURCE fPIC fwrapv DNDEBUG O2 g pipe Wall Wp,D_FORTIFY_SOURCE=2 fexceptions fstackprotector param=sspbuffersize=4 m32 march=i686 mtune=atom fasynchronousunwindtables D_GNU_SOURCE fPIC fwrapv fPIC I/builddir/build/BUILDROOT/sagemath5.61.fc19.i386/usr/lib/sagemath/local/include Ic_lib/include I/builddir/build/BUILDROOT/sagemath5.61.fc19.i386/usr/lib/sagemath/devel/sage/sage/ext I/usr/include/python2.7 c sage/libs/ppl.cpp o build/temp.linuxi6862.7/sage/libs/ppl.o w In file included from /usr/include/ppl.hh:27:0, from sage/libs/ppl.cpp:264: /usr/include/ppli386.hh:774:7: error: redefinition of 'class std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >' class numeric_limits<mpz_class> { ^ In file included from sage/libs/ppl.cpp:263:0: /usr/include/gmpxx.h:3269:21: error: previous definition of 'class std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >' template <> class numeric_limits<mpz_class> ^ In file included from /usr/include/ppl.hh:27:0, from sage/libs/ppl.cpp:264: /usr/include/ppli386.hh:835:7: error: redefinition of 'class std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >' class numeric_limits<mpq_class> { ^ In file included from sage/libs/ppl.cpp:263:0: /usr/include/gmpxx.h:3306:21: error: previous definition of 'class std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >' template <> class numeric_limits<mpq_class> I will try to debug this problem. I notice both ppl%{_arch}.hh and gmpxx.hh defines templates for class numeric_limits<mp?_class>, but apparently only in i386 it is conflicting. I did only test x86_64 builds so far... If possible please try a x86_64 mock build; that should not fail (works for me :) I got the same error on an x86_64 build: gcc pthread fnostrictaliasing O2 g pipe Wall Wp,D_FORTIFY_SOURCE=2 fexceptions fstackprotector param=sspbuffersize=4 m64 mtune=generic D_GNU_SOURCE fPIC fwrapv DNDEBUG O2 g pipe Wall Wp,D_FORTIFY_SOURCE=2 fexceptions fstackprotector param=sspbuffersize=4 m64 mtune=generic D_GNU_SOURCE fPIC fwrapv fPIC I/builddir/build/BUILDROOT/sagemath5.61.fc19.x86_64/usr/lib64/sagemath/local/include Ic_lib/include I/builddir/build/BUILDROOT/sagemath5.61.fc19.x86_64/usr/lib64/sagemath/devel/sage/sage/ext I/usr/include/python2.7 c sage/libs/ppl.cpp o build/temp.linuxx86_642.7/sage/libs/ppl.o w In file included from /usr/include/ppl.hh:25:0, from sage/libs/ppl.cpp:264: /usr/include/pplx86_64.hh:774:7: error: redefinition of 'class std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >' class numeric_limits<mpz_class> { ^ In file included from sage/libs/ppl.cpp:263:0: /usr/include/gmpxx.h:3269:21: error: previous definition of 'class std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >' template <> class numeric_limits<mpz_class> ^ In file included from /usr/include/ppl.hh:25:0, from sage/libs/ppl.cpp:264: /usr/include/pplx86_64.hh:835:7: error: redefinition of 'class std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >' class numeric_limits<mpq_class> { ^ In file included from sage/libs/ppl.cpp:263:0: /usr/include/gmpxx.h:3306:21: error: previous definition of 'class std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >' template <> class numeric_limits<mpq_class> I can reproduce it in both i386 and x86_64 now. My guess it is gcc 4.8.0 that does not like the duplicated but not equal templates; my last builds were with gcc 4.7.2. Update:  Add cryptominisatdevel to build requires.  Add conditional build for lrcalc (fedora review rhbz #909510)  Add conditional build for coinorCoinUtils (fedora review rhbz #894585)  Add conditional build for coinorOsi (fedora review rhbz #894586)  Add conditional build for coinorClp (fedora review rhbz #894587)  Add conditional build for coinorCgl (fedora review rhbz #894588)  Add conditional build for coinorCbc (fedora review rhbz #894597)  Rebuild with latest rawhide and f18 dependency updates. Spec URL: http://pcpa.fedorapeople.org/sagemath.spec SRPM URL: http://pcpa.fedorapeople.org/sagemath/SRPMS/sagemath5.63.fc19.src.rpm I did upload prebuilt binaries to pcpa.fedorapeople,org but remade the srpm for review request to not depend on packages still under review request. Update: I made another update because mock build would fail in the last steps and added two extra macros to make it easier/faster to do debug builds.  Correct "canonicalization unexpectedly shrank by one character" error.  Add packager_debug macro for conditional package debug mode build.  Add donwload_tarball macro to avoid fedorareview donwloading it every run. Spec URL: http://pcpa.fedorapeople.org/sagemath.spec SRPM URL: http://pcpa.fedorapeople.org/sagemath/SRPMS/sagemath5.64.fc19.src.rpm Created attachment 696525 [details]
sagememcheck
valgrind run on the first crash in libsymmetrica:
sage t force_lib "devel/sage/sage/algebras/nil_coxeter_algebra.py"
symmetrica logic is quite complex, but since it does not
crash under valgrind (but I did not check mallocfill)
it should be an issue with uninitialized memory when
reading out of bounds memory (probably "padding" memory).
My first guess hack to fix that would be to ensure all
malloc calls in symmetrica are converted to calloc
(possibly ensuring requested block sizes aligned at
16 bytes), but still possibly leave the bug around because
of the logic to reuse objects that may not set them
back to zero.
Created attachment 915673 [details]
Comment
(This comment was longer than 65,535 characters and has been moved to an attachment by Red Hat Bugzilla).
(In reply to comment #45) > Here's a run of fedorareview, noting a few problems that need to be fixed. > Issues, in no particular order: > 1. The jpackageutils and javadoc warnings are due to jmol and sage3d; the > Java packaging guidelines need to be followed for those portions. I believe it is being caused because the package has symlinks to .jar files from jmol and vecmath, but fedorareview does not consider this condition. NOTE: not addressed yet. > 2. Should the doc subpackages be noarch? How about the data subpackages? I changed both to noarch. I wish rpm would be smarter about changing a directory to a symlink, since to be noarch it needs to be moved to /usr/share, the previous directories under %_libdir need to be changed to symlinks, and that makes updates of the current package not easy. In the current state should be ok, but changing later is really not desirable because it would create too many upgrade failure conditions. > 3. The build isn't using the right build flags. The build log shows: > + pushd spkg/build/sage5.6 > + pushd c_lib > + CXX=g++ > + UNAME=Linux > + SAGE64=auto > + scons > scons: Reading SConscript files ... > scons: done reading SConscript files. > scons: Building targets ... > gcc o src/convert.os c fPIC > I/builddir/build/BUILDROOT/sagemath5.64.fc19.x86_64/usr/lib64/sagemath/ > local/include > I/builddir/build/BUILDROOT/sagemath5.64.fc19.x86_64/usr/lib64/sagemath/ > local/include/python2.7 > I/builddir/build/BUILDROOT/sagemath5.64.fc19.x86_64/usr/lib64/sagemath/ > local/include/NTL Iinclude src/convert.c > > ... followed by more files compiled without the correct flags. I see more > compilations in other directories later in the build log with the same > problem. scons is weird, it ignores most environment variables. I did add hardcoded CFLAGS and CXXFLAGS (and LINKFLAGS). I do not have any saved logs for the cython build flags, but it is passing the proper flags (not sure if side effect of exporting CFLAGS and CXXFLAGS). Just in case, the SAGE64 is just to fool this: if os.environ['SAGE64']=="yes": env.Append( CFLAGS="O2 g m64" ) env.Append( CXXFLAGS="O2 g m64" ) env.Append( LINKFLAGS="m64" ) so that os.environ['SAGE64'] is defined and does not cause and exception due to being undefined. > 4. The bundling issue still needs to be resolved. I was left alone with the pexpect issue :( Pexpect upstream did not respond my query, and sagemath upstream did comment a lot about it, and that at some point the new pexpect, basically completely rewritten was significantly slower with sagemath. The remaining issue is ipython. Hopefully by sagemath5.7 it will be able to use latest upstream ipython, otherwise may need to ping back about it. > 5. The license check looks okay, except it flags one file with an Apache > license. I think this is okay, because that file is only used for testing > and does not contribute to the binary RPMs, right? Need to verify when the selenium subdir was added (well, it appears licensecheck only tells about it, but there are others), but it was not when I did run licensecheck to generate the License tag. But the notebook was significantly changed since then, and added several ASL files indeed. Updated now. > 6. The license breakdown needs to be explained in a comment; > See > https://fedoraproject.org/wiki/Packaging: > LicensingGuidelines#Multiple_Licensing_Scenarios I did split/review as much as I could, and the directories in sagenb where there was only one file with a license I assumed that license. There is a significant breakdown already done in $SAGE_ROOT/COPYING.txt but that includes what upstream sagemath bundles, so, only a small portion actually applies to sagemath, that is release under GPLv2+ > 7. Since the main package installs an icon, it needs this: > https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Icon_Cache Fixed. > 8. %{_libdir}/sagemath/share is owned by the main package, but the main > package puts no contents into it. It appears to be used only by the > sagemathdatafoo packages, so shouldn't sagemathdata own it? Corrected. > 9. Empty directories in the sagemathdataextcode package, some of which are > the only items in their parent directories: >  %{_libdir}/sagemath/share/extcode/MuPAD/user >  %{_libdir}/sagemath/share/extcode/QEPCAD >  %{_libdir}/sagemath/share/extcode/gap/user >  %{_libdir}/sagemath/share/extcode/genus2reduction >  %{_libdir}/sagemath/share/extcode/gnuplot >  %{_libdir}/sagemath/share/extcode/kash/user >  %{_libdir}/sagemath/share/extcode/macaulay2/user >  %{_libdir}/sagemath/share/extcode/magma/ell_padic >  %{_libdir}/sagemath/share/extcode/magma/padic_height >  %{_libdir}/sagemath/share/extcode/maple/user >  %{_libdir}/sagemath/share/extcode/mathematica/user >  %{_libdir}/sagemath/share/extcode/matlab/user >  %{_libdir}/sagemath/share/extcode/octave/user >  %{_libdir}/sagemath/share/extcode/pari/user >  %{_libdir}/sagemath/share/extcode/scilab/user >  %{_libdir}/sagemath/share/extcode/sobj These are supposed to be placehoders for customization. It is most likely wrong because it is not per user. I left it there because it matches upstream release. I updated it to not create the empty directory trees. > 10. The main package Requires: jmol, but then sagemathnotebook includes both > JmolApplet.jar, from the jmol package, and vecmath.jar, from the vecmath > package. What is going on here? It could be changed to make sagemathcore (not the virtual sagemath package) require jmol, but jmol should be required by the main/core package as it can use the standard jmol in the command line interface. The jars are actually symbolic links, to have them in the expected place by the notebook: $ ls l /usr/lib64/python2.7/sitepackages/sagenb/data/jmol/*.jar lrwxrwxrwx 1 root root 30 Feb 9 15:17 /usr/lib64/python2.7/sitepackages/sagenb/data/jmol/JmolApplet.jar > /usr/share/java/JmolApplet.jar lrwxrwxrwx 1 root root 27 Feb 9 15:17 /usr/lib64/python2.7/sitepackages/sagenb/data/jmol/vecmath.jar > /usr/share/java/vecmath.jar > 11. Binary eggs need to be removed in %prep: >  spkg/build/sagenb0.10.2/src/sagenb/sagenb.egginfo Fixed. > 12. The complaint below about fonts is due to some TeX fonts in > sagemathnotebook, which need to be handled according to the Fonts > Policy: > https://fedoraproject.org/wiki/Packaging:FontsPolicy I changed the spec file to explicitly remove the fonts subdir. But I am going to debug it to see if it works without those, of if needs to package them separately. I believe the warning is about the .otf files, and not the .eot and .svg ones (yes, it is: // /usr/share/fedorareview/plugins/generic_should.py +637 for p in ['*.pfb', '*.pfa', '*.afm', '*.ttf', '*.otf']: ). I did not test everything, so, but it most likely should be working, or have some bad font rendering in some random place (or just be using a system font). > 13. Patches should have an explanatory comment: > > https://fedoraproject.org/wiki/Packaging: > Guidelines#All_patches_should_have_an_upstream_bug_link_or_comment Most were already commented, but added a description, and an url link if applicable, to the few ones without a proper small description in a comment. > 14. Add p to the cp command on line 827 of the spec file (for the "preserves > timestamps" issue) Fixed (actually used a to match pattern in other cp calls) > 15. I see some localespecific files, but don't see this in use: > https://fedoraproject.org/wiki/Packaging:Guidelines#Handling_Locale_Files Initially I did remove those, but that ended up with a non working package. Then I switched to use find_lang but it does not find the .mo files because they are under a translations, not "locale" directory. After creating a symbolic link named locale it still fails, because find_lang wants locale/xx_YY/*.mo, and the .mo files are in [translationslocale]/xx_YY/LC_MESSAGES/*.mo Note sure if should add all the symlinks required to make find_lang work. NOTE: not addressed yet. > 16. Spelling: donwload_tarball > download_tarball Corrected. At least it was consistent, and was mispelled in all usages of the macro :) > 17. I know that many of the rpmlint complaints are innocuous, but a few > should > be handled, including these: >  sagemathsagetex.x86_64: W: onelinecommandin%post /usr/bin/mktexlsr The sagemathsagetex it tricky, because sagetex itself should be very rarely updated, so, a simple sagemathsagetex upgrade with sagemathsagetex in the same version would not need to rerun mktexlsr. >  sagemath.src: W: strangepermission testjava.sh 0755L Not sure about the .sh permission. I hope the change from m755 to m0755 as argument to install should correct it. >  sagemath.src:648: W: rpmbuildrootusage %prep rm rf %{buildroot} I had that for debugging purposes and run a build without[=]prep, but this is not be much useful nowadays, I removed it. Actually, if doing a build using rpmbuild now it is required to remove manually the buildroot directory, but it is a minor issue, and side effect of all the magics done to make the build work in a buildroot environment. >  sagemath.src:1305: W: macroin%changelog %{name} Corrected. >  sagemath.src:506: W: mixeduseofspacesandtabs (spaces: line 506, > tab: line 3) The mixed spaces and tabs is tricky, "correcting" it means modifying the %description that uses spaces simulating a 4 spaces tabulation. NOTE: not addressed yet. >  sagemathcore.x86_64: W: unuseddirectshlibdependency > /usr/lib64/libcsage.so /lib64/libm.so.6 The unused direct shlib dependency is not easy, need to check all .so python modules to see which one is problematic and add special rules for it, anyway, should not be too hard to do to add an extra patch to module_list.py to handle it. NOTE: not addressed yet. > I *think* that the other issues flagged by fedorareview aren't really > issues, > but check them anyway and let me know what you think. The non working url is on purpose because downloading 300Mb+ for every single test run of fedorareview is not cheap, but later it can be made so, and it is easy to regenerate the srpm to toggle the: # for quicker fedorareview tests without downloading the main tarball %global download_tarball 0 variable. Unless I am completely mistaken, ther is nothing that qualifies as javadoc in the package, so the warning should be bogus, and a side effect of the symlinks to jar files. The dangling symlinks are for the .jar files from the "requires" jmol and vecmath, so that it does not bundle those, and still have the symlinks to the place the notebook wants them. I will make extra checks to see if adding an explicit %lang cures the warning about .mo files not in %lang, and this should be acceptable to not use %find_lang as explained above (?!) The unversioned .so files are masked out by __provides_exclude_from and are private python modules, so the warning should be bogus. The sage3d dangling symlink is indeed dangling. Need java3d (nonfree) and regenerate the jars (TODO), I will remove it from any final release, but it is not by any interface, well, one can try to make 3d plots using it, what will fail. The other %{buildroot} usages can be patched to silence the warning, that is, to use some other "temporary" directory during build, because it needs to "install" some components to rebuild everything in the buildroot environment, but the most complex rebuild (the documentation) is in %install anyway. I will work a bit more, but already spent quite some time to address most of the issues, so, if you want to rerun it, it should be 90%+ of the issues addressed now :) Update:  Export CFLAGS and CXXFLAGS (#877651#c45)  Make sagemathdata owner of SAGE_SHARE (#877651#c45)  Relocate SAGE_DOC and make sagemathdoc packages noarch (#877651#c45)  Relocate SAGE_SHARE and make sagemathdata packages noarch (#877651#c45)  Remove sagenb binary egg bundled in tarball (#877651#c45)  Update license tag due to unlisted Apache v2 license (#877651#c45)  Break down licenses in files listing (#877651#c45)  Add post scriplets to handle the installed icon (#877651#c45)  Do not install empty directories in SAGE_EXTCODE (#877651#c45)  Do not install bundled mathjax fonts (#877651#c45)  Add a descriptive comment to patches without one (#877651#c45)  Correct mispelled donwload_tarball macro name (#877651#c45)  Remove reference to buildroot in prep (#877651#c45)  Simplify coinorCbc build requires as it has proper dependencies Spec URL: http://pcpa.fedorapeople.org/sagemath.spec SRPM URL: http://pcpa.fedorapeople.org/sagemath/SRPMS/sagemath5.65.fc19.src.rpm I made a new build and updated the f18 repo because it was broken due to rebuilding in a not up to date f18, and also addressed some extra issues. After a run of fedorareview, now is in my todo: W: invalidlicense GPL W: wrongfileendoflineencoding /usr/share/doc/sagemath5.6/output/html/en/bordeaux_2008/objects.inv W: spuriousexecutableperm /usr/share/doc/sagemath5.6/en/prep/media/Rplot001.png W: filenotutf8 /usr/share/doc/sagemath5.6/output/html/en/bordeaux_2008/objects.inv W: nosoname /usr/lib64/libcsage.so should just patch the build to add a (zero) soname to it. Should ignore for now: E: zerolength /usr/lib64/python2.7/... E: explicitlibdependency lrslib E: explicitlibdependency pythonmatplotlib W: strangepermission testjava.sh 0755L Do not know why the warning is still there, it is a shell script... I will remove the magic to upgrade from arch to noarch soon, so this will be removed shortly: W: dangerouscommandin%pretrans mv Update:  Rebuild with latest rawhide and f18 updates  Make sagemathnotebook owner of its base data directory  Explicitly mark notebook translations as %%lang (#877651#c46)  Remove sage3d as it is not functional in the rpm package (#877651#c46)  Remove reference to buildroot in libcsage.so debuginfo Spec URL: http://pcpa.fedorapeople.org/sagemath.spec SRPM URL: http://pcpa.fedorapeople.org/sagemath/SRPMS/sagemath5.66.fc19.src.rpm Update:  Update to sagemath 5.7.  Add conditional patch for libgap.  Add conditional patch for fes.  Remove with_sage_ipython conditional.  Add patch to create a libcsage with a soname. Spec URL: http://pcpa.fedorapeople.org/sagemath.spec SRPM URL: http://pcpa.fedorapeople.org/sagemath/SRPMS/sagemath5.71.fc19.src.rpm While I am busy I have following this review request and I would like to thank you Paulo for the amazing work you have doing for putting sage in a way that can be imported into Fedora. At the same time as we know from other experiences the final result will not only help us (Fedora) but all the upstream project. Congratulations. :) Requires ipython, but that is missing in the spec file. (as reported on sagesupport https://groups.google.com/d/topic/sagesupport/MT1jKJLm1eg/discussion) Thanks for tests and comments. I will add ipython as Requires for the next build (forgot about it because it is the first sagemath package using system ipython), that should also have an option to build with libgap :) https://bitbucket.org/vbraun/libgap/issue/1/pleasemaketarballdownloadsavailable Does it need pythonipython, or merely pythonipythonconsole? (The only uses I have found so far need the latter, not the former.) And I echo comment 50. You've done a LOT of work on this package. Give yourself a pat on the back. :) Sorry for the delay with another srpm. I preferred to use the simpler "canonical" pythonipython name. Jerry, please review it :) Update:  Create jmol symbolic links in post and remove in postun.  Disable libgap by default as it does not work with rawhide gap.  Also add pythonipython to build requires to regenerate documentation.  Add missing pythonipython requires (#877651#52)  Enable libgap build in packager debug build (#877651#52) Spec URL: http://pcpa.fedorapeople.org/sagemath.spec SRPM URL: http://pcpa.fedorapeople.org/sagemath/SRPMS/sagemath5.72.fc20.src.rpm (In reply to comment #54) >  Create jmol symbolic links in post and remove in postun. Oops, sorry, I did not mean to push you in this direction. I just didn't realize we were dealing with symbolic links. I think the way you had it (with the symlinks owned by the package) was better than this approach. >  Disable libgap by default as it does not work with rawhide gap. Can you tell me what the problem is? Is it something I can fix on the gap side? I will do a thorough review tomorrow. Sorry for the delay. (In reply to comment #55) > (In reply to comment #54) > >  Create jmol symbolic links in post and remove in postun. > > Oops, sorry, I did not mean to push you in this direction. I just didn't > realize we were dealing with symbolic links. I think the way you had it > (with the symlinks owned by the package) was better than this approach. > > >  Disable libgap by default as it does not work with rawhide gap. > > Can you tell me what the problem is? Is it something I can fix on the gap > side? I think libgap should be built at the same time as gap, or coordinate to not have libgap not matching gap. Volker Braun commented about it in https://bitbucket.org/vbraun/libgap/issue/1/pleasemaketarballdownloadsavailable and pointed to the same problem in upstream sagemath in http://trac.sagemath.org/14039 > I will do a thorough review tomorrow. Sorry for the delay. No problems. What I want to change next was that I only figured the missing post and postun of ldconfig after building the latest srpm, and another issue is that removing the symbolic links in %postun causes it to leave empty directory %{python_sitearch}/sitepackages/sagenb/data/jmol/ but removes all java related rpmlint warnings... Update:  Update to sagemath 5.8.  Do full cleanup of notebook package on uninstall.  Remove with_sage_cython build conditional.  Remove with_sage_networkx build conditional.  Add nopari2.6 patch to not rely on not yet available interfaces.  Add cryptominisat patch to build package in f18. Spec URL: http://pcpa.fedorapeople.org/sagemath.spec SRPM URL: http://pcpa.fedorapeople.org/sagemath/SRPMS/sagemath5.81.fc20.src.rpm The nopari2.6 is a simple patch due to using features from the upcoming pari 2.6 in the patched pari.spkg. The cryptominisat patch is because it now requires cryptominisat 2.9.6 and does not build with f18 cryptominisat 2.9.5. Remaining changes, not worth to add to changelog, or that I forgot to :), are patch rediffs, minor corrections to documentation build and adding ldconfig to post and postun. Jerry, there is no pending fpc issue now in https://fedorahosted.org/fpc/ticket/238 Please review it again. Oh, great! I have a full workload tonight already, but I should be able to do this first thing tomorrow. I won't post the full output of fedorareview again, just a short list of items to be addressed. We're almost there! First, lrslib is listed as a Requires. The lrslib package contains only the library. It looks like the lrs program is needed by sage/geometry/polyhedron/base.py. In that case, the Requires should be for lrslibutils instead. Second, the license breakdown still needs to be explained in a comment: https://fedoraproject.org/wiki/Packaging: LicensingGuidelines#Multiple_Licensing_Scenarios I know you said the license breakdown is available elsewhere, but it needs to appear in the spec file, too. Third, I did not make my meaning clear with the comment about oneline scripts. You should have this: %post sagetex p %{_bindir}/mktexlsr %postun sagetex p %{_bindir}/mktexlsr Note the use of p. That allows RPM to invoke the program directly, rather than spawning a shell to run the contents of the script. See http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Syntax. Fourth, there is some new output from rpmlint that should be reviewed. Can you take a look at these to see which are real issues that need to be addressed? sagemathcore.x86_64: W: unuseddirectshlibdependency /usr/lib64/libcsage.so.0 /lib64/libm.so.6 sagemathcore.x86_64: E: zerolength /usr/lib64/python2.7/sitepackages/sage/server/notebook/compress/all.py sagemathcore.x86_64: E: zerolength /usr/lib64/python2.7/sitepackages/sage/misc/test_cpickle_sage.py sagemathcore.x86_64: W: danglingsymlink /usr/lib64/sagemath/devel/sage /usr/lib64/python2.7/sitepackages sagemathcore.x86_64: E: zerolength /usr/lib64/python2.7/sitepackages/sage/libs/pari/to_gen.pxi sagemathdata.noarch: W: dangerouscommandin%pretrans mv sagemathdataextcode.noarch: W: danglingsymlink /usr/share/sagemath/extcode/sage /usr/lib64/python2.7/sitepackages sagemathdoc.noarch: W: onlynonbinaryinusrlib sagemathdoc.noarch: W: docfiledependency /usr/share/doc/sagemath5.8/common/updatepythoninv.sh /usr/bin/env sagemathdoc.noarch: W: docfiledependency /usr/share/doc/sagemath5.8/common/builder.py /usr/bin/env sagemathdoc.noarch: W: dangerouscommandin%pretrans mv sagemathdocen.noarch: W: spuriousexecutableperm /usr/share/doc/sagemath5.8/en/prep/media/Rplot001.png sagemathnotebook.x86_64: W: dangerouscommandin%postun rm sagemathnotebook.x86_64: W: dangerouscommandin%posttrans ln sagemathrubiks.x86_64: W: spellingerror %description l en_US contributers > contributes, contributors, contribute rs (In reply to comment #60) > I won't post the full output of fedorareview again, just a short list of > items to be addressed. We're almost there! > > First, lrslib is listed as a Requires. The lrslib package contains only the > library. It looks like the lrs program is needed by > sage/geometry/polyhedron/base.py. In that case, the Requires should be for > lrslibutils instead. Fixed. > Second, the license breakdown still needs to be explained in a comment: > https://fedoraproject.org/wiki/Packaging: > LicensingGuidelines#Multiple_Licensing_Scenarios > I know you said the license breakdown is available elsewhere, but it needs > to appear in the spec file, too. I belive I was missing only the comment about the breakdown before the License tag line, so, should be fixed now. I am a bit unsure if using GPL is valid as license, but I added it due to (http://www.wrongway.org/?rubiksource): %< The source code for my various rubik solvers are freely available. They are, for the moment, released GPL (e.g., free to distribute and modify but it and its derivitives must always remain free and open source). %< > Third, I did not make my meaning clear with the comment about oneline > scripts. You should have this: > > %post sagetex p %{_bindir}/mktexlsr > %postun sagetex p %{_bindir}/mktexlsr > > Note the use of p. That allows RPM to invoke the program directly, rather > than spawning a shell to run the contents of the script. See > http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Syntax. Fixed. > Fourth, there is some new output from rpmlint that should be reviewed. Can > you take a look at these to see which are real issues that need to be > addressed? > > sagemathcore.x86_64: W: unuseddirectshlibdependency > /usr/lib64/libcsage.so.0 /lib64/libm.so.6 I prefer to keep this in case there are a few of these python modules $ rpm ql sagemathcore  grep '.so$'  wc l 339 that do not "really" need to link to libcsage.so > sagemathcore.x86_64: E: zerolength > /usr/lib64/python2.7/sitepackages/sage/server/notebook/compress/all.py > sagemathcore.x86_64: E: zerolength > /usr/lib64/python2.7/sitepackages/sage/misc/test_cpickle_sage.py Removed in %install for the sake of silencing the warning. > sagemathcore.x86_64: W: danglingsymlink /usr/lib64/sagemath/devel/sage > /usr/lib64/python2.7/sitepackages Fixed by moving the symlink to the devel package. > sagemathcore.x86_64: E: zerolength > /usr/lib64/python2.7/sitepackages/sage/libs/pari/to_gen.pxi > sagemathdataextcode.noarch: W: danglingsymlink > /usr/share/sagemath/extcode/sage /usr/lib64/python2.7/sitepackages I reworked the requires to have the symlink owned by the sagemathdata package, and add explicitly requires to the main package from sagemathdata. But it appears to not silence the warning, as I thought it was caused by the case of: a.bin > requires package that provides /lib/foo a.noarch > has symlink to /lib/foo a.bin > requires a.noarch a.noarch > does not require a.bin so, what I did was to make a.noarch require a.bin , but the warning remained. > sagemathdoc.noarch: W: onlynonbinaryinusrlib > sagemathdoc.noarch: W: docfiledependency > /usr/share/doc/sagemath5.8/common/updatepythoninv.sh /usr/bin/env > sagemathdoc.noarch: W: docfiledependency > /usr/share/doc/sagemath5.8/common/builder.py /usr/bin/env These are kind of documentation files also, that happen to be usable as scripts. Documentation is not supposed to be regenerated from installed packages, but possible with some tweaks. > sagemathdocen.noarch: W: spuriousexecutableperm > /usr/share/doc/sagemath5.8/en/prep/media/Rplot001.png Fixed. > sagemathdata.noarch: W: dangerouscommandin%pretrans mv > sagemathdoc.noarch: W: dangerouscommandin%pretrans mv > sagemathnotebook.x86_64: W: dangerouscommandin%postun rm > sagemathnotebook.x86_64: W: dangerouscommandin%posttrans ln I am keeping these a bit more for the sake of making clean upgrades after changing base dir to %{_libdir} for arch specific files, and after changing doc/data subpackages to noarch. This should be the last build with it, as I assume people using my f18 repository have upgraded to the latest version. This should not go in the final package. Just remind me, or yourself if you wish about ensuring those pretrans and posttrans are removed once the package is approved :) > sagemathrubiks.x86_64: W: spellingerror %description l en_US contributers > > contributes, contributors, contribute rs This is text from sagemath spkg.txt, I changed the spec for the sake of not having this warning again. Update:  Properly describe the license breakdown in the spec (#877651#60)  Correct lrslib requires to lrslibutils (#877651#60)  Remove zero length files (#877651#60)  Correct png file with executable permission (#877651#60)  Avoid rpmlint warning in rubiks subpackage description (#877651#60) Spec URL: http://pcpa.fedorapeople.org/sagemath.spec SRPM URL: http://pcpa.fedorapeople.org/sagemath/SRPMS/sagemath5.82.fc20.src.rpm (In reply to comment #61) > I am a bit unsure if using GPL is valid as license, but I added it > due to (http://www.wrongway.org/?rubiksource): > %< > The source code for my various rubik solvers are freely available. They are, > for the moment, released GPL (e.g., free to distribute and modify but it and > its derivitives must always remain free and open source). > %< If no specific version of the GPL is specified, then the license tag should contain "GPL+". See the entry for "GNU General Public License (no version)" here: https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses. > This should not go in the final package. Just remind me, or > yourself if you wish about ensuring those pretrans and posttrans > are removed once the package is approved :) I'm probably going to remind you very, very soon now, then, because I think this package is ready. Fix the license tag as noted above and ... there isn't anything else holding this package back, right? All of the bundled stuff has been granted exceptions. I can't come up with anything else that is blocking approval, but the package is so large and complex that I'll wait a short time for comments before I approve it. (In reply to comment #63) > (In reply to comment #61) > > I am a bit unsure if using GPL is valid as license, but I added it > > due to (http://www.wrongway.org/?rubiksource): > > %< > > The source code for my various rubik solvers are freely available. They are, > > for the moment, released GPL (e.g., free to distribute and modify but it and > > its derivitives must always remain free and open source). > > %< > > If no specific version of the GPL is specified, then the license tag should > contain "GPL+". See the entry for "GNU General Public License (no version)" > here: > https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses. I changed to GPL+. > > This should not go in the final package. Just remind me, or > > yourself if you wish about ensuring those pretrans and posttrans > > are removed once the package is approved :) > > I'm probably going to remind you very, very soon now, then, because I think > this package is ready. Fix the license tag as noted above and ... there > isn't anything else holding this package back, right? All of the bundled > stuff has been granted exceptions. I can't come up with anything else that > is blocking approval, but the package is so large and complex that I'll wait > a short time for comments before I approve it. Should I keep this chunk btw? Same issue as other review: %< %post /bin/touch nocreate %{_datadir}/icons/hicolor &>/dev/null  : %postun if [ $1 eq 0 ] ; then /bin/touch nocreate %{_datadir}/icons/hicolor &>/dev/null /usr/bin/gtkupdateiconcache %{_datadir}/icons/hicolor &>/dev/null  : fi %posttrans /usr/bin/gtkupdateiconcache %{_datadir}/icons/hicolor &>/dev/null  : %< because the icon is actually installed under %{_datadir}/pixmaps, or should the icon be moved elsewhere (under %{_datadir}/pixmaps). Not uploading a new src.rpm because it takes at least one hour in my DSL (upload is very slow), but here is the spec diff for now: %<  SPECS/sagemath.spec.orig 20130414 15:36:46.068616049 0300 +++ SPECS/sagemath.spec 20130414 15:42:09.567628437 0300 @@ 74,11 +74,11 @@ Group: Applications/Engineering Summary: A free opensource mathematics software system Version: 5.8 Release: 2%{?dist} +Release: 3%{?dist} # The file ${SAGE_ROOT}/COPYING.txt is the upstream license breakdown file # Additionally, every $files section has a comment with the license name # before files with that license License: ASL 2.0 and BSD and GPLv2+ and LGPLv2+ and MIT and Public Domain +License: ASL 2.0 and BSD and GPL+ and GPLv2+ and LGPLv2+ and MIT and Public Domain URL: http://www.sagemath.org %if %{download_tarball} Source0: http://boxen.math.washington.edu/home/%{name}/sagemirror/src/sage%{version}.tar @@ 1151,24 +1151,8 @@ %postun core p /sbin/ldconfig %pretrans data # temporary due to moving directory to symlink when changing data to noarch if [ d %{SAGE_ROOT}/share a ! e %{SAGE_SHARE} ]; then  mv %{SAGE_ROOT}/share %{SAGE_SHARE}  ln s %{SAGE_SHARE} %{SAGE_ROOT}/share fi  %pretrans doc # temporary due to moving directory to symlink when changing data to noarch if [ d %{SAGE_ROOT}/devel/doc a ! e %{SAGE_DOC} ]; then  mv %{SAGE_ROOT}/devel/doc %{SAGE_DOC}  ln s %{SAGE_DOC} %{SAGE_ROOT}/devel/doc fi  # Note this should be a plain %%post but make a %%posttrans for # a small window of time to allow clean upgrades, as previously # the (broken) links were added to the package. %posttrans notebook +# Use symlinks and a minor patch to the notebook to not bundle jmol +%post notebook ln sf %{_javadir}/JmolApplet.jar %{python_sitearch}/sagenb/data/jmol/ ln sf %{_javadir}/vecmath.jar %{python_sitearch}/sagenb/data/jmol/ @@ 1255,7 +1239,7 @@ # %files datapolytopes_db # GPL +# GPL+ %{SAGE_SHARE}/reflexive_polytopes # @@ 1374,12 +1358,12 @@ # %files rubiks # GPL +# GPL+ %{SAGE_LOCAL}/bin/optimal # MIT %{SAGE_LOCAL}/bin/dikcube %{SAGE_LOCAL}/bin/size222 # GPL +# GPL+ %{SAGE_LOCAL}/bin/cu2 %{SAGE_LOCAL}/bin/cubex %{SAGE_LOCAL}/bin/mcube @@ 1393,6 +1377,10 @@ ######################################################################## %changelog +* Sun Apr 14 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com>  5.83 + Use proper license tag for non versioned GPL attribution (#877651#63) + Remove no longer required workarounds for clean upgrades (#877651#63) + * Fri Apr 12 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com>  5.82  Properly describe the license breakdown in the spec (#877651#60)  Correct lrslib requires to lrslibutils (#877651#60) %< Created attachment 735989 [details]
Crash report of sage
I took the last srpm and I have used mock to rebuild it for Fedora 19.
Installing the resulting rpms, via "yum install sagemath" worked.
As soon as I start sagemath from the menu I get this crash with the corresponding crash report.
My purpose here is just to test sagemath under a normal scenario.
(In reply to comment #65) Hopefully it should be some simple issue, as I do not see any problems, but I am currently only testing in f18 and rawhide. > Created attachment 735989 [details] > Crash report of sage > > I took the last srpm and I have used mock to rebuild it for Fedora 19. > > Installing the resulting rpms, via "yum install sagemath" worked. > > As soon as I start sagemath from the menu I get this crash with the > corresponding crash report. Does the same problem happen if starting from an already open terminal? Works for me opening from kde menu. > My purpose here is just to test sagemath under a normal scenario. Maybe there is some dependency problem with the subpackages. What does "rpm qa  grep sagemath" show? Actually, there may be a problem right now, updating my test environment, as it may very likely be that it works with ipython0.13.1 but not ipython0.13.2. Will know it shortly. Just did a build with up to date rawhide and could not find any problems. I will try to create a f19 test environment later but for now it works for me on f18 and rawhide. (In reply to comment #66) > > Does the same problem happen if starting from an > already open terminal? Works for me opening from > kde menu. It fails in any case. > > My purpose here is just to test sagemath under a normal scenario. > > Maybe there is some dependency problem with the > subpackages. What does "rpm qa  grep sagemath" > show? # rpm qa  grep sagemath sagemathcore5.82.fc19.x86_64 sagemath5.82.fc19.x86_64 sagemathdatagraphs5.82.fc19.noarch sagemathrubiks5.82.fc19.x86_64 sagemathdata5.82.fc19.noarch sagemathdataextcode5.82.fc19.noarch sagemathdatapolytopes_db5.82.fc19.noarch sagemathdoc5.82.fc19.noarch sagemathdataelliptic_curves5.82.fc19.noarch sagemathdataconway_polynomials5.82.fc19.noarch sagemathdocen5.82.fc19.noarch sagemathsagetex5.82.fc19.x86_64 sagemathnotebook5.82.fc19.x86_64 (In reply to comment #67) > Actually, there may be a problem right now, > updating my test environment, as it may very > likely be that it works with ipython0.13.1 > but not ipython0.13.2. Will know it shortly. Honestly I think that this bug is unrelated to ipython. Looking into the backtrace we see the following: # The above "hopefully" was wishful thinking: > 1336 return inspect.ArgSpec(*_sage_getargspec_cython(sage_getsource(obj))) So it seems that the above *was not* wishful thinking. :) this then fails because sage_getsource(obj) returns None. Jerry FWIW I think that this package is in a state where it is ready to be approved. > (In reply to comment #63) > Should I keep this chunk btw? Same issue as other review: > %< > %post > /bin/touch nocreate %{_datadir}/icons/hicolor &>/dev/null  : > > %postun > if [ $1 eq 0 ] ; then > /bin/touch nocreate %{_datadir}/icons/hicolor &>/dev/null > /usr/bin/gtkupdateiconcache %{_datadir}/icons/hicolor &>/dev/null  : > fi > > %posttrans > /usr/bin/gtkupdateiconcache %{_datadir}/icons/hicolor &>/dev/null  : > %< > because the icon is actually installed under %{_datadir}/pixmaps, or > should the icon be moved elsewhere (under %{_datadir}/pixmaps). You don't need this for an icon installed in %{_datadir}/pixmaps. I don't yet understand the relative merits of installing an icon in %{_datadir}/pixmaps versus %{_datadir}/icons/hicolor. If somebody out there knows, please share that information. (In reply to comment #71) > Jerry FWIW I think that this package is in a state where it is ready to be > approved. Thanks, I do, too. This package is APPROVED.(In reply to comment #64) (In reply to comment #72) > > (In reply to comment #63) > (In reply to comment #71) > > Jerry FWIW I think that this package is in a state where it is ready to be > > approved. > > Thanks, I do, too. This package is APPROVED.(In reply to comment #64) Thanks! I have been updating and keeping it more or less working in fedora for a year. There are some known issues, but it should pass over 90% of the doctests, and once having it official, hopefully upstream will help more in making it easier for distros to package it incorporated in the base system. Time to comemorate :) New Package SCM Request ======================= Package Name: sagemath Short Description: A free opensource mathematics software system Owners: pcpa Branches: f18 f19 InitialCC: Git done (by processgitrequests). (In reply to comment #72) > > (In reply to comment #63) > > Should I keep this chunk btw? Same issue as other review: > > %< > > %post > > /bin/touch nocreate %{_datadir}/icons/hicolor &>/dev/null  : > > > > %postun > > if [ $1 eq 0 ] ; then > > /bin/touch nocreate %{_datadir}/icons/hicolor &>/dev/null > > /usr/bin/gtkupdateiconcache %{_datadir}/icons/hicolor &>/dev/null  : > > fi > > > > %posttrans > > /usr/bin/gtkupdateiconcache %{_datadir}/icons/hicolor &>/dev/null  : > > %< > > because the icon is actually installed under %{_datadir}/pixmaps, or > > should the icon be moved elsewhere (under %{_datadir}/pixmaps). > > You don't need this for an icon installed in %{_datadir}/pixmaps. I don't > yet understand the relative merits of installing an icon in > %{_datadir}/pixmaps versus %{_datadir}/icons/hicolor. If somebody out there > knows, please share that information. I am about to upload it to git now. Only change was release bump and removal of that chunk.  Remove noop icon cache regeneration scriplets (#877651#72)  First Fedora 18 and Fedora 19 approved package I believe installing in %{_datadir}/pixmaps is kind of KISS, possibly with some extra runtime overhead, because there are way too many subdirectories under %{_datadir}/icons, for different themes, categories, resolutions, etc. Following some links, this should be the simplest usage http://standards.freedesktop.org/iconthemespec/latest/ar01s07.html What about enabling SageMath to pythonpp usage? Is it possible? (In reply to comment #77) > What about enabling SageMath to pythonpp usage? Is it possible? I think this is a task for upstream sagemath :) sagemath5.86.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/sagemath5.86.fc19 sagemath5.86.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/sagemath5.86.fc18 sagemath5.86.fc19 has been pushed to the Fedora 19 testing repository. Everyone involved in helping make this review happen has my (and users where I work) eternal gratitude. (In reply to comment #70) > (In reply to comment #67) > > Actually, there may be a problem right now, > > updating my test environment, as it may very > > likely be that it works with ipython0.13.1 > > but not ipython0.13.2. Will know it shortly. > > Honestly I think that this bug is unrelated to ipython. Looking into the > backtrace we see the following: > > # The above "hopefully" was wishful thinking: > > 1336 return > inspect.ArgSpec(*_sage_getargspec_cython(sage_getsource(obj))) > > So it seems that the above *was not* wishful thinking. :) > > this then fails because sage_getsource(obj) returns None. I now did try to reproduce as close as possible what an end user would do, and can now reproduce the problem. I will make an update, sorry for the problem. In the meantime, it should work if you install sagemathdevel, *or*, run something like: $ sudo ln sf /usr/lib64/python2.7/sitepackages /usr/lib64/sagemath/devel/sage It is just a missing symlink provided by the devel package, and of course I always had the devel package installed :) That was my B plan. To install the devel subpackage. :) But then I got distracted. :) sagemath5.87.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/sagemath5.87.fc19 sagemath5.87.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/sagemath5.87.fc18 sagemath5.86.fc18 has been pushed to the Fedora 18 testing repository. upgraded to 5.87, seeing some scriptlet errors: Cleanup : sagemathcore5.86.fc18.x86_64 85/111 /sbin/ldconfig: relative path `1' used to build cache warning: %postun(sagemathcore5.86.fc18.x86_64) scriptlet failed, exit status 1 Nonfatal POSTUN scriptlet failure in rpm package sagemathcore5.86.fc18.x86_64 Cleanup : sagemathnotebook5.86.fc18.x86_64 86/111 Cleanup : sagemathrubiks5.86.fc18.x86_64 87/111 Cleanup : sagemathsagetex5.86.fc18.x86_64 88/111 mktexlsr: /var/tmp/rpmtmp.FWNuUJ: not a directory, skipping. mktexlsr: 1: not a directory, skipping. Cleanup : sagemath5.86.fc18.x86_64 Thanks, just learned another rpm feature :) It should not use %post p, or remove comments, example: %< %postun core p /sbin/ldconfig # Use symlinks and a minor patch to the notebook to not bundle jmol %post notebook %< and then: %< $ rpm q scripts sagemathcore postinstall program: /sbin/ldconfig postuninstall scriptlet (using /sbin/ldconfig): # Use symlinks and a minor patch to the notebook to not bundle jmol %< it is adding '#' as ldconfig argument. Should rewrite as: %postun core /sbin/ldconfig exit 0 or remove the comment before the notebook subpackage %post Maybe the correct approach is to patch rpm, as it appears opensuse fixed it recently, there is a comment about it in http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets But in the meantime I will keep this as a todo for the next build, as the error is not fatal. sagemath5.87.fc19 has been pushed to the Fedora 19 stable repository. sagemath5.87.fc18 has been pushed to the Fedora 18 stable repository. sagemath5.95.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/sagemath5.95.fc18 sagemath5.95.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. 