Subject: bug#67967: Clang 15.0.7 is not reproducible

From: Clément Lassieur <[email-masked]>
Date: Fri, 22 Dec 2023 12:30:39 +0100

Hi,

I got this message today while building with offload something that
depends on Clang:

guix offload: error: hash of path `/gnu/store/2najhc2xrch1ix7y6424zhbym9cm1ih0-clang-15.0.7' has changed from `9909f3f5754b9361ace302243051797cfda01ef006051f4bc4415e027e34f111' to `666da88645ad4b0dc80678510019dc42b4cb6a2daa51d50f38252b2cff303ca4'!

Indeed on one machine:

guix build /gnu/store/iddh56nmdjxni0nx24y051qwpbk2fsy1-clang-15.0.7.drv
/gnu/store/2najhc2xrch1ix7y6424zhbym9cm1ih0-clang-15.0.7

guix hash -r /gnu/store/2najhc2xrch1ix7y6424zhbym9cm1ih0-clang-15.0.7
04gi6iz04pj1qi5iy186y0ga1zbwg58k0902wfn634sbfpsz62cr

On the other:

guix build /gnu/store/iddh56nmdjxni0nx24y051qwpbk2fsy1-clang-15.0.7.drv
/gnu/store/2najhc2xrch1ix7y6424zhbym9cm1ih0-clang-15.0.7

guix hash -r /gnu/store/2najhc2xrch1ix7y6424zhbym9cm1ih0-clang-15.0.7
191w63zjqar5707xalda5mmcpd22vhch0lbq0v40sjxd8n3ahvb6

Investigating further it seems that those files differ:

./lib/libclangTidyMPIModule.a 0mpaq9naspb9hd0gqz78wsfggiydf9ln52xkl1dxw0s3jw0fvcnn
./lib/libclangTidyMPIModule.a 011yjlxv5k54h59rkvlf4n44h7vilpm35q656wf9qjhrh10q0ffa

Thanks,
Clément