Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Error creating runtime binarys with bdist-sage-linux #11

Open

Description

@millermj1

If I clone https://github.com/sagemath/binary-pkg.git, edit sage.yaml to change the branch from develop to master, and run:

  • $ export PACKAGE="Runtime binaries only"
  • $ make bdist-sage-linux

then I get the errors:

  • make stage-sage
  • make[2]: Entering directory '/home/mike/Downloads/binary-pkg'
    .../binary-pkg/activate python -m binary_pkg.cmdline --config sage.yaml --stage --package "Runtime binaries only"
  • Namespace(build=False, checkout=False, config='sage.yaml', debug=False, dist=False, info=False, log=None, option_help=False, package='Runtime binaries only', stage=True)
  • WARNING:root:Suspicious text terminators [b':'] in .../binary-pkg/source/SageMath/.../local/bin/gp-2.9
  • WARNING:root:Contains zero-terminated strings but marker is not: .../binary-pkg/source/SageMath/.../local/bin/gp-2.9
  • ERROR:root:At b'.../binary-pkg/source/SageMath/.../local/share/doc/sage/html/en/reference/calculus/sage/calculus/ode.htmlX\x1e'
  • ERROR:root:path terminator b'\x1e' not allowed in .../binary-pkg/source/SageMath/.../local/share/doc/sage/doctrees/ca/intro/environment.pickle
  • invalid string terminator
  • Makefile:19: recipe for target 'stage-sage' failed
  • make[2]: *** [stage-sage] Error 1

All the files in the directory .../binary-pkg/source/SageMath/.../local/share/doc/sage/html/en/reference/calculus/sage/calculus end in html .

Without the "export package" line, the compile succeeds, but I want to shrink the size as much as possible.

Thanks!

Activity

  1. vbraun commented on Jun 22, 2017

    @vbraun
    Member

    Yes the runtime binary part isn't used regularly. The exclude: lines in sage.yaml need to be merged, anything at " Full binary tarball" needs to be added to "Runtime binaries only" if its not there already.
    PR would be welcome..

  2. millermj1 commented on Jun 22, 2017

    @millermj1
    Author
  3. vbraun commented on Jun 22, 2017

    @vbraun
    Member

    Thats just YAML syntax, the rewrite_path is assigned (&) to the REWRITE_PATH_DEFAULT variable and referenced (*) later.

    Only the files: section of "Runtime binaries only" needs updating....

  4. millermj1 commented on Jun 22, 2017

    @millermj1
    Author
  5. vbraun commented on Jun 23, 2017

    @vbraun
    Member

    No, the rewrite_path is correct as it stands. Only the files: section of "Runtime binaries only" needs updating....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions