From unknown Tue Jun 17 01:49:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36685: ant-bootstrap fails on core-updates (409 dependents) Resent-From: Chris Marusich Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 16 Jul 2019 06:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36685 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 36685@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.156326032012860 (code B ref -1); Tue, 16 Jul 2019 06:59:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jul 2019 06:58:40 +0000 Received: from localhost ([127.0.0.1]:49554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnHQ7-0003LK-PK for submit@debbugs.gnu.org; Tue, 16 Jul 2019 02:58:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:35318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnHQ6-0003LD-70 for submit@debbugs.gnu.org; Tue, 16 Jul 2019 02:58:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38141) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnHQ5-0008Bn-0a for bug-guix@gnu.org; Tue, 16 Jul 2019 02:58:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hnHQ4-0001sv-0H for bug-guix@gnu.org; Tue, 16 Jul 2019 02:58:36 -0400 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]:45246) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hnHQ3-0001rJ-Nz for bug-guix@gnu.org; Tue, 16 Jul 2019 02:58:35 -0400 Received: by mail-pg1-x532.google.com with SMTP id o13so8924137pgp.12 for ; Mon, 15 Jul 2019 23:58:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=z+H5ulZLezF/8n0Si0Eey9tggFqn448InC0l2KhdYEM=; b=JRShDhfpvsy1O975BHzjGsfqKbRoO5VqjXAJsj934dF0aC48ry9mSMlNLqp2JcQE7p iJtZjUQemOrGDYjAHoRxvdbGS1rGMkMS95HUA8yFrlBdnCMXVhCvnPkG2r9q2YUXxdis ubtFXYSnL3YgnhXbTfFYWiFwJxNEJWCKUvxdRJbfRFpkPSx6GQVQ0ZHssK36tgd6hL3d eexVRzQljUSXlEIeApdBn+ryZHgXkBaGEWprH6YbDiSO5z54wQThHeaLUD+EC6HflFuO 68jypFLpt/mrO2BC8JiDAjrrCn8x1vD1T/DtQr4SypCS+X/Io0FS6FvBCxnZqpJFqYF8 NJBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=z+H5ulZLezF/8n0Si0Eey9tggFqn448InC0l2KhdYEM=; b=pD1fkA0Pw3MIxwfp5KH6zgYJI1LlHumE9E0yfmJYDO/LPv5I4eNIUOh82tgEkyTbci 30EfqR7V3YDIXr50AMQgk0uJM8x0xArB5rnUm0Ky8H7epA0+714ROtRsQtsm6aS9YU6j 2rLOljgA4pgmhIN9qC1HMIbY0CdYGUxyScuYTprvOW+FNptQL1qaOKv4cC3tIQXo6lgr psEnEk5rrBYDwJ2oQCG6UYE6lJjRZkPIgZRXsPnRGcNklu+RfTa+gJcodcmpHiUU8bxB wgdyGGFND2H2i8Xi5m8bv12nzS5mlYz9yw53pU6BPGF452A+cEcxa/ScdvGZ3mDgGoog exkg== X-Gm-Message-State: APjAAAWBsdnTX1Bybz+w2GwbZzwRXpQBwFMyaQZrfcPQ5b045hEusklo IYQlsrSSdhKeyujViHcCQQaldLUR X-Google-Smtp-Source: APXvYqwpokYxyLBjOqGONJ3YQTPWq+nuwj0rQZWqyVEk2PVCPhq9g2HF9KbGvZHR2dSE6t0gviTh2g== X-Received: by 2002:a63:fe15:: with SMTP id p21mr31960144pgh.149.1563260314047; Mon, 15 Jul 2019 23:58:34 -0700 (PDT) Received: from garuda.local ([2601:601:9d80:25b2::d12]) by smtp.gmail.com with ESMTPSA id i124sm37453180pfe.61.2019.07.15.23.58.32 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Jul 2019 23:58:33 -0700 (PDT) From: Chris Marusich Date: Mon, 15 Jul 2019 23:58:28 -0700 Message-ID: <8736j61n57.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::532 X-Spam-Score: -1.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: -2.3 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, At commit 464a29d3d74e7d2f27042db6ab166bfdbe1f992e ('git branch --all =2D-contains 464a29d3d74e7d2f27042db6ab166bfdbe1f992e' tells me that only core-updates has this commit at this time), the following error occurs when trying to build ant-bootstrap, which causes the 409 dependent packages to fail, also: =2D-8<---------------cut here---------------start------------->8--- $ guix build -e '(@@ (gnu packages java) ant-bootstrap)' ... Issued 1 semantic warning compiling "src/main/org/apache/tools/ant/filters/= FixCrLfFilter.java": <--------- 665. case '\r': . . . 684. } --------------------> *** Semantic Warning: This switch block can fall through to the next case. = Did you forget a break statement? Issued 1 semantic warning compiling "src/main/org/apache/tools/ant/taskdefs= /Zip.java": 1555. Vector resources =3D new Vector(); ^-------^ *** Semantic Warning: Local "resources" shadows a field of the same name in= "org.apache.tools.ant.taskdefs.Zip". Issued 1 semantic warning compiling "src/main/org/apache/tools/ant/taskdefs= /Get.java": 633. URLConnection connection =3D aSource.openConnection(); ^--------^ *** Semantic Warning: Local "connection" shadows a field of the same name i= n "org.apache.tools.ant.taskdefs.Get$GetThread". Issued 1 semantic warning compiling "src/main/org/apache/tools/ant/taskdefs= /rmic/XNewRmic.java": 34. public static final String COMPILER_NAME =3D "xnew"; ^-----------^ *** Semantic Warning: Field "COMPILER_NAME" shadows a field of the same nam= e in "org.apache.tools.ant.taskdefs.rmic.ForkingSunRmic". ... Copying Required Files ... Building Ant Distribution Buildfile: /tmp/guix-build-ant-bootstrap-1.8.4.drv-0/apache-ant-1.8.4/build= .xml BUILD FAILED Could not load the version information. Total time: 0 seconds ... Failed Building Ant Distribution ! command "bash" "bootstrap.sh" "-Ddist.dir=3D/gnu/store/jd6jm79d0r5g59d0l2l3= w445adykp5p9-ant-bootstrap-1.8.4" failed with status 1 builder for `/gnu/store/76apf0hpcdabpjy0839nhkwgfrz3m8z5-ant-bootstrap-1.8.= 4.drv' failed with exit code 1 build of /gnu/store/76apf0hpcdabpjy0839nhkwgfrz3m8z5-ant-bootstrap-1.8.4.dr= v failed View build log at '/var/log/guix/drvs/76/apf0hpcdabpjy0839nhkwgfrz3m8z5-ant= -bootstrap-1.8.4.drv.bz2'. guix build: error: build of `/gnu/store/76apf0hpcdabpjy0839nhkwgfrz3m8z5-an= t-bootstrap-1.8.4.drv' failed =2D-8<---------------cut here---------------end--------------->8--- It fails quite quickly, so you can easily get a copy failing locally if you want to test it out. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAl0tdZQACgkQ3UCaFdgi Rp1evA/9HUEfqG+JKJX3aPcVe3cBEuMsISgo2t7uLWUmReVsw9iBUDnN0gu/1Bqj jgKKuwM6uTD9cA739j5lrJO5C9IXxDrMsy7AUH7KrIdPqxr8lDp7ECFxf1D0SuJr io6BkHQXXgj+rYehe7hDJ7oiFivZdGRTznuubw9FN9+C4CrFGpXRzL+sum1TCi6U fOilZf6TKgYVGUtIALcFYsmQmnk7UyfQyhQVu9b3rNXyg7bCc9HwwiaFVZBLAMIa bHhADgP5AKIDNqjbMoV/aYFopb2BDl34wahVlOaiRS5+u/K0VtZqXsfM5vxhwIWI ez63xzhkbf/QDqQ2JVGXSZQTAYbTsOBR3bTIJcbYktSAsJeBR1aqo3dOvl4ac0rE vbjLgzIV35fYd4rfBrHCCNzQct6liKsnUTlJJFnh84i6otSESLUEYiwHxOz23reo 2IAUM3StWO3kLPVHfGnP17cbJS//DOpEZ6U4CxMl215hgvdtk/gEwnYcrLq960WS Kyb/q3UhLW0+itGV4/I9sE0lZV0ox7/ST42u+RbrKFkwjnSlOG4sV3Y1gPnnei1b YlY4KuWXKFpc3vZBjfQEyHGJd6a3zBh862x2RcrOvDaSH711hcg/WVT7AOxtVCSf Cq0Mnsv82vyAW3NIWKsJveGoTXIc5jZ9/fW46bGEc4bgez4iN98= =eiFS -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 01:49:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36685: ant-bootstrap fails on core-updates (409 dependents) Resent-From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 16 Jul 2019 07:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36685 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Chris Marusich Cc: 36685@debbugs.gnu.org Received: via spool by 36685-submit@debbugs.gnu.org id=B36685.156326064613522 (code B ref 36685); Tue, 16 Jul 2019 07:05:02 +0000 Received: (at 36685) by debbugs.gnu.org; 16 Jul 2019 07:04:06 +0000 Received: from localhost ([127.0.0.1]:49560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnHVN-0003W1-Jk for submit@debbugs.gnu.org; Tue, 16 Jul 2019 03:04:06 -0400 Received: from mail-ed1-f45.google.com ([209.85.208.45]:36628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnHVL-0003VO-F5 for 36685@debbugs.gnu.org; Tue, 16 Jul 2019 03:04:04 -0400 Received: by mail-ed1-f45.google.com with SMTP id k21so18347738edq.3 for <36685@debbugs.gnu.org>; Tue, 16 Jul 2019 00:04:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eNRMxPTZ8u+ALtnirAAJDAbIwIvwABZmKF4B7rFUs2o=; b=e0QGjPyyoGxZ1q1OaALazxyNzpJflG1d+6wpOBlLHyg2NkGuDsRFtW/tmBJy7tjCMA b1dlzUzuAgSX+VZdMKasxQbyKopogYJK2PZl08K6CrLw8ZeOyA2Cmt1CTd9vK6SoWxQV n+xn/Wvm8cMHRO/FaAbDCGoa08zbIvhjMrDDmpGCeeoaqA0SNmEAAlvr107DjV+cEcpf 0BlDiu1HQDmuop7D7KW+nO9uvMvjJzfaGQKi717oZRLemTh6ANrhMFH9bryKWzfKd3x5 G044EiFJ8mtJDctKaG9vy3pxcDR2FGJSjAXnaARes3LpfkusGrBTJlWmm+OR+9io/Sn1 tFxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eNRMxPTZ8u+ALtnirAAJDAbIwIvwABZmKF4B7rFUs2o=; b=BySjA1XJN+cDDrB+Nob4i9GIOa7eoK/3ByhRZ+CMDHUX0WAaaBOOWvrkgNpZGpfrqm cgZkIMuiRUsDUu2d8HA8WZMVdDZWtySjQh8YC6SHl5Mhks6akUecDhlQqjRGtJlU8HCn OaOrEGnQuvgcnk+pVPGB+IiH4jyJbkI8qgdLYKj34bqfiaDCTrIYF2ixmNjljYKUEPo0 T5nG492vPDKD6aAoqRvHUwOklFdB8ajpns6Zfl/FuVNZKN02OfnhiSH3Y8MS7Jf+7pql TV7LF2UY/Vz9cFEZ++LuPqg+qRkFdN6cK/3cBYyrECTbr/R8H1IBuv4Bdr37U/vJD4kL OCnA== X-Gm-Message-State: APjAAAV9gBim+Fr1KGP704Th2w9vSy1XH2ogdZju0f6quNr3YzbcUmj4 53QjO7MIoo0rMwj5jNPrxbVzF54hoRA6UcfkAQ== X-Google-Smtp-Source: APXvYqyECAQmyGrs0aUZ3g686TGYfZpMg/SQLGOq7r3SXomoe0PwocR7Q00x9APmCVsAX6r3o3yMMNjt0R4cxytNcfo= X-Received: by 2002:a17:906:af4f:: with SMTP id ly15mr24005830ejb.126.1563260637449; Tue, 16 Jul 2019 00:03:57 -0700 (PDT) MIME-Version: 1.0 References: <8736j61n57.fsf@gmail.com> In-Reply-To: <8736j61n57.fsf@gmail.com> From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Date: Tue, 16 Jul 2019 09:03:44 +0200 Message-ID: Content-Type: multipart/alternative; boundary="000000000000fc9587058dc6fadd" 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 (-) --000000000000fc9587058dc6fadd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Chris Marusich ezt =C3=ADrta (id=C5=91pont: 2019. j= =C3=BAl. 16., Ke 8:59): > Hi, > > At commit 464a29d3d74e7d2f27042db6ab166bfdbe1f992e ('git branch --all > --contains 464a29d3d74e7d2f27042db6ab166bfdbe1f992e' tells me that only > core-updates has this commit at this time), the following error occurs > when trying to build ant-bootstrap, which causes the 409 dependent > packages to fail, also: > > --8<---------------cut here---------------start------------->8--- > $ guix build -e '(@@ (gnu packages java) ant-bootstrap)' > ... > Issued 1 semantic warning compiling > "src/main/org/apache/tools/ant/filters/FixCrLfFilter.java": > > <--------- > 665. case '\r': > . . . > 684. } > --------------------> > *** Semantic Warning: This switch block can fall through to the next case= . > Did you forget a break statement? > > Issued 1 semantic warning compiling > "src/main/org/apache/tools/ant/taskdefs/Zip.java": > > 1555. Vector resources =3D new Vector(); > ^-------^ > *** Semantic Warning: Local "resources" shadows a field of the same name > in "org.apache.tools.ant.taskdefs.Zip". > > Issued 1 semantic warning compiling > "src/main/org/apache/tools/ant/taskdefs/Get.java": > > 633. URLConnection connection =3D aSource.openConnection()= ; > ^--------^ > *** Semantic Warning: Local "connection" shadows a field of the same name > in "org.apache.tools.ant.taskdefs.Get$GetThread". > > Issued 1 semantic warning compiling > "src/main/org/apache/tools/ant/taskdefs/rmic/XNewRmic.java": > > 34. public static final String COMPILER_NAME =3D "xnew"; > ^-----------^ > *** Semantic Warning: Field "COMPILER_NAME" shadows a field of the same > name in "org.apache.tools.ant.taskdefs.rmic.ForkingSunRmic". > ... Copying Required Files > ... Building Ant Distribution > Buildfile: > /tmp/guix-build-ant-bootstrap-1.8.4.drv-0/apache-ant-1.8.4/build.xml > > BUILD FAILED > Could not load the version information. > > Total time: 0 seconds > ... Failed Building Ant Distribution ! > command "bash" "bootstrap.sh" > "-Ddist.dir=3D/gnu/store/jd6jm79d0r5g59d0l2l3w445adykp5p9-ant-bootstrap-1= .8.4" > failed with status 1 > builder for > `/gnu/store/76apf0hpcdabpjy0839nhkwgfrz3m8z5-ant-bootstrap-1.8.4.drv' > failed with exit code 1 > build of > /gnu/store/76apf0hpcdabpjy0839nhkwgfrz3m8z5-ant-bootstrap-1.8.4.drv faile= d > View build log at > '/var/log/guix/drvs/76/apf0hpcdabpjy0839nhkwgfrz3m8z5-ant-bootstrap-1.8.4= .drv.bz2'. > guix build: error: build of > `/gnu/store/76apf0hpcdabpjy0839nhkwgfrz3m8z5-ant-bootstrap-1.8.4.drv' fai= led > --8<---------------cut here---------------end--------------->8--- > > It fails quite quickly, so you can easily get a copy failing locally if > you want to test it out. > Thanks for the report. I will have a look at this soon. > > -- > Chris > Best regards, g_bor > --000000000000fc9587058dc6fadd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Chris Marusich <= ;cmmarusich@gmail.com> ezt = =C3=ADrta (id=C5=91pont: 2019. j=C3=BAl. 16., Ke 8:59):
Hi,

At commit 464a29d3d74e7d2f27042db6ab166bfdbe1f992e ('git branch --all --contains 464a29d3d74e7d2f27042db6ab166bfdbe1f992e' tells me that only=
core-updates has this commit at this time), the following error occurs
when trying to build ant-bootstrap, which causes the 409 dependent
packages to fail, also:

--8<---------------cut here---------------start------------->8---
$ guix build -e '(@@ (gnu packages java) ant-bootstrap)'
...
Issued 1 semantic warning compiling "src/main/org/apache/tools/ant/fil= ters/FixCrLfFilter.java":

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 <---------
=C2=A0 =C2=A0665.=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0case '\r':
=C2=A0 =C2=A0. . .
=C2=A0 =C2=A0684.=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0}
=C2=A0 =C2=A0 =C2=A0 =C2=A0 -------------------->
*** Semantic Warning: This switch block can fall through to the next case. = Did you forget a break statement?

Issued 1 semantic warning compiling "src/main/org/apache/tools/ant/tas= kdefs/Zip.java":

=C2=A0 1555.=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Vector resource= s =3D new Vector();
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0^-------^
*** Semantic Warning: Local "resources" shadows a field of the sa= me name in "org.apache.tools.ant.taskdefs.Zip".

Issued 1 semantic warning compiling "src/main/org/apache/tools/ant/tas= kdefs/Get.java":

=C2=A0 =C2=A0633.=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0URLConnect= ion connection =3D aSource.openConnection();
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^--------^
*** Semantic Warning: Local "connection" shadows a field of the s= ame name in "org.apache.tools.ant.taskdefs.Get$GetThread".

Issued 1 semantic warning compiling "src/main/org/apache/tools/ant/tas= kdefs/rmic/XNewRmic.java":

=C2=A0 =C2=A0 34.=C2=A0 =C2=A0 =C2=A0public static final String COMPILER_NA= ME =3D "xnew";
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^--------= ---^
*** Semantic Warning: Field "COMPILER_NAME" shadows a field of th= e same name in "org.apache.tools.ant.taskdefs.rmic.ForkingSunRmic"= ;.
... Copying Required Files
... Building Ant Distribution
Buildfile: /tmp/guix-build-ant-bootstrap-1.8.4.drv-0/apache-ant-1.8.4/build= .xml

BUILD FAILED
Could not load the version information.

Total time: 0 seconds
... Failed Building Ant Distribution !
command "bash" "bootstrap.sh" "-Ddist.dir=3D/gnu/s= tore/jd6jm79d0r5g59d0l2l3w445adykp5p9-ant-bootstrap-1.8.4" failed with= status 1
builder for `/gnu/store/76apf0hpcdabpjy0839nhkwgfrz3m8z5-ant-bootstrap-1.8.= 4.drv' failed with exit code 1
build of /gnu/store/76apf0hpcdabpjy0839nhkwgfrz3m8z5-ant-bootstrap-1.8.4.dr= v failed
View build log at '/var/log/guix/drvs/76/apf0hpcdabpjy0839nhkwgfrz3m8z5= -ant-bootstrap-1.8.4.drv.bz2'.
guix build: error: build of `/gnu/store/76apf0hpcdabpjy0839nhkwgfrz3m8z5-an= t-bootstrap-1.8.4.drv' failed
--8<---------------cut here---------------end--------------->8---

It fails quite quickly, so you can easily get a copy failing locally if
you want to test it out.
Than= ks for the report.
I will have a look at this soon.<= /div>

--
Chris
Best regards,
g_bor
--000000000000fc9587058dc6fadd-- From unknown Tue Jun 17 01:49:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36685: ant-bootstrap fails on core-updates (409 dependents) Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 16 Jul 2019 08:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36685 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Chris Marusich Cc: 36685@debbugs.gnu.org Received: via spool by 36685-submit@debbugs.gnu.org id=B36685.156326450620159 (code B ref 36685); Tue, 16 Jul 2019 08:09:02 +0000 Received: (at 36685) by debbugs.gnu.org; 16 Jul 2019 08:08:26 +0000 Received: from localhost ([127.0.0.1]:49612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnIVe-0005F5-Em for submit@debbugs.gnu.org; Tue, 16 Jul 2019 04:08:26 -0400 Received: from flashner.co.il ([178.62.234.194]:59370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnIVd-0005Ep-5X for 36685@debbugs.gnu.org; Tue, 16 Jul 2019 04:08:25 -0400 Received: from localhost (unknown [94.230.83.247]) by flashner.co.il (Postfix) with ESMTPSA id EDBA440202; Tue, 16 Jul 2019 08:08:17 +0000 (UTC) Date: Tue, 16 Jul 2019 11:08:16 +0300 From: Efraim Flashner Message-ID: <20190716080816.GJ22158@macbook41> References: <8736j61n57.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="EMQjp+MvU6EBGjHc" Content-Disposition: inline In-Reply-To: <8736j61n57.fsf@gmail.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 User-Agent: Mutt/1.12.1 (2019-06-15) 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 (-) --EMQjp+MvU6EBGjHc Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Building with gcc-5 didn't make it suddenly start working, before anyone goes down that path. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --EMQjp+MvU6EBGjHc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl0thesACgkQQarn3Mo9 g1HP5A//SHa0ezqV5L72mD7rrQSSCF+97/IdvlGdMLCaIauoZRShKsRVXIbZlR8O zYCUHE6KhsAdIAgVfTa4onJLC/lcigJfaCnK5gd7YBG9PHBez2eTv73+2QJUtTnx jQLVoMBrtZUkV0JixnJ52CsXGxHut0PzzTL70VSioN888vuRr01Qz+kL7J1Hpj/s BFuGzqt4E5D07wvpX9CgQxVt1RdWgVLiVY7Fk3o7H/VK3jHOaNRCY6BcLBKB1inu uIK9eFvwZ7EhD47RecFwAZSAdEmVx/0DKH4aHsF4PWsK5zpT44NmDURmhe7pT+Bv UIIDO+mMSPWG+qyGXfbTf1iDri18qENXwzIMlQNG4CLoFa3ul8Gx7eTlH7RSXd4I 14QYZPz4TWgIZYNNBuYEMhhaYFS0RA63Qj4xpM8T8upYvXW8eypbwpMW+Hul7dsP zzTg3X+rylrEabmQxMqoIzvMKgGVw4SXXbxr3JhuVQtdRlrxTg1NOvqNyS/yH7dz Hr+sPi0o4SXmOPJb+Lfa6PlGnklidytKb5ymNjjeX3+hYNNPv4LaGZP7n1hkqJQ9 /5ORbe8rIbIcmeYUv3HALUm3/zB/uQXGYzUqdiNPhx4nrn6S6cGD8OfECZDoeWUA NK5l1bAqu/OmyaBAbuK0TUdWWwa4ySjmPp4TdSDe1CtQ3NyKKx4= =EiE4 -----END PGP SIGNATURE----- --EMQjp+MvU6EBGjHc-- From unknown Tue Jun 17 01:49:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36685: ant-bootstrap fails on core-updates (409 dependents) Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 16 Jul 2019 16:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36685 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: cmmarusich@gmail.com Cc: 36685@debbugs.gnu.org Received: via spool by 36685-submit@debbugs.gnu.org id=B36685.156329363220430 (code B ref 36685); Tue, 16 Jul 2019 16:14:02 +0000 Received: (at 36685) by debbugs.gnu.org; 16 Jul 2019 16:13:52 +0000 Received: from localhost ([127.0.0.1]:51029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnQ5P-0005JS-Ub for submit@debbugs.gnu.org; Tue, 16 Jul 2019 12:13:52 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnQ5L-0005JC-GY for 36685@debbugs.gnu.org; Tue, 16 Jul 2019 12:13:48 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1563293625; cv=none; d=zoho.com; s=zohoarc; b=G68r0jdMbiUma1qZ+Un4ZWVWsgHFvpdGNHX7JSzCmwgCUPZvgotEEfHuoh4uAKciDEkf+KYMbcKYk7YKJ1rpW2zAa8eP3jv+tXDD7jbAFoK+pk6RJAxLyIvUUqw73NW3wfBQJWo+3T6ce7OxSAUf64xRkZPyW6DspHugjpKLqWs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1563293625; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=2svzwzLnXisVnCa5UY/NoHIp2T1ijwKo1FWNKQQvveQ=; b=MuU+r0Qf/bkO87Z70tgPX8u0ndVPIT98NhkNxVMijq5Wyd95JkK2YKw/4Di99v2DV5BxXpHcLJrfA/TJ8qQxw2muBmyA70OaJNVX8tGTKUa+NDgxF6+i8uG+ABHSxxRZdqV/xPkX3GOsBkYHKWOaCrlPyMkePD6LGCstyZAQWOo= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1563293625; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=3233; bh=2svzwzLnXisVnCa5UY/NoHIp2T1ijwKo1FWNKQQvveQ=; b=bw3z+cgKWfxsHZXlCjwbUVDouIurMLnbU6RhOnaRzMXXVzeY0YjRPqBl2vZQx+XB MWyIQ7uygaiMekIv4a2tfFmHjw0JPrySZZsMEbsP2FEBM8FPQCCJCttQV4jQjS43ME5 xF91PysZMlmiemO5zAxUErh1z0YHhKJ9YlqzxV2I= Received: from localhost (141.80.247.250 [141.80.247.250]) by mx.zohomail.com with SMTPS id 1563293622928876.997859539467; Tue, 16 Jul 2019 09:13:42 -0700 (PDT) References: <8736j61n57.fsf@gmail.com> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus In-reply-to: <8736j61n57.fsf@gmail.com> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Tue, 16 Jul 2019 18:13:38 +0200 Message-ID: <87o91ugdot.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External 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 (-) Chris Marusich writes: > Hi, > > At commit 464a29d3d74e7d2f27042db6ab166bfdbe1f992e ('git branch --all > --contains 464a29d3d74e7d2f27042db6ab166bfdbe1f992e' tells me that only > core-updates has this commit at this time), the following error occurs > when trying to build ant-bootstrap, which causes the 409 dependent > packages to fail, also: > > --8<---------------cut here---------------start------------->8--- > $ guix build -e '(@@ (gnu packages java) ant-bootstrap)' [=E2=80=A6] > BUILD FAILED > Could not load the version information. This error means that it couldn=E2=80=99t find the version.txt file. This = is strange because it=E2=80=99s right there in src/main, but not in build/clas= ses. So I thought I could just fix this by copying files from src/main to build/classes and the bootstrap build does in fact begin: --8<---------------cut here---------------start------------->8--- diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 403c446a82..0ec582d10a 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -244,6 +244,8 @@ JNI.") (setenv "HOME" "/tmp") (with-output-to-file "/tmp/.ant.properties" (lambda _ (display ""))) + (with-output-to-file ".ant.properties" + (lambda _ (display ""))) ;; Use jikes instead of javac for tags in build.x= ml (setenv "ANT_OPTS" "-Dbuild.compiler=3Djikes") @@ -260,6 +262,17 @@ JNI.") `((string-append m "-Xnocompact ")) `((string-append m "-Xnocompact -Xnoinlining "))))) + (substitute* "src/main/org/apache/tools/ant/version.txt" + (("VERSION=3D.*") (string-append "VERSION=3D" ,version "\n"= )) + (("DATE=3D.*") "DATE=3Dreproducible")) + + ;; XXX: Copying the source files appears to be necessary beca= use + ;; ant won't find the XML and txt resources in src/main for s= ome + ;; reason. It really shouldn't be needed, so maybe this can = be + ;; avoided by setting some environment variable. + (substitute* "bootstrap.sh" + (("cp src/script/antRun bin" m) + (string-append m "\ncp -ar src/main/* build/classes/"))) ;; Disable tests because we are bootstrapping and thus don't = have ;; any of the dependencies required to build and run the test= s. (substitute* "build.xml" --8<---------------cut here---------------end--------------->8--- It=E2=80=99s possible we could get away with just adding these lines: cp {src/main,build/classes}/org/apache/tools/ant/antlib.xml cp {src/main,build/classes}/org/apache/tools/ant/version.txt However, this doesn=E2=80=99t seem to help. Yes, the bootstrap script no l= onger aborts but it gets stuck compiling things. I can=E2=80=99t get it to tell = me anything about the compilation progress, but strace shows me that it keeps stat=E2=80=99ing for non-existent files like "/tmp/files16bfb86414e_b" until the end of the day. Judging by the name of the file I think this is ant=E2=80=99s src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java that creates them, which is used by Jikes.java. We should see if there=E2=80=99s a race somewhere or if perhaps =E2=80=9Cjikes=E2=80=9D cras= hes and thus gets executed over and over again. -- Ricardo From unknown Tue Jun 17 01:49:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36685: ant-bootstrap fails on core-updates (409 dependents) Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 17 Jul 2019 08:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36685 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: cmmarusich@gmail.com Cc: 36685@debbugs.gnu.org Received: via spool by 36685-submit@debbugs.gnu.org id=B36685.156335098822578 (code B ref 36685); Wed, 17 Jul 2019 08:10:01 +0000 Received: (at 36685) by debbugs.gnu.org; 17 Jul 2019 08:09:48 +0000 Received: from localhost ([127.0.0.1]:51476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnf0W-0005s5-8A for submit@debbugs.gnu.org; Wed, 17 Jul 2019 04:09:48 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnf0T-0005rt-PM for 36685@debbugs.gnu.org; Wed, 17 Jul 2019 04:09:47 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1563350983; cv=none; d=zoho.com; s=zohoarc; b=hPtrXm3dslB/L6p/XDMhoD7gKJ2qbZIn4XIPs4KrHQ98QIOsGsgnbGJW+Q5HyMK3+ckrof/DH5Z03e9rUQ4xdIy9Gzofka5aWWN12615n5EqPx9wVUlslHGN+d9nz2BqeClx0/e8QbjQdoP132y8zwZ4oSkQYAOc2I8Yw6jm0G4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1563350983; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=me8s5akEy0QI2CoMvhHOMKphNB+dF7UM1HRtZ7wGUSw=; b=X7D1eUy3zIczqlo8cMFaqOkQuFGk+4ZLzh6iavpX7McogfT4e0v4LVxAFWFs7E1YIFt/arYzJYtFmZm9mCc+fVxaUfmdZ4UfFW+bARCPMKq9K70Lr7vVeex6cKI1u2THXaOFqB1FgLiwAmJv+9nhb673WoeU7Ohjt6bq9vhZJxQ= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1563350983; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; l=8956; bh=me8s5akEy0QI2CoMvhHOMKphNB+dF7UM1HRtZ7wGUSw=; b=D/OXnI3bXMRt/huMjN2YCy+BlRcatLhpL0A2pP0RwtYzEfWQ+slreR2CCcofU2kZ D7ehp01otZ9mbi2WeXxe/URP3i6Tqk5NvEC4EFfszXMEw/yPw1LqBI1F54ConlSWmlW P1LgbDLhZQMRTbWxrv50Q0bUa0tDxUltifFnK4FY= Received: from localhost (p54AD4F55.dip0.t-ipconnect.de [84.173.79.85]) by mx.zohomail.com with SMTPS id 1563350981898268.0109863931035; Wed, 17 Jul 2019 01:09:41 -0700 (PDT) References: <8736j61n57.fsf@gmail.com> <87o91ugdot.fsf@elephly.net> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus In-reply-to: <87o91ugdot.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Wed, 17 Jul 2019 10:09:39 +0200 Message-ID: <87ftn5gjzw.fsf@elephly.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-ZohoMailClient: External X-Zoho-Virus-Status: 1 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 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: > However, this doesn=E2=80=99t seem to help. Yes, the bootstrap script no= longer > aborts but it gets stuck compiling things. I can=E2=80=99t get it to tel= l me > anything about the compilation progress, but strace shows me that it > keeps stat=E2=80=99ing for non-existent files like "/tmp/files16bfb86414e= _b" > until the end of the day. > > Judging by the name of the file I think this is ant=E2=80=99s > src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.j= ava > that creates them, which is used by Jikes.java. We should see if > there=E2=80=99s a race somewhere or if perhaps =E2=80=9Cjikes=E2=80=9D cr= ashes and thus gets > executed over and over again. The problem appears to be in GNU Classpath (classpath-bootstrap). Its =E2=80=9Cnative/jni/java-io/java_io_VMFile.c=E2=80=9D defines =E2=80=9CJava_java_io_VMFile_exists=E2=80=9D, which returns =E2=80=9C1=E2= =80=9D when a file exists. It does so by calling =E2=80=9Ccpio_isFileExists=E2=80=9D which is defined in =E2=80=9Cnative/jni/native-lib/cpio.c=E2=80=9D: --8<---------------cut here---------------start------------->8--- int cpio_isFileExists (const char *filename) { struct stat statbuf; if (stat(filename, &statbuf) < 0) { return errno; } return 0; } --8<---------------cut here---------------end--------------->8--- I have confirmed with printf debugging that there=E2=80=99s a mismatch betw= een what the Java side thinks and what the C side tells it. On the C side the temporary file is determined to not exist yet, but on the Java side it is said to exist =E2=80=94 this is in spite of the fact that the Java si= de only converts the C side=E2=80=99s return value. Here=E2=80=99s an example from the printf output: exists? /tmp/files16bfd145b82_1 : 2 -- 0; classpath trying to create: /tmp/files16bfd145b82_1 exists? true The first line is from C, the 2 is ENOENT, and 0 is the return value. The zero is taken to be a Java boolean, so it maps to false. The second line comes from Java. It hangs in =E2=80=9Cwhile (VMFile.exists(file.path))=E2=80=9D: --8<---------------cut here---------------start------------->8--- File file; if (!VMFile.IS_DOS_8_3) { do { long now =3D System.currentTimeMillis(); if (now > last_tmp) { // The last temporary file was created more than 1 ms ago. last_tmp =3D now; n_created =3D 0; } else n_created++; String name =3D Long.toHexString(now); if (n_created > 0) name +=3D '_'+Integer.toHexString(n_created); String filename =3D prefix + name + suffix; file =3D new File(directory, filename); } while (VMFile.exists(file.path)); } else =E2=80=A6 --8<---------------cut here---------------end--------------->8--- I have confirmed that this is the problem by replacing =E2=80=9Cwhile (VMFile.exists(file.path))=E2=80=9D with =E2=80=9Cwhile (false)=E2=80=9D. = The build doesn=E2=80=99t fully complete then either, but it gets past the compilation of the Ant source files. This clears JamVM and Jikes. I=E2=80=99m attaching my embarrassing printf debugging patches. Any ideas? -- Ricardo --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=printf.diff diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 403c446a82..0245b299f8 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -116,6 +116,8 @@ (base32 "1qqldrp74pzpy5ly421srqn30qppmm9cvjiqdngk8hf47dv2rc0c")))) (build-system gnu-build-system) + (native-inputs + `(("gcc" ,gcc-5))) (home-page "http://jikes.sourceforge.net/") (synopsis "Compiler for the Java language") (description "Jikes is a compiler that translates Java source files as @@ -152,13 +154,43 @@ and binary format defined in The Java Virtual Machine Specification.") "--disable-gjdoc") #:phases (modify-phases %standard-phases + (add-after 'unpack 'foo + (lambda _ + (substitute* "native/jni/native-lib/cpio.c" + (("\\(stat\\(filename, &statbuf\\) < 0\\)") + "(stat(filename, &statbuf) != 0)")) + (substitute* "native/jni/java-io/java_io_VMFile.c" + (("return result == CPNATIVE_OK \\? 1 : 0;") + "return ((result == CPNATIVE_OK) ? 1 : 0);") + (("result = cpio_isFileExists.*" m) + (string-append m "\nfprintf(stderr, \"exists? %s : %d -- %d;\\n\", filename, result, ((result == CPNATIVE_OK) ? 1 : 0));"))) + (substitute* "java/io/File.java" + (("String filename = ") "filename =") + (("File file;" m) + (string-append m "\nString filename;")) + + ;; (("while \\(VMFile.exists\\(file.path\\)\\)") + ;; "while (false)") + (("while \\(VMFile.exists\\(file.path\\)\\)") + "while (VMFile.exists(directory.path + \"/\" + filename))") + (("// Grab the system" m) + (string-append "System.err.println(\"classpath called createTempFile: prefix \" + prefix + \" suffix \" + suffix + \" directory \" + directory.path );\n" + m)) + (("// Verify that we" m) + (string-append "System.err.println(\"classpath after loop with: \" + prefix);\n +file = new File(directory, filename);" + m)) + (("file = new File.*" m) + (string-append m "\nSystem.err.println(\"classpath trying to create: \" + file.path + \" exists? \" + String.valueOf(VMFile.exists(file.path)));\n"))) + #t)) (add-after 'install 'install-data (lambda _ (invoke "make" "install-data")))))) (native-inputs `(("jikes" ,jikes) ("fastjar" ,fastjar) ("libltdl" ,libltdl) - ("pkg-config" ,pkg-config))) + ("pkg-config" ,pkg-config) + ("gcc" ,gcc-5))) (home-page "https://www.gnu.org/software/classpath/") (synopsis "Essential libraries for Java") (description "GNU Classpath is a project to create core class libraries @@ -191,6 +223,8 @@ language.") `(("classpath" ,classpath-bootstrap) ("jikes" ,jikes) ("zlib" ,zlib))) + (native-inputs + `(("gcc-5" ,gcc-5))) (home-page "http://jamvm.sourceforge.net/") (synopsis "Small Java Virtual Machine") (description "JamVM is a Java Virtual Machine conforming to the JVM @@ -225,7 +259,6 @@ JNI.") #:tests? #f ; no "check" target #:phases (modify-phases %standard-phases - (delete 'bootstrap) (delete 'configure) (replace 'build (lambda* (#:key inputs #:allow-other-keys) @@ -244,9 +277,12 @@ JNI.") (setenv "HOME" "/tmp") (with-output-to-file "/tmp/.ant.properties" (lambda _ (display ""))) + (with-output-to-file ".ant.properties" + (lambda _ (display ""))) ;; Use jikes instead of javac for tags in build.xml - (setenv "ANT_OPTS" "-Dbuild.compiler=jikes") + (setenv "ANT_OPTS" + "-Dbuild.compiler=jikes -Djava.io.tmpdir=/tmp") ;; jikes produces lots of warnings, but they are not very ;; interesting, so we silence them. @@ -254,15 +290,49 @@ JNI.") ;; Without these JamVM options the build may freeze. (substitute* "bootstrap.sh" + ;;(("-emacs") "-debug") (("^\"\\$\\{JAVACMD\\}\" " m) ,@(if (string-prefix? "armhf" (or (%current-system) (%current-target-system))) `((string-append m "-Xnocompact ")) `((string-append m "-Xnocompact -Xnoinlining "))))) + (substitute* "src/main/org/apache/tools/ant/version.txt" + (("VERSION=.*") (string-append "VERSION=" ,version "\n")) + (("DATE=.*") "DATE=reproducible")) + + ;; XXX: Copying the source files appears to be necessary because + ;; ant won't find the XML and txt resources in src/main for some + ;; reason. It really shouldn't be needed, so maybe this can be + ;; avoided by setting some environment variable. + (substitute* "bootstrap.sh" + (("cp src/script/antRun bin" m) + (string-append m " +cp -ar {src/main,build/classes}/org/apache/tools/ant/version.txt +cp -ar {src/main,build/classes}/org/apache/tools/ant/antlib.xml +"))) + (substitute* "src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java" + (("tmpFile = FILE_UTILS.createTempFile" m) + (string-append "attributes.log(\"REKADO createTempFile\", Project.MSG_WARN);" + m)) + (("out = new.*" m) + (string-append m + "\nattributes.log(\"REKADO created\", Project.MSG_WARN);")) + (("exe.execute\\(\\)" m) + (string-append "attributes.log(\"REKADO executing\", Project.MSG_WARN);" + m))) + + (substitute* "src/main/org/apache/tools/ant/util/FileUtils.java" + (("result = File.*" m) + (string-append "System.err.println(\"Trying to create \" + prefix);\n" + m + "\nSystem.err.println(\"Created file \" + result);"))) + ;; Disable tests because we are bootstrapping and thus don't have ;; any of the dependencies required to build and run the tests. (substitute* "build.xml" + ;; (("includeantruntime=\"false\"") + ;; (string-append "includeantruntime=\"true\" createMissingPackageInfoClass=\"false\" fork=\"true\"")) (("depends=\"jars,test-jar\"") "depends=\"jars\"")) (invoke "bash" "bootstrap.sh" (string-append "-Ddist.dir=" --=-=-=-- From unknown Tue Jun 17 01:49:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36685: ant-bootstrap fails on core-updates (409 dependents) Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 17 Jul 2019 22:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36685 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: cmmarusich@gmail.com Cc: 36685@debbugs.gnu.org Received: via spool by 36685-submit@debbugs.gnu.org id=B36685.15634033267538 (code B ref 36685); Wed, 17 Jul 2019 22:43:02 +0000 Received: (at 36685) by debbugs.gnu.org; 17 Jul 2019 22:42:06 +0000 Received: from localhost ([127.0.0.1]:53139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnscg-0001xW-BH for submit@debbugs.gnu.org; Wed, 17 Jul 2019 18:42:06 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnscd-0001xN-Kx for 36685@debbugs.gnu.org; Wed, 17 Jul 2019 18:42:04 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1563403321; cv=none; d=zoho.com; s=zohoarc; b=TfOHr8DYrtqmvAfYkUgTo//E+GmcPI/sumHm8cNc2o4177CZGs3yyO2BKQgHMlY6usdmI9xnbcAUmkCeeXZ5UH6oz1Q+lWNmb5SNsJKc1IEIzz0qA4JaI5GDqPOFh62p1HzbX9kHz/0jC/vo3gKC3JWfQ6VgfAZgJd+eUZmLuDw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1563403321; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=O0J3J9/WGz7EbStghaCcDi8NfsYhWFoJbk2qwCyVbUw=; b=AMLWokLn6oaCBvwwHAyLL/hO+REazcsf+tG3+fTlueLetcIceAjrcA/2KWSuDcn0JOmwy/pRX3/jJC/EXaYsudRZ4ACz9Tan1k4a1wwM9/3FhRUfIhYebnWFISJgC0Adx3P0bkGehPNjHKAnvIG3L+Ueu/kRUta8Z2FBuSTWmz4= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1563403321; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; l=2906; bh=O0J3J9/WGz7EbStghaCcDi8NfsYhWFoJbk2qwCyVbUw=; b=Vhe5De9a3Pb0L/LGpNcpOR55MvGy+s/MZQvne13h7tB+YGJIzr09clxakcdWdYsq A63zaOS99plP+DLylHj3R6rzr+WZ1/mtd+ZA3IthMfbkCYzVCkt7QiQ0BzRw5MXcwGz AJKHy9nK8OrqoP5EDLyOEdi91dUiz+1QPHvYRQtM= Received: from localhost (p54AD4F55.dip0.t-ipconnect.de [84.173.79.85]) by mx.zohomail.com with SMTPS id 1563403319520596.0731179031155; Wed, 17 Jul 2019 15:41:59 -0700 (PDT) References: <8736j61n57.fsf@gmail.com> <87o91ugdot.fsf@elephly.net> <87ftn5gjzw.fsf@elephly.net> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus In-reply-to: <87ftn5gjzw.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Thu, 18 Jul 2019 00:41:56 +0200 Message-ID: <871ryogu6j.fsf@elephly.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-ZohoMailClient: External X-Zoho-Virus-Status: 1 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 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: > I have confirmed that this is the problem by replacing =E2=80=9Cwhile > (VMFile.exists(file.path))=E2=80=9D with =E2=80=9Cwhile (false)=E2=80=9D.= The build doesn=E2=80=99t > fully complete then either, but it gets past the compilation of the Ant > source files. This clears JamVM and Jikes. It doesn=E2=80=99t. VMFile.exists always returns =E2=80=9Ctrue=E2=80=9D, no matter what. The C= part is fine, but the Java part is not, so I suspected the JVM to be at fault. I managed to build ant-bootstrap successfully with this patch: --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=printf.diff diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 403c446a82..6ebfd0ffdf 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -152,6 +152,12 @@ and binary format defined in The Java Virtual Machine Specification.") "--disable-gjdoc") #:phases (modify-phases %standard-phases + (add-after 'unpack 'foo + (lambda _ + (substitute* "native/jni/java-io/java_io_VMFile.c" + (("result = cpio_isFileExists.*" m) + (string-append m "\nfprintf(stderr, \"exists? %s : %d -- %d;\\n\", filename, result, ((result == CPNATIVE_OK) ? 1 : 0));"))) + #t)) (add-after 'install 'install-data (lambda _ (invoke "make" "install-data")))))) (native-inputs @@ -186,10 +192,12 @@ language.") (arguments `(#:configure-flags (list (string-append "--with-classpath-install-dir=" - (assoc-ref %build-inputs "classpath"))))) + (assoc-ref %build-inputs "classpath")) + "--enable-ffi"))) (inputs `(("classpath" ,classpath-bootstrap) ("jikes" ,jikes) + ("libffi" ,libffi) ("zlib" ,zlib))) (home-page "http://jamvm.sourceforge.net/") (synopsis "Small Java Virtual Machine") @@ -258,7 +266,11 @@ JNI.") ,@(if (string-prefix? "armhf" (or (%current-system) (%current-target-system))) `((string-append m "-Xnocompact ")) - `((string-append m "-Xnocompact -Xnoinlining "))))) + `((string-append m "-Xnocompact "))))) + + (substitute* "src/main/org/apache/tools/ant/version.txt" + (("VERSION=.*") (string-append "VERSION=" ,version "\n")) + (("DATE=.*") "DATE=reproducible")) ;; Disable tests because we are bootstrapping and thus don't have ;; any of the dependencies required to build and run the tests. --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Note that the change to native/jni/java-io/java_io_VMFile.c is necessary even though it just prints things and compares values. So this might be time-related or it could be other stateful behaviour. Don=E2=80=99t know y= et. The changes in ant-bootstrap might not be needed. Can someone confirm that this patch helps? -- Ricardo --=-=-=-- From unknown Tue Jun 17 01:49:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36685: ant-bootstrap fails on core-updates (409 dependents) Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 18 Jul 2019 10:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36685 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: cmmarusich@gmail.com Cc: guix-devel@gnu.org, 36685@debbugs.gnu.org Received: via spool by 36685-submit@debbugs.gnu.org id=B36685.15634470943352 (code B ref 36685); Thu, 18 Jul 2019 10:52:02 +0000 Received: (at 36685) by debbugs.gnu.org; 18 Jul 2019 10:51:34 +0000 Received: from localhost ([127.0.0.1]:53480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ho40c-0000s0-4s for submit@debbugs.gnu.org; Thu, 18 Jul 2019 06:51:34 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ho40Z-0000rr-Fx for 36685@debbugs.gnu.org; Thu, 18 Jul 2019 06:51:32 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1563447088; cv=none; d=zoho.com; s=zohoarc; b=lOWo9Ld2XVvS9ssnp3obAqJhSi2fQowvb/bclJ3DG/y8rTV5z7VbGIeh4dBNPjCSKI4t2zQ3xPjnGToXFCLgGjglbVh/gV2k4l+EMd9adskxxyZ/TRnPQqvYekNtPXxyCUTdE/ssQBboHAxi8nzI7nWIcyzZLtQkYnwVnvM6h70= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1563447088; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=Tj5PbikNeH7SvCW+kj7JYM/PgsBd76w7kWX1sIw+z6g=; b=MZCs3RGxjl7csShIwbtPNLnotp3rnra8H3QP2VU/mpgwBopI9oTjkVscMUsvo0mFwh+wP3fEqrBKuwx32UwK9auS5z9weZli6drdJ0/n7+OOLBPMWSKjH6zjFnLfAzcGXGUiH6i3xo1mQZuxPOsIf1hqX77CgMamzQRvm/K+3rI= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1563447088; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1805; bh=Tj5PbikNeH7SvCW+kj7JYM/PgsBd76w7kWX1sIw+z6g=; b=KkQ9baoXd5a2fZAnw7wzFNxB09BKCEr9vhWc/98gQDiZbN3F+afbOCt1/wAdJEC/ Ofwacurs6OEG69Z95lR9LtXZE9E4cyZmbCFGxX40N8e3h1gGmq+rNpe7PasrPC55OeN kAY9fL9VgHxNP2pKdO1cn2fm5rzLRvZXhs7m2WLo= Received: from localhost (141.80.247.250 [141.80.247.250]) by mx.zohomail.com with SMTPS id 1563447086590341.5326611217216; Thu, 18 Jul 2019 03:51:26 -0700 (PDT) References: <8736j61n57.fsf@gmail.com> <87o91ugdot.fsf@elephly.net> <87ftn5gjzw.fsf@elephly.net> <871ryogu6j.fsf@elephly.net> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus In-reply-to: <871ryogu6j.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Thu, 18 Jul 2019 12:51:23 +0200 Message-ID: <87r26nfwes.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External 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 (-) Ricardo Wurmus writes: > Ricardo Wurmus writes: > >> I have confirmed that this is the problem by replacing =E2=80=9Cwhile >> (VMFile.exists(file.path))=E2=80=9D with =E2=80=9Cwhile (false)=E2=80=9D= . The build doesn=E2=80=99t >> fully complete then either, but it gets past the compilation of the Ant >> source files. This clears JamVM and Jikes. > > It doesn=E2=80=99t. > > VMFile.exists always returns =E2=80=9Ctrue=E2=80=9D, no matter what. The= C part is > fine, but the Java part is not, so I suspected the JVM to be at fault. > > I managed to build ant-bootstrap successfully with this patch: [=E2=80=A6] Here=E2=80=99s a shorter patch: --8<---------------cut here---------------start------------->8--- diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 403c446a82..bd98784232 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -152,6 +152,13 @@ and binary format defined in The Java Virtual Machine = Specification.") "--disable-gjdoc") #:phases (modify-phases %standard-phases + (add-after 'unpack 'foo + (lambda _ + (substitute* "native/jni/java-io/java_io_VMFile.c" + (("result =3D cpio_isFileExists.*" m) + (string-append m " +//Without a long comment the Java side will return \"true\" on x86_64 all = the time."))) + #t)) (add-after 'install 'install-data (lambda _ (invoke "make" "install-data")))))) (native-inputs --8<---------------cut here---------------end--------------->8--- This only adds a comment. If the comment is too short it won=E2=80=99t wor= k. I suspected some misguided optimizations, so I built jamvm-1-bootstrap and classpath-bootstrap with -O0, -O1, and I disabled stripping of binaries, but to no avail. Any ideas? -- Ricardo From unknown Tue Jun 17 01:49:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36685: ant-bootstrap fails on core-updates (409 dependents) Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 19 Jul 2019 08:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36685 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: cmmarusich@gmail.com Cc: guix-devel@gnu.org, 36685@debbugs.gnu.org Received: via spool by 36685-submit@debbugs.gnu.org id=B36685.15635237559653 (code B ref 36685); Fri, 19 Jul 2019 08:10:01 +0000 Received: (at 36685) by debbugs.gnu.org; 19 Jul 2019 08:09:15 +0000 Received: from localhost ([127.0.0.1]:55083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoNx4-0002Vd-LZ for submit@debbugs.gnu.org; Fri, 19 Jul 2019 04:09:14 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoNx3-0002VV-7R for 36685@debbugs.gnu.org; Fri, 19 Jul 2019 04:09:13 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1563523749; cv=none; d=zoho.com; s=zohoarc; b=JywATpzgYz1pnTAXXaUo7QJo+owOcf6BNsRLHCPJ/JqN7HMgcf3ppsK1H1IXijj78EPSiYTLs/Jg+eGmoD1gPEoRo2h81nujS082h3lqSMrP53tcGvK0qxOyfrBH4/6SalOxWq42iUStBx0ZFnCxqtZ0bZwFvnvcppMk9nEB46I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1563523749; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=UKU5P+itXVn0JZFx4SaAnrsz9zuwjzi9o594IdizBNE=; b=cvrgEL2btF00potd3kwcEgaUnZEB5738A91/KIoMJaMuVgUphXJDgdu0JQqWJAsxm9gKcCHr9jLhMmjA7u1Lk+rzqbt2TvJ7XKd9vmDw4cQng46YlOkVcg8UyJAQGpOlGhMw9Qck3qhHgaWl1S8cWImW+BO2j5p9DtXuqoh/Pb4= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1563523749; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=3111; bh=UKU5P+itXVn0JZFx4SaAnrsz9zuwjzi9o594IdizBNE=; b=ezLOcGvUmAwL5H0kgDX8y9wE0j+Vl+9yvsRtPpypzZETXtvVpqlhODr+dlcnEqO6 b7oAzBdDVIRSb7YBBtUHN0fYEOfHbusB2RIVOEY3QpKS51fMUM/wu4cqxJ6DHwnFwsB tFjtHHdmFnLiJBzfZyIZrpv1fBmswb+gPnQvMicA= Received: from localhost (141.80.247.250 [141.80.247.250]) by mx.zohomail.com with SMTPS id 156352374881475.41505260693316; Fri, 19 Jul 2019 01:09:08 -0700 (PDT) References: <8736j61n57.fsf@gmail.com> <87o91ugdot.fsf@elephly.net> <87ftn5gjzw.fsf@elephly.net> <871ryogu6j.fsf@elephly.net> <87r26nfwes.fsf@elephly.net> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus In-reply-to: <87r26nfwes.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 19 Jul 2019 10:09:06 +0200 Message-ID: <87a7dafntp.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External 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 (-) Ricardo Wurmus writes: > Here=E2=80=99s a shorter patch: > > --8<---------------cut here---------------start------------->8--- > diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm > index 403c446a82..bd98784232 100644 > --- a/gnu/packages/java.scm > +++ b/gnu/packages/java.scm > @@ -152,6 +152,13 @@ and binary format defined in The Java Virtual Machin= e Specification.") > "--disable-gjdoc") > #:phases > (modify-phases %standard-phases > + (add-after 'unpack 'foo > + (lambda _ > + (substitute* "native/jni/java-io/java_io_VMFile.c" > + (("result =3D cpio_isFileExists.*" m) > + (string-append m " > +//Without a long comment the Java side will return \"true\" on x86_64 al= l the time."))) > + #t)) > (add-after 'install 'install-data > (lambda _ (invoke "make" "install-data")))))) > (native-inputs > --8<---------------cut here---------------end--------------->8--- > > This only adds a comment. If the comment is too short it won=E2=80=99t w= ork. No, that=E2=80=99s wrong. To my eternal embarrassement but also great relief this substitution has the effect of commenting the *following* line which frees up previously claimed resources (a bunch of characters making up the file name). The other comments I tested must have ended on \n, so they did not have this effect. Thanks to Julien for pointing this out! So! Creating a memory leak lets us successfully build ant-bootstrap. It does not, however, get us all the way through the Java bootstrap. When configuring the first icedtea I get this error: --8<---------------cut here---------------start------------->8--- checking if the VM and compiler work together... ./configure: line 9614: = 697 Illegal instruction $JAVA -classpath . $BYTECODE 1>&5 2>&1 configure: error: VM failed to run compiled class. command "/gnu/store/h9c5g3inn5zmkixk08m27zzpj58zbfgy-bash-minimal-5.0.7/bin= /bash" "./configure" "CONFIG_SHELL=3D/gnu/store/h9c5g3inn5zmkixk08m27zzpj58= zbfgy-bash-minimal-5.0.7/bin/bash" "SHELL=3D/gnu/store/h9c5g3inn5zmkixk08m2= 7zzpj58zbfgy-bash-minimal-5.0.7/bin/bash" "--prefix=3D/gnu/store/802356lxpj= kqk66kv35mdzxhvaw6rghp-icedtea-1.13.13" "--enable-fast-install" "--docdir= =3D/gnu/store/d4c4w9bka2bnnrwrmph1ilgjss5i37h9-icedtea-1.13.13-doc/share/do= c/icedtea" "--build=3Dx86_64-unknown-linux-gnu" "--enable-bootstrap" "--ena= ble-nss" "--without-rhino" "--with-parallel-jobs" "--disable-downloading" "= --disable-tests" "--with-ecj=3D/gnu/store/6dijv9ynn5j2bya86dgjn8v0qfd1nv3j-= ecj-bootstrap-3.2.2/share/java/ecj-bootstrap.jar" "--with-jar=3D/gnu/store/= hw67b3w83cc2abbgrf0wqzra07iiz3a1-fastjar-0.98/bin/fastjar" "--with-jdk-home= =3D/gnu/store/1agbz95p2ljcvbb88w7p7jn2hnd6z3gv-classpath-0.99-1.e7c13ee0c" = "--with-java=3D/gnu/store/ril2kk63p1grib14vl88z3aladfs33gf-jamvm-2.0.0/bin/= jamvm" failed with status 1 --8<---------------cut here---------------end--------------->8--- Illegal instruction? This uses JamVM 2.0.0 as the JVM. I=E2=80=99ll try to figure out what instruction this is and where it comes from. -- Ricardo From unknown Tue Jun 17 01:49:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36685: ant-bootstrap fails on core-updates (409 dependents) Resent-From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 19 Jul 2019 12:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36685 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus Cc: Guix-devel , 36685@debbugs.gnu.org, Chris Marusich Received: via spool by 36685-submit@debbugs.gnu.org id=B36685.156353988729602 (code B ref 36685); Fri, 19 Jul 2019 12:39:02 +0000 Received: (at 36685) by debbugs.gnu.org; 19 Jul 2019 12:38:07 +0000 Received: from localhost ([127.0.0.1]:55321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoS9H-0007hO-6z for submit@debbugs.gnu.org; Fri, 19 Jul 2019 08:38:07 -0400 Received: from mail-ed1-f44.google.com ([209.85.208.44]:45539) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoS9E-0007gr-W0 for 36685@debbugs.gnu.org; Fri, 19 Jul 2019 08:38:05 -0400 Received: by mail-ed1-f44.google.com with SMTP id x19so28445772eda.12 for <36685@debbugs.gnu.org>; Fri, 19 Jul 2019 05:38:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pM1OIzlGMhCwB0aUGVjh8ikdFpLkrz9P9u04bzcMy6o=; b=NN6rrIM1a2wMrK5RcH5T+hvON57xByD12bGn9GA0JOUKyIl6hy0L+JltYf+qlMCddv uYX59JhWvGvH1I4ZIQw/cpMQdU23vulwzmx2ozjcpF+8+YQ0hXhlB9of7bDmQXNOvd8m OELTolcHjICv1bQSGs4nr83pYTw/UB0o9ZL56yyv/fwiy4O+U5HqgTUBCZA0ix53XCbH 52FgyUn2f9iUtq6sVpgh0CDyMEaRIE0Dj2BbpF6twVdgotzBfXHQvFq5uU2uqAGFgmho Fv3+rx0h9YQzLYcCMKbyFMbDkZacvzHCdm9pGWRh7dyt6pSnIV3D2Ih/JEcMcGH2Uk6y l/Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pM1OIzlGMhCwB0aUGVjh8ikdFpLkrz9P9u04bzcMy6o=; b=bm2rcSqggTedEVKBZ+z2oCm1Wjk0CC1cV59l7AiXEetVSyGI8CkVlVfCDgISMvhObO 1eIzeCXPYZG6Nu7ifgNVOHl1nX0ZgpyIUYs2Dx+j/by7qjb/C35uYqYvV3bFlPRuKcVR wKFLrLpaIA0ifezDBNmm4h6Ebqd/SA3h+DlxNQ9FI2TpFlKf7ayBQCf3K0t+Y9HrlGOs s62UwgEK5biFGFwr02QopBsxDQ9h08rsHbns523x4qf77vQ0zTlnFfoTSfLhv86ZXUNI h2ke8vfqPFbMYCLbe5MKNg3g0rzuQXMMjLbavVrcRjR430vFsccWqMAmJN1XqZHVbGCa VIqw== X-Gm-Message-State: APjAAAW7HUHcjrhJZ+SDZGf2Y9B5cQ34Svv/d92bzOTVcDL9y2DJ1sNr 5loupwSKJX8YWohZ4duyIu4rTn4H8L0HRNtl3Q== X-Google-Smtp-Source: APXvYqxcKT0MVQKsLEWUcBA4CjdxZhmL4j/wpRGxSbsemQxDTJq/uq1GlznceoBXx1D9hLwzapFNcHrUhe6pkq4uxng= X-Received: by 2002:a50:a5e3:: with SMTP id b32mr44801342edc.169.1563539879045; Fri, 19 Jul 2019 05:37:59 -0700 (PDT) MIME-Version: 1.0 References: <8736j61n57.fsf@gmail.com> <87o91ugdot.fsf@elephly.net> <87ftn5gjzw.fsf@elephly.net> <871ryogu6j.fsf@elephly.net> <87r26nfwes.fsf@elephly.net> <87a7dafntp.fsf@elephly.net> In-Reply-To: <87a7dafntp.fsf@elephly.net> From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Date: Fri, 19 Jul 2019 12:37:47 +0000 Message-ID: Content-Type: multipart/alternative; boundary="000000000000152f9c058e07ff40" 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 (-) --000000000000152f9c058e07ff40 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Ricardo Wurmus ezt =C3=ADrta (id=C5=91pont: 2019. j=C3= =BAl. 19., P, 8:09): > > Ricardo Wurmus writes: > > Here=E2=80=99s a shorter patch: > > > > --8<---------------cut here---------------start------------->8--- > > diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm > > index 403c446a82..bd98784232 100644 > > --- a/gnu/packages/java.scm > > +++ b/gnu/packages/java.scm > > @@ -152,6 +152,13 @@ and binary format defined in The Java Virtual > Machine Specification.") > > "--disable-gjdoc") > > #:phases > > (modify-phases %standard-phases > > + (add-after 'unpack 'foo > > + (lambda _ > > + (substitute* "native/jni/java-io/java_io_VMFile.c" > > + (("result =3D cpio_isFileExists.*" m) > > + (string-append m " > > +//Without a long comment the Java side will return \"true\" on x86_64 > all the time."))) > > + #t)) > > (add-after 'install 'install-data > > (lambda _ (invoke "make" "install-data")))))) > > (native-inputs > > --8<---------------cut here---------------end--------------->8--- > > > > This only adds a comment. If the comment is too short it won=E2=80=99t= work. > > I confirm this path works. I tested a modified version, where I took out the comment text. It also works that way. We might contact the classpath devs to get a proper fix, and maybe a new release, they were super responsive the last time. > No, that=E2=80=99s wrong. > > To my eternal embarrassement but also great relief this substitution has > the effect of commenting the *following* line which frees up previously > claimed resources (a bunch of characters making up the file name). The > other comments I tested must have ended on \n, so they did not have this > effect. > > Thanks to Julien for pointing this out! > > So! Creating a memory leak lets us successfully build ant-bootstrap. > It does not, however, get us all the way through the Java bootstrap. > When configuring the first icedtea I get this error: > > --8<---------------cut here---------------start------------->8--- > checking if the VM and compiler work together... ./configure: line 9614: > 697 Illegal instruction $JAVA -classpath . $BYTECODE 1>&5 2>&1 > configure: error: VM failed to run compiled class. > command > "/gnu/store/h9c5g3inn5zmkixk08m27zzpj58zbfgy-bash-minimal-5.0.7/bin/bash" > "./configure" > "CONFIG_SHELL=3D/gnu/store/h9c5g3inn5zmkixk08m27zzpj58zbfgy-bash-minimal-= 5.0.7/bin/bash" > "SHELL=3D/gnu/store/h9c5g3inn5zmkixk08m27zzpj58zbfgy-bash-minimal-5.0.7/b= in/bash" > "--prefix=3D/gnu/store/802356lxpjkqk66kv35mdzxhvaw6rghp-icedtea-1.13.13" > "--enable-fast-install" > "--docdir=3D/gnu/store/d4c4w9bka2bnnrwrmph1ilgjss5i37h9-icedtea-1.13.13-d= oc/share/doc/icedtea" > "--build=3Dx86_64-unknown-linux-gnu" "--enable-bootstrap" "--enable-nss" > "--without-rhino" "--with-parallel-jobs" "--disable-downloading" > "--disable-tests" > "--with-ecj=3D/gnu/store/6dijv9ynn5j2bya86dgjn8v0qfd1nv3j-ecj-bootstrap-3= .2.2/share/java/ecj-bootstrap.jar" > "--with-jar=3D/gnu/store/hw67b3w83cc2abbgrf0wqzra07iiz3a1-fastjar-0.98/bi= n/fastjar" > "--with-jdk-home=3D/gnu/store/1agbz95p2ljcvbb88w7p7jn2hnd6z3gv-classpath-= 0.99-1.e7c13ee0c" > "--with-java=3D/gnu/store/ril2kk63p1grib14vl88z3aladfs33gf-jamvm-2.0.0/bi= n/jamvm" > failed with status 1 > --8<---------------cut here---------------end--------------->8--- > > Illegal instruction? This uses JamVM 2.0.0 as the JVM. I=E2=80=99ll try= to > figure out what instruction this is and where it comes from. > I hit the same bug now. > -- > Ricardo > > > Best regards, g_bor --=20 OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21 --000000000000152f9c058e07ff40 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Ricardo Wurmus <rekado@elephly.net> ezt =C3=ADrta (id=C5=91pont: 2019.= j=C3=BAl. 19., P, 8:09):

Ricardo Wurmus <= rekado@elephly.net> writes:
> Here=E2=80=99s a shorter patch:
>
> --8<---------------cut here---------------start------------->8--= -
> diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
> index 403c446a82..bd98784232 100644
> --- a/gnu/packages/java.scm
> +++ b/gnu/packages/java.scm
> @@ -152,6 +152,13 @@ and binary format defined in The Java Virtual Mac= hine Specification.")
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"--disable-= gjdoc")
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#:phases
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(modify-phases %standard-phases
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(add-after 'unpack 'foo
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(lambda _
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(substitute* "na= tive/jni/java-io/java_io_VMFile.c"
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(("result= =3D cpio_isFileExists.*" m)
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (string-appen= d m "
> +//Without a long comment the Java side will return \"true\"= on x86_64 all the time.")))
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#t))
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(add-after 'install 'i= nstall-data
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(lambda _ (invoke "= ;make" "install-data"))))))
>=C2=A0 =C2=A0 =C2=A0 (native-inputs
> --8<---------------cut here---------------end--------------->8--= -
>
> This only adds a comment.=C2=A0 If the comment is too short it won=E2= =80=99t work.


I confirm this path works.
I= tested a modified version, where I took out the comment text. It also work= s that way.
We might contact the classpath devs to get a proper f= ix, and maybe a new release, they
were super responsive the last = time.
=C2=A0
No, that=E2=80=99s wrong.

To my eternal embarrassement but also great relief this substitution has the effect of commenting the *following* line which frees up previously
claimed resources (a bunch of characters making up the file name).=C2=A0 Th= e
other comments I tested must have ended on \n, so they did not have this effect.

Thanks to Julien for pointing this out!

So!=C2=A0 Creating a memory leak lets us successfully build ant-bootstrap.<= br> It does not, however, get us all the way through the Java bootstrap.
When configuring the first icedtea I get this error:

--8<---------------cut here---------------start------------->8---
checking if the VM and compiler work together... ./configure: line 9614:=C2= =A0 =C2=A0697 Illegal instruction=C2=A0 =C2=A0 =C2=A0$JAVA -classpath . $BY= TECODE 1>&5 2>&1
configure: error: VM failed to run compiled class.
command "/gnu/store/h9c5g3inn5zmkixk08m27zzpj58zbfgy-bash-minimal-5.0.= 7/bin/bash" "./configure" "CONFIG_SHELL=3D/gnu/store/h9= c5g3inn5zmkixk08m27zzpj58zbfgy-bash-minimal-5.0.7/bin/bash" "SHEL= L=3D/gnu/store/h9c5g3inn5zmkixk08m27zzpj58zbfgy-bash-minimal-5.0.7/bin/bash= " "--prefix=3D/gnu/store/802356lxpjkqk66kv35mdzxhvaw6rghp-icedtea= -1.13.13" "--enable-fast-install" "--docdir=3D/gnu/stor= e/d4c4w9bka2bnnrwrmph1ilgjss5i37h9-icedtea-1.13.13-doc/share/doc/icedtea&qu= ot; "--build=3Dx86_64-unknown-linux-gnu" "--enable-bootstrap= " "--enable-nss" "--without-rhino" "--with-pa= rallel-jobs" "--disable-downloading" "--disable-tests&q= uot; "--with-ecj=3D/gnu/store/6dijv9ynn5j2bya86dgjn8v0qfd1nv3j-ecj-boo= tstrap-3.2.2/share/java/ecj-bootstrap.jar" "--with-jar=3D/gnu/sto= re/hw67b3w83cc2abbgrf0wqzra07iiz3a1-fastjar-0.98/bin/fastjar" "--= with-jdk-home=3D/gnu/store/1agbz95p2ljcvbb88w7p7jn2hnd6z3gv-classpath-0.99-= 1.e7c13ee0c" "--with-java=3D/gnu/store/ril2kk63p1grib14vl88z3alad= fs33gf-jamvm-2.0.0/bin/jamvm" failed with status 1
--8<---------------cut here---------------end--------------->8---

Illegal instruction?=C2=A0 This uses JamVM 2.0.0 as the JVM.=C2=A0 I=E2=80= =99ll try to
figure out what instruction this is and where it comes from.

I hit the same bug now.


--
Ricardo



Best regards,
g_bor

--
O= penPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
--000000000000152f9c058e07ff40-- From unknown Tue Jun 17 01:49:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36685: ant-bootstrap fails on core-updates (409 dependents) Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 19 Jul 2019 12:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36685 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: =?UTF-8?Q?G=C3=A1bor?= Boskovits Cc: Guix-devel , 36685@debbugs.gnu.org, Chris Marusich Received: via spool by 36685-submit@debbugs.gnu.org id=B36685.156354097431322 (code B ref 36685); Fri, 19 Jul 2019 12:57:01 +0000 Received: (at 36685) by debbugs.gnu.org; 19 Jul 2019 12:56:14 +0000 Received: from localhost ([127.0.0.1]:55353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoSQo-000898-At for submit@debbugs.gnu.org; Fri, 19 Jul 2019 08:56:14 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21265) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoSQm-00088z-EV for 36685@debbugs.gnu.org; Fri, 19 Jul 2019 08:56:13 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1563540969; cv=none; d=zoho.com; s=zohoarc; b=I/ZOweukqD4XE2BRZalq4swhl8X2/zQJuWp/7InaN+HfFzwDeLR48R8ndHrGEHTesoixteVTzCq721lZB651hSQhtBLqYqQnGOQg3ukN5HTHpF5oIr6J2yICInCCfQ0AmFDuC0vPKP9+KV67KGtGTR6/5SweDcFUeVC/qulD54A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1563540969; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=PGLn5Jb7nLBXPEbep6DWLj8FOBCYg/69Z8+M0OD/3Uk=; b=iPqoCgbkGPPCTbrW6YLCMMG9Kn+nt43Wk2lo5iSROWhr8MONGyCwR1J+sCH9qBiLC6jmXT8BPYicg+PlNEj9R5l8HSi2KHg69szDyeTargTthKZzqhDU/FQuoxZTOHgBG+PE/9yvB0pW7lnRF/nM4609kuFSd1ItKYX5ypI5EPM= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1563540969; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=2350; bh=PGLn5Jb7nLBXPEbep6DWLj8FOBCYg/69Z8+M0OD/3Uk=; b=Yg6NOZTY2oM4/lDuITl/nghZJZUH+SW0YgDeVHEy8V98LT0+JiFitEd3drc0qX5d EYPOpD74DYOoSKkcjL4lkk2FubXB594991GadRW9K9n87NofpYC7NCaEN2o3jAXGtQa yd0OlJhqiQYsVv0EAeErlaq+h2394xDSFxnuKTOQ= Received: from localhost (141.80.247.250 [141.80.247.250]) by mx.zohomail.com with SMTPS id 1563540968184643.19169628824; Fri, 19 Jul 2019 05:56:08 -0700 (PDT) References: <8736j61n57.fsf@gmail.com> <87o91ugdot.fsf@elephly.net> <87ftn5gjzw.fsf@elephly.net> <871ryogu6j.fsf@elephly.net> <87r26nfwes.fsf@elephly.net> <87a7dafntp.fsf@elephly.net> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 19 Jul 2019 14:56:04 +0200 Message-ID: <878ssufajf.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External 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 (-) Hi G=C3=A1bor, > Ricardo Wurmus ezt =C3=ADrta (id=C5=91pont: 2019. j= =C3=BAl. 19., P, > 8:09): > >> >> Ricardo Wurmus writes: >> > Here=E2=80=99s a shorter patch: >> > >> > --8<---------------cut here---------------start------------->8--- >> > diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm >> > index 403c446a82..bd98784232 100644 >> > --- a/gnu/packages/java.scm >> > +++ b/gnu/packages/java.scm >> > @@ -152,6 +152,13 @@ and binary format defined in The Java Virtual >> Machine Specification.") >> > "--disable-gjdoc") >> > #:phases >> > (modify-phases %standard-phases >> > + (add-after 'unpack 'foo >> > + (lambda _ >> > + (substitute* "native/jni/java-io/java_io_VMFile.c" >> > + (("result =3D cpio_isFileExists.*" m) >> > + (string-append m " >> > +//Without a long comment the Java side will return \"true\" on x86_64 >> all the time."))) >> > + #t)) >> > (add-after 'install 'install-data >> > (lambda _ (invoke "make" "install-data")))))) >> > (native-inputs >> > --8<---------------cut here---------------end--------------->8--- >> > >> > This only adds a comment. If the comment is too short it won=E2=80=99= t work. >> >> > I confirm this path works. > I tested a modified version, where I took out the comment text. It also > works that way. Yes. It=E2=80=99s just commenting the *following* line (i.e. removal of the call to =E2=80=9Cfree=E2=80=9D) that fixes it. > We might contact the classpath devs to get a proper fix, and maybe a new > release, they > were super responsive the last time. I don=E2=80=99t think the problem is with GNU Classpath. Classpath devs are welcome to look at this, of course, but we are not even using the latest version at this point in the bootstrap. I wonder what could have caused this problem in the first place. The bootstrap hasn=E2=80=99t changed. Using the same compiler as before doesn= =E2=80=99t fix it, so it=E2=80=99s probably not the compiler either. So what is it? >> Illegal instruction? This uses JamVM 2.0.0 as the JVM. I=E2=80=99ll tr= y to >> figure out what instruction this is and where it comes from. > > I hit the same bug now. Good. We need to figure out why =E2=80=93 is it miscompilation? Tuning to= a different CPU type=E2=80=A6? -- Ricardo From unknown Tue Jun 17 01:49:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36685: ant-bootstrap fails on core-updates (409 dependents) Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 19 Jul 2019 16:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36685 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: =?UTF-8?Q?G=C3=A1bor?= Boskovits Cc: Guix-devel , 36685@debbugs.gnu.org, Chris Marusich Received: via spool by 36685-submit@debbugs.gnu.org id=B36685.156355382629142 (code B ref 36685); Fri, 19 Jul 2019 16:31:02 +0000 Received: (at 36685) by debbugs.gnu.org; 19 Jul 2019 16:30:26 +0000 Received: from localhost ([127.0.0.1]:56490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoVm6-0007Zy-B1 for submit@debbugs.gnu.org; Fri, 19 Jul 2019 12:30:26 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoVm4-0007Zq-PL for 36685@debbugs.gnu.org; Fri, 19 Jul 2019 12:30:25 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1563553809; cv=none; d=zoho.com; s=zohoarc; b=Py13FNmYyyhGWaF3K2qPe5jQDX81QzXN5JaIZXRurxhmEXvpdUO1dLoqG/2LdNRkaIsOPx5ydiIssMB1xBNPGeL2tbbmJjTMUjsL7qe2yEFQkERj5enVFhEioQDUjMqk9OR0UdhJDyTwDAedKCdEujtr/ElYRjNPLidgjL/oGyY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1563553809; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=4CFIZoP8LQ80RnttzB5PTNBNd136OdxW/VA2F+gUqJw=; b=i7c5CtvMWK0YPCBG+kYIBw8zZH0FXwP5uK3cwQlTMMN8zamdDo55U81Ax6VhKHXJLHb5kRhvemOKTghkj5u6nosn1toj5l1n610qGZw5/kGMh44/ll/YOBJE4ZJa38jVZHCeuH6pgPK/qNlknJDI5TgTRUtS/jl8hvEStcNHMbU= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1563553809; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=3794; bh=4CFIZoP8LQ80RnttzB5PTNBNd136OdxW/VA2F+gUqJw=; b=BkjbDaAxYtaHyoFUNEKDaXhE6pZZ1cnXRVGw6UH/Ie8tAMny3Dhb7JDxMlVUW93q DR2d0UhRbpZ8nkrEQ4E/a2N/tWgSOSLmHJBwgBWkEUPKnzr544UjHcyAUYc0girLpnz 10yxP67/veuehLih/wuqpGJ1NC82Tml5zZVbQYHI= Received: from localhost (p54AD4F2D.dip0.t-ipconnect.de [84.173.79.45]) by mx.zohomail.com with SMTPS id 1563553808827991.0545125690368; Fri, 19 Jul 2019 09:30:08 -0700 (PDT) References: <8736j61n57.fsf@gmail.com> <87o91ugdot.fsf@elephly.net> <87ftn5gjzw.fsf@elephly.net> <871ryogu6j.fsf@elephly.net> <87r26nfwes.fsf@elephly.net> <87a7dafntp.fsf@elephly.net> <878ssufajf.fsf@elephly.net> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus In-reply-to: <878ssufajf.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 19 Jul 2019 18:30:04 +0200 Message-ID: <875znyf0mr.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External 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 (-) Ricardo Wurmus writes: >>> Illegal instruction? This uses JamVM 2.0.0 as the JVM. I=E2=80=99ll t= ry to >>> figure out what instruction this is and where it comes from. >> >> I hit the same bug now. > > Good. We need to figure out why =E2=80=93 is it miscompilation? Tuning = to a > different CPU type=E2=80=A6? With this patch I can get past the configure phase in icedtea: --8<---------------cut here---------------start------------->8--- diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 403c446a82..14179f85e9 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -116,6 +116,9 @@ (base32 "1qqldrp74pzpy5ly421srqn30qppmm9cvjiqdngk8hf47dv2rc0c")))) (build-system gnu-build-system) + (native-inputs + `(("libc" ,glibc-2.28) + ("gcc" ,gcc-5))) (home-page "http://jikes.sourceforge.net/") (synopsis "Compiler for the Java language") (description "Jikes is a compiler that translates Java source files as @@ -152,12 +155,20 @@ and binary format defined in The Java Virtual Machine= Specification.") "--disable-gjdoc") #:phases (modify-phases %standard-phases + (add-after 'unpack 'foo + (lambda _ + (substitute* "native/jni/java-io/java_io_VMFile.c" + (("result =3D cpio_isFileExists.*" m) + (string-append m "\n//"))) + #t)) (add-after 'install 'install-data (lambda _ (invoke "make" "install-data")))))) (native-inputs `(("jikes" ,jikes) ("fastjar" ,fastjar) ("libltdl" ,libltdl) + ("gcc" ,gcc-5) + ("libc" ,glibc-2.28) ("pkg-config" ,pkg-config))) (home-page "https://www.gnu.org/software/classpath/") (synopsis "Essential libraries for Java") @@ -191,6 +202,9 @@ language.") `(("classpath" ,classpath-bootstrap) ("jikes" ,jikes) ("zlib" ,zlib))) + (native-inputs + `(("libc" ,glibc-2.28) + ("gcc" ,gcc-5))) (home-page "http://jamvm.sourceforge.net/") (synopsis "Small Java Virtual Machine") (description "JamVM is a Java Virtual Machine conforming to the JVM @@ -302,7 +316,9 @@ JNI.") `(("jikes" ,jikes) ("jamvm" ,jamvm-1-bootstrap) ("unzip" ,unzip) - ("zip" ,zip))) + ("zip" ,zip) + ("gcc" ,gcc-5) + ("libc" ,glibc-2.28))) (home-page "http://ant.apache.org") (synopsis "Build tool for Java") (description @@ -627,7 +643,9 @@ machine."))) ("fastjar" ,fastjar) ("jamvm" ,jamvm-1-bootstrap) ("libltdl" ,libltdl) - ("pkg-config" ,pkg-config)))))) + ("pkg-config" ,pkg-config) + ("gcc" ,gcc-5) + ("libc" ,glibc-2.28)))))) (define jamvm (package (inherit jamvm-1-bootstrap) @@ -656,7 +674,9 @@ machine."))) `(("guile" ,guile-2.2) ("ecj-bootstrap" ,ecj-bootstrap) ("jamvm" ,jamvm) - ("classpath" ,classpath-devel))))) + ("classpath" ,classpath-devel) + ("gcc" ,gcc-5) + ("libc" ,glibc-2.28))))) ;; The bootstrap JDK consisting of jamvm, classpath-devel, ;; ecj-javac-wrapper-final cannot build Icedtea 2.x directly, because it's @@ -907,7 +927,10 @@ machine."))) ("fastjar" ,fastjar) ("fontconfig" ,fontconfig) ("freetype" ,freetype) - ("gcc" ,gcc-4.9) ; there's a segmentation fault when compiling with= gcc-5 or gcc-7 + ;;("gcc" ,gcc-4.9) ; there's a segmentation fault when compiling wi= th gcc-5 or gcc-7 + ("gcc" ,gcc-5) + ("libc" ,glibc-2.28) + ("gtk" ,gtk+-2) ("gawk" ,gawk) ("giflib" ,giflib) --8<---------------cut here---------------end--------------->8--- The build aborts early with =E2=80=9CERROR: FreeType version 2.2.1 or highe= r is required.=E2=80=9D So I added this: (substitute* "patches/freetypeversion.patch" (("REQUIRED_FREETYPE_VERSION =3D 2.2.1") "REQUIRED_FREETYPE_VERSION =3D 2.10.1")) and icedtea is being built now. We may want to check where the use of glibc-2.28 and gcc-5 is really needed and where we can do without. -- Ricardo From unknown Tue Jun 17 01:49:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36685: ant-bootstrap fails on core-updates (409 dependents) Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 20 Jul 2019 08:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36685 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: =?UTF-8?Q?G=C3=A1bor?= Boskovits Cc: Guix-devel , 36685@debbugs.gnu.org Received: via spool by 36685-submit@debbugs.gnu.org id=B36685.15636121662018 (code B ref 36685); Sat, 20 Jul 2019 08:43:02 +0000 Received: (at 36685) by debbugs.gnu.org; 20 Jul 2019 08:42:46 +0000 Received: from localhost ([127.0.0.1]:56803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hokx4-0000WT-8M for submit@debbugs.gnu.org; Sat, 20 Jul 2019 04:42:46 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21395) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hokx1-0000WK-Fz for 36685@debbugs.gnu.org; Sat, 20 Jul 2019 04:42:44 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1563612150; cv=none; d=zoho.com; s=zohoarc; b=QoJU6/tjVVKt4i8Lv0ixh1tZ2X6gEsGULxpX7EQlQaj7wtb6CecflIh6+YbbMn0mTkAL37VNby1hAOKc0ppiA8bwIyyltl+YcXz82A9daXBABqcAUZJhnOC433VkqenqKydqwYLZ88LNXJBubuMDTm3Q5wBy8WNvR2pSMc0LjpI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1563612150; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=SVhslmNRt0LnAfttDUiPlkVSlWS65IgR4qNW1jMLpHc=; b=Og8MCCcYV/Z+EJMZ/0oJ+ue8+d3BUSKMJCfv/Ue2Ze7VQLgGgZCHz0IZqOXIYaGj2/zQKpVhrqowlRarwuOfzWw/oXtiyIznLTWWOK1iPqf8sHtIORqWl9yCnub3TFU9+2c1WAEksqdfY6XVRV0Pm29egD6Xr3RZxg5kROPLtEE= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1563612150; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1946; bh=SVhslmNRt0LnAfttDUiPlkVSlWS65IgR4qNW1jMLpHc=; b=cWRRygKqhszf8b3vfSE0pAjNXY8VZUAPmkb5u2RkSnXAkkh+YEVOUBedRPxsCYnK zDiXRD2P/rtvJgFpPXc41wcUlx6EXelAASahOgpn2CiTSiW9qGdOUKryRUM1SfQ3jOa wfaCkC8oFsAPizdwWhN3dAuwizgwWYoYMs5FRRFQ= Received: from localhost (p4FD5ABB4.dip0.t-ipconnect.de [79.213.171.180]) by mx.zohomail.com with SMTPS id 1563612148346339.46397715400474; Sat, 20 Jul 2019 01:42:28 -0700 (PDT) References: <8736j61n57.fsf@gmail.com> <87o91ugdot.fsf@elephly.net> <87ftn5gjzw.fsf@elephly.net> <871ryogu6j.fsf@elephly.net> <87r26nfwes.fsf@elephly.net> <87a7dafntp.fsf@elephly.net> <878ssufajf.fsf@elephly.net> <875znyf0mr.fsf@elephly.net> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus In-reply-to: <875znyf0mr.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sat, 20 Jul 2019 10:42:25 +0200 Message-ID: <87zhl9drm6.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External 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 (-) Ricardo Wurmus writes: > The build aborts early with =E2=80=9CERROR: FreeType version 2.2.1 or hig= her is > required.=E2=80=9D So I added this: > > (substitute* "patches/freetypeversion.patch" > (("REQUIRED_FREETYPE_VERSION =3D 2.2.1") > "REQUIRED_FREETYPE_VERSION =3D 2.10.1")) > > and icedtea is being built now. Next problem: icedtea 2 fails its configure phase: --8<---------------cut here---------------start------------->8--- checking attr/xattr.h usability... no checking attr/xattr.h presence... no checking for attr/xattr.h... no configure: error: Could not find required system headers; install the appro= priate files from glibc-headers, libc6-dev and/or libattr-devel, libattr1-d= ev or use --disable-compile-against-syscalls if necessary. command "/gnu/store/h9c5g3inn5zmkixk08m27zzpj58zbfgy-bash-minimal-5.0.7/bin= /bash" "./configure" "CONFIG_SHELL=3D/gnu/store/h9c5g3inn5zmkixk08m27zzpj58= zbfgy-bash-minimal-5.0.7/bin/bash" "SHELL=3D/gnu/store/h9c5g3inn5zmkixk08m2= 7zzpj58zbfgy-bash-minimal-5.0.7/bin/bash" "--prefix=3D/gnu/store/wg3ywf88n2= qd1hpc8fk39svm9ksah1l4-icedtea-2.6.13" "--enable-fast-install" "--docdir=3D= /gnu/store/4l3xf1dmbx9494ica8cgllm6dvs3py2n-icedtea-2.6.13-doc/share/doc/ic= edtea" "--build=3Dx86_64-unknown-linux-gnu" "--disable-system-pcsc" "--disa= ble-system-sctp" "--enable-bootstrap" "--enable-nss" "--without-rhino" "--d= isable-downloading" "--disable-tests" "--with-openjdk-src-dir=3D./openjdk.s= rc" "--with-jdk-home=3D/gnu/store/r4jz94v5xjxw95s0msxdxm36hlv07x64-icedtea-= 1.13.13-jdk" failed with status 1 builder for `/gnu/store/cda07il6lpg0j9l8blx5z8ah8d7wmjlz-icedtea-2.6.13.drv= ' failed with exit code 1 build of /gnu/store/cda07il6lpg0j9l8blx5z8ah8d7wmjlz-icedtea-2.6.13.drv fai= led --8<---------------cut here---------------end--------------->8--- Of course the inputs include the attr package. Any ideas? -- Ricardo From unknown Tue Jun 17 01:49:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36685: ant-bootstrap fails on core-updates (409 dependents) Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 20 Jul 2019 09:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36685 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus Cc: Guix-devel , 36685@debbugs.gnu.org, =?UTF-8?Q?G=C3=A1bor?= Boskovits Received: via spool by 36685-submit@debbugs.gnu.org id=B36685.15636135814143 (code B ref 36685); Sat, 20 Jul 2019 09:07:02 +0000 Received: (at 36685) by debbugs.gnu.org; 20 Jul 2019 09:06:21 +0000 Received: from localhost ([127.0.0.1]:56812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1holJs-00014l-KO for submit@debbugs.gnu.org; Sat, 20 Jul 2019 05:06:20 -0400 Received: from lepiller.eu ([89.234.186.109]:35108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1holJq-00014b-N3 for 36685@debbugs.gnu.org; Sat, 20 Jul 2019 05:06:19 -0400 Received: from sybil.lepiller.eu (89-92-10-229.hfc.dyn.abo.bbox.fr [89.92.10.229]) by lepiller.eu (OpenSMTPD) with ESMTPSA id bb172c18 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sat, 20 Jul 2019 09:06:16 +0000 (UTC) Date: Sat, 20 Jul 2019 11:06:12 +0200 From: Julien Lepiller Message-ID: <20190720110612.3f33171f@sybil.lepiller.eu> In-Reply-To: <87zhl9drm6.fsf@elephly.net> References: <8736j61n57.fsf@gmail.com> <87o91ugdot.fsf@elephly.net> <87ftn5gjzw.fsf@elephly.net> <871ryogu6j.fsf@elephly.net> <87r26nfwes.fsf@elephly.net> <87a7dafntp.fsf@elephly.net> <878ssufajf.fsf@elephly.net> <875znyf0mr.fsf@elephly.net> <87zhl9drm6.fsf@elephly.net> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 (-) Le Sat, 20 Jul 2019 10:42:25 +0200, Ricardo Wurmus a =C3=A9crit : > configure: error: Could not find required system headers; install the > appropriate files from glibc-headers, libc6-dev and/or libattr-devel, > libattr1-dev or use --disable-compile-against-syscalls if necessary. Can you check the content of config.log? It should tell you what test it runs to determine whether attr is present or not. From unknown Tue Jun 17 01:49:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36685: ant-bootstrap fails on core-updates (409 dependents) Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 20 Jul 2019 21:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36685 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Julien Lepiller Cc: Guix-devel , 36685@debbugs.gnu.org, =?UTF-8?Q?G=C3=A1bor?= Boskovits Received: via spool by 36685-submit@debbugs.gnu.org id=B36685.156365687320013 (code B ref 36685); Sat, 20 Jul 2019 21:08:01 +0000 Received: (at 36685) by debbugs.gnu.org; 20 Jul 2019 21:07:53 +0000 Received: from localhost ([127.0.0.1]:57948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1howa8-0005Cj-Tc for submit@debbugs.gnu.org; Sat, 20 Jul 2019 17:07:53 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1howa6-0005Ca-LY for 36685@debbugs.gnu.org; Sat, 20 Jul 2019 17:07:51 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1563656855; cv=none; d=zoho.com; s=zohoarc; b=jz4NN+kl5TIn0gdGUg0TsNgXqpgig8vR5O6lL0Px1qJnaSCvdqLizfuiija+pSzwD2stJpFXyviEauR/6CrKCLBGH6oPenMG8Z7ohTdlwY5Q3JWczTbQS0fzI9GjwVmDeiiJIZx1w7+cyBZjEuWrdsE5GWNFHJp0974RxHHRVs8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1563656855; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=9dCWciNwPARJbb7KeKFh1wh74HhWV5vwDNNzVYF0h70=; b=mo/HVIb5Z9ZCAnzpNKGpOPlAEaY4sQjz+K9MgY/U2syrB+pCvTtuQLVdOn0l5r8sbKYfZYuetUrHNVqHo+/E1GRuclUBV3TKcWwD9bBWFsXROhAuf6agB1PKU26SOXBo67j/NN/LiBQyQPMw03VLTByXcL2HMuMHikKp6+wkNdM= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1563656855; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1062; bh=9dCWciNwPARJbb7KeKFh1wh74HhWV5vwDNNzVYF0h70=; b=ih94dkZ9IrOXPugOmZMtvaEP+X+h75b3xOH6spLf/mYxaakEFR9LEFke8JdR5w0u xsn1IpiQ7+ahlo3NlETfdnIXtv/kmt9o1B9lhFS1bD996wAE7oiw2lEaR3Roay0rIlw 4vwrWhyLKH08A9eY9+PBjxcBIU/90c0NrmjxxiB8= Received: from localhost (p4FD5ABB4.dip0.t-ipconnect.de [79.213.171.180]) by mx.zohomail.com with SMTPS id 1563656854015583.2473429174586; Sat, 20 Jul 2019 14:07:34 -0700 (PDT) References: <8736j61n57.fsf@gmail.com> <87o91ugdot.fsf@elephly.net> <87ftn5gjzw.fsf@elephly.net> <871ryogu6j.fsf@elephly.net> <87r26nfwes.fsf@elephly.net> <87a7dafntp.fsf@elephly.net> <878ssufajf.fsf@elephly.net> <875znyf0mr.fsf@elephly.net> <87zhl9drm6.fsf@elephly.net> <20190720110612.3f33171f@sybil.lepiller.eu> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus In-reply-to: <20190720110612.3f33171f@sybil.lepiller.eu> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sat, 20 Jul 2019 23:07:30 +0200 Message-ID: <87sgr0e7ot.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External 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 (-) Julien Lepiller writes: > Le Sat, 20 Jul 2019 10:42:25 +0200, > Ricardo Wurmus a =C3=A9crit : > >> configure: error: Could not find required system headers; install the >> appropriate files from glibc-headers, libc6-dev and/or libattr-devel, >> libattr1-dev or use --disable-compile-against-syscalls if necessary. > > Can you check the content of config.log? It should tell you what test > it runs to determine whether attr is present or not. It=E2=80=99s pretty straight-forward: xattr.h is no longer provided by the = attr package. sys/xattr.h from glibc should be used instead, so I=E2=80=99ve pa= tched it. I fixed another problem in the icedtea 2 build and moved on. Let=E2=80=99s= see how far I=E2=80=99ll get this time. In the meantime it would be great to r= each consensus on whether we should shrug off the patch that introduces a memory leak in GNU Classpath 0.93 as part of the bootstrap or if we should spend more time trying to figure out how we can avoid it. -- Ricardo From unknown Tue Jun 17 01:49:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36685: ant-bootstrap fails on core-updates (409 dependents) Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 21 Jul 2019 11:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36685 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Julien Lepiller Cc: Guix-devel , 36685@debbugs.gnu.org, =?UTF-8?Q?G=C3=A1bor?= Boskovits Received: via spool by 36685-submit@debbugs.gnu.org id=B36685.156370857915733 (code B ref 36685); Sun, 21 Jul 2019 11:30:03 +0000 Received: (at 36685) by debbugs.gnu.org; 21 Jul 2019 11:29:39 +0000 Received: from localhost ([127.0.0.1]:58169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpA26-00045h-Py for submit@debbugs.gnu.org; Sun, 21 Jul 2019 07:29:39 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21245) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpA24-00045W-HU for 36685@debbugs.gnu.org; Sun, 21 Jul 2019 07:29:37 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1563708555; cv=none; d=zoho.com; s=zohoarc; b=hUZofGvz9r1tEsOEFWSq5qS0qczKhIYpjCC7qtMO29TnC0Lgc3R0jh9DgOPXPiMeawOP82BvpYMeb/IQXI/yLX2WCtbLRS0GR3kXzfcWeW2Ph9O3rksVaGhpv3QocubZl8atcETnNXCfcbVjNC6GrhaAFtXgE9IVhIS7aZA65bM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1563708555; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=1s9i+zfIIOxUcq2p2b38XaosX1/Nh07CadV8SRGEva4=; b=Ce1tcjpomNsHs7KAZUT+QwRD12Mndf0hOQuHxmJeirCfkfTBSuQAwyJHN19a3GIOzcio0SF/NnM6A4w1hfPfGTIpuekV/m/9hXeepw72Pci3W59UIbNJ6Sn+TubaXvdkGcpIBGWwRMXs+tj8iq1yjX88MU6/fjawUv6Oe9koT7g= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1563708555; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; l=4643; bh=1s9i+zfIIOxUcq2p2b38XaosX1/Nh07CadV8SRGEva4=; b=Hc+SbNrSlm+csN9oLPKlZpw7x5vZWUUdAzhKTuFawj88kt9W1fI1m/nlWzcu8+T6 bPkYEfiKASCpg9VYFmEXOqeqX8E9cZXT0GtDXv0w3RiFV22X+93JNXs23n+9uwvMLMU 6tIovQ7wFwEpuaYCEioC00HcwjcHXtx//UWTaAeQ= Received: from localhost (p4FD5A427.dip0.t-ipconnect.de [79.213.164.39]) by mx.zohomail.com with SMTPS id 156370855435858.310047761470855; Sun, 21 Jul 2019 04:29:14 -0700 (PDT) References: <8736j61n57.fsf@gmail.com> <87o91ugdot.fsf@elephly.net> <87ftn5gjzw.fsf@elephly.net> <871ryogu6j.fsf@elephly.net> <87r26nfwes.fsf@elephly.net> <87a7dafntp.fsf@elephly.net> <878ssufajf.fsf@elephly.net> <875znyf0mr.fsf@elephly.net> <87zhl9drm6.fsf@elephly.net> <20190720110612.3f33171f@sybil.lepiller.eu> <87sgr0e7ot.fsf@elephly.net> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus In-reply-to: <87sgr0e7ot.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sun, 21 Jul 2019 13:29:10 +0200 Message-ID: <87muh7eid5.fsf@elephly.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-ZohoMailClient: External X-Zoho-Virus-Status: 1 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 (-) --=-=-= Content-Type: text/plain So, with the following change I was able to build all the way up to the latest openjdk. Should we use it despite the introduction of a memory leak in a bootstrap JVM? Can we make the patch smaller (fewer uses of glibc 2.28 or gcc-5)? What do you think? --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=java.diff diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 403c446a82..60363d60c3 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -116,6 +116,9 @@ (base32 "1qqldrp74pzpy5ly421srqn30qppmm9cvjiqdngk8hf47dv2rc0c")))) (build-system gnu-build-system) + (native-inputs + `(("libc" ,glibc-2.28) + ("gcc" ,gcc-5))) (home-page "http://jikes.sourceforge.net/") (synopsis "Compiler for the Java language") (description "Jikes is a compiler that translates Java source files as @@ -152,12 +155,20 @@ and binary format defined in The Java Virtual Machine Specification.") "--disable-gjdoc") #:phases (modify-phases %standard-phases + (add-after 'unpack 'foo + (lambda _ + (substitute* "native/jni/java-io/java_io_VMFile.c" + (("result = cpio_isFileExists.*" m) + (string-append m "\n//"))) + #t)) (add-after 'install 'install-data (lambda _ (invoke "make" "install-data")))))) (native-inputs `(("jikes" ,jikes) ("fastjar" ,fastjar) ("libltdl" ,libltdl) + ("gcc" ,gcc-5) + ("libc" ,glibc-2.28) ("pkg-config" ,pkg-config))) (home-page "https://www.gnu.org/software/classpath/") (synopsis "Essential libraries for Java") @@ -191,6 +202,9 @@ language.") `(("classpath" ,classpath-bootstrap) ("jikes" ,jikes) ("zlib" ,zlib))) + (native-inputs + `(("libc" ,glibc-2.28) + ("gcc" ,gcc-5))) (home-page "http://jamvm.sourceforge.net/") (synopsis "Small Java Virtual Machine") (description "JamVM is a Java Virtual Machine conforming to the JVM @@ -302,7 +316,9 @@ JNI.") `(("jikes" ,jikes) ("jamvm" ,jamvm-1-bootstrap) ("unzip" ,unzip) - ("zip" ,zip))) + ("zip" ,zip) + ("gcc" ,gcc-5) + ("libc" ,glibc-2.28))) (home-page "http://ant.apache.org") (synopsis "Build tool for Java") (description @@ -627,7 +643,9 @@ machine."))) ("fastjar" ,fastjar) ("jamvm" ,jamvm-1-bootstrap) ("libltdl" ,libltdl) - ("pkg-config" ,pkg-config)))))) + ("pkg-config" ,pkg-config) + ("gcc" ,gcc-5) + ("libc" ,glibc-2.28)))))) (define jamvm (package (inherit jamvm-1-bootstrap) @@ -656,7 +674,9 @@ machine."))) `(("guile" ,guile-2.2) ("ecj-bootstrap" ,ecj-bootstrap) ("jamvm" ,jamvm) - ("classpath" ,classpath-devel))))) + ("classpath" ,classpath-devel) + ("gcc" ,gcc-5) + ("libc" ,glibc-2.28))))) ;; The bootstrap JDK consisting of jamvm, classpath-devel, ;; ecj-javac-wrapper-final cannot build Icedtea 2.x directly, because it's @@ -740,6 +760,9 @@ machine."))) (with-directory-excursion "openjdk" (invoke "tar" "xvf" (assoc-ref inputs "hotspot-src")) (rename-file "hg-checkout" "hotspot")) + (substitute* "patches/freetypeversion.patch" + (("REQUIRED_FREETYPE_VERSION = 2.2.1") + "REQUIRED_FREETYPE_VERSION = 2.10.1")) (substitute* "Makefile.in" (("echo \"ERROR: No up-to-date OpenJDK zip available\"; exit -1;") "echo \"trust me\";") @@ -907,7 +930,8 @@ machine."))) ("fastjar" ,fastjar) ("fontconfig" ,fontconfig) ("freetype" ,freetype) - ("gcc" ,gcc-4.9) ; there's a segmentation fault when compiling with gcc-5 or gcc-7 + ("gcc" ,gcc-5) + ("libc" ,glibc-2.28) ("gtk" ,gtk+-2) ("gawk" ,gawk) ("giflib" ,giflib) @@ -1107,6 +1131,18 @@ bootstrapping purposes.") ((name . _) name)) inputs)))) #t))) + (add-after 'unpack 'patch-bitrot + (lambda _ + (substitute* '("patches/boot/revert-6973616.patch" + "openjdk.src/jdk/make/common/shared/Defs-versions.gmk") + (("REQUIRED_FREETYPE_VERSION = 2.2.1") + "REQUIRED_FREETYPE_VERSION = 2.10.1")) + ;; As of attr 2.4.48 this header is no longer + ;; included. It is provided by the libc instead. + (substitute* '("configure" + "openjdk.src/jdk/src/solaris/native/sun/nio/fs/LinuxNativeDispatcher.c") + (("attr/xattr.h") "sys/xattr.h")) + #t)) (add-after 'unpack 'fix-x11-extension-include-path (lambda* (#:key inputs #:allow-other-keys) (substitute* "openjdk.src/jdk/make/sun/awt/mawt.gmk" @@ -1586,6 +1622,7 @@ IcedTea build harness.") (delete 'patch-paths) (delete 'set-additional-paths) (delete 'patch-patches) + (delete 'patch-bitrot) ;; Prevent the keytool from recording the current time when ;; adding certificates at build time. (add-after 'unpack 'patch-keystore --=-=-= Content-Type: text/plain -- Ricardo --=-=-=-- From unknown Tue Jun 17 01:49:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36685: ant-bootstrap fails on core-updates (409 dependents) Resent-From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 21 Jul 2019 15:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36685 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus Cc: Guix-devel , 36685@debbugs.gnu.org, Julien Lepiller Received: via spool by 36685-submit@debbugs.gnu.org id=B36685.156372467721868 (code B ref 36685); Sun, 21 Jul 2019 15:58:01 +0000 Received: (at 36685) by debbugs.gnu.org; 21 Jul 2019 15:57:57 +0000 Received: from localhost ([127.0.0.1]:59358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpEDk-0005ge-VE for submit@debbugs.gnu.org; Sun, 21 Jul 2019 11:57:57 -0400 Received: from mail-ed1-f50.google.com ([209.85.208.50]:41131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpEDj-0005gR-4Q for 36685@debbugs.gnu.org; Sun, 21 Jul 2019 11:57:55 -0400 Received: by mail-ed1-f50.google.com with SMTP id p15so38511100eds.8 for <36685@debbugs.gnu.org>; Sun, 21 Jul 2019 08:57:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jr59cX4akK/yoL8Degi/Z/R32Jl18fXYxJDlqmS11Uk=; b=FPkSac9kCgnZx5BTcytD4L6uFXpRCUlDvIdZSmr92SB1k+o9R5Pa8Ox0bpGm5ZdAsu BDaAOHC0U2S/4k34NXRHZO0LmDR/PKfk/dQl9iO+Emtq54e1nHyfIOY2HcJrWRCdkNOL a8m6Ft3BI59+YReBF+1J/xfkTYJJ9IM+cmiGjLrFPn2gp6wTxxJjHtsPKcbUXbYce3H5 QAyOGOcN4/3KAham4AaaOyPwRE5mj95kRnGHm8JYVSM6pFd803TelsQ82+gXEvc1KoWa OeQ22ljkDZEMkTVgqG/1flJGTZh6snA3EEnsHdORzpTyaJdcr39A6gDwqHcpWKfPkWLK mTaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jr59cX4akK/yoL8Degi/Z/R32Jl18fXYxJDlqmS11Uk=; b=kiWT+EC3I8qJMBrXOWtp4npNxaIezxp7n69uymaq25kOlKV+K7SGBMVDrvh57M4KKI WPrenzDN5+w9rOeK48pj7lwluBRfp62mqYk6mDty1jlf8q3QUdbNY5sQYJw2oKL+10/A AMPpFgjEvriq5AwaiHA9w+OFgZEggZbvlkWVnv0uK+bOjzaAfHO0Ksl+MnWylIPlKPPr 2wXW2ABdobpHOvCcYv5xG7DhrVVdZUuAFdiJLs1lEiP7d3lU0w6canr4EqEgsRlLPbeh kcyOgv0zzCn8saG6enpBOhmvx4iThiGLW5jHDDpodpGxk4ZrT6dhKBg9Ppmd8FqLMOFb bNGg== X-Gm-Message-State: APjAAAX+S5ZKjEPlwLfCgWj1okxoOEPTqUGnqAAaH+a28NidkyRJcioR myZH8xDiBAdny1yKeMOkH0HoEWO8eiGGZSPzXQ== X-Google-Smtp-Source: APXvYqw8V7RLtcxGsBHwwN3bm2LrvnE/0Ueu5ubK5MQmR7LjoKBSmCcinoHxQeasJvaq5hznpNOGRzARQAmCc24AzRc= X-Received: by 2002:aa7:df8b:: with SMTP id b11mr5727532edy.6.1563724669184; Sun, 21 Jul 2019 08:57:49 -0700 (PDT) MIME-Version: 1.0 References: <8736j61n57.fsf@gmail.com> <87o91ugdot.fsf@elephly.net> <87ftn5gjzw.fsf@elephly.net> <871ryogu6j.fsf@elephly.net> <87r26nfwes.fsf@elephly.net> <87a7dafntp.fsf@elephly.net> <878ssufajf.fsf@elephly.net> <875znyf0mr.fsf@elephly.net> <87zhl9drm6.fsf@elephly.net> <20190720110612.3f33171f@sybil.lepiller.eu> <87sgr0e7ot.fsf@elephly.net> <87muh7eid5.fsf@elephly.net> In-Reply-To: <87muh7eid5.fsf@elephly.net> From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Date: Sun, 21 Jul 2019 17:57:35 +0200 Message-ID: Content-Type: multipart/alternative; boundary="0000000000006ef09d058e330502" 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 (-) --0000000000006ef09d058e330502 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Ricardo Wurmus ezt =C3=ADrta (id=C5=91pont: 2019. j=C3= =BAl. 21., Vas 13:29): > So, with the following change I was able to build all the way up to the > latest openjdk. Should we use it despite the introduction of a memory > leak in a bootstrap JVM? Can we make the patch smaller (fewer uses of > glibc 2.28 or gcc-5)? > > What do you think? > I will have a look at reducing the patch later today. I will report back tomorrow morning with the results. > > -- > Ricardo > --0000000000006ef09d058e330502 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Ricardo Wurmus <rekado@elephly.net> ezt =C3=ADrta (id=C5=91pont: 2019. j=C3= =BAl. 21., Vas 13:29):
So, with the= following change I was able to build all the way up to the
latest openjdk.=C2=A0 Should we use it despite the introduction of a memory=
leak in a bootstrap JVM?=C2=A0 Can we make the patch smaller (fewer uses of=
glibc 2.28 or gcc-5)?

What do you think?

=
I will have a look at reducing the patch later today. I w= ill report back tomorrow morning with the results.
<= br>


--
Ricardo
--0000000000006ef09d058e330502-- From unknown Tue Jun 17 01:49:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36685: ant-bootstrap fails on core-updates (409 dependents) Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 24 Jul 2019 21:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36685 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: =?UTF-8?Q?G=C3=A1bor?= Boskovits Cc: Guix-devel , 36685@debbugs.gnu.org, Julien Lepiller Received: via spool by 36685-submit@debbugs.gnu.org id=B36685.156400245324600 (code B ref 36685); Wed, 24 Jul 2019 21:08:02 +0000 Received: (at 36685) by debbugs.gnu.org; 24 Jul 2019 21:07:33 +0000 Received: from localhost ([127.0.0.1]:38123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqOU0-0006Oh-PL for submit@debbugs.gnu.org; Wed, 24 Jul 2019 17:07:33 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqOTz-0006OZ-2Z for 36685@debbugs.gnu.org; Wed, 24 Jul 2019 17:07:31 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1564002443; cv=none; d=zoho.com; s=zohoarc; b=j5QetAzFC0P2Cn6aVBGb+ROtWspp819jv+mVBunMHGQTSBEwVywRdSWBaKuAbPw16SX6hvcpa0nUfaALWcDRhrb4bH+36Lvs2a9GC3Cv29ZGH+Gv/5YtpTT09kRrlxPQEMgCZql+5amYA+GtJ5CjCiTfeRrGMHT+rMAklzAHyEA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564002443; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=itYMwFC2Qq9x5PcA8oeWNLIn3FAwXJ5znWtol4TLiyc=; b=h0GpiwB3HqwizFHgvoCHshLTqontM4U8uUMsRk4Xq1aXpM76b74o9reNh+Scg/8ziWy16nuYt9IbDN0WYYj8yumn/sYE4T6gf0IbI5pQ04LqtkcCmBkyXPWVQxR9erLUO3pj4ir9oEpQSaxGNQ3GFpuxp697zMvS2TGNfeDe2Kk= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1564002443; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=472; bh=itYMwFC2Qq9x5PcA8oeWNLIn3FAwXJ5znWtol4TLiyc=; b=Nawtd3nnki2jxgOh7CNzcmS/k9/Ji22TgVhgoOogg++dYrQTNH6S8w0WRYbuegPN bcgMdNgPlVD2K4cyQViLY/zRkUICTJKm2q6lK8H0ohIzA8Nx7lyJM4OLZZkBrgBffci jjmB/BIAItOnYeBeGga+AaxzWnzOkMQ3JLdjIeMw= Received: from localhost (p54AD48C4.dip0.t-ipconnect.de [84.173.72.196]) by mx.zohomail.com with SMTPS id 1564002441882987.2381291971552; Wed, 24 Jul 2019 14:07:21 -0700 (PDT) References: <8736j61n57.fsf@gmail.com> <87o91ugdot.fsf@elephly.net> <87ftn5gjzw.fsf@elephly.net> <871ryogu6j.fsf@elephly.net> <87r26nfwes.fsf@elephly.net> <87a7dafntp.fsf@elephly.net> <878ssufajf.fsf@elephly.net> <875znyf0mr.fsf@elephly.net> <87zhl9drm6.fsf@elephly.net> <20190720110612.3f33171f@sybil.lepiller.eu> <87sgr0e7ot.fsf@elephly.net> <87muh7eid5.fsf@elephly.net> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Wed, 24 Jul 2019 23:07:18 +0200 Message-ID: <87sgqv9m61.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External 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 (-) Hi G=C3=A1bor, >> So, with the following change I was able to build all the way up to the >> latest openjdk. Should we use it despite the introduction of a memory >> leak in a bootstrap JVM? Can we make the patch smaller (fewer uses of >> glibc 2.28 or gcc-5)? >> >> What do you think? >> > > I will have a look at reducing the patch later today. I will report back > tomorrow morning with the results. Did you have any luck with this? --=20 Ricardo From unknown Tue Jun 17 01:49:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36685: ant-bootstrap fails on core-updates (409 dependents) Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 06 Sep 2019 13:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36685 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: =?UTF-8?Q?G=C3=A1bor?= Boskovits Cc: Guix-devel , 36685@debbugs.gnu.org, Julien Lepiller Received: via spool by 36685-submit@debbugs.gnu.org id=B36685.156777722327382 (code B ref 36685); Fri, 06 Sep 2019 13:41:02 +0000 Received: (at 36685) by debbugs.gnu.org; 6 Sep 2019 13:40:23 +0000 Received: from localhost ([127.0.0.1]:36554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i6ETP-00077a-HH for submit@debbugs.gnu.org; Fri, 06 Sep 2019 09:40:23 -0400 Received: from sender4-of-o52.zoho.com ([136.143.188.52]:21203) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i6ETO-00077Q-5U for 36685@debbugs.gnu.org; Fri, 06 Sep 2019 09:40:22 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1567777212; cv=none; d=zoho.com; s=zohoarc; b=ditV6gsZqlJmhp9R8/+4tNZ9EDSVv+1P6nH9rLObluFQMzuJkU83nx/J6AclX8Nhmun+AhIY0bRC5pnsLwLhpuTZmsSHSSxhIjLCqowFzbs3P2zkvgF5AWKn1UTzWwLeBnbn8guy5ENZO8Xj/ReKc3aRgZFrt80RPZodogWe4Ww= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1567777212; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=x9XPwja38A+s9yYc58m9Mi5GgkRS0CBsp1fbjpKYGiA=; b=g6BUM6MFCGi776UAnhAO2jKM9vhoOuJaRhSEmxCDOtD1aZ0xZESmulSKyXILRXX2x0P+g8H5QrmcNz+lxv91wGF/QvcHoSSZ/aKwDCcPT+UEvLNb+x99leWlCQq0IGxGD8nr3M0/bF3CA7RQ7OACcqUuLTfVocn0i6o3iIZT/GQ= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1567777212; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=641; bh=x9XPwja38A+s9yYc58m9Mi5GgkRS0CBsp1fbjpKYGiA=; b=HQw/RUW0Wxo80ZtP80rdrDjZHv2ygpJXM/R5CBEwC8ipVdcog1lo/UHM8SCOIIVH u3o7vW8HHedS65d/lS03gxMtbg6gaPagPZB/6F0gTXdY/Fy4mvnuFD1MNQDmrEOwKPj T20D/Vbjn7BsjzBowg2eu5+N6e/KaNzL0hhv8BhI= Received: from localhost (141.80.247.250 [141.80.247.250]) by mx.zohomail.com with SMTPS id 1567777210522798.8252765322752; Fri, 6 Sep 2019 06:40:10 -0700 (PDT) References: <8736j61n57.fsf@gmail.com> <87o91ugdot.fsf@elephly.net> <87ftn5gjzw.fsf@elephly.net> <871ryogu6j.fsf@elephly.net> <87r26nfwes.fsf@elephly.net> <87a7dafntp.fsf@elephly.net> <878ssufajf.fsf@elephly.net> <875znyf0mr.fsf@elephly.net> <87zhl9drm6.fsf@elephly.net> <20190720110612.3f33171f@sybil.lepiller.eu> <87sgr0e7ot.fsf@elephly.net> <87muh7eid5.fsf@elephly.net> <87sgqv9m61.fsf@elephly.net> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus In-reply-to: <87sgqv9m61.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 06 Sep 2019 15:40:00 +0200 Message-ID: <87v9u5ee6n.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External 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 (-) Ricardo Wurmus writes: >>> So, with the following change I was able to build all the way up to the >>> latest openjdk. Should we use it despite the introduction of a memory >>> leak in a bootstrap JVM? Can we make the patch smaller (fewer uses of >>> glibc 2.28 or gcc-5)? >>> >>> What do you think? >>> >> >> I will have a look at reducing the patch later today. I will report back >> tomorrow morning with the results. > > Did you have any luck with this? We should decide soon, because core-updates is about to be merged (finally!) =E2=80=93 any objections to my earlier patch? --=20 Ricardo From unknown Tue Jun 17 01:49:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36685: ant-bootstrap fails on core-updates (409 dependents) Resent-From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 06 Sep 2019 13:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36685 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus Cc: Guix-devel , 36685@debbugs.gnu.org, Julien Lepiller Received: via spool by 36685-submit@debbugs.gnu.org id=B36685.156777731027513 (code B ref 36685); Fri, 06 Sep 2019 13:42:01 +0000 Received: (at 36685) by debbugs.gnu.org; 6 Sep 2019 13:41:50 +0000 Received: from localhost ([127.0.0.1]:36559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i6EUn-00079g-Sx for submit@debbugs.gnu.org; Fri, 06 Sep 2019 09:41:50 -0400 Received: from mail-ed1-f51.google.com ([209.85.208.51]:41295) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i6EUm-00079U-Uh for 36685@debbugs.gnu.org; Fri, 06 Sep 2019 09:41:49 -0400 Received: by mail-ed1-f51.google.com with SMTP id z9so6325398edq.8 for <36685@debbugs.gnu.org>; Fri, 06 Sep 2019 06:41:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zjEyex/O1ijjWGrvjBtto4DYWqdMudzPg6ttfVJ1NLM=; b=RGVNB2a+VOzNN8lswQI9dEAqi54DAJ1GcSjymZx/GJAwwTpsBAQg01cpbfbrWCdaKm ePOiP/Vv1vrPBTHze07CXxNglAoMbIxtwaGAV6IVM0sWmE1tPAPoDFzf+0fqT/1p4gPf eOy10kgpJshm7DeUBhpqbzWrLANDKmI2uWhHJ2H44qe2yhINAJVoO7hgxFM3BHnmEHjx dWuvtzwiCQDs31Tn2CZhOo+F0mo42YCAV9kP0i/UmfUM3dzSbCAcQpME3UXR4P0TOIvf K3j2p7C1WRtBTzU91GF+T+6JF1xUpBtM2AjErz5kKPfVVhMRW+CVv9l4IvTQAnhZ0Mqt 7ZLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zjEyex/O1ijjWGrvjBtto4DYWqdMudzPg6ttfVJ1NLM=; b=QjB+sK9UOyuRHT+BoY2qZWK2S5RjDDNRhx6b+YvOtGvbk7bTfv3S0SDbFK3JM6nHeK pLZCLxi/f5cf9w8R27XdAorubisHMwtgiOvgn9MW+7KPkvWHprt0XUMOVK5CSzLomRN+ aOOjhNzsUU1wWPBOyC+uaMJzDN0vfqcRjNWGclK/IN82Vy6bDFrCJeyHB38Ao/amIYPO tSQUqEg5YWyvovgpt2rBqCuWvZ1UBiKC54gcffPZpZmES6g70XsXwqV+0py8AdYiq0ZE 4owMqwslxx2IvIqcIiaJ4blq2YRkVy6JzqBSYBLKL26ejCsHfXisDERjUPxlY4d2CrwV 8JfQ== X-Gm-Message-State: APjAAAUsSMwhVQETMPfODq38r6yh6MXDelux34W/tLk09pAev87kFQiM cJKZ1anKl6Aln7kD6cceOefZHxz/5WXjRwFX/Q== X-Google-Smtp-Source: APXvYqw0WUvLkdT5cifD7UHG5J1waYJy2j+vh2M4hBt311J8i9lpo1oDhkjkVyx6atyh1o/b4f1MyIHkFhFj87pcetA= X-Received: by 2002:a50:8961:: with SMTP id f30mr9587795edf.144.1567777303012; Fri, 06 Sep 2019 06:41:43 -0700 (PDT) MIME-Version: 1.0 References: <8736j61n57.fsf@gmail.com> <87o91ugdot.fsf@elephly.net> <87ftn5gjzw.fsf@elephly.net> <871ryogu6j.fsf@elephly.net> <87r26nfwes.fsf@elephly.net> <87a7dafntp.fsf@elephly.net> <878ssufajf.fsf@elephly.net> <875znyf0mr.fsf@elephly.net> <87zhl9drm6.fsf@elephly.net> <20190720110612.3f33171f@sybil.lepiller.eu> <87sgr0e7ot.fsf@elephly.net> <87muh7eid5.fsf@elephly.net> <87sgqv9m61.fsf@elephly.net> <87v9u5ee6n.fsf@elephly.net> In-Reply-To: <87v9u5ee6n.fsf@elephly.net> From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Date: Fri, 6 Sep 2019 15:41:29 +0200 Message-ID: Content-Type: multipart/alternative; boundary="0000000000003baa5e0591e299ef" 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 (-) --0000000000003baa5e0591e299ef Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ricardo Wurmus ezt =C3=ADrta (id=C5=91pont: 2019. szep= t. 6., P=C3=A9n 15:40): > > Ricardo Wurmus writes: > > >>> So, with the following change I was able to build all the way up to t= he > >>> latest openjdk. Should we use it despite the introduction of a memor= y > >>> leak in a bootstrap JVM? Can we make the patch smaller (fewer uses o= f > >>> glibc 2.28 or gcc-5)? > >>> > >>> What do you think? > >>> > >> > >> I will have a look at reducing the patch later today. I will report ba= ck > >> tomorrow morning with the results. > > > > Did you have any luck with this? > > We should decide soon, because core-updates is about to be merged > (finally!) =E2=80=93 any objections to my earlier patch? > No objection from here. > > -- > Ricardo > g_bor > --0000000000003baa5e0591e299ef Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Ricardo Wurmus <rekado@elephly.net> ezt =C3=ADrta (id=C5=91pont: 2019. szept. 6.,= P=C3=A9n 15:40):

Ricardo Wurmus <rekado@elephly.net> writes:

>>> So, with the following change I was able to build all the way = up to the
>>> latest openjdk.=C2=A0 Should we use it despite the introductio= n of a memory
>>> leak in a bootstrap JVM?=C2=A0 Can we make the patch smaller (= fewer uses of
>>> glibc 2.28 or gcc-5)?
>>>
>>> What do you think?
>>>
>>
>> I will have a look at reducing the patch later today. I will repor= t back
>> tomorrow morning with the results.
>
> Did you have any luck with this?

We should decide soon, because core-updates is about to be merged
(finally!) =E2=80=93 any objections to my earlier patch?

No objection from h= ere.

--
Ricardo
g_bor
--0000000000003baa5e0591e299ef-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 06 09:52:15 2019 Received: (at control) by debbugs.gnu.org; 6 Sep 2019 13:52:15 +0000 Received: from localhost ([127.0.0.1]:36563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i6Ees-0007Of-UL for submit@debbugs.gnu.org; Fri, 06 Sep 2019 09:52:15 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:57532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i6Eeq-0007OU-UW for control@debbugs.gnu.org; Fri, 06 Sep 2019 09:52:13 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 2EBC217498 for ; Fri, 6 Sep 2019 15:52:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at 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 zdvv9yefNPLb for ; Fri, 6 Sep 2019 15:52:10 +0200 (CEST) Received: from ribbon (unknown [IPv6:2001:660:6102:320:e120:2c8f:8909:cdfe]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 4AED81748E for ; Fri, 6 Sep 2019 15:52:10 +0200 (CEST) Date: Fri, 06 Sep 2019 15:52:09 +0200 Message-Id: <874l1pcz1y.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #36685 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) 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: -0.0 (/) severity 36685 important quit From unknown Tue Jun 17 01:49:57 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Chris Marusich Subject: bug#36685: closed (Re: bug#36685: ant-bootstrap fails on core-updates (409 dependents)) Message-ID: References: <875zm4uqne.fsf@elephly.net> <8736j61n57.fsf@gmail.com> X-Gnu-PR-Message: they-closed 36685 X-Gnu-PR-Package: guix Reply-To: 36685@debbugs.gnu.org Date: Sat, 07 Sep 2019 14:29:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1567866541-8400-1" This is a multi-part message in MIME format... ------------=_1567866541-8400-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #36685: ant-bootstrap fails on core-updates (409 dependents) which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 36685@debbugs.gnu.org. --=20 36685: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D36685 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1567866541-8400-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 36685-done) by debbugs.gnu.org; 7 Sep 2019 14:28:56 +0000 Received: from localhost ([127.0.0.1]:37979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i6bhw-0002BC-0j for submit@debbugs.gnu.org; Sat, 07 Sep 2019 10:28:56 -0400 Received: from sender4-of-o52.zoho.com ([136.143.188.52]:21250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i6bhu-0002B4-IN for 36685-done@debbugs.gnu.org; Sat, 07 Sep 2019 10:28:55 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1567866524; cv=none; d=zoho.com; s=zohoarc; b=bvREu5fCHBLK+grvRzC5/sAMhDpICU1ww+CAoF3EszVwEhYaHr1VB+v/Bv/Dp8bzNaQhzvk7VwTxFOxERgbgdSzFAgMLB+bCM0zS9yCjWUBYXjl3oBHDYOGL5xNZHixbxL0ErOmGZVPh/lzYMv+zyWkucdTyNQ1hCvAELfNBuiY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1567866524; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=AwrUdn38lZ1leagtG0SkxXKOcrEPRRPF0TwhyfabLkE=; b=oWYsWmzqYPIXv1BCuKg4lR4WKVJnYhqnfTvZUwRXHrmJMroVqusQy+2Xa3pG74D6UU6SDYss8hL0ONIBfRVDTPHejG9Ima2MKyGjWBhihA4CJX7IRougN3OkVEIjPFQLiI3tuH4jcb39sC8lGCbGLeWq5QuqxoPXpeoFB8xqlDc= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1567866524; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; l=179; bh=AwrUdn38lZ1leagtG0SkxXKOcrEPRRPF0TwhyfabLkE=; b=fPgU6uh+GYSIRjOtvjhbns2AZYmTjq/+yeR0N47YgeO5aw2MsycMUZCiEIwo4+oM KWQ7ebzBlhoLhXHHMPVsUcrTbksHa1ucd/5bb/9V7CidnQPWpn3gWrLBkPib/SOG8JP 8rXeGiatv/+9YPH7KV4shk5qYPGBjdIF57D8Kstc= Received: from localhost (p54AD4D31.dip0.t-ipconnect.de [84.173.77.49]) by mx.zohomail.com with SMTPS id 1567866521640846.628379327908; Sat, 7 Sep 2019 07:28:41 -0700 (PDT) References: <8736j61n57.fsf@gmail.com> <87o91ugdot.fsf@elephly.net> <87ftn5gjzw.fsf@elephly.net> <871ryogu6j.fsf@elephly.net> <87r26nfwes.fsf@elephly.net> <87a7dafntp.fsf@elephly.net> <878ssufajf.fsf@elephly.net> <875znyf0mr.fsf@elephly.net> <87zhl9drm6.fsf@elephly.net> <20190720110612.3f33171f@sybil.lepiller.eu> <87sgr0e7ot.fsf@elephly.net> <87muh7eid5.fsf@elephly.net> <87sgqv9m61.fsf@elephly.net> <87v9u5ee6n.fsf@elephly.net> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus To: =?utf-8?Q?G=C3=A1bor?= Boskovits Subject: Re: bug#36685: ant-bootstrap fails on core-updates (409 dependents) In-reply-to: <87v9u5ee6n.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sat, 07 Sep 2019 16:28:37 +0200 Message-ID: <875zm4uqne.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36685-done Cc: Guix-devel , Julien Lepiller , 36685-done@debbugs.gnu.org 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 (-) I reduced the patch and built openjdk once more to test that it all works. I pushed the changes in a series of commits ending with 6b7e09ae6b to core-updates. -- Ricardo ------------=_1567866541-8400-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 16 Jul 2019 06:58:40 +0000 Received: from localhost ([127.0.0.1]:49554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnHQ7-0003LK-PK for submit@debbugs.gnu.org; Tue, 16 Jul 2019 02:58:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:35318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnHQ6-0003LD-70 for submit@debbugs.gnu.org; Tue, 16 Jul 2019 02:58:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38141) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnHQ5-0008Bn-0a for bug-guix@gnu.org; Tue, 16 Jul 2019 02:58:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hnHQ4-0001sv-0H for bug-guix@gnu.org; Tue, 16 Jul 2019 02:58:36 -0400 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]:45246) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hnHQ3-0001rJ-Nz for bug-guix@gnu.org; Tue, 16 Jul 2019 02:58:35 -0400 Received: by mail-pg1-x532.google.com with SMTP id o13so8924137pgp.12 for ; Mon, 15 Jul 2019 23:58:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=z+H5ulZLezF/8n0Si0Eey9tggFqn448InC0l2KhdYEM=; b=JRShDhfpvsy1O975BHzjGsfqKbRoO5VqjXAJsj934dF0aC48ry9mSMlNLqp2JcQE7p iJtZjUQemOrGDYjAHoRxvdbGS1rGMkMS95HUA8yFrlBdnCMXVhCvnPkG2r9q2YUXxdis ubtFXYSnL3YgnhXbTfFYWiFwJxNEJWCKUvxdRJbfRFpkPSx6GQVQ0ZHssK36tgd6hL3d eexVRzQljUSXlEIeApdBn+ryZHgXkBaGEWprH6YbDiSO5z54wQThHeaLUD+EC6HflFuO 68jypFLpt/mrO2BC8JiDAjrrCn8x1vD1T/DtQr4SypCS+X/Io0FS6FvBCxnZqpJFqYF8 NJBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=z+H5ulZLezF/8n0Si0Eey9tggFqn448InC0l2KhdYEM=; b=pD1fkA0Pw3MIxwfp5KH6zgYJI1LlHumE9E0yfmJYDO/LPv5I4eNIUOh82tgEkyTbci 30EfqR7V3YDIXr50AMQgk0uJM8x0xArB5rnUm0Ky8H7epA0+714ROtRsQtsm6aS9YU6j 2rLOljgA4pgmhIN9qC1HMIbY0CdYGUxyScuYTprvOW+FNptQL1qaOKv4cC3tIQXo6lgr psEnEk5rrBYDwJ2oQCG6UYE6lJjRZkPIgZRXsPnRGcNklu+RfTa+gJcodcmpHiUU8bxB wgdyGGFND2H2i8Xi5m8bv12nzS5mlYz9yw53pU6BPGF452A+cEcxa/ScdvGZ3mDgGoog exkg== X-Gm-Message-State: APjAAAWBsdnTX1Bybz+w2GwbZzwRXpQBwFMyaQZrfcPQ5b045hEusklo IYQlsrSSdhKeyujViHcCQQaldLUR X-Google-Smtp-Source: APXvYqwpokYxyLBjOqGONJ3YQTPWq+nuwj0rQZWqyVEk2PVCPhq9g2HF9KbGvZHR2dSE6t0gviTh2g== X-Received: by 2002:a63:fe15:: with SMTP id p21mr31960144pgh.149.1563260314047; Mon, 15 Jul 2019 23:58:34 -0700 (PDT) Received: from garuda.local ([2601:601:9d80:25b2::d12]) by smtp.gmail.com with ESMTPSA id i124sm37453180pfe.61.2019.07.15.23.58.32 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Jul 2019 23:58:33 -0700 (PDT) From: Chris Marusich To: bug-guix@gnu.org Subject: ant-bootstrap fails on core-updates (409 dependents) Date: Mon, 15 Jul 2019 23:58:28 -0700 Message-ID: <8736j61n57.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::532 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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.3 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, At commit 464a29d3d74e7d2f27042db6ab166bfdbe1f992e ('git branch --all =2D-contains 464a29d3d74e7d2f27042db6ab166bfdbe1f992e' tells me that only core-updates has this commit at this time), the following error occurs when trying to build ant-bootstrap, which causes the 409 dependent packages to fail, also: =2D-8<---------------cut here---------------start------------->8--- $ guix build -e '(@@ (gnu packages java) ant-bootstrap)' ... Issued 1 semantic warning compiling "src/main/org/apache/tools/ant/filters/= FixCrLfFilter.java": <--------- 665. case '\r': . . . 684. } --------------------> *** Semantic Warning: This switch block can fall through to the next case. = Did you forget a break statement? Issued 1 semantic warning compiling "src/main/org/apache/tools/ant/taskdefs= /Zip.java": 1555. Vector resources =3D new Vector(); ^-------^ *** Semantic Warning: Local "resources" shadows a field of the same name in= "org.apache.tools.ant.taskdefs.Zip". Issued 1 semantic warning compiling "src/main/org/apache/tools/ant/taskdefs= /Get.java": 633. URLConnection connection =3D aSource.openConnection(); ^--------^ *** Semantic Warning: Local "connection" shadows a field of the same name i= n "org.apache.tools.ant.taskdefs.Get$GetThread". Issued 1 semantic warning compiling "src/main/org/apache/tools/ant/taskdefs= /rmic/XNewRmic.java": 34. public static final String COMPILER_NAME =3D "xnew"; ^-----------^ *** Semantic Warning: Field "COMPILER_NAME" shadows a field of the same nam= e in "org.apache.tools.ant.taskdefs.rmic.ForkingSunRmic". ... Copying Required Files ... Building Ant Distribution Buildfile: /tmp/guix-build-ant-bootstrap-1.8.4.drv-0/apache-ant-1.8.4/build= .xml BUILD FAILED Could not load the version information. Total time: 0 seconds ... Failed Building Ant Distribution ! command "bash" "bootstrap.sh" "-Ddist.dir=3D/gnu/store/jd6jm79d0r5g59d0l2l3= w445adykp5p9-ant-bootstrap-1.8.4" failed with status 1 builder for `/gnu/store/76apf0hpcdabpjy0839nhkwgfrz3m8z5-ant-bootstrap-1.8.= 4.drv' failed with exit code 1 build of /gnu/store/76apf0hpcdabpjy0839nhkwgfrz3m8z5-ant-bootstrap-1.8.4.dr= v failed View build log at '/var/log/guix/drvs/76/apf0hpcdabpjy0839nhkwgfrz3m8z5-ant= -bootstrap-1.8.4.drv.bz2'. guix build: error: build of `/gnu/store/76apf0hpcdabpjy0839nhkwgfrz3m8z5-an= t-bootstrap-1.8.4.drv' failed =2D-8<---------------cut here---------------end--------------->8--- It fails quite quickly, so you can easily get a copy failing locally if you want to test it out. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAl0tdZQACgkQ3UCaFdgi Rp1evA/9HUEfqG+JKJX3aPcVe3cBEuMsISgo2t7uLWUmReVsw9iBUDnN0gu/1Bqj jgKKuwM6uTD9cA739j5lrJO5C9IXxDrMsy7AUH7KrIdPqxr8lDp7ECFxf1D0SuJr io6BkHQXXgj+rYehe7hDJ7oiFivZdGRTznuubw9FN9+C4CrFGpXRzL+sum1TCi6U fOilZf6TKgYVGUtIALcFYsmQmnk7UyfQyhQVu9b3rNXyg7bCc9HwwiaFVZBLAMIa bHhADgP5AKIDNqjbMoV/aYFopb2BDl34wahVlOaiRS5+u/K0VtZqXsfM5vxhwIWI ez63xzhkbf/QDqQ2JVGXSZQTAYbTsOBR3bTIJcbYktSAsJeBR1aqo3dOvl4ac0rE vbjLgzIV35fYd4rfBrHCCNzQct6liKsnUTlJJFnh84i6otSESLUEYiwHxOz23reo 2IAUM3StWO3kLPVHfGnP17cbJS//DOpEZ6U4CxMl215hgvdtk/gEwnYcrLq960WS Kyb/q3UhLW0+itGV4/I9sE0lZV0ox7/ST42u+RbrKFkwjnSlOG4sV3Y1gPnnei1b YlY4KuWXKFpc3vZBjfQEyHGJd6a3zBh862x2RcrOvDaSH711hcg/WVT7AOxtVCSf Cq0Mnsv82vyAW3NIWKsJveGoTXIc5jZ9/fW46bGEc4bgez4iN98= =eiFS -----END PGP SIGNATURE----- --=-=-=-- ------------=_1567866541-8400-1--