[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#833515: alter-sequence-alignment: FTBFS: failed to create task or type foreach



On 05.08.2016 16:14, Andreas Tille wrote:
> Hi Java team,
> 
> since I do not have the slightest idea why the package which has built
> once does not build any more I'd like to forward this bug to ask for
> your kind help.

Hello,

here is how I investigated the build failure:

* Search for "failed to create task or type foreach. Cause: The name is
undefined."

*
https://stackoverflow.com/questions/2608935/troubleshooting-failed-to-create-task-or-type-foreach-when-using-foreach

* Is ant-contrib listed in Build-Depends: yes

* Are the patches correct? yes/maybe

* Check ant-contrib:
  https://packages.debian.org/sid/all/ant-contrib/filelist

Apparently there is no jar in /usr/share/ant/lib/ant-contrib.jar anymore.

Was the package updated recently? yes

Bug was possibly introduced by

https://anonscm.debian.org/cgit/pkg-java/ant-contrib.git/commit/?id=34cc27388e0335635142cb9753e92bfd8558072d

Solution:

for ant-contrib: Install the jar to usr/share/ant/lib/ant-contrib.jar again.

for alter-sequence-alignment:

Update use_debian_packaged_jar.patch and change the path for
ant-contrib.jar to /usr/share/java/ant-contrib.jar

Emmanuel will probably chime in here. I suggest to wait until then.

Regards,

Markus





Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: