Subject: bug#36685: closed (Re: bug#36685: ant-bootstrap fails on core-updates (409 dependents))

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 07 Sep 2019 14:29:01 +0000

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 [email-masked].

-- 
36685: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36685
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#36685: ant-bootstrap fails on core-updates (409 dependents)
From: Ricardo Wurmus <[email-masked]>
To: Gábor Boskovits <[email-masked]>
Cc: Guix-devel <[email-masked]>, Julien Lepiller <[email-masked]>, [email-masked]
Date: Sat, 07 Sep 2019 16:28:37 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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

Subject: ant-bootstrap fails on core-updates (409 dependents)
From: Chris Marusich <[email-masked]>
To: [email-masked]
Date: Mon, 15 Jul 2019 23:58:28 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

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 = 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 = 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 = "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=/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 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-ant-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.

-- 
Chris