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

Bug#506602: marked as done (cdbs: Setting ANT_ARGS_<package> does not work.)



Your message dated Sat, 20 Sep 2025 20:34:03 +0000
with message-id <E1v04HT-005MWU-0a@fasolo.debian.org>
and subject line Bug#506602: fixed in cdbs 0.4.178
has caused the Debian Bug report #506602,
regarding cdbs: Setting ANT_ARGS_<package> does not work.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
506602: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506602
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cdbs
Version: 0.4.52
Severity: normal

Hallo,

I have a rules file that includes class/ant.mk and I want to pass the
binary package name to the ant script. I have defined the settings as
defined in the file ant-vars.mk at line 76.
	ANT_ARGS_abc = -Dpackage.binary=abc
	ANT_ARGS_def = -Dpackage.binary=def

These settings are never working. Ant is called with the following
substitution:
	$(ANT_ARGS_$(cdbs_curpkg))
And cdbs_curpkg is defined by:
	cdbs_curpkg = $(filter-out %/,$(subst /,/ ,$@))
This substitution works with targets like:
	build/abc::
or
	install/abc::
But ant is called for targets like:
	debian/stamp-ant-build:
and
	common-install-impl::
and
	debian/stamp-ant-check:

The substitution only works in case the last path-part of the target is
the name of the package. It works in debhelper.mk but its not correctly
implemented in ant.mk.

Regards,
Vincent Smeets


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cdbs depends on:
ii  debhelper                     7.0.15     helper programs for debian/rules

Versions of packages cdbs recommends:
ii  autotools-dev                 20080123.1 Update infrastructure for config.{

Versions of packages cdbs suggests:
ii  devscripts                    2.10.35    scripts to make the life of a Debi
ii  doc-base                      0.8.16     utilities to manage online documen

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: cdbs
Source-Version: 0.4.178
Done: Alexandre Detiste <tchet@debian.org>

We believe that the bug you reported is fixed in the latest version of
cdbs, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 506602@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated cdbs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 20 Sep 2025 21:50:17 +0200
Source: cdbs
Architecture: source
Version: 0.4.178
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 420287 506602 757386
Changes:
 cdbs (0.4.178) unstable; urgency=medium
 .
   * QA upload.
   * Drop unused ant.mk (java) (LP: #408363)
     (Closes:  #420287, #506602, #757386)
   * Drop build-depencies "lzma" & "sharutils"
   * Remove unused scour integration
Checksums-Sha1:
 2be0e3538a52c1bc443be78a95c27d06231b7ead 1536 cdbs_0.4.178.dsc
 e2c1a081dbbc3e2e552a6e6518ed8374a7d642e6 174424 cdbs_0.4.178.tar.xz
 1b3dd5cf5f9d7ce5eada5cfc349c680fb071273e 5912 cdbs_0.4.178_source.buildinfo
Checksums-Sha256:
 4ceb6fdfd1bf359b5befd6f0abe84111e9413d77c83d27791dbfe1880671bec1 1536 cdbs_0.4.178.dsc
 40bededc3968c697dbe8ee48442adf9b85dc8c6370163ad84200e466a48f8104 174424 cdbs_0.4.178.tar.xz
 13983854c6b176e5fb94be8b14657240c726e8be9bb9f9a2b319ff72488fa53e 5912 cdbs_0.4.178_source.buildinfo
Files:
 9d889c9d09b09138626917f3a62f065a 1536 devel optional cdbs_0.4.178.dsc
 c4a4e9c65eb65523997b6076830002ac 174424 devel optional cdbs_0.4.178.tar.xz
 6fbeff8011a9aa8bbcb4d8de8fa05899 5912 devel optional cdbs_0.4.178_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmjPBtsRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBrNxg/+Lo0Fn6zl3oLZDRPWk9HlZvTgYRhH7c97
MJP8Rro/iL+xzXsTAMYirTkuWhk7CrNf60M2KPg2zsDY/hvvCXv3iP9ztvKIT2z/
KSe2Wl+QpzKq+3ObfqVaRKs5kizCALRH6Uep8BcnVkduNK7LgC8qUULg3Ubjvqeo
SfAIRwFuOFA1orxde29+bpbppVMdgq89EeRe/hDHCWN+5yyBUlbqoOqJGg7DlqLv
yCyyCjdh3kNT2pv1hunbTo5Bn3B7zhlqIvXxIkyMkoUGRVNAozR5a4zBc0/WcTkY
dG6VNbHfP0t0Bdxt8SOAI6exDGcrRIA52i9L7Dzmq2+y0KcKhl/U7mv4WEzOTRDG
D5c4uFJt7hiY+7GJmR+8MOqHrJGNNUlAqzSkvQaITYegeZPwxcOtmwgojtfytrv7
jAPNCP5qd13pkX4BG+TS9sVe0f7HHA54bfxAqnZIL/bb39vzEK1CRC5M26EADTut
J2D/4ucJtR4YhUueJEvEtYKqIR2fVfn2tSiYiTCe0oMHu/BW+Q7RY6Huwn4/mEEW
lexdmFoQDi7RhHD3RUaoRdO2pBU3biWSl3LIzk29bjNrapdRRxVnElwGElqoAAbx
IqKVzLWLXQdsfBtPhUpRWNlSReEIeu4+fqxq0vUNKJKv/vrvxfF4t+Dy7jj9C8DG
T8E79IfYmTk=
=stZB
-----END PGP SIGNATURE-----

Attachment: pgpzCBrMtIG1W.pgp
Description: PGP signature


--- End Message ---

Reply to: