diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2017-05-04 01:36:57 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2017-05-04 13:02:22 +0300 |
commit | de1c67659c16cf63ba57695c4c2ab49a35ca72f7 (patch) | |
tree | de0c9cadff944059823ed43c8b8a4ed512ba3584 | |
parent | 356854f810514021806d6402c6c16cfe048a8c3e (diff) |
Don't bind version_hints to same dict when making from legacy hints
This avoids any subsequent changes to the hints for a version from being
applied to all versions.
This allows the stability level tracking across versions to work correctly.
This then exposes that wasn't working correctly for gcc, and x86 gcc has a
timestamp anomaly that should have been ignoring...
-rwxr-xr-x | calm/package.py | 2 | ||||
-rw-r--r-- | calm/past_mistakes.py | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/calm/package.py b/calm/package.py index 51decbf..ca48d2e 100755 --- a/calm/package.py +++ b/calm/package.py @@ -296,7 +296,7 @@ def read_package(packages, basedir, dirpath, files, strict=False, remove=[], upl hint_files[vr] = hint_fn elif legacy: # otherwise, use setup.hint - pvr_hint = hints + pvr_hint = hints.copy() legacy_used = True else: # it's an error to not have either a setup.hint or a pvr.hint diff --git a/calm/past_mistakes.py b/calm/past_mistakes.py index 3baa848..e24f152 100644 --- a/calm/past_mistakes.py +++ b/calm/past_mistakes.py @@ -143,9 +143,29 @@ empty_but_not_obsolete = [ # packages with timestamp anomalies mtime_anomalies = [ + 'gcc-ada', + 'gcc-cilkplus', + 'gcc-core', + 'gcc-debuginfo', + 'gcc-fortran', + 'gcc-g++', + 'gcc-java', + 'gcc-objc', + 'gcc-objc++', 'gcc-tools-epoch2-autoconf', 'glproto', 'gv-debuginfo', + 'libatomic1', + 'libcilkrts5', + 'libgcc1', + 'libgcj-common', + 'libgcj16', + 'libgfortran3', + 'libgomp1', + 'libobjc4', + 'libquadmath0', + 'libssp0', + 'libstdc++6', 'python-gtk2.0', 'python-gtk2.0-demo', 'python-gtk2.0-devel', |