[From nobody Thu Jun 25 05:55:18 2020
Received: from grosjo.net ([94.130.37.163])
 by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux))
 id 1htZEq-0003mj-O5
 for openwrt-devel@lists.openwrt.org; Fri, 02 Aug 2019 15:13:02 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=grosjo.net; 
 s=dkim;
 h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:
 Content-Type:MIME-Version:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=TWRdw02eUgZZZpr1eHx4bBhfMd6tu4XNzn6wHFtWPVQ=; b=iwm5u3MnvUNw9bv5K4pXRZy37X
 RoKaKLjCED4yD0rpdZyN4PTZDXraSt50KXae3GisUEPaeOIyI8fXkm7nTobakUcjrw4QnSFnt6PdB
 hNy93Ey1us09JN+L6OWpoKAB/gxshvBzFoFWgSOGrQ4SUwnBBscwxhxQjfe1iuPPIvZE=;
Received: from localhost ([127.0.0.1] helo=grosjo.net)
 by grosjo.net with esmtp (Exim 4.92.1)
 (envelope-from &lt;jom@grosjo.net&gt;)
 id 1htZEl-00005l-Ok; Fri, 02 Aug 2019 15:12:56 +0000
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary=&quot;=_298498339a4dba65479e64db6c6ff8f2&quot;
Date: Fri, 02 Aug 2019 23:12:55 +0800
From: Joan Moreau &lt;jom@grosjo.net&gt;
To: =?UTF-8?Q?Petr_=C5=A0tetiar?= &lt;ynezz@true.cz&gt;
Cc: openwrt-devel@lists.openwrt.org
Subject: Re: [OpenWrt-Devel] package mt76 fails to compile under certain
 configuration [Was: Compilation error on master / mt7620]
In-Reply-To: &lt;b13b66b94fb80ac49631e0e2dc971c60@grosjo.net&gt;
References: &lt;mailman.13754.1564703810.19300.openwrt-devel@lists.openwrt.org&gt;
 &lt;20190802103653.GP74752@meh.true.cz&gt;
 &lt;2a6780799fb7077e5d731337bcfadbe0@grosjo.net&gt;
 &lt;b13b66b94fb80ac49631e0e2dc971c60@grosjo.net&gt;
User-Agent: Roundcube Webmail/1.4-git
Message-ID: &lt;2cec2c33f72eb4cc8d33e0a18289d099@grosjo.net&gt;
X-Sender: jom@grosjo.net
X-GJ: Sent from localhost
X-Spam-Score: -2.9 (--)
X-Spam-Report: Spam detection software, running on the system &quot;gjserver&quot;,
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 admin@grosjo.net for details. Content preview:  Additionally,
 I get the following error in the image generated
 (master) without the debugfs option then to allow compilation [ 8.936247]
 jffs2: Error: unknown compressor &quot;zlib&quot; [ 8.941939] mount_root: failed to
 mount -t jffs2 /dev/mtdblock6 /tmp/overlay: Invalid argument [ 8.951033]
 mount_root: overlay filesystem has not be [...] 
 Content analysis details:   (-2.9 points, 3.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
 0.0 HTML_MESSAGE           BODY: HTML included in message
X-GJ-SMTP: h_FROM = Joan Moreau &lt;jom@grosjo.net&gt; RPATH=jom@grosjo.net
 SENDERADR= jom@grosjo.net:
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 
X-CRM114-CacheID: sfid-20190802_081300_939455_07905385 
X-CRM114-Status: UNSURE (   3.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 https://www.dnswl.org/,
 no trust [94.130.37.163 listed in list.dnswl.org]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 HTML_MESSAGE           BODY: HTML included in message
 -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
 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

--=_298498339a4dba65479e64db6c6ff8f2
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8;
 format=flowed

Additionally, I get the following error in the image generated (master)
without the debugfs option then to allow compilation=20

[ 8.936247] jffs2: Error: unknown compressor &quot;zlib&quot;
[ 8.941939] mount_root: failed to mount -t jffs2 /dev/mtdblock6
/tmp/overlay: Invalid argument
[ 8.951033] mount_root: overlay filesystem has not been fully
initialized yet
[ 8.958979] mount_root: switching to jffs2 overlay
[ 8.964114] mount_root: switching to jffs2 failed - fallback to
ramoverlay

On 2019-08-02 21:37, Joan Moreau wrote:

&gt; Removing &quot;debug fs&quot; in compilation options removes the problem.=20
&gt;=20
&gt; So there is something very awkward in the Makefile=20
&gt;=20
&gt; On 2019-08-02 20:28, Joan Moreau wrote:=20
&gt;=20
&gt; attached
&gt;=20
&gt; On 2019-08-02 18:36, Petr =C5=A0tetiar wrote:=20
&gt; Joan Moreau via openwrt-devel &lt;openwrt-devel@lists.openwrt.org&gt; [2019-08-=
02 07:56:41]:
&gt;=20
&gt; Hello,
&gt;=20
&gt; I reach the following error while compiling my MT7620/ZBT826-16M on
&gt; master (no error on 18.06) :
&gt;=20
&gt; CC [M]
&gt; /usr/src/openwrt/4g/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620=
/mt76-2019-07-22-75656a45/mt7603/pci.o
&gt; &lt;command-line&gt;:0:37: error: redeclaration of enumerator
&gt; 'IEEE80211_HW_REPORTS_TX_ACK_STATUS'
&gt; &lt;command-line&gt;:0:37: note: in definition of macro
&gt; 'IEEE80211_HW_TX_STATUS_NO_AMPDU_LEN'
&gt; In file included from
&gt; /usr/src/openwrt/4g/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620=
/mt76-2019-07-22-75656a45/mt7603/../mt76.h:27:0,
&gt; from
&gt; /usr/src/openwrt/4g/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620=
/mt76-2019-07-22-75656a45/mt7603/mt7603.h:8,
&gt; from
&gt; /usr/src/openwrt/4g/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620=
/mt76-2019-07-22-75656a45/mt7603/pci.c:7:
&gt; /usr/src/openwrt/4g/staging_dir/target-mipsel_24kc_musl/usr/include/mac80=
211/net/mac80211.h:2293:2:
&gt; note: previous definition of 'IEEE80211_HW_REPORTS_TX_ACK_STATUS' was
&gt; here
&gt; IEEE80211_HW_REPORTS_TX_ACK_STATUS,
&gt; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&gt; make[6]: *** [scripts/Makefile.build:327:
&gt; /usr/src/openwrt/4g/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620=
/mt76-2019-07-22-75656a45/mt7603/pci.o]
&gt; Error 1
&gt; make[5]: *** [scripts/Makefile.build:585:
&gt; /usr/src/openwrt/4g/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620=
/mt76-2019-07-22-75656a45/mt7603]
&gt; Error 2
&gt; make[4]: *** [Makefile:1532:
&gt; _module_/usr/src/openwrt/4g/build_dir/target-mipsel_24kc_musl/linux-ramip=
s_mt7620/mt76-2019-07-22-75656a45]
&gt; Error 2
&gt;=20
&gt; Can you help ?=20
&gt; the problem is probably in this compile check[1], so please do following:
&gt;=20
&gt; make package/mt76/{clean,prepare}
&gt; sed -i 's;TMP&quot;;TMP&quot; 2&gt; $(TOPDIR)/meh.log;' build_dir/target-mipsel_24kc_m=
usl/linux-ramips_mt7620/mt76-2019-07-22-75656a45/mt7603/Makefile=20
&gt; make package/mt76/compile
&gt; scripts/diffconfig.sh &gt;&gt; meh.log; gzip meh.log
&gt;=20
&gt; and send meh.log.gz file as attachment.
&gt;=20
&gt; 1. https://github.com/openwrt/mt76/blob/master/mt7603/Makefile#L7
&gt;=20
&gt; -- ynezz
&gt;=20
&gt; _______________________________________________
&gt; openwrt-devel mailing list
&gt; openwrt-devel@lists.openwrt.org
&gt; https://lists.openwrt.org/mailman/listinfo/openwrt-devel
--=_298498339a4dba65479e64db6c6ff8f2
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

&lt;html&gt;&lt;head&gt;&lt;meta http-equiv=3D&quot;Content-Type&quot; content=3D&quot;text/html; charset=
=3DUTF-8&quot; /&gt;&lt;/head&gt;&lt;body style=3D'font-size: 9pt; font-family: Verdana,Gene=
va,sans-serif'&gt;
&lt;p&gt;Additionally, I get the following error in the image generated (master) =
without the debugfs option then to allow compilation&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;[ 8.936247] jffs2: Error: unknown compressor &quot;zlib&quot;&lt;br /&gt;[ 8.941939] mou=
nt_root: failed to mount -t jffs2 /dev/mtdblock6 /tmp/overlay: Invalid argu=
ment&lt;br /&gt;[ 8.951033] mount_root: overlay filesystem has not been fully ini=
tialized yet&lt;br /&gt;[ 8.958979] mount_root: switching to jffs2 overlay&lt;br /&gt;[=
 8.964114] mount_root: switching to jffs2 failed - fallback to ramoverlay&lt;/=
p&gt;
&lt;div id=3D&quot;signature&quot;&gt;&nbsp;&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p id=3D&quot;reply-intro&quot;&gt;On 2019-08-02 21:37, Joan Moreau wrote:&lt;/p&gt;
&lt;blockquote type=3D&quot;cite&quot; style=3D&quot;padding: 0 0.4em; border-left: #1010ff 2=
px solid; margin: 0&quot;&gt;
&lt;div id=3D&quot;replybody1&quot;&gt;
&lt;div style=3D&quot;font-size: 9pt; font-family: Verdana,Geneva,sans-serif;&quot;&gt;
&lt;p&gt;Removing &quot;debug fs&quot; in compilation options removes the problem.&lt;/p&gt;
&lt;p&gt;So there is something very awkward in the Makefile&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div id=3D&quot;v1signature&quot;&gt;&nbsp;&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p id=3D&quot;v1reply-intro&quot;&gt;On 2019-08-02 20:28, Joan Moreau wrote:&lt;/p&gt;
&lt;blockquote style=3D&quot;padding: 0 0.4em; border-left: #1010ff 2px solid; marg=
in: 0;&quot;&gt;
&lt;div id=3D&quot;v1replybody1&quot;&gt;
&lt;div style=3D&quot;font-size: 9pt; font-family: Verdana,Geneva,sans-serif;&quot;&gt;
&lt;p&gt;attached&lt;/p&gt;
&lt;div id=3D&quot;v1v1signature&quot;&gt;&nbsp;&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p id=3D&quot;v1v1reply-intro&quot;&gt;On 2019-08-02 18:36, Petr &Scaron;tetiar wrote:&lt;/=
p&gt;
&lt;blockquote style=3D&quot;padding: 0 0.4em; border-left: #1010ff 2px solid; marg=
in: 0;&quot;&gt;
&lt;div class=3D&quot;v1v1pre&quot; style=3D&quot;margin: 0; padding: 0; font-family: monospa=
ce;&quot;&gt;Joan Moreau via openwrt-devel &lt;&lt;a href=3D&quot;mailto:openwrt-devel@list=
s.openwrt.org&quot; rel=3D&quot;noreferrer&quot;&gt;openwrt-devel@lists.openwrt.org&lt;/a&gt;&gt; [=
2019-08-02 07:56:41]:&lt;br /&gt;&lt;br /&gt;
&lt;blockquote style=3D&quot;padding: 0 0.4em; border-left: #1010ff 2px solid; marg=
in: 0;&quot;&gt;Hello,&lt;br /&gt;&lt;br /&gt;I reach the following error while compiling my MT=
7620/ZBT826-16M on&lt;br /&gt;master (no error on 18.06) :&lt;br /&gt;&lt;br /&gt;CC [M]&lt;br /=
&gt;/usr/src/openwrt/4g/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/=
mt76-2019-07-22-75656a45/mt7603/pci.o&lt;br /&gt;&lt;command-line&gt;:0:37: error=
: redeclaration of enumerator&lt;br /&gt;'IEEE80211_HW_REPORTS_TX_ACK_STATUS'&lt;br =
/&gt;&lt;command-line&gt;:0:37: note: in definition of macro&lt;br /&gt;'IEEE80211_H=
W_TX_STATUS_NO_AMPDU_LEN'&lt;br /&gt;In file included from&lt;br /&gt;/usr/src/openwrt/=
4g/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/mt76-2019-07-22-75=
656a45/mt7603/../mt76.h:27:0,&lt;br /&gt;from&lt;br /&gt;/usr/src/openwrt/4g/build_dir/=
target-mipsel_24kc_musl/linux-ramips_mt7620/mt76-2019-07-22-75656a45/mt7603=
/mt7603.h:8,&lt;br /&gt;from&lt;br /&gt;/usr/src/openwrt/4g/build_dir/target-mipsel_24k=
c_musl/linux-ramips_mt7620/mt76-2019-07-22-75656a45/mt7603/pci.c:7:&lt;br /&gt;/u=
sr/src/openwrt/4g/staging_dir/target-mipsel_24kc_musl/usr/include/mac80211/=
net/mac80211.h:2293:2:&lt;br /&gt;note: previous definition of 'IEEE80211_HW_REPO=
RTS_TX_ACK_STATUS' was&lt;br /&gt;here&lt;br /&gt;IEEE80211_HW_REPORTS_TX_ACK_STATUS,&lt;b=
r /&gt;^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;br /&gt;make[6]: *** [scripts/Makefile=
=2Ebuild:327:&lt;br /&gt;/usr/src/openwrt/4g/build_dir/target-mipsel_24kc_musl/li=
nux-ramips_mt7620/mt76-2019-07-22-75656a45/mt7603/pci.o]&lt;br /&gt;Error 1&lt;br /&gt;=
make[5]: *** [scripts/Makefile.build:585:&lt;br /&gt;/usr/src/openwrt/4g/build_di=
r/target-mipsel_24kc_musl/linux-ramips_mt7620/mt76-2019-07-22-75656a45/mt76=
03]&lt;br /&gt;Error 2&lt;br /&gt;make[4]: *** [Makefile:1532:&lt;br /&gt;_module_/usr/src/op=
enwrt/4g/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/mt76-2019-07=
-22-75656a45]&lt;br /&gt;Error 2&lt;br /&gt;&lt;br /&gt;Can you help ?&lt;/blockquote&gt;
&lt;br /&gt;the problem is probably in this compile check[1], so please do follow=
ing:&lt;br /&gt;&lt;br /&gt;&nbsp;make package/mt76/{clean,prepare}&lt;br /&gt;&nbsp;sed -i '=
s;TMP&quot;;TMP&quot; 2&gt; $(TOPDIR)/meh.log;' build_dir/target-mipsel_24kc_musl/lin=
ux-ramips_mt7620/mt76-2019-07-22-75656a45/mt7603/Makefile &lt;br /&gt;&nbsp;make =
package/mt76/compile&lt;br /&gt;&nbsp;scripts/diffconfig.sh &gt;&gt; meh.log; gzi=
p meh.log&lt;br /&gt;&lt;br /&gt;and send meh.log.gz file as attachment.&lt;br /&gt;&lt;br /&gt;1=
=2E &lt;a href=3D&quot;https://github.com/openwrt/mt76/blob/master/mt7603/Makefile#=
L7&quot; target=3D&quot;_blank&quot; rel=3D&quot;noopener noreferrer&quot;&gt;https://github.com/openwr=
t/mt76/blob/master/mt7603/Makefile#L7&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;-- ynezz&lt;br /&gt;&lt;br /&gt;__=
_____________________________________________&lt;br /&gt;openwrt-devel mailing li=
st&lt;br /&gt;&lt;a href=3D&quot;mailto:openwrt-devel@lists.openwrt.org&quot; rel=3D&quot;noreferre=
r&quot;&gt;openwrt-devel@lists.openwrt.org&lt;/a&gt;&lt;br /&gt;&lt;a href=3D&quot;https://lists.openwr=
t.org/mailman/listinfo/openwrt-devel&quot; target=3D&quot;_blank&quot; rel=3D&quot;noopener nor=
eferrer&quot;&gt;https://lists.openwrt.org/mailman/listinfo/openwrt-devel&lt;/a&gt;&lt;br /&gt;=
&lt;br /&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/body&gt;&lt;/html&gt;

--=_298498339a4dba65479e64db6c6ff8f2--

]