[Debian-med-packaging] Bug#833515: alter-sequence-alignment: FTBFS: failed to create task or type foreach

Markus Koschany apo at debian.org
Sun Aug 7 09:56:47 UTC 2016


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





-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20160807/484e14d4/attachment.sig>


More information about the Debian-med-packaging mailing list