Opened 7 years ago
Closed 7 years ago
#4735 closed defect (fixed)
Bad treatment of patches in OMCompiler repository
Reported by: | Rüdiger Franke | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | 1.13.0 |
Component: | Build Environment | Version: | |
Keywords: | Cc: | Martin Sjölund |
Description
The commit Fix wrong pointer type renames CevalScript.1.patch.xz
to CevalScript.c.1.patch.xz
.
When updating the sources and recompiling, the previous CevalScript.1.patch
remains in the boot/patches
directory and causes the compilation to fail.
Shouldn't at least make clean
remove the old file?
Alternatively, couldn't the patches be in the git repository without .xz
compression, enabling git to show differences between commits and take care about renaming automatically?
Change History (3)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Honestly I have no glue about details of those xz-compressed files, patches and tarballs. Accordingly, it is unlikely that I would come up with a fix that matches your rationale -- as said, in mine these text files should simply not be xz-compressed to solve the issue.
comment:3 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed by having make clean actually clean the patches.
Yes, make clean should clean these things. Feel free to fix that with a PR. And I don't see much point in keeping the patches as text-files; the files they patch are xz-compressed as well, and it's generated code so you don't need to track changes because the next change is either that we get a new tarball and remove all patches, or we make a new patch, which doesn't affect the original patch-file.