Bug 669753
Summary: | Subscription Manager has non-equal .pyc/.pyo files between 32bit and 64-bit multilib peers (embedded timestamps) | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Bryan Kearney <bkearney> |
Component: | subscription-manager | Assignee: | Bryan Kearney <bkearney> |
Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.1 | CC: | bkearney, borgan, dmalcolm, jesusr |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-05-19 13:38:54 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 639436 |
Comment 2
James Bowes
2011-01-17 13:15:00 UTC
1 for now, 3 later is my thought. Adding: touch -r %{SOURCE1} foo.py to either the %build/%install will mark foo.py with the timestamp of SOURCE1, which is hopefully the same across all architectures, and should lead to the .pyc/.pyo being the same across all builds. (In reply to comment #4) > Adding: > touch -r %{SOURCE1} foo.py > > to either the %build/%install will mark foo.py with the timestamp of SOURCE1, > which is hopefully the same across all architectures, and should lead to the > .pyc/.pyo being the same across all builds. Thanks, I'll give that a try! I switched the Makefile to use install -p rather than cp. That should keep the timestamps the same across arches. We'll see on the next rebuild. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2011-0611.html |