[From nobody Thu Jun 25 05:55:01 2020
Received: from sonic308-18.consmr.mail.ir2.yahoo.com ([77.238.178.146])
 by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux))
 id 1gomwM-0000wT-0J
 for openwrt-devel@lists.openwrt.org; Wed, 30 Jan 2019 10:17:57 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1548843472; bh=62pARMfRWxecULr1WAbsJyagh9dk6U8bIUwLj0J83so=;
 h=From:Subject:To:Date:From:Subject;
 b=pmGclu+OIrZVkFCE1TaBv/2JkMqlvBOKP63C1btT93LLJku8gLcycJi88HL3zmlB7bpDfwxe+h30I60VoC9Tt/ZboWKq8MffkEQWERKMeJnv1yyuBUHySjaL2ClwaTr138Ix1nj51yvDRbf3HPI1QjwXUiDzyN4Pi4WLdf4n9B5H5mK8g3kOF3/vX6YkYVqaKkaCIfWq7zCZqhYuic5ylcNbzGpVeYRfAmAT8ZJU1L3N5kP247U+n2DY391GXW+DhaD4sQ/vZseGnUHUf7UqlWUAhbriu77OujumFbVhJfi3bP66GCJRr7NVe3PTKfbjsV9GkFobO/M60nqZ6/xVQg==
X-YMail-OSG: 3AFZeFQVM1m6f3O84eKoBGXbf33h.clD2aB6vyeNVF3xJdCOLWbFnmF4dnOH_at
 EYocJcXBaOD14jx4y2s0UhUMkwHqJmJM1F4EEhf0ZZy9qrky0PMnRHC6MFEne3WG7jzXTEP8Zi3M
 Cw76ouITz2FiCgs8_f4d_yzgb8i0NalhhZvBixF1PcY5r360N1LSkurEuYVFA9pVNJFp3zut9DBr
 vJxt_CFgXtonQYOvTDJi3B5ho2Zq15MLVx7RPribGsUh8KEFOFU4eBnnVMz3jRFka_vSUammfTAZ
 xBJNO_YfJ7V1kZSm7JOEcdyFpoHb7_KTdpLqXhEXT6D3ZL9hAz7b474ZD2X0cqq16Jec3IKGpJet
 yFkY6TqwmVWR6LWzoIV_1zfKrf6rSmiXuU80vyznPAR8_ew0qoKcXdJTONduVuM72bCz1GsZuFnJ
 QeXSt5BOKJFhIL.rdhWGrP0ptZevqOaaavchXhJLUvCycTzm02YuAG4WT8Lr6muz89cNljOCddXd
 UjM3jsU3Jp66w_S3oxPugvkv9ypbJpeJaccIZ8oajXkb0emeneCyYlaCKthLkKSeanFRbw2tHuqR
 a2tky0_HCu1H_tj6dZF4VWH610ou.WKAhJ9xgXY6W._YJfYGVLxQMuArp6MeyMnL7pwng_jvdwUo
 .Fou4WJ5HYj8KlB6cwU0Ar.aF0K0pDv_ntgrQkF5K2skJcIuLIQYX1hhNi3ItlyP4C5pYY7zxx4D
 n0kIjjpNLTGZinuxsCsMeopYXd3.xrJRhqhGK4JgEfQWDQ279w99BMQbvxrPjv68RyhhQ.o5XA7X
 P4BdUZSe7RzE8IV8Ryr.DQGmrl.40xeA9tNW9arED4IiJ2SvPiFWjnOsxue7F6xXFoUAdyCEjvtx
 si_rwPiaj4u7nesKkKRZPuXWzwAPYpSt8mQzxY4n5tXdntVk_i8SK9APNLcKB4ngaayXQfR.0pRS
 p3opsHiSr7nZzm8or4o2KTS8Jb34HVx_xFfSBWXaxN_8GQuCoiURyLTnIoOtekGQfG4d1R_vg55B
 YRxWyjezXu2f7xwJXhXRe7WgZyYhn689znA--
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic308.consmr.mail.ir2.yahoo.com with HTTP; Wed, 30 Jan 2019 10:17:52 +0000
Received: from p4FE45EB7.dip0.t-ipconnect.de (EHLO [192.168.1.137])
 ([79.228.94.183])
 by smtp432.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID
 040d0e3b2a21568c8138600dd452efc5
 for &lt;openwrt-devel@lists.openwrt.org&gt;;
 Wed, 30 Jan 2019 10:17:50 +0000 (UTC)
From: &quot;R. Diez&quot; &lt;rdiezmail-openwrt@yahoo.com&gt;
Subject: A second 'make' always rebuilds something
To: OpenWrt Development List &lt;openwrt-devel@lists.openwrt.org&gt;
Message-ID: &lt;03d12e88-23fa-cad6-40ea-0bb50b80d08a@yahoo.com&gt;
Date: Wed, 30 Jan 2019 11:17:50 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.2.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-GB
Content-Transfer-Encoding: 7bit
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 
X-CRM114-CacheID: sfid-20190130_021754_646248_237D10A9 
X-CRM114-Status: UNSURE (   8.68  )
X-CRM114-Notice: Please train this message.
X-Spam-Score: -0.2 (/)
X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary:
 Content analysis details:   (-0.2 points)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/,
 no trust [77.238.178.146 listed in list.dnswl.org]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (rdiezmail-openwrt[at]yahoo.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily
 valid
 -0.1 DKIM_VALID_EF          Message has a valid DKIM or DK signature from
 envelope-from domain
 -0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from
 author's domain
 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature

Hi all:

I am helping build Freifunk images (based on Gluon, which is based on 
OpenWrt) and we have very long build times. That is the reason why I am 
taking a closer look.

I just checked out OpenWrt HEAD and built a standard x86_64 image with 
the following command:

make NO_COLOR=1 IS_TTY=0 V=s --output-sync=recurse -j 5 &lt;/dev/null

But I do not think that the exact build flags matter.

The first build tool 51 minutes.

If I run the same command again, without touching anything, it takes 5 
minutes. I would not expect anything to get rebuilt at all.

It is hard to know from the very long log file what files have been 
overwritten, or why something is being rebuilt. These 2 lines from the 
build log are an indication that something is being modified or recompiled:

touch 
/home/rdiez/rdiez/temp/freifunk/openwrt/git-repo/build_dir/target-x86_64_musl/linux-x86_64/linux-4.14.96/.configured

[  5%] Building C object CMakeFiles/uci.dir/libuci.c.o

Before I dig anymore in this issue:

1) Is this a known limitation in the build logic?

2) Would something like &quot;repeatable builds&quot; help? For example, I wonder 
if each build embeds the current timestamp, and therefore running 'make' 
always ends up rebuilding the final image.

Thanks in advance,
   rdiez

]