#7407: Fix building of binary distribution so it works on Solaris.
----------------------------+-----------------------------------------------
Reporter: drkirkby | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-4.4
Component: distribution | Keywords: solairs GNUism cp
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Comment(by jhpalmieri):
It seems to work on t2.math to use {{{cp -RPp}}}. There are some
warnings, but the resulting tar.gz file seems to unpack okay and producing
a working version of Sage.
{{{
-R
Copy file hierarchies.
-P
Take actions on any symbolic link specified as a source_file operand or
any symbolic link
encountered during traversal of a file hierarchy.
-p
Duplicate the following characteristics of each source file in the
corresponding destination
file: The time of last data modification and time of last access. If
this duplication fails for any
reason, cp shall write a diagnostic message to standard error.
The user ID and group ID. If this duplication fails for any reason, it
is unspecified whether cp
writes a diagnostic message to standard error.
The file permission bits and the S_ISUID and S_ISGID bits. Other,
implementation-defined, bits
may be duplicated as well. If this duplication fails for any reason, cp
shall write a diagnostic
message to standard error.
If the user ID or the group ID cannot be duplicated, the file permission
bits S_ISUID and
S_ISGID shall be cleared. If these bits are present in the source file
but are not duplicated
in the destination file, it is unspecified whether cp writes a
diagnostic message to standard error.
The order in which the preceding characteristics are duplicated is
unspecified. The dest_file
shall not be deleted if these characteristics cannot be preserved.
}}}
Opinions?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7407#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.