From unknown Fri Jun 13 11:32:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49985: bash-mesboot0: Inscrutable error in build phase Resent-From: Carl Dong Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 10 Aug 2021 19:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49985 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 49985@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162862449525080 (code B ref -1); Tue, 10 Aug 2021 19:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Aug 2021 19:41:35 +0000 Received: from localhost ([127.0.0.1]:60857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDXd1-0006WS-EP for submit@debbugs.gnu.org; Tue, 10 Aug 2021 15:41:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:53884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDXcy-0006WJ-HH for submit@debbugs.gnu.org; Tue, 10 Aug 2021 15:41:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDXcy-0006Qe-6w for bug-guix@gnu.org; Tue, 10 Aug 2021 15:41:32 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:49185) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDXcw-0004bW-BO for bug-guix@gnu.org; Tue, 10 Aug 2021 15:41:32 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 6FBE45C0118 for ; Tue, 10 Aug 2021 15:41:26 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 10 Aug 2021 15:41:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=carldong.me; h= from:content-type:content-transfer-encoding:mime-version:subject :message-id:date:to; s=fm1; bh=GO0m8gU36w4Q6OCmRiFuZd7Coh5cqEQq8 kRAt+SUayY=; b=TKpEj20qwyCPYpa25nPzsRVjla+JEXFX35z2GBibQm9BuvyVx 6qg04/GJv+Ijx0kUn9rJxnoLJsZ4fleo5oEihovOjAToW8YBuZ7iKnU5uh5JCk7B HAchx82jBgpmjtZ46Ph9xSF+D2UJyP643C4wep2ZTdZWPQWw06N7qedwQ/ASS8vu jDofXMfJDTmt8MXX5qFpSdlXpjbkyRgIZsijSFXkj1SRc7HL1rwJQ7U47aRLnBiY p5B2iYKaJ3op1ysSKI09KcPJRNAd5F+sFwelV1I+zFmzqxLywiRrvxO4kk8TO5wr CJyqjfW4A6dbLp9NRBLmixL2dWbFqR1flHRDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=GO0m8g U36w4Q6OCmRiFuZd7Coh5cqEQq8kRAt+SUayY=; b=Oz9FYBS578gTEaQv+gzVCn 8Bb2PL1c/EvxKwLbW+tdd734+Qojzd6QUqXaSYjRpFHTYAAcHd+odKeJe+kPcGo+ S1mZ4f8+TcIADL2wFpw/+u10eHzHw3MlnBWqdI1KMOus6sEripiwPhB2OdgchSRV My3Dyro7fK8/K8Z/R1H6aauCCRHREs9Drt141/qSVaKbRUVvsDAi4yBqVtSa/54V wyDPJsGgVh2k4DyBK1Whr4FqMcEgBeLbAz+w7w8ybFOcOeo8bZbu5ewRHRPJAGVa BbpDYhH7RoGJBRp/2q6F1YJQqLubpTp1D5QqbEtMrMHrHZtQ7z9J8pxqluLwDJFg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrjeelgddugedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhtgfgggfukfffvffosehtqhhmtd hhtdejnecuhfhrohhmpeevrghrlhcuffhonhhguceotghonhhtrggtthestggrrhhlugho nhhgrdhmvgeqnecuggftrfgrthhtvghrnhepteduvdefheduieeikeeujeejfeevveevie etffeliefgvdduteetkeffffehgeetnecuffhomhgrihhnpehsrhdrhhhtpdhgnhhurdho rhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheptg honhhtrggtthestggrrhhlughonhhgrdhmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 10 Aug 2021 15:41:25 -0400 (EDT) From: Carl Dong Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Message-Id: <8DDCC02E-5D4A-4DF1-A893-229B58EBE31C@carldong.me> Date: Tue, 10 Aug 2021 15:41:25 -0400 X-Mailer: Apple Mail (2.3654.120.0.1.13) Received-SPF: pass client-ip=66.111.4.28; envelope-from=contact@carldong.me; helo=out4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Hi all, While setting up Guix for a community member of mine, we encountered = this somewhat inscrutable problem (I later learned this is not the first = time Guix users have run into this problem!). When building = /gnu/store/2nvaxgs0rdxfkrwklh622ggaxg0wap6n-bash-mesboot0-2.05b.drv, we = encountered the following build failure: = https://paste.sr.ht/~dongcarl/376b19b8349c329ed5329508c7fb43a7c3aec64b#2nv= axgs0rdxfkrwklh622ggaxg0wap6n-bash-mesboot0-2.05b.log-L1299 The error line is L1299: "make: stat:Makefile: sterror: unknown error=E2=80= =9D This failure persists even when ran with --cores=3D1, across reboots. = I=E2=80=99ve even tried building that derivation with --check on my own = machine (which successfully built that derivation), and every log line = matched (plus or minus some timing log lines) up until L1299. We=E2=80=99ve also tried rebuilding bash-mesboot0-2.05b.drv=E2=80=99s = dependency = /gnu/store/2nvaxgs0rdxfkrwklh622ggaxg0wap6n-bash-mesboot0-2.05b.drv = with: --8<---------------cut here---------------start------------->8--- guix gc --delete = /gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0 guix build --cores=3D1 = /gnu/store/2nvaxgs0rdxfkrwklh622ggaxg0wap6n-bash-mesboot0-2.05b.drv --8<---------------cut here---------------end--------------->8--- Which did not make a difference. What is interesting is that this is not the first time this problem has = cropped up for people. I see 2 past mentions of this exact error: - Mentioned by kagevf on Dec 16th, 2020: = https://logs.guix.gnu.org/guix/2020-12-16.log#043712 - Mentioned by genr8_ (with help from rekado_) on Mar 22nd, 2021: = https://logs.guix.gnu.org/guix/2021-03-22.log#182406 I=E2=80=99m happy to spend energy investigating, but would love any = pointers on what the most promising place to look is! My friend's system is an Intel i5 system, running Guix 1.3.0 on Ubuntu. = His /tmp is on the same partition as / and is ext4. Cheers, Carl Dong contact@carldong.me "I fight for the users" From unknown Fri Jun 13 11:32:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49985: bash-mesboot0: Inscrutable error in build phase Resent-From: Bengt Richter Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 11 Aug 2021 00:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49985 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Carl Dong Cc: 49985@debbugs.gnu.org Reply-To: Bengt Richter Received: via spool by 49985-submit@debbugs.gnu.org id=B49985.162864235420518 (code B ref 49985); Wed, 11 Aug 2021 00:40:02 +0000 Received: (at 49985) by debbugs.gnu.org; 11 Aug 2021 00:39:14 +0000 Received: from localhost ([127.0.0.1]:32823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDcH4-0005Ks-Co for submit@debbugs.gnu.org; Tue, 10 Aug 2021 20:39:14 -0400 Received: from imta-38.everyone.net ([216.200.145.38]:59274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDcH1-0005Kh-0E for 49985@debbugs.gnu.org; Tue, 10 Aug 2021 20:39:12 -0400 Received: from pps.filterd (omta003.sj2.proofpoint.com [127.0.0.1]) by imta-38.everyone.net (8.16.0.43/8.16.0.43) with SMTP id 17B0WvMt028012; Tue, 10 Aug 2021 17:39:05 -0700 X-Eon-Originating-Account: IQ-YNBeewvLb3DkplaUDabEums-sywKkv2KgzhN8-bA X-Eon-Dm: m0116952.ppops.net Received: by m0116952.mta.everyone.net (EON-AUTHRELAY2 - 5a81db49) id m0116952.60d3a860.35a7d4; Tue, 10 Aug 2021 17:39:04 -0700 X-Eon-Sig: AQMHrIJhExwoIzNWEwIAAAAC,7be9dcdd4ce65cb3646cd4e37b76ce26 X-Eip: VzCNPtgeAKu3WrMfMLvfThvxQFOF11caP2ogZnelBIs Date: Wed, 11 Aug 2021 02:38:54 +0200 From: Bengt Richter Message-ID: <20210811003854.GA26014@LionPure> References: <8DDCC02E-5D4A-4DF1-A893-229B58EBE31C@carldong.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8DDCC02E-5D4A-4DF1-A893-229B58EBE31C@carldong.me> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-ORIG-GUID: Bvdmr0kfdMMntt43K0YbZvVTKdnNdL92 X-Proofpoint-GUID: Bvdmr0kfdMMntt43K0YbZvVTKdnNdL92 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-08-10_08:2021-08-10, 2021-08-10 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 mlxscore=0 bulkscore=0 mlxlogscore=885 malwarescore=0 spamscore=0 clxscore=1034 impostorscore=0 suspectscore=0 adultscore=0 lowpriorityscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2108110001 X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) On +2021-08-10 15:41:25 -0400, Carl Dong wrote: > Hi all, > > While setting up Guix for a community member of mine, we encountered this somewhat inscrutable problem (I later learned this is not the first time Guix users have run into this problem!). When building /gnu/store/2nvaxgs0rdxfkrwklh622ggaxg0wap6n-bash-mesboot0-2.05b.drv, we encountered the following build failure: https://paste.sr.ht/~dongcarl/376b19b8349c329ed5329508c7fb43a7c3aec64b#2nvaxgs0rdxfkrwklh622ggaxg0wap6n-bash-mesboot0-2.05b.log-L1299 > > The error line is L1299: "make: stat:Makefile: sterror: unknown error” >-- To me, sterror looks like a typo for strerror so grepping for sterror might find the typo, if that's what it is? Regards, Bengt Richter From unknown Fri Jun 13 11:32:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49985: bash-mesboot0: Inscrutable error in build phase Resent-From: Bengt Richter Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 11 Aug 2021 01:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49985 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Carl Dong Cc: 49985@debbugs.gnu.org Reply-To: Bengt Richter Received: via spool by 49985-submit@debbugs.gnu.org id=B49985.162864489724270 (code B ref 49985); Wed, 11 Aug 2021 01:22:01 +0000 Received: (at 49985) by debbugs.gnu.org; 11 Aug 2021 01:21:37 +0000 Received: from localhost ([127.0.0.1]:32840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDcw5-0006JO-3k for submit@debbugs.gnu.org; Tue, 10 Aug 2021 21:21:37 -0400 Received: from imta-35.everyone.net ([216.200.145.35]:32824 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDcw2-0006JE-E1 for 49985@debbugs.gnu.org; Tue, 10 Aug 2021 21:21:35 -0400 Received: from pps.filterd (m0004961.ppops.net [127.0.0.1]) by imta-38.everyone.net (8.16.0.43/8.16.0.43) with SMTP id 17B1D5V6031373; Tue, 10 Aug 2021 18:21:29 -0700 X-Eon-Originating-Account: eLgVV2OOSWHGWb014osIcwT7uQpd3lEi4Lc8NVKrPCo X-Eon-Dm: m0116787.ppops.net Received: by m0116787.mta.everyone.net (EON-AUTHRELAY2 - 5a81db49) id m0116787.60d3a85b.2edaf3; Tue, 10 Aug 2021 18:21:28 -0700 X-Eon-Sig: AQMHrIJhEyYYnvPWtwIAAAAC,12ed87ceced4518b7a1273e4b2d5859d X-Eip: vlAscDIFBtH1F3-Yo64ITJV-tIBMfVSfbSDyBdycgZ8 Date: Wed, 11 Aug 2021 03:21:18 +0200 From: Bengt Richter Message-ID: <20210811012118.GB26014@LionPure> References: <8DDCC02E-5D4A-4DF1-A893-229B58EBE31C@carldong.me> <20210811003854.GA26014@LionPure> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210811003854.GA26014@LionPure> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-GUID: dNuCu-dYhX06ff3xdB50szDLbmas1IBc X-Proofpoint-ORIG-GUID: dNuCu-dYhX06ff3xdB50szDLbmas1IBc X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-08-10_08:2021-08-10, 2021-08-10 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 clxscore=1034 adultscore=0 mlxlogscore=999 priorityscore=1501 suspectscore=0 spamscore=0 mlxscore=0 bulkscore=0 lowpriorityscore=0 impostorscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2108110006 X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) On +2021-08-11 02:38:54 +0200, Bengt Richter wrote: > On +2021-08-10 15:41:25 -0400, Carl Dong wrote: > > Hi all, > > > > While setting up Guix for a community member of mine, we encountered this somewhat inscrutable problem (I later learned this is not the first time Guix users have run into this problem!). When building /gnu/store/2nvaxgs0rdxfkrwklh622ggaxg0wap6n-bash-mesboot0-2.05b.drv, we encountered the following build failure: https://paste.sr.ht/~dongcarl/376b19b8349c329ed5329508c7fb43a7c3aec64b#2nvaxgs0rdxfkrwklh622ggaxg0wap6n-bash-mesboot0-2.05b.log-L1299 > > > > The error line is L1299: "make: stat:Makefile: sterror: unknown error” > >-- > > To me, sterror looks like a typo for strerror > so grepping for sterror might find the typo, if that's what it is? > Looking at ./lib/mes/__mes_debug.c, it looks like you could set/export environment MES_DEBUG=1 and run it again to see the error number ./lib/string/strerror.c (in git repo) doesn't like. Then run something like my error-printing kludge that will work on your system: I called it errno-grep --8<---------------cut here---------------start------------->8--- #!/usr/bin/bash if [ -z "$1" ];then echo "Usage: errno-grep [ grep switches for grepping the following files in order ]" echo " /usr/include/asm-generic/errno-base.h" echo " /usr/include/asm-generic/errno.h" exit 0 fi if [ "${1:0:1}" == "-" ]; then exec grep "$@" /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h else exec egrep -wh "$@" /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h fi --8<---------------cut here---------------end--------------->8--- HTH. From unknown Fri Jun 13 11:32:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49985: bash-mesboot0: Inscrutable error in build phase Resent-From: Bengt Richter Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 11 Aug 2021 12:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49985 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Carl Dong Cc: 49985@debbugs.gnu.org Reply-To: Bengt Richter Received: via spool by 49985-submit@debbugs.gnu.org id=B49985.162868641430210 (code B ref 49985); Wed, 11 Aug 2021 12:54:02 +0000 Received: (at 49985) by debbugs.gnu.org; 11 Aug 2021 12:53:34 +0000 Received: from localhost ([127.0.0.1]:33837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDnji-0007rC-AM for submit@debbugs.gnu.org; Wed, 11 Aug 2021 08:53:34 -0400 Received: from imta-37.everyone.net ([216.200.145.37]:34158 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDnjg-0007r4-9y for 49985@debbugs.gnu.org; Wed, 11 Aug 2021 08:53:33 -0400 Received: from pps.filterd (m0004962.ppops.net [127.0.0.1]) by imta-38.everyone.net (8.16.0.43/8.16.0.43) with SMTP id 17BCmBxE027639; Wed, 11 Aug 2021 05:53:27 -0700 X-Eon-Originating-Account: 1tOKosYybNWckovRSqLr03KR5Rb1tExRIrd5y0yh94c X-Eon-Dm: m0116293.ppops.net Received: by m0116293.mta.everyone.net (EON-AUTHRELAY2 - 5a81db49) id m0116293.60d3a858.31bc36; Wed, 11 Aug 2021 05:53:26 -0700 X-Eon-Sig: AQMHrIJhE8hG2lqAwQIAAAAC,36745366ac2dab448352565b9d81b14e X-Eip: Mlu_qymwi7KaeOcUYYD2Aw5zDrBnysgPjKodSmnlSZ8 Date: Wed, 11 Aug 2021 14:53:17 +0200 From: Bengt Richter Message-ID: <20210811125317.GA49029@LionPure> References: <8DDCC02E-5D4A-4DF1-A893-229B58EBE31C@carldong.me> <20210811003854.GA26014@LionPure> <20210811012118.GB26014@LionPure> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210811012118.GB26014@LionPure> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-ORIG-GUID: NQ_mf69GeUA8zKwZVDPiEnxQq3CJKMXh X-Proofpoint-GUID: NQ_mf69GeUA8zKwZVDPiEnxQq3CJKMXh X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-08-11_04:2021-08-11, 2021-08-11 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 clxscore=1034 phishscore=0 spamscore=0 impostorscore=0 priorityscore=1501 mlxlogscore=999 suspectscore=0 adultscore=0 mlxscore=0 malwarescore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2108110087 X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Just this disclaimer: I am just a lurker interested in mes, not a mes developer or team member. (I am trying to do some minimal stuff too, so I cloned the mes repo and pull once in a while to see what's going on :) Sorry for any implication that I really know anything about mes ;/ On +2021-08-11 03:21:18 +0200, Bengt Richter wrote: > On +2021-08-11 02:38:54 +0200, Bengt Richter wrote: > > On +2021-08-10 15:41:25 -0400, Carl Dong wrote: > > > Hi all, > > > > > > While setting up Guix for a community member of mine, we encountered this somewhat inscrutable problem (I later learned this is not the first time Guix users have run into this problem!). When building /gnu/store/2nvaxgs0rdxfkrwklh622ggaxg0wap6n-bash-mesboot0-2.05b.drv, we encountered the following build failure: https://paste.sr.ht/~dongcarl/376b19b8349c329ed5329508c7fb43a7c3aec64b#2nvaxgs0rdxfkrwklh622ggaxg0wap6n-bash-mesboot0-2.05b.log-L1299 > > > > > > The error line is L1299: "make: stat:Makefile: sterror: unknown error” > > >-- > > > > To me, sterror looks like a typo for strerror > > so grepping for sterror might find the typo, if that's what it is? > > > Looking at ./lib/mes/__mes_debug.c, it looks like you could set/export environment > MES_DEBUG=1 and run it again to see the error number ./lib/string/strerror.c > (in git repo) doesn't like. > > Then run something like my error-printing kludge that will work on your system: > > I called it errno-grep > --8<---------------cut here---------------start------------->8--- > #!/usr/bin/bash > if [ -z "$1" ];then > echo "Usage: errno-grep [ grep switches for grepping the following files in order ]" > echo " /usr/include/asm-generic/errno-base.h" > echo " /usr/include/asm-generic/errno.h" > exit 0 > fi > > if [ "${1:0:1}" == "-" ]; then > exec grep "$@" /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h > else > exec egrep -wh "$@" /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h > fi > --8<---------------cut here---------------end--------------->8--- > > HTH. > > > -- Regards, Bengt Richter From unknown Fri Jun 13 11:32:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49985: bash-mesboot0: Inscrutable error in build phase Resent-From: Carl Dong Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 12 Aug 2021 17:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49985 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Bengt Richter Cc: 49985@debbugs.gnu.org Received: via spool by 49985-submit@debbugs.gnu.org id=B49985.162878788114540 (code B ref 49985); Thu, 12 Aug 2021 17:05:01 +0000 Received: (at 49985) by debbugs.gnu.org; 12 Aug 2021 17:04:41 +0000 Received: from localhost ([127.0.0.1]:39843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEE8D-0003mM-7f for submit@debbugs.gnu.org; Thu, 12 Aug 2021 13:04:41 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:55195) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEE87-0003m3-GC for 49985@debbugs.gnu.org; Thu, 12 Aug 2021 13:04:36 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 637B8320098E; Thu, 12 Aug 2021 13:04:25 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 12 Aug 2021 13:04:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=carldong.me; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=fm1; bh=c 0tH2lGgQMbKvEFmAVMs2hFNv/nwTZr14n5HLo9gyxA=; b=qIhTuN2yNTjsFa2rM VlnmRzVwhSqz9X4ZYpf+UVzRgIiCrN4oWbtlQEU5Iy0bGJJyBe1x076cVTfYetpo bzATs1DfOLwxjIMlZB0JAxCR6ACk7zIvWRPN1kpnLmZSgrfJU63eSnDxsCFcd4VA qNsXEeAzbbHSIje4ohJpqxbIlFNzot0TnOiKoNpv7I/3eeO96UCeLSXFhaeS30lK IQh56DdifXJGDPQLW8rJOBN8oitvPFas34CEpco+ulz+ZoB7bq9iKbCtKm0r6Nhj H2OGpevBuhQ3A0uxk9+m5pYAGuIDDnVIAl5ZKB27Gf38FPp/jZSYQY6MyMrO0d+x 34U3w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=c0tH2lGgQMbKvEFmAVMs2hFNv/nwTZr14n5HLo9gy xA=; b=jCxENAS+sytky8bM8zcBLes5QsRVKMr2m3PcXa8lwT+gjy6T7WxHuFFpz IfOKAOXl1cmPOGjCPTif7Bs4Nusb3f5IfISfnGZWh0fkaPkF6Gruzb6mNIh7a6Dr esQQbfBGVOp4YzFPGXsUBQMHLeERK6nnhY0bugKcFKAZQXhNZW6FTb84fTb1Akxa AZCnFbBBlQ/ldLRIoWwDmYxsahZeBoweIEyJiuq20RL8+zSC8t3v1Cv3rU+eZ/7v e/NDEbLHbD1o0OijDv83SnSpnEqcPuInmg4W/9tOFIzqMVZa3HXGlc5a3WD82gOX RM74oGkYX7ZdrmRNVlQ7oQm/GfE9Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrkeefgddutdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegtggfuhfgjfffgkfhfvffosehtqh hmtdhhtdejnecuhfhrohhmpeevrghrlhcuffhonhhguceotghonhhtrggtthestggrrhhl ughonhhgrdhmvgeqnecuggftrfgrthhtvghrnhepfeetvdevffegfefgvddtvddukedttd eijeegheekjeeluedtleffffegledukedtnecuffhomhgrihhnpehsrhdrhhhtnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheptghonhhtrggtth estggrrhhlughonhhgrdhmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 12 Aug 2021 13:04:24 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) From: Carl Dong In-Reply-To: <20210811125317.GA49029@LionPure> Date: Thu, 12 Aug 2021 13:04:23 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <23A9E6EC-1AE7-4412-82E0-F5930059B2D3@carldong.me> References: <8DDCC02E-5D4A-4DF1-A893-229B58EBE31C@carldong.me> <20210811003854.GA26014@LionPure> <20210811012118.GB26014@LionPure> <20210811125317.GA49029@LionPure> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) No worries! We=E2=80=99re all learning :-) I ended up asking my colleague to use: strace --env=3DMES_DEBUG=3D1 We=E2=80=99ll see what happens! > On Aug 11, 2021, at 8:53 AM, Bengt Richter wrote: >=20 > Just this disclaimer: > I am just a lurker interested in mes, not a mes developer or team = member. > (I am trying to do some minimal stuff too, so I cloned the mes repo = and pull once > in a while to see what's going on :) >=20 > Sorry for any implication that I really know anything about mes ;/ >=20 > On +2021-08-11 03:21:18 +0200, Bengt Richter wrote: >> On +2021-08-11 02:38:54 +0200, Bengt Richter wrote: >>> On +2021-08-10 15:41:25 -0400, Carl Dong wrote: >>>> Hi all, >>>>=20 >>>> While setting up Guix for a community member of mine, we = encountered this somewhat inscrutable problem (I later learned this is = not the first time Guix users have run into this problem!). When = building = /gnu/store/2nvaxgs0rdxfkrwklh622ggaxg0wap6n-bash-mesboot0-2.05b.drv, we = encountered the following build failure: = https://paste.sr.ht/~dongcarl/376b19b8349c329ed5329508c7fb43a7c3aec64b#2nv= axgs0rdxfkrwklh622ggaxg0wap6n-bash-mesboot0-2.05b.log-L1299 >>>>=20 >>>> The error line is L1299: "make: stat:Makefile: sterror: unknown = error=E2=80=9D >>>> -- >>>=20 >>> To me, sterror looks like a typo for strerror >>> so grepping for sterror might find the typo, if that's what it is? >>>=20 >> Looking at ./lib/mes/__mes_debug.c, it looks like you could = set/export environment >> MES_DEBUG=3D1 and run it again to see the error number = ./lib/string/strerror.c >> (in git repo) doesn't like. >>=20 >> Then run something like my error-printing kludge that will work on = your system: >>=20 >> I called it errno-grep >> --8<---------------cut here---------------start------------->8--- >> #!/usr/bin/bash >> if [ -z "$1" ];then >> echo "Usage: errno-grep [ grep switches for grepping the following = files in order ]" >> echo " /usr/include/asm-generic/errno-base.h" >> echo " /usr/include/asm-generic/errno.h" >> exit 0 >> fi >>=20 >> if [ "${1:0:1}" =3D=3D "-" ]; then >> exec grep "$@" /usr/include/asm-generic/errno-base.h = /usr/include/asm-generic/errno.h >> else >> exec egrep -wh "$@" /usr/include/asm-generic/errno-base.h = /usr/include/asm-generic/errno.h >> fi >> --8<---------------cut here---------------end--------------->8--- >>=20 >> HTH. >>=20 >>=20 >>=20 >=20 > --=20 > Regards, > Bengt Richter From unknown Fri Jun 13 11:32:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49985: bash-mesboot0: Inscrutable error in build phase Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 19 Aug 2021 16:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49985 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Carl Dong Cc: 49985@debbugs.gnu.org Received: via spool by 49985-submit@debbugs.gnu.org id=B49985.162939002228332 (code B ref 49985); Thu, 19 Aug 2021 16:21:02 +0000 Received: (at 49985) by debbugs.gnu.org; 19 Aug 2021 16:20:22 +0000 Received: from localhost ([127.0.0.1]:60750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGkmE-0007Mu-Dc for submit@debbugs.gnu.org; Thu, 19 Aug 2021 12:20:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGkmC-0007Mc-79 for 49985@debbugs.gnu.org; Thu, 19 Aug 2021 12:20:20 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52832) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGkm6-0004jj-O7; Thu, 19 Aug 2021 12:20:14 -0400 Received: from [2a01:cb18:832e:5f00:3563:417e:2a38:86d8] (port=48134 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGkm1-0006tr-L1; Thu, 19 Aug 2021 12:20:14 -0400 From: Mathieu Othacehe References: <8DDCC02E-5D4A-4DF1-A893-229B58EBE31C@carldong.me> Date: Thu, 19 Aug 2021 18:20:07 +0200 In-Reply-To: <8DDCC02E-5D4A-4DF1-A893-229B58EBE31C@carldong.me> (Carl Dong's message of "Tue, 10 Aug 2021 15:41:25 -0400") Message-ID: <87lf4xflu0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello Carl, > The error line is L1299: "make: stat:Makefile: sterror: unknown error=E2= =80=9D This reminds me of: https://lists.gnu.org/archive/html/bug-guix/2020-05/msg00335.html. I never took the time to fix this issue. Bottom line is that building the bootstrap toolchain fails on NVME disks because some syscalls (stat64, lstat64 and fstat64) need to be implemented in GNU Mes. There's a small demonstration program that you can use to demonstrate this theory :). Thanks, Mathieu From unknown Fri Jun 13 11:32:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49985: bash-mesboot0: Inscrutable error in build phase Resent-From: Carl Dong Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 25 Aug 2021 18:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49985 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 49985@debbugs.gnu.org Received: via spool by 49985-submit@debbugs.gnu.org id=B49985.162991666714600 (code B ref 49985); Wed, 25 Aug 2021 18:38:02 +0000 Received: (at 49985) by debbugs.gnu.org; 25 Aug 2021 18:37:47 +0000 Received: from localhost ([127.0.0.1]:47860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIxmV-0003nP-EZ for submit@debbugs.gnu.org; Wed, 25 Aug 2021 14:37:47 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:34019) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIxmT-0003nD-7H for 49985@debbugs.gnu.org; Wed, 25 Aug 2021 14:37:45 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id A46AE32004F8; Wed, 25 Aug 2021 14:37:39 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 25 Aug 2021 14:37:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=carldong.me; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=fm1; bh=x 20kqYHBeDNPISBAuGa8pmEq6G5d/N2u61FWyqnVMfY=; b=YYSedmTd32Rf30YPQ BarQeIoJqH3YJfAIUyBEhaU1IR0Plj8Re6wVFcUrJ8pGdxV21xQFpVVqmrprESfD 6DfS/qS1iKrC/Fb7PbDhS2sf3jc4qyLn2+B/cbmYFV090gNbwNshPFnUXFAGIjwP 5OUsWBFGDhN7uCfi1L4IVYmcABzRj1JjqneDk2vRzqeoNHswGvZdsUVt83H8jkVJ znDowyu3SZET6Jsc+17CaobsjaPk+pDua9+/pIvPcC1eS9I3MPTISeEf0X1Ks8MK Lig2B0DX0bb8U1hNbzU6adv0/ahWoB+mIDz97IfU9TuYOMc6/YvSku5ijzoG/fI8 bU/+Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=x20kqYHBeDNPISBAuGa8pmEq6G5d/N2u61FWyqnVM fY=; b=AmB+ukYnzegJC1i6torSdkiQapsV8bg+Wso2oCMoR8E04Rnn+FuBgwM4o Xf6DCsbNPB1HRdpGu3AO43hQ3wZbcJdGwkI3+v3609XP2ZeaIDv/cOk4EjXGMHXz z+p4TBJHDJPETeyrMYrSMkvh7hqzeUkzmrRY8lC7ZR2+xGCBta/aGsiTLI1zyegi Nb2PFzyhdu2pv+/k+HfYlPu460CJW7pK25ScwC2aXHJSkIiFhImZ5axz3C1uxZ2K plRwTNg8gvQruHr7Jx/vXu7CPWgZD71X4UdMfTEFoTs/L9m65y1XKjWUX2ZRjnky YDerSsxQ5rrAGvQhGlRmexZJRTQHg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddruddtledguddvkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpegtggfuhfgjfffgkfhfvffosehtqhhmtdhhtdejnecuhfhrohhmpeevrghr lhcuffhonhhguceotghonhhtrggtthestggrrhhlughonhhgrdhmvgeqnecuggftrfgrth htvghrnhepledttdfgheeggfeukefhtdeulefhveehkefffefgleevgfehuefgheejhfdv gfelnecuffhomhgrihhnpehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomheptghonhhtrggtthestggrrhhlughonhhgrdhmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 25 Aug 2021 14:37:38 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) From: Carl Dong In-Reply-To: <87lf4xflu0.fsf@gnu.org> Date: Wed, 25 Aug 2021 14:37:38 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <004F2E7A-22C7-4C54-9524-DAE0E71EF9C1@carldong.me> References: <8DDCC02E-5D4A-4DF1-A893-229B58EBE31C@carldong.me> <87lf4xflu0.fsf@gnu.org> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Mathieu, I think this was exactly the problem, because mounting a tmpfs at /tmp = solved it. Thanks for your help! Cheers, Carl Dong > On Aug 19, 2021, at 12:20 PM, Mathieu Othacehe = wrote: >=20 >=20 > Hello Carl, >=20 >> The error line is L1299: "make: stat:Makefile: sterror: unknown = error=E2=80=9D >=20 > This reminds me of: > https://lists.gnu.org/archive/html/bug-guix/2020-05/msg00335.html. >=20 > I never took the time to fix this issue. Bottom line is that building > the bootstrap toolchain fails on NVME disks because some syscalls > (stat64, lstat64 and fstat64) need to be implemented in GNU Mes. >=20 > There's a small demonstration program that you can use to demonstrate > this theory :). >=20 > Thanks, >=20 > Mathieu From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 09:56:53 2021 Received: (at control) by debbugs.gnu.org; 1 Sep 2021 13:56:53 +0000 Received: from localhost ([127.0.0.1]:38702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQjV-0007va-1N for submit@debbugs.gnu.org; Wed, 01 Sep 2021 09:56:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQjT-0007vL-J7 for control@debbugs.gnu.org; Wed, 01 Sep 2021 09:56:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50054) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLQjM-0002OD-Vj for control@debbugs.gnu.org; Wed, 01 Sep 2021 09:56:45 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48804 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLQjM-0003ZA-NG for control@debbugs.gnu.org; Wed, 01 Sep 2021 09:56:44 -0400 Date: Wed, 01 Sep 2021 15:56:43 +0200 Message-Id: <87wno0761w.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #41264 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) merge 41264 49985 quit From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 09:59:17 2021 Received: (at control) by debbugs.gnu.org; 1 Sep 2021 13:59:17 +0000 Received: from localhost ([127.0.0.1]:38706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQlp-0007zr-Bq for submit@debbugs.gnu.org; Wed, 01 Sep 2021 09:59:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQlo-0007zc-1j for control@debbugs.gnu.org; Wed, 01 Sep 2021 09:59:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50116) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLQli-000422-OS for control@debbugs.gnu.org; Wed, 01 Sep 2021 09:59:10 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48806 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLQli-00082p-Fo for control@debbugs.gnu.org; Wed, 01 Sep 2021 09:59:10 -0400 Date: Wed, 01 Sep 2021 15:59:09 +0200 Message-Id: <87v93k75xu.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #41264 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) retitle 41264 Bootstrap packages fail to build due to mes-libc lacking 'stat64' etc. syscalls quit From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 09:59:24 2021 Received: (at control) by debbugs.gnu.org; 1 Sep 2021 13:59:24 +0000 Received: from localhost ([127.0.0.1]:38712 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQlv-00080N-Qo for submit@debbugs.gnu.org; Wed, 01 Sep 2021 09:59:24 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQlt-0007zq-V8 for control@debbugs.gnu.org; Wed, 01 Sep 2021 09:59:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50126) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLQlo-00047s-N9 for control@debbugs.gnu.org; Wed, 01 Sep 2021 09:59:16 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48808 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLQln-0008GS-Cq for control@debbugs.gnu.org; Wed, 01 Sep 2021 09:59:16 -0400 Date: Wed, 01 Sep 2021 15:59:14 +0200 Message-Id: <87tuj475xp.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #41264 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) severity 41264 important quit From unknown Fri Jun 13 11:32:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49985: Bootstrap packages fail to build due to mes-libc lacking 'stat64' etc. syscalls Resent-From: Jan Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 13 Feb 2023 11:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49985 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 41264@debbugs.gnu.org, 49985@debbugs.gnu.org Received: via spool by 49985-submit@debbugs.gnu.org id=B49985.167628776416312 (code B ref 49985); Mon, 13 Feb 2023 11:30:04 +0000 Received: (at 49985) by debbugs.gnu.org; 13 Feb 2023 11:29:24 +0000 Received: from localhost ([127.0.0.1]:47828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRX1N-0004Es-1g for submit@debbugs.gnu.org; Mon, 13 Feb 2023 06:29:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRX1E-0004EN-Tm; Mon, 13 Feb 2023 06:29:15 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRX15-0000cP-2q; Mon, 13 Feb 2023 06:29:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=9kEkijVN4fDtzJ/Tmo8lnzos0elKX1Eyjf5qyfgbXQY=; b=B5kRM588MDdC4Dz8zI2z nKOF+k1F0uZ5yLq6JlZDehYrOXbVnD1bBat1rB5bgxeTcNVjjexKPjX7DXL+DLUOK/jirVclKd+dV tHLVG+4afNQ5pDymDOSo95RtafpEZWhpdpMcj63YLkBJBNBCvTnIQ9mU+AUobr7U+63skvFkQeREh Bj/rZMEL+xWLD+FKeeqYmyHb8394OfT8jaOSNhESIbocRaZ8Tpf8JczYP0aJYhqAIqzVd1CBKak4+ /iw0EMRF7Ao8zjfoZnzyp6PTHoK2lR9ksWXO1l+4Bt8x8GFoHzQzERtt04ZMSFkV+Z73EwGyH3Cnw xZyHaSs6z8arnQ==; Received: from 2a02-a462-da03-1-2701-7f81-a736-4607.fixed6.kpn.net ([2a02:a462:da03:1:2701:7f81:a736:4607] helo=drakenpad.janneke.lilypond.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRX12-0006Wp-1k; Mon, 13 Feb 2023 06:29:00 -0500 From: Jan Nieuwenhuizen References: <87h7wik0kk.fsf@gnu.org> <87v9kxe6tl.fsf@gnu.org> <87ftbwtigj.fsf@gnu.org> <87sgfvq32v.fsf@gnu.org> Date: Mon, 13 Feb 2023 12:28:54 +0100 In-Reply-To: <87sgfvq32v.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Tue, 19 May 2020 18:52:56 +0200") Message-ID: <87bklxztvt.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Jan Nieuwenhuizen writes: Hello! > Mathieu Othacehe writes: [..] >> lib/linux/stat.c should be modified this way: >> >> #if __i386__ >> #define STAT_SYSCALL SYS_stat64 >> #else >> #define STAT_SYSCALL SYS_stat >> #endif > > Ah...the stat64 syscall is meant for i386; now it at starts making at > least some sense to me. [..] >> This way, we would replicate the glibc behavior. > > Beautiful, thanks for getting to the bottom of this. Now that you > already have gone this far, would you like to whip-up a full patch for > GNU Mes? [..] To use stat64 and friends on 32bit, I created the attached patch for GNU Mes and hope to create a 0.24.2 release from https://gitlab.com/janneke/mes/-/tree/wip-stat64 Also, I have update my core-updates branch with preliminary 0.24.2 mes and mes-boot packages here https://gitlab.com/janneke/guix/-/tree/core-updates Greetings, Janneke --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-lib-stat-Use-SYS_stat64-for-32bit-platforms.patch Content-Transfer-Encoding: quoted-printable >From bc1fa57851d360abb161c54dce5339ad9d7af7aa Mon Sep 17 00:00:00 2001 From: "Jan (janneke) Nieuwenhuizen" Date: Sat, 29 Oct 2022 13:17:58 +0200 Subject: [PATCH] lib: stat: Use SYS_stat64 for 32bit platforms. This fixes . * include/linux/arm/syscall.h (SYS_stat64, SYS_lstat64, SYS_fstat64)[__SIZEOF_LONG_LONG__ =3D=3D 8]: New defines. (SYS_stat, SYS_lstat, SYS_fstat)[__SIZEOF_LONG_LONG__ =3D=3D 8]: Redefine t= hem. * include/linux/x86/syscall.h (SYS_stat64, SYS_lstat64, SYS_fstat64)[__SIZEOF_LONG_LONG__ =3D=3D 8]: New defines. (SYS_stat, SYS_lstat, SYS_fstat)[__SIZEOF_LONG_LONG__ =3D=3D 8]: Redefine t= hem. * include/sys/stat.h (struct stat): Move definition to... * include/linux/arm/kernel-stat.h, include/linux/m2/kernel-stat.h, include/linux/x86/kernel-stat.h, include/linux/x86_64/kernel-stat.h: These new files. * include/gnu/x86/kernel-stat.h: New file. * configure (main): Copy include///*.h to include/. * configure.sh: Likewise. * .gitignore: Ignore them. Add copyright header. * build-aux/GNUmakefile.in (X86_ARCH_HEADERS, ARCH_HEADERS): New variables. (build): Use them. (include/arch/%.h, arch-dir): New targets. * build-aux/bootstrap.sh.in (AM_CPPFLAGS): Replace include// with built ../include. * build-aux/build.sh.in (AM_CPPFLAGS): Likewise. * build-aux/install.sh.in: Also install built include. * include/m2/types.h: New file. * kaem.run: Use it. * simple.sh: Copy kernel-stat.h, syscall.h for kernel/cpu to include/arch. --- .gitignore | 19 ++++ build-aux/GNUmakefile.in | 11 ++- build-aux/bootstrap.sh.in | 4 +- build-aux/build.sh.in | 11 ++- build-aux/install.sh.in | 3 +- configure | 7 ++ configure.sh | 4 + include/gnu/x86/kernel-stat.h | 25 ++++++ include/linux/arm/kernel-stat.h | 79 +++++++++++++++++ include/linux/arm/syscall.h | 19 ++++ include/linux/m2/kernel-stat.h | 47 ++++++++++ include/linux/x86/kernel-stat.h | 79 +++++++++++++++++ include/linux/x86/syscall.h | 20 ++++- include/linux/x86_64/kernel-stat.h | 51 +++++++++++ include/m2/types.h | 138 +++++++++++++++++++++++++++++ include/sys/stat.h | 51 +---------- kaem.run | 3 + lib/linux/_getcwd.c | 4 +- lib/linux/_open3.c | 2 +- lib/linux/_read.c | 4 +- lib/linux/access.c | 4 +- lib/linux/brk.c | 4 +- lib/linux/chdir.c | 4 +- lib/linux/chmod.c | 4 +- lib/linux/clock_gettime.c | 4 +- lib/linux/close.c | 4 +- lib/linux/dup.c | 4 +- lib/linux/dup2.c | 4 +- lib/linux/execve.c | 4 +- lib/linux/fcntl.c | 4 +- lib/linux/fork.c | 4 +- lib/linux/fstat.c | 4 +- lib/linux/fsync.c | 4 +- lib/linux/getdents.c | 4 +- lib/linux/getegid.c | 4 +- lib/linux/geteuid.c | 4 +- lib/linux/getgid.c | 4 +- lib/linux/getpid.c | 4 +- lib/linux/getppid.c | 4 +- lib/linux/getrusage.c | 4 +- lib/linux/gettimeofday.c | 4 +- lib/linux/getuid.c | 4 +- lib/linux/ioctl.c | 2 +- lib/linux/ioctl3.c | 2 +- lib/linux/kill.c | 4 +- lib/linux/link.c | 4 +- lib/linux/lseek.c | 2 +- lib/linux/lstat.c | 4 +- lib/linux/mkdir.c | 4 +- lib/linux/mknod.c | 4 +- lib/linux/nanosleep.c | 4 +- lib/linux/pipe.c | 4 +- lib/linux/read.c | 2 +- lib/linux/readlink.c | 4 +- lib/linux/rename.c | 4 +- lib/linux/rmdir.c | 4 +- lib/linux/setgid.c | 4 +- lib/linux/settimer.c | 4 +- lib/linux/setuid.c | 4 +- lib/linux/signal.c | 4 +- lib/linux/sigprogmask.c | 4 +- lib/linux/stat.c | 4 +- lib/linux/symlink.c | 4 +- lib/linux/time.c | 2 +- lib/linux/unlink.c | 4 +- lib/linux/waitpid.c | 2 +- lib/m2/execve.c | 4 +- lib/m2/open.c | 2 + lib/m2/time.c | 2 +- lib/m2/waitpid.c | 2 +- simple.sh | 12 ++- 71 files changed, 617 insertions(+), 158 deletions(-) create mode 100644 include/gnu/x86/kernel-stat.h create mode 100644 include/linux/arm/kernel-stat.h create mode 100644 include/linux/m2/kernel-stat.h create mode 100644 include/linux/x86/kernel-stat.h create mode 100644 include/linux/x86_64/kernel-stat.h create mode 100644 include/m2/types.h diff --git a/.gitignore b/.gitignore index 58cb2afb..72ba34d8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,21 @@ +# GNU Mes --- Maxwell Equations of Software +# Copyright =C2=A9 2016,2017,2019,2020,2022 Jan (janneke) Nieuwenhuizen +# +# This file is part of GNU Mes. +# +# GNU Mes is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or (at +# your option) any later version. +# +# GNU Mes is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Mes. If not, see . + *- *~ .#* @@ -117,6 +135,7 @@ /doc/images/gcc-mesboot-graph.pdf /doc/web/ /config.sh +/include/arch /include/mes/config.h /gcc-lib /mescc-lib diff --git a/build-aux/GNUmakefile.in b/build-aux/GNUmakefile.in index d74e9f99..c3304192 100644 --- a/build-aux/GNUmakefile.in +++ b/build-aux/GNUmakefile.in @@ -85,17 +85,26 @@ PHONY_TARGETS:=3D\ =20 .PHONY: $(PHONY_TARGETS) =20 +X86_ARCH_HEADERS =3D $(wildcard $(scrdest)include/linux/x86/*.h) +ARCH_HEADERS =3D $(X86_ARCH_HEADERS:$(srcdest)include/linux/x86/%=3Dinclud= e/arch/%) + default: all =20 all: doc =20 doc: build =20 -build: +build: | $(ARCH_HEADERS) $(SHELL) build.sh =20 src/${program_prefix}mes: build =20 +include/arch/%.h: $(srcdest)include/$(mes_kernel)/$(mes_cpu)/%.h | arch-dir + cp -f $< $@ + +arch-dir: + mkdir -p include/arch + clean: rm -f *.o *.s bin/mes bin/mes-gcc bin/mes-mescc rm -f mes.{aux,cp,cps,fn,info,log,tmp,toc,vr,vrs} diff --git a/build-aux/bootstrap.sh.in b/build-aux/bootstrap.sh.in index b2d56c50..a2451d02 100644 --- a/build-aux/bootstrap.sh.in +++ b/build-aux/bootstrap.sh.in @@ -50,7 +50,7 @@ srcdest=3D../${srcdest} ln -sf ${srcdest}mes . ln -sf ${srcdest}module . ln -sf ${srcdest}src . -AM_CPPFLAGS=3D"-D HAVE_CONFIG_H=3D1 -I ${srcdest}include -I ${srcdest}incl= ude/$mes_kernel/$mes_cpu" +AM_CPPFLAGS=3D"-D HAVE_CONFIG_H=3D1 -I ${srcdest}include -I ../include -I = include" AM_CFLAGS=3D"-L ${srcdest}lib" =20 mkdir -p $mes_cpu-mes @@ -108,7 +108,7 @@ $AR crD $mes_cpu-mes/libc+tcc.a $objects =20 cd .. srcdest=3D -CPPFLAGS=3D"-D HAVE_CONFIG_H=3D1 -I ${srcdest}include -I ${srcdest}include= /$mes_kernel/$mes_cpu" +AM_CPPFLAGS=3D"-D HAVE_CONFIG_H=3D1 -I ${srcdest}include -I ../include -I = include" AM_CFLAGS=3D"-L ${srcdest}lib" =20 objects=3D diff --git a/build-aux/build.sh.in b/build-aux/build.sh.in index f4a6a264..3f356e10 100644 --- a/build-aux/build.sh.in +++ b/build-aux/build.sh.in @@ -66,9 +66,8 @@ fi AM_CPPFLAGS=3D" -D HAVE_CONFIG_H=3D1 -I ${srcdest}lib --I include -I ${srcdest}include --I ${srcdest}include/$mes_kernel/$mes_cpu +-I ../include " if test $mes_kernel =3D gnu; then AM_CPPFLAGS=3D"$AM_CPPFLAGS @@ -93,9 +92,9 @@ fi AM_CPPFLAGS=3D" -D HAVE_CONFIG_H=3D1 -I ${srcdest}lib --I include -I ${srcdest}include --I ${srcdest}include/$mes_kernel/$mes_cpu +-I ../include +-I include " if test "$compiler" !=3D bootstrap; then ${SHELL} ${srcdest}build-aux/build-mes.sh @@ -137,9 +136,9 @@ fi AM_CPPFLAGS=3D" -D HAVE_CONFIG_H=3D1 -I ${srcdest}lib --I include -I ${srcdest}include --I ${srcdest}include/$mes_kernel/$mes_cpu +-I ../include +-I include " compiler=3Dmescc AR=3D${MESAR-"${srcdest}pre-inst-env mesar"} diff --git a/build-aux/install.sh.in b/build-aux/install.sh.in index 340faf5f..f3a69229 100644 --- a/build-aux/install.sh.in +++ b/build-aux/install.sh.in @@ -1,7 +1,7 @@ #! @SHELL@ =20 # GNU Mes --- Maxwell Equations of Software -# Copyright =C2=A9 2017,2018,2019 Jan (janneke) Nieuwenhuizen +# Copyright =C2=A9 2017,2018,2019,2022 Jan (janneke) Nieuwenhuizen # # This file is part of GNU Mes. # @@ -99,6 +99,7 @@ mkdir -p $DESTDIR$includedir mkdir -p $DESTDIR$libdir mkdir -p $DESTDIR$pkgdatadir tar -cf- -C ${srcdir}/include . | tar -${v}xf- -C $DESTDIR$includedir +tar -cf- -C include . | tar -${v}xf- -C $DESTDIR$includedir tar -cf- -C ${srcdir}/lib $mes_cpu-mes | tar -${v}xf- -C $DESTDIR$libdir tar -cf- -C ${srcdir}/lib $mes_kernel/$mes_cpu-mes | tar -${v}xf- -C $DEST= DIR$libdir if test -z "$srcdest"; then diff --git a/configure b/configure index b02e75bf..98467094 100755 --- a/configure +++ b/configure @@ -707,6 +707,13 @@ See \"Porting GNU Mes\" in the manual, or try --with-c= ourage\n" mes-system) #define MES_VERSION \"" VERSION "\" "))))) (substitute (string-append srcdest "build-aux/config.make.in") pai= rs #:target ".config.make")) + (let ((arch-dir (string-append srcdest "include/" mes-kernel "/" mes= -cpu))) + (define (copy-header file-name) + (system* "cp" "-f" "-v" + (string-append arch-dir "/" file-name) + (string-append "include/arch/" file-name))) + (system* "mkdir" "-p" "include/arch") + (for-each copy-header '("kernel-stat.h" "syscall.h"))) =20 (let ((make (and=3D> (file-name "make" deps) basename))) (display (string-append " diff --git a/configure.sh b/configure.sh index 51d99b6f..f182530e 100755 --- a/configure.sh +++ b/configure.sh @@ -271,6 +271,10 @@ cat >> include/mes/config.h < + * + * This file is part of GNU Mes. + * + * GNU Mes is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or (at + * your option) any later version. + * + * GNU Mes is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Mes. If not, see . + */ +#ifndef __MES_GNU_X86_KERNEL_STAT_H +#define __MES_GNU_X86_KERNEL_STAT_H 1 + +#include + +#endif // __MES_GNU_X86_KERNEL_STAT_H diff --git a/include/linux/arm/kernel-stat.h b/include/linux/arm/kernel-sta= t.h new file mode 100644 index 00000000..79dc48ec --- /dev/null +++ b/include/linux/arm/kernel-stat.h @@ -0,0 +1,79 @@ +/* -*-comment-start: "//";comment-end:""-*- + * GNU Mes --- Maxwell Equations of Software + * Copyright =C2=A9 2017,2022 Jan (janneke) Nieuwenhuizen + * + * This file is part of GNU Mes. + * + * GNU Mes is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or (at + * your option) any later version. + * + * GNU Mes is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Mes. If not, see . + */ +#ifndef __MES_LINUX_ARM_KERNEL_STAT_H +#define __MES_LINUX_ARM_KERNEL_STAT_H 1 + +// https://github.com/torvalds/linux/blob/master/arch/arm/include/uapi/asm= /stat.h + +#include + +#if __SIZEOF_LONG_LONG__ !=3D 8 + +// *INDENT-OFF* +struct stat +{ + unsigned long st_dev; + unsigned long st_ino; + unsigned short st_mode; + unsigned short st_nlink; + unsigned short st_uid; + unsigned short st_gid; + unsigned long st_rdev; + unsigned long st_size; + unsigned long st_blksize; + unsigned long st_blocks; + unsigned long st_atime; + unsigned long st_atime_usec; + unsigned long st_mtime; + unsigned long st_mtime_usec; + unsigned long st_ctime; + unsigned long st_ctime_usec; + unsigned long __pad0; + unsigned long __pad1; +}; + +#else // __SIZEOF_LONG_LONG__ =3D=3D 8 + +struct stat +{ + unsigned long long st_dev; + unsigned char __pad0[4]; + unsigned long __st_ino; + unsigned int st_mode; + unsigned int st_nlink; + unsigned long st_uid; + unsigned long st_gid; + unsigned long long st_rdev; + unsigned char __pad3[4]; + long long st_size; + unsigned long st_blksize; + unsigned long long st_blocks; + unsigned long st_atime; + unsigned long st_atime_nsec; + unsigned long st_mtime; + unsigned int st_mtime_nsec; + unsigned long st_ctime; + unsigned long st_ctime_nsec; + unsigned long long st_ino; +}; + +#endif // __SIZEOF_LONG_LONG__ =3D=3D 8 + +#endif // __MES_LINUX_ARM_KERNEL_STAT_H diff --git a/include/linux/arm/syscall.h b/include/linux/arm/syscall.h index b04ff039..ca9f1f97 100644 --- a/include/linux/arm/syscall.h +++ b/include/linux/arm/syscall.h @@ -109,4 +109,23 @@ #define SYS_readlink 0x55 #define SYS_mknod 0x0e =20 +#if __SIZEOF_LONG_LONG__ =3D=3D 8 + +#define SYS_stat64 0xc3 +#define SYS_lstat64 0xc4 +#define SYS_fstat64 0xc5 +#define SYS_fcntl64 0xdd +#define SYS_getdents64 0xdc + +#undef SYS_stat +#define SYS_stat SYS_stat64 + +#undef SYS_lstat +#define SYS_lstat SYS_lstat64 + +#undef SYS_fstat +#define SYS_fstat SYS_fstat64 + +#endif // __SIZEOF_LONG_LONG__ =3D=3D 8 + #endif /* __MES_LINUX_ARM_SYSCALL_H */ diff --git a/include/linux/m2/kernel-stat.h b/include/linux/m2/kernel-stat.h new file mode 100644 index 00000000..c446bdbc --- /dev/null +++ b/include/linux/m2/kernel-stat.h @@ -0,0 +1,47 @@ +/* -*-comment-start: "//";comment-end:""-*- + * GNU Mes --- Maxwell Equations of Software + * Copyright =C2=A9 2022 Jan (janneke) Nieuwenhuizen + * + * This file is part of GNU Mes. + * + * GNU Mes is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or (at + * your option) any later version. + * + * GNU Mes is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Mes. If not, see . + */ +#ifndef __LINUX_M2_KERNEL_STAT_H +#define __LINUX_M2_KERNEL_STAT_H + +/* https://github.com/torvalds/linux/blob/master/arch/x86/include/uapi/asm= /stat.h */ + +/* *INDENT-OFF* */ +struct stat +{ + unsigned st_dev; + unsigned st_ino; + char st_mode[2]; + char st_nlink[2]; + char st_uid[2]; + char st_gid[2]; + unsigned st_rdev; + unsigned st_size; + unsigned st_blksize; + unsigned st_blocks; + unsigned st_atime; + unsigned st_atime_usec; + unsigned st_mtime; + unsigned st_mtime_usec; + unsigned st_ctime; + unsigned st_ctime_usec; + unsigned __pad0; + unsigned __pad1; +}; +#endif /* __LINUX_M2_KERNEL_STAT_H */ diff --git a/include/linux/x86/kernel-stat.h b/include/linux/x86/kernel-sta= t.h new file mode 100644 index 00000000..997fadc7 --- /dev/null +++ b/include/linux/x86/kernel-stat.h @@ -0,0 +1,79 @@ +/* -*-comment-start: "//";comment-end:""-*- + * GNU Mes --- Maxwell Equations of Software + * Copyright =C2=A9 2017,2022 Jan (janneke) Nieuwenhuizen + * + * This file is part of GNU Mes. + * + * GNU Mes is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or (at + * your option) any later version. + * + * GNU Mes is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Mes. If not, see . + */ +#ifndef __MES_LINUX_X86_KERNEL_STAT_H +#define __MES_LINUX_X86_KERNEL_STAT_H 1 + +// https://github.com/torvalds/linux/blob/master/arch/x86/include/uapi/asm= /stat.h + +#include + +#if __SIZEOF_LONG_LONG__ !=3D 8 + +// *INDENT-OFF* +struct stat +{ + unsigned long st_dev; + unsigned long st_ino; + unsigned short st_mode; + unsigned short st_nlink; + unsigned short st_uid; + unsigned short st_gid; + unsigned long st_rdev; + unsigned long st_size; + unsigned long st_blksize; + unsigned long st_blocks; + unsigned long st_atime; + unsigned long st_atime_usec; + unsigned long st_mtime; + unsigned long st_mtime_usec; + unsigned long st_ctime; + unsigned long st_ctime_usec; + unsigned long __pad0; + unsigned long __pad1; +}; + +#else // __SIZEOF_LONG_LONG__ =3D=3D 8 + +struct stat +{ + unsigned long long st_dev; + unsigned char __pad0[4]; + unsigned long __st_ino; + unsigned int st_mode; + unsigned int st_nlink; + unsigned long st_uid; + unsigned long st_gid; + unsigned long long st_rdev; + unsigned char __pad3[4]; + long long st_size; + unsigned long st_blksize; + unsigned long long st_blocks; + unsigned long st_atime; + unsigned long st_atime_nsec; + unsigned long st_mtime; + unsigned int st_mtime_nsec; + unsigned long st_ctime; + unsigned long st_ctime_nsec; + unsigned long long st_ino; +}; + +#endif // __SIZEOF_LONG_LONG__ =3D=3D 8 + +#endif // __MES_LINUX_X86_KERNEL_STAT_H diff --git a/include/linux/x86/syscall.h b/include/linux/x86/syscall.h index 01c46a35..d849c175 100644 --- a/include/linux/x86/syscall.h +++ b/include/linux/x86/syscall.h @@ -75,7 +75,6 @@ #define SYS_stat 0x6a =20 /* libc+gnu */ - #define SYS_chdir 0x0c #define SYS_link 0x09 #define SYS_getpid 0x14 @@ -112,4 +111,23 @@ #define SYS_readlink 0x55 #define SYS_mknod 0x0e =20 +#if __SIZEOF_LONG_LONG__ =3D=3D 8 + +#define SYS_stat64 0xc3 +#define SYS_lstat64 0xc4 +#define SYS_fstat64 0xc5 +#define SYS_fcntl64 0xdd +#define SYS_getdents64 0xdc + +#undef SYS_stat +#define SYS_stat SYS_stat64 + +#undef SYS_lstat +#define SYS_lstat SYS_lstat64 + +#undef SYS_fstat +#define SYS_fstat SYS_fstat64 + +#endif // __SIZEOF_LONG_LONG__ =3D=3D 8 + #endif /* __MES_LINUX_X86_SYSCALL_H */ diff --git a/include/linux/x86_64/kernel-stat.h b/include/linux/x86_64/kern= el-stat.h new file mode 100644 index 00000000..fdb15946 --- /dev/null +++ b/include/linux/x86_64/kernel-stat.h @@ -0,0 +1,51 @@ +/* -*-comment-start: "//";comment-end:""-*- + * GNU Mes --- Maxwell Equations of Software + * Copyright =C2=A9 2017,2022 Jan (janneke) Nieuwenhuizen + * + * This file is part of GNU Mes. + * + * GNU Mes is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or (at + * your option) any later version. + * + * GNU Mes is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Mes. If not, see . + */ +#ifndef __MES_LINUX_X86_64_KERNEL_STAT_H +#define __MES_LINUX_X86_64_KERNEL_STAT_H 1 + +// https://github.com/torvalds/linux/blob/master/arch/x86/include/uapi/asm= /stat.h + +// *INDENT-OFF* +struct stat +{ + unsigned long st_dev; + unsigned long st_ino; + unsigned long st_nlink; + unsigned int st_mode; + unsigned int st_uid; + unsigned int st_gid; + unsigned int __pad0; + unsigned long st_rdev; + unsigned long st_size; + unsigned long st_atime; + unsigned long st_atime_nsec; + unsigned long st_mtime; + unsigned long st_mtime_nsec; + unsigned long st_ctime; + unsigned long st_ctime_nsec; + unsigned long st_blksize; + long st_blocks; + unsigned long __pad1; + unsigned long __pad2; + unsigned long __pad3; + unsigned long __pad4; +}; + +#endif // __MES_LINUX_X86_64_KERNEL_STAT_H diff --git a/include/m2/types.h b/include/m2/types.h new file mode 100644 index 00000000..c5547f5c --- /dev/null +++ b/include/m2/types.h @@ -0,0 +1,138 @@ +/* -*-comment-start: "//";comment-end:""-*- + * GNU Mes --- Maxwell Equations of Software + * Copyright =C2=A9 2017,2022,2023 Jan (janneke) Nieuwenhuizen + * + * This file is part of GNU Mes. + * + * GNU Mes is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or (at + * your option) any later version. + * + * GNU Mes is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Mes. If not, see . + */ +#ifndef __M2_TYPES_H +#define __M2_TYPES_H 1 + +/* +#ifndef __MES_CLOCK_T +#define __MES_CLOCK_T +#undef clock_t +typedef long clock_t; +#endif +*/ + +#ifndef __MES_DEV_T +#define __MES_DEV_T +#undef dev_t +typedef long dev_t; +#endif + +/* +#if !defined (__MES_FILE_T) && ! defined (_FILE_T) +#define __MES_FILE_T +#define _FILE_T +typedef long FILE; +#endif +*/ + +#ifndef __MES_GID_T +#define __MES_GID_T +#undef gid_t +typedef unsigned gid_t; +#endif + +#ifndef __MES_INO_T +#define __MES_INO_T +#undef ino_t +typedef unsigned ino_t; +#endif + +#if __SIZEOF_LONG_LONG__ =3D=3D 8 +#ifndef __MES_INO64_T +#define __MES_INO64_T +#undef ino64_t +typedef unsigned ino64_t; +#endif +#endif // __SIZEOF_LONG_LONG__ =3D=3D 8 + +#if !defined (__MES_INTPTR_T) && !defined (__intptr_t_defined) +#define __MES_INTPTR_T +#define __intptr_t_defined +#undef intptr_t +typedef long intptr_t; +#undef uintptr_t +typedef unsigned uintptr_t; +#endif + +#ifndef __MES_OFF_T +#define __MES_OFF_T +#undef off_t +typedef long off_t; +#endif + +#if __SIZEOF_LONG_LONG__ =3D=3D 8 +#ifndef __MES_OFF64_T +#define __MES_OFF64_T +#undef off64_t +typedef unsigned off64_t; +#endif +#endif // __SIZEOF_LONG_LONG__ =3D=3D 8 + +#ifndef __MES_PID_T +#define __MES_PID_T +#undef pid_t +typedef int pid_t; +#endif + +#ifndef __PTRDIFF_T +#define __PTRDIFF_T +#ifndef __MES_PTRDIFF_T +#define __MES_PTRDIFF_T +#undef ptrdiff_t +typedef long ptrdiff_t; +#endif +#endif + +#ifndef __MES_SIGVAL_T +#define __MES_SIGVAL_T +#undef clock_t +typedef long sigval_t; +#endif + +#ifndef __SIZE_T +#define __SIZE_T +#ifndef __MES_SIZE_T +#define __MES_SIZE_T +typedef unsigned size_t; +#endif +#endif + +#ifndef __MES_SSIZE_T +#define __MES_SSIZE_T +#undef ssize_t +typedef long ssize_t; +#endif + +#ifndef __MES_UID_T +#define __MES_UID_T +#undef uid_t +typedef unsigned uid_t; +#endif + +#ifndef __WCHAR_T +#define __WCHAR_T +#ifndef __MES_WCHAR_T +#define __MES_WCHAR_T +#undef wchar_t +typedef int wchar_t; +#endif +#endif + +#endif // __M2_TYPES_H diff --git a/include/sys/stat.h b/include/sys/stat.h index 0aefa286..fbcee2f1 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -19,7 +19,7 @@ * along with GNU Mes. If not, see . */ #ifndef __MES_SYS_STAT_H -#define __MES_SYS_STAT_H 1lei +#define __MES_SYS_STAT_H 1 =20 #if SYSTEM_LIBC #undef __MES_SYS_STAT_H @@ -29,60 +29,13 @@ =20 #include #include +#include =20 #ifndef __MES_MODE_T #define __MES_MODE_T typedef int mode_t; #endif =20 -// *INDENT-OFF* -#if __i386__ || __arm__ -struct stat -{ - unsigned long st_dev; - unsigned long st_ino; - unsigned short st_mode; - unsigned short st_nlink; - unsigned short st_uid; - unsigned short st_gid; - unsigned long st_rdev; - long st_size; /* Linux: unsigned long; glibc: off_t (i.e. sign= ed) */ - unsigned long st_blksize; - unsigned long st_blocks; - time_t st_atime; /* Linux: unsigned long; glibc: time_t */ - unsigned long st_atime_usec; - time_t st_mtime; /* Linux: unsigned long; glibc: time_t */ - unsigned long st_mtime_usec; - time_t st_ctime; /* Linux: unsigned long; glibc: time_t */ - unsigned long st_ctime_usec; - unsigned long __foo0; - unsigned long __foo1; -}; -#elif __x86_64__ -struct stat -{ - unsigned long st_dev; - unsigned long st_ino; - unsigned int st_mode; - unsigned int st_nlink; - unsigned int st_uid; - unsigned int st_gid; - unsigned long st_rdev; - long st_size; - unsigned long st_blksize; - unsigned long st_blocks; - time_t st_atime; - unsigned long st_atime_usec; - time_t st_mtime; - unsigned long st_mtime_usec; - time_t st_ctime; - unsigned long st_ctime_usec; - unsigned long __foo0; - unsigned long __foo1; -}; -#endif -// *INDENT-ON* - int chmod (char const *file_name, mode_t mode); int fstat (int filedes, struct stat *buf); int mkdir (char const *file_name, mode_t mode); diff --git a/kaem.run b/kaem.run index 3c78e39a..1d8df90b 100644 --- a/kaem.run +++ b/kaem.run @@ -53,6 +53,7 @@ M2-Planet \ -f lib/mes/fdputc.c \ -f lib/mes/eputc.c \ \ + -f include/m2/types.h \ -f include/mes/mes.h \ -f include/mes/builtins.h \ -f include/mes/constants.h \ @@ -81,6 +82,8 @@ M2-Planet \ -f lib/mes/fdungetc.c \ -f lib/posix/setenv.c \ -f lib/linux/access.c \ + -f include/linux/m2/kernel-stat.h \ + -f include/sys/stat.h \ -f lib/m2/chmod.c \ -f lib/linux/ioctl3.c \ -f lib/m2/isatty.c \ diff --git a/lib/linux/_getcwd.c b/lib/linux/_getcwd.c index 85153cb1..10eb270e 100644 --- a/lib/linux/_getcwd.c +++ b/lib/linux/_getcwd.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2016,2017,2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2016,2017,2018,2019,2022 Jan (janneke) Nieuwenhuizen <= janneke@gnu.org> * * This file is part of GNU Mes. * @@ -20,7 +20,7 @@ =20 #include #include -#include +#include =20 char * _getcwd (char *buffer, size_t size) diff --git a/lib/linux/_open3.c b/lib/linux/_open3.c index 3072f9bf..cfad689a 100644 --- a/lib/linux/_open3.c +++ b/lib/linux/_open3.c @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include #include =20 diff --git a/lib/linux/_read.c b/lib/linux/_read.c index 6c5ff42f..c5a34abc 100644 --- a/lib/linux/_read.c +++ b/lib/linux/_read.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2016,2017,2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2016,2017,2018,2019,2022 Jan (janneke) Nieuwenhuizen <= janneke@gnu.org> * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include #include =20 diff --git a/lib/linux/access.c b/lib/linux/access.c index 805e8f01..ceb18595 100644 --- a/lib/linux/access.c +++ b/lib/linux/access.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2016,2017,2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2016,2017,2018,2019,2022 Jan (janneke) Nieuwenhuizen <= janneke@gnu.org> * * This file is part of GNU Mes. * @@ -20,7 +20,7 @@ =20 #include #include -#include +#include =20 int access (char const *file_name, int how) diff --git a/lib/linux/brk.c b/lib/linux/brk.c index 586bd7e1..3517850c 100644 --- a/lib/linux/brk.c +++ b/lib/linux/brk.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2016,2017,2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2016,2017,2018,2019,2022 Jan (janneke) Nieuwenhuizen <= janneke@gnu.org> * * This file is part of GNU Mes. * @@ -20,7 +20,7 @@ =20 #include #include -#include +#include =20 long brk (void *addr) diff --git a/lib/linux/chdir.c b/lib/linux/chdir.c index ada7feec..aed98378 100644 --- a/lib/linux/chdir.c +++ b/lib/linux/chdir.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include =20 int chdir (char const *file_name) diff --git a/lib/linux/chmod.c b/lib/linux/chmod.c index 1feabec5..a6d74a43 100644 --- a/lib/linux/chmod.c +++ b/lib/linux/chmod.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2016,2017,2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2016,2017,2018,2019,2022 Jan (janneke) Nieuwenhuizen <= janneke@gnu.org> * * This file is part of GNU Mes. * @@ -20,7 +20,7 @@ =20 #include #include -#include +#include #include =20 int diff --git a/lib/linux/clock_gettime.c b/lib/linux/clock_gettime.c index 051dba33..63753ef8 100644 --- a/lib/linux/clock_gettime.c +++ b/lib/linux/clock_gettime.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -20,7 +20,7 @@ =20 #include #include -#include +#include #include =20 int diff --git a/lib/linux/close.c b/lib/linux/close.c index e25e8318..490b4881 100644 --- a/lib/linux/close.c +++ b/lib/linux/close.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2016,2017,2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2016,2017,2018,2019,2022 Jan (janneke) Nieuwenhuizen <= janneke@gnu.org> * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 int diff --git a/lib/linux/dup.c b/lib/linux/dup.c index 9237ef97..b954d3de 100644 --- a/lib/linux/dup.c +++ b/lib/linux/dup.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2016,2017,2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2016,2017,2018,2019,2022 Jan (janneke) Nieuwenhuizen <= janneke@gnu.org> * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include =20 int dup (int old) diff --git a/lib/linux/dup2.c b/lib/linux/dup2.c index ef996273..9a0752e3 100644 --- a/lib/linux/dup2.c +++ b/lib/linux/dup2.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2016,2017,2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2016,2017,2018,2019,2022 Jan (janneke) Nieuwenhuizen <= janneke@gnu.org> * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include =20 int dup2 (int old, int new) diff --git a/lib/linux/execve.c b/lib/linux/execve.c index 51c8b4ff..7cb02e20 100644 --- a/lib/linux/execve.c +++ b/lib/linux/execve.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2016,2017,2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2016,2017,2018,2019,2022 Jan (janneke) Nieuwenhuizen <= janneke@gnu.org> * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include =20 int execve (char const *file_name, char *const argv[], char *const env[]) diff --git a/lib/linux/fcntl.c b/lib/linux/fcntl.c index e10e7348..85a167ae 100644 --- a/lib/linux/fcntl.c +++ b/lib/linux/fcntl.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 int diff --git a/lib/linux/fork.c b/lib/linux/fork.c index 1f5c25fc..d07050bf 100644 --- a/lib/linux/fork.c +++ b/lib/linux/fork.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2016,2017,2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2016,2017,2018,2019,2022 Jan (janneke) Nieuwenhuizen <= janneke@gnu.org> * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include =20 int fork () diff --git a/lib/linux/fstat.c b/lib/linux/fstat.c index 19d3f6a9..f4965776 100644 --- a/lib/linux/fstat.c +++ b/lib/linux/fstat.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 int diff --git a/lib/linux/fsync.c b/lib/linux/fsync.c index 0eef6db4..ba75088d 100644 --- a/lib/linux/fsync.c +++ b/lib/linux/fsync.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2016,2017,2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2016,2017,2018,2019,2022 Jan (janneke) Nieuwenhuizen <= janneke@gnu.org> * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include =20 int fsync (int filedes) diff --git a/lib/linux/getdents.c b/lib/linux/getdents.c index 5ebafa45..03717710 100644 --- a/lib/linux/getdents.c +++ b/lib/linux/getdents.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 int diff --git a/lib/linux/getegid.c b/lib/linux/getegid.c index 5ad2f2c6..2fb8098f 100644 --- a/lib/linux/getegid.c +++ b/lib/linux/getegid.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 gid_t diff --git a/lib/linux/geteuid.c b/lib/linux/geteuid.c index 4fcf9fd1..62d2da47 100644 --- a/lib/linux/geteuid.c +++ b/lib/linux/geteuid.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 uid_t diff --git a/lib/linux/getgid.c b/lib/linux/getgid.c index 4402b528..48fd3579 100644 --- a/lib/linux/getgid.c +++ b/lib/linux/getgid.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 gid_t diff --git a/lib/linux/getpid.c b/lib/linux/getpid.c index 9cab47ae..73cb74b6 100644 --- a/lib/linux/getpid.c +++ b/lib/linux/getpid.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 pid_t diff --git a/lib/linux/getppid.c b/lib/linux/getppid.c index 7eea4539..49d472ba 100644 --- a/lib/linux/getppid.c +++ b/lib/linux/getppid.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 pid_t diff --git a/lib/linux/getrusage.c b/lib/linux/getrusage.c index 2a789949..174d4c0b 100644 --- a/lib/linux/getrusage.c +++ b/lib/linux/getrusage.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 int diff --git a/lib/linux/gettimeofday.c b/lib/linux/gettimeofday.c index 495f059f..ed4e336f 100644 --- a/lib/linux/gettimeofday.c +++ b/lib/linux/gettimeofday.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -20,7 +20,7 @@ =20 #include #include -#include +#include #include =20 int diff --git a/lib/linux/getuid.c b/lib/linux/getuid.c index e6edd257..d5ca3a50 100644 --- a/lib/linux/getuid.c +++ b/lib/linux/getuid.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 uid_t diff --git a/lib/linux/ioctl.c b/lib/linux/ioctl.c index 0e6e14ac..27547c68 100644 --- a/lib/linux/ioctl.c +++ b/lib/linux/ioctl.c @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include #include =20 diff --git a/lib/linux/ioctl3.c b/lib/linux/ioctl3.c index 3f759d06..7990b8b7 100644 --- a/lib/linux/ioctl3.c +++ b/lib/linux/ioctl3.c @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 int diff --git a/lib/linux/kill.c b/lib/linux/kill.c index 4298a9db..f04424fb 100644 --- a/lib/linux/kill.c +++ b/lib/linux/kill.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 int diff --git a/lib/linux/link.c b/lib/linux/link.c index cf8dec32..e2d66912 100644 --- a/lib/linux/link.c +++ b/lib/linux/link.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include =20 int link (char const *old_name, char const *new_name) diff --git a/lib/linux/lseek.c b/lib/linux/lseek.c index f71af59f..c72a75cf 100644 --- a/lib/linux/lseek.c +++ b/lib/linux/lseek.c @@ -20,7 +20,7 @@ =20 #include #include -#include +#include #include #include =20 diff --git a/lib/linux/lstat.c b/lib/linux/lstat.c index 039de0e1..feebc6cb 100644 --- a/lib/linux/lstat.c +++ b/lib/linux/lstat.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 int diff --git a/lib/linux/mkdir.c b/lib/linux/mkdir.c index 53188888..59319329 100644 --- a/lib/linux/mkdir.c +++ b/lib/linux/mkdir.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 int diff --git a/lib/linux/mknod.c b/lib/linux/mknod.c index 8339f7a6..24a9b0c7 100644 --- a/lib/linux/mknod.c +++ b/lib/linux/mknod.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 int diff --git a/lib/linux/nanosleep.c b/lib/linux/nanosleep.c index bc838a4f..a5e2a044 100644 --- a/lib/linux/nanosleep.c +++ b/lib/linux/nanosleep.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include #include =20 diff --git a/lib/linux/pipe.c b/lib/linux/pipe.c index 0ed4c23e..f6b3689a 100644 --- a/lib/linux/pipe.c +++ b/lib/linux/pipe.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 int diff --git a/lib/linux/read.c b/lib/linux/read.c index efd25744..d91f81b2 100644 --- a/lib/linux/read.c +++ b/lib/linux/read.c @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include #include =20 diff --git a/lib/linux/readlink.c b/lib/linux/readlink.c index 9990b50f..96443273 100644 --- a/lib/linux/readlink.c +++ b/lib/linux/readlink.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 ssize_t diff --git a/lib/linux/rename.c b/lib/linux/rename.c index 492c734d..762c3093 100644 --- a/lib/linux/rename.c +++ b/lib/linux/rename.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 int diff --git a/lib/linux/rmdir.c b/lib/linux/rmdir.c index 7c096832..5d4c0f49 100644 --- a/lib/linux/rmdir.c +++ b/lib/linux/rmdir.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2016,2017,2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2016,2017,2018,2019,2022 Jan (janneke) Nieuwenhuizen <= janneke@gnu.org> * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include =20 int rmdir (char const *file_name) diff --git a/lib/linux/setgid.c b/lib/linux/setgid.c index 5512c622..13399c2e 100644 --- a/lib/linux/setgid.c +++ b/lib/linux/setgid.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 int diff --git a/lib/linux/settimer.c b/lib/linux/settimer.c index a66240f1..7247c8a0 100644 --- a/lib/linux/settimer.c +++ b/lib/linux/settimer.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include #include =20 diff --git a/lib/linux/setuid.c b/lib/linux/setuid.c index 5157dcae..d5e2ae76 100644 --- a/lib/linux/setuid.c +++ b/lib/linux/setuid.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 int diff --git a/lib/linux/signal.c b/lib/linux/signal.c index 11174be9..23cf106d 100644 --- a/lib/linux/signal.c +++ b/lib/linux/signal.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include #include =20 diff --git a/lib/linux/sigprogmask.c b/lib/linux/sigprogmask.c index c0326a28..4b0bb8eb 100644 --- a/lib/linux/sigprogmask.c +++ b/lib/linux/sigprogmask.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include #include =20 diff --git a/lib/linux/stat.c b/lib/linux/stat.c index d8f4465b..df0022aa 100644 --- a/lib/linux/stat.c +++ b/lib/linux/stat.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2016,2017,2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2016,2017,2018,2019,2022 Jan (janneke) Nieuwenhuizen <= janneke@gnu.org> * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 int diff --git a/lib/linux/symlink.c b/lib/linux/symlink.c index 53f99fb7..4e4084d2 100644 --- a/lib/linux/symlink.c +++ b/lib/linux/symlink.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2018,2019,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 int diff --git a/lib/linux/time.c b/lib/linux/time.c index f4931970..53c92052 100644 --- a/lib/linux/time.c +++ b/lib/linux/time.c @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include #include #include diff --git a/lib/linux/unlink.c b/lib/linux/unlink.c index 03713e64..9f204b5f 100644 --- a/lib/linux/unlink.c +++ b/lib/linux/unlink.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2016,2017,2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2016,2017,2018,2019,2022 Jan (janneke) Nieuwenhuizen <= janneke@gnu.org> * * This file is part of GNU Mes. * @@ -20,7 +20,7 @@ =20 #include #include -#include +#include =20 int unlink (char const *file_name) diff --git a/lib/linux/waitpid.c b/lib/linux/waitpid.c index 693e3dfa..bb89c692 100644 --- a/lib/linux/waitpid.c +++ b/lib/linux/waitpid.c @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 pid_t diff --git a/lib/m2/execve.c b/lib/m2/execve.c index 7fe7c9ba..1f078c3d 100644 --- a/lib/m2/execve.c +++ b/lib/m2/execve.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright =C2=A9 2016,2017,2018,2019 Jan (janneke) Nieuwenhuizen + * Copyright =C2=A9 2016,2017,2018,2019,2022 Jan (janneke) Nieuwenhuizen <= janneke@gnu.org> * * This file is part of GNU Mes. * @@ -19,7 +19,7 @@ */ =20 #include -#include +#include =20 int execve (char const *file_name, char **argv, char **env) diff --git a/lib/m2/open.c b/lib/m2/open.c index 3d3fe4dc..ee5513e7 100644 --- a/lib/m2/open.c +++ b/lib/m2/open.c @@ -18,6 +18,8 @@ * along with GNU Mes. If not, see . */ =20 +#include +#include #include #include #include diff --git a/lib/m2/time.c b/lib/m2/time.c index c589de85..7f43cdad 100644 --- a/lib/m2/time.c +++ b/lib/m2/time.c @@ -19,7 +19,7 @@ */ =20 #include -#include +#include #include =20 long diff --git a/lib/m2/waitpid.c b/lib/m2/waitpid.c index a3d98d1d..5cd18d98 100644 --- a/lib/m2/waitpid.c +++ b/lib/m2/waitpid.c @@ -20,7 +20,7 @@ =20 #include #include -#include +#include #include =20 int diff --git a/simple.sh b/simple.sh index ce0ec375..fc5ac371 100755 --- a/simple.sh +++ b/simple.sh @@ -1,7 +1,7 @@ #! /bin/sh =20 # GNU Mes --- Maxwell Equations of Software -# Copyright =C2=A9 2019,2020,2022 Jan (janneke) Nieuwenhuizen +# Copyright =C2=A9 2019,2020,2022,2023 Jan (janneke) Nieuwenhuizen # # This file is part of GNU Mes. # @@ -36,7 +36,9 @@ cat > include/mes/config.h < include/mes/config.h < Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 15 Feb 2023 08:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49985 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 41264@debbugs.gnu.org, 49985@debbugs.gnu.org, Carl Dong Received: via spool by 49985-submit@debbugs.gnu.org id=B49985.167645075916493 (code B ref 49985); Wed, 15 Feb 2023 08:46:02 +0000 Received: (at 49985) by debbugs.gnu.org; 15 Feb 2023 08:45:59 +0000 Received: from localhost ([127.0.0.1]:57702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSDQN-0004Hv-B3 for submit@debbugs.gnu.org; Wed, 15 Feb 2023 03:45:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSDQL-0004HX-5z; Wed, 15 Feb 2023 03:45:57 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSDQE-0005wS-D5; Wed, 15 Feb 2023 03:45:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=WC/OEvqzARbO0DVm6j/+Xgo23CAE5hdbZIduROUq8u8=; b=I6lXoilEh66pxTKMkOBE Y1VSohmt6fSG3zE7VPyHdaFRNSAWWNRuu+wbgMYvdFp7CF/zVMeN69cbmtF/NAGXvQ/ckkyJgpbaN 7PxWQszqj6eWgTlFxnFJKKlbTWr4j5o1ZKBsjbf+LgVv0RSChx9XlkVb8nzszpyKqTwrnNTh9xHW2 8Idi/DCEYz9IHSvPmWOUbiVdyZDm1FqGJeviElPWgCVDoO0Es8BhpGwcSB4ic9ai5DXa6HRoY/Vut k9056Q4Ns9EEo6rjywzUDTTaDFhxLPBFtN73WbPXYc3YAHuGjWcVe/VlSSzCZEA6tu/2cIJTqiI1i bYQlEyv4aOmMtQ==; Received: from 2a02-a462-da03-1-2701-7f81-a736-4607.fixed6.kpn.net ([2a02:a462:da03:1:2701:7f81:a736:4607] helo=drakenpad.janneke.lilypond.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSDQD-0004nT-Jb; Wed, 15 Feb 2023 03:45:49 -0500 From: Janneke Nieuwenhuizen References: <87h7wik0kk.fsf@gnu.org> <87v9kxe6tl.fsf@gnu.org> <87ftbwtigj.fsf@gnu.org> <87sgfvq32v.fsf@gnu.org> <87bklxztvt.fsf_-_@gnu.org> Date: Wed, 15 Feb 2023 09:45:45 +0100 In-Reply-To: <87bklxztvt.fsf_-_@gnu.org> (Jan Nieuwenhuizen's message of "Mon, 13 Feb 2023 12:28:54 +0100") Message-ID: <87a61fgvuu.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Jan Nieuwenhuizen writes: Hello, > To use stat64 and friends on 32bit, I created the attached patch for GNU > Mes and hope to create a 0.24.2 release from > > https://gitlab.com/janneke/mes/-/tree/wip-stat64 > > Also, I have update my core-updates branch with preliminary 0.24.2 mes > and mes-boot packages here > > https://gitlab.com/janneke/guix/-/tree/core-updates I've got a confirmation this works*, have released 0.24.2 and updated mes-boot on core-updates as b928e38bd333e6186727fe5c5e94b85d157b79d6 Hoping to finally close these bugs! Greetings, Janneke *) https://lists.gnu.org/archive/html/guix-devel/2023-02/msg00137.html --=20 Janneke Nieuwenhuizen | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE https://AvatarAcade= my.com From unknown Fri Jun 13 11:32:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49985: Merging core-updates? Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 16 Feb 2023 15:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49985 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Andreas Enge Cc: Julien Lepiller , 49985@debbugs.gnu.org, 41264@debbugs.gnu.org, 53416@debbugs.gnu.org, guix-devel@gnu.org, 53415@debbugs.gnu.org Received: via spool by 49985-submit@debbugs.gnu.org id=B49985.167655981324646 (code B ref 49985); Thu, 16 Feb 2023 15:04:02 +0000 Received: (at 49985) by debbugs.gnu.org; 16 Feb 2023 15:03:33 +0000 Received: from localhost ([127.0.0.1]:37209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSfnI-0006PM-S9 for submit@debbugs.gnu.org; Thu, 16 Feb 2023 10:03:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSfnG-0006Oi-9m; Thu, 16 Feb 2023 10:03:30 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSfn8-000086-Qu; Thu, 16 Feb 2023 10:03:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=Q1b/XhqrR82oa/E6Pt9GCLrkjqZ2GhSS11XWlG41UBg=; b=TX3u77sxcGCHuqwCDYNu DVCcB/HkOjOFVqXQFS+oy9GUH2Hfhnd4aYESbh/r3gvx4UPgUd+V6ftcFTSF6JQGoz0o0e59dSxu/ OwBqaa6t5z+VTaCMWWlHWydRzcjffxH9rFE7xwJKm+Gdde9GDEb7mltrnmDidemb1Esi0giVUyvQO vGbpnCkzThkE5iMdXWyy8jHxsC/i21wZ584OH+OJ5JgZKmcKo2Dfi7qrbIpjewtr1A9nDCk1BOr8k MtShb/DwEUCBg2ZQCzObePfWhNDm/MHU4TE4M9pqsIWIx4NomHIV1jIotaIJedaw2UI1eB9HSHvVY ojLNoTg9MS3MeA==; Received: from 2a02-a462-da03-1-2701-7f81-a736-4607.fixed6.kpn.net ([2a02:a462:da03:1:2701:7f81:a736:4607] helo=drakenpad.janneke.lilypond.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSfn8-0001Xh-39; Thu, 16 Feb 2023 10:03:22 -0500 From: Janneke Nieuwenhuizen Organization: AvatarAcademy.nl References: <20230212100540.2214f16c@sybil.lepiller.eu> <20230212125251.121e02f5@sybil.lepiller.eu> <20230212125806.07e674a8@sybil.lepiller.eu> <877cwlztlr.fsf@gnu.org> <87lekzgw50.fsf@gnu.org> X-Url: http://AvatarAcademy.nl Date: Thu, 16 Feb 2023 16:03:15 +0100 In-Reply-To: (Andreas Enge's message of "Thu, 16 Feb 2023 15:19:21 +0100") Message-ID: <87h6vlfya4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andreas Enge writes: > Am Wed, Feb 15, 2023 at 09:39:39AM +0100 schrieb Janneke Nieuwenhuizen: >> I have released 0.24.2 and updated mes-boot on core-updates as >> Let's hope this fixes these bugs. > > With your latest patch, I have successfully bootstrapped core-updates > on x86_64 up to hello and mpc. Thanks a lot! Great, thanks so much for checking! Are you using any of tmpfs or btrfs on /tmp? Greetings, janneke --=20 Janneke Nieuwenhuizen | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE https://AvatarAcade= my.com From unknown Fri Jun 13 11:32:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49985: Merging core-updates? Resent-From: Andreas Enge Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 16 Feb 2023 15:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49985 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Janneke Nieuwenhuizen Cc: Julien Lepiller , 49985@debbugs.gnu.org, 41264@debbugs.gnu.org, 53416@debbugs.gnu.org, guix-devel@gnu.org, 53415@debbugs.gnu.org Received: via spool by 49985-submit@debbugs.gnu.org id=B49985.167656105326852 (code B ref 49985); Thu, 16 Feb 2023 15:25:02 +0000 Received: (at 49985) by debbugs.gnu.org; 16 Feb 2023 15:24:13 +0000 Received: from localhost ([127.0.0.1]:37320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSg7J-0006yw-IW for submit@debbugs.gnu.org; Thu, 16 Feb 2023 10:24:13 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:56158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSg7H-0006yX-3F; Thu, 16 Feb 2023 10:24:11 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 0072A1DAE; Thu, 16 Feb 2023 16:24:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xW-5Ghqpu-ZP; Thu, 16 Feb 2023 16:24:04 +0100 (CET) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 3542D1DA9; Thu, 16 Feb 2023 16:24:04 +0100 (CET) Date: Thu, 16 Feb 2023 16:24:02 +0100 From: Andreas Enge Message-ID: References: <20230212100540.2214f16c@sybil.lepiller.eu> <20230212125251.121e02f5@sybil.lepiller.eu> <20230212125806.07e674a8@sybil.lepiller.eu> <877cwlztlr.fsf@gnu.org> <87lekzgw50.fsf@gnu.org> <87h6vlfya4.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87h6vlfya4.fsf@gnu.org> X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Thu, Feb 16, 2023 at 04:03:15PM +0100 schrieb Janneke Nieuwenhuizen: > Great, thanks so much for checking! Are you using any of tmpfs or btrfs > on /tmp? No, it is all on SSD, so we probably cannot conclude for the bugs, unfortunately. Andreas