<div dir="ltr"><div dir="ltr"><div>    Hi, Gao,</div><div><br></div><div>    This is how I installed mkfs.erofs on debian10:</div><div><br></div><div>apt-get install pkg-config liblz4-dev gawk<br>wget <a href="http://ftp.debian.org/debian/pool/main/e/erofs-utils/erofs-utils_1.3.orig.tar.gz">http://ftp.debian.org/debian/pool/main/e/erofs-utils/erofs-utils_1.3.orig.tar.gz</a><br>tar xvzpf erofs-utils_1.3.orig.tar.gz <br>cd erofs-utils-1.3/<br>./autogen.sh <br>./configure <br>make<br>make install<br></div><div><br></div><div>Can you tell me where do I clone it from and if build instructions are different?</div><div><br></div><div>Kind regards,</div><div>Todor<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 27, 2021 at 2:27 PM Gao Xiang <<a href="mailto:hsiangkao@linux.alibaba.com">hsiangkao@linux.alibaba.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Todor,<br>
<br>
On Wed, Oct 27, 2021 at 02:11:24PM +0300, Todor Ivanov wrote:<br>
>         Hello,<br>
> <br>
>         We are trying to replace squashfs with erofs and face an issue with<br>
> reproducing the build from one and the same source folder. The source<br>
> folder is "/etc" actually taken from an offline ubuntu 20.04 image and<br>
> mounted as read-only.<br>
>         I managed to narrow down the scope and it turns out that the issue<br>
> is when you have a file starting with "." (dot) in this folder. I.e.:<br>
> <br>
> etc/.anyfilename<br>
> <br>
> If I remove this file the erofs image of "etc" is reproducible (-T and -U<br>
> are used as well)<br>
> <br>
> The issue is somehow related to the other 76 subfolders of etc and this<br>
> file starting with dot. For example if I create such .anyfilename in usr or<br>
> var, there is no issue. Also if I create this file under<br>
> etc/xdg/.anyfilename, this is fine as well.<br>
> I also tried with etc from debian10 and the result is the same. Removing<br>
> any file that starts with dot directly under etc, makes the erofs build<br>
> reproducible.<br>
> Do you have any advice on this?<br>
<br>
In principle filenames starting with '.' won't impact anything about<br>
reproducible builds...<br>
<br>
Let me investigate it now... But may I ask which erofs-utils version<br>
is used? Does it still happen on the latest dev branch?<br>
<br>
Thanks,<br>
Gao Xiang<br>
<br>
> <br>
> Regards,<br>
> Todor<br>
</blockquote></div></div>