https://bugs.winehq.org/show_bug.cgi?id=41342
Bug ID: 41342 Summary: Build with winegcc is not reproducible Product: Wine Version: 1.9.19 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: javier--fqu3sqxsVIm7PkQvPySPMwTV4r0Nxk@jasp.net Distribution: ---
Building with winegcc is not reproducible because the name of a temporary file is included.[1] The function that creates this file should try
char* tmp = strmake("%s%s", prefix, suffix); fd = open(tmp, O_CREAT | O_EXCL, 0600);
before mkstemps().[2]
About reproducible builds: https://reproducible-builds.org/
[1] https://tests.reproducible-builds.org/debian/dbd/unstable/i386/lmms_1.1.3-5.... , look for "spec.". [2] http://source.winehq.org/git/wine.git/blob/HEAD:/tools/winegcc/winegcc.c#l26...