wrong md5 result for export
See original GitHub issueOn my system I do get a different RREF when running conan export compared to what our CI does.
CI:
$ conan export conan/recipes/zeromq/all/ 4.3.3-win@
Exporting package recipe
zeromq/4.3.3-win exports: File 'conandata.yml' found. Exporting it...
zeromq/4.3.3-win exports: Copied 1 '.yml' file: conandata.yml
zeromq/4.3.3-win exports_sources: Copied 1 '.txt' file: CMakeLists.txt
zeromq/4.3.3-win: The stored package has not changed
zeromq/4.3.3-win: Using the exported files summary hash as the recipe revision: e025e41363dcd4b490418d06224d5533
zeromq/4.3.3-win: Exported revision: e025e41363dcd4b490418d06224d5533
My machine:
$ conan export conan/recipes/zeromq/all/ 4.3.3-win@
Exporting package recipe
zeromq/4.3.3-win exports: File 'conandata.yml' found. Exporting it...
zeromq/4.3.3-win exports: Copied 1 '.yml' file: conandata.yml
zeromq/4.3.3-win exports_sources: Copied 1 '.txt' file: CMakeLists.txt
zeromq/4.3.3-win: The stored package has not changed
zeromq/4.3.3-win: Using the exported files summary hash as the recipe revision: 72778c1dd07e4d8976aa4cd2aee084e3
zeromq/4.3.3-win: Exported revision: 72778c1dd07e4d8976aa4cd2aee084e3
On CI, the conanmanifest.txt looks like this:
1613651222
conandata.yml: 0d768f680a5e682de512422da2c25303
conanfile.py: 7b6de2daa28836def00c57e07515612d
export_source/CMakeLists.txt: a7384d1eb57761e50fe52fd0d6bb97a8
on my machine:
1613641780
conandata.yml: 7754e2e98f18114fb783b276051d70fe
conanfile.py: 7b6de2daa28836def00c57e07515612d
export_source/CMakeLists.txt: a7384d1eb57761e50fe52fd0d6bb97a8
So it looks like the md5 for conandata.yml is calculated wrong on my machine. Doing it manually gives the CI version of the md5: md5sum conan/recipes/zeromq/all/conandata.yml
0d768f680a5e682de512422da2c25303 conan/recipes/zeromq/all/conandata.yml
Environment Details (include every applicable attribute)
- Operating System+version: WSL2 Ubuntu18.04
- Compiler+version: gcc 7.4
- Conan version: 1.33.0
- Python version: 3.6.9
maybe related stuff?
different algorithm may be used: https://github.com/conan-io/conan/blob/e04135f92dcc9d339a728324b8a588c8ae167bb4/conans/util/files.py#L144 https://github.com/conan-io/conan/blob/e04135f92dcc9d339a728324b8a588c8ae167bb4/conans/util/files.py#L162
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
Export directory renamed to MD5 hash - CMake - GitLab
Export directory renamed to MD5 hash. There is a behavior change between CMake 3.23.3 and 3.24.1 when running an install(EXPORT) .
Read more >Module has no exported member 'Md5'? - Stack Overflow
Module has no exported member Md5? But it works fine, problem is that it is giving me an error while compiling. I changed...
Read more >Solved: md5 hash issue - SAS Support Communities
I'm experimenting with the md5 hash function and testing it on the. ... However I then exported the shoes dataset to a CSV...
Read more >GIM Installation Failure with MD5SUM Error - IBM
Execute the command "export SETUP_NOCHECK=1" and run install from same console and see if it works. If it still does not work, please...
Read more >User password export providing unusual md5
I made a request for my user password hashes, but I'm unclear what the md5 hash represents in th export. For example, one...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Both are on the same OS? Something in my head just screams EOL convention. We set all
conanfile.py/conandata.ymlto Linux EOL conventions, even on Windows, because they caused the creation of different packages. But might be something different in your case.yes