[Build-common-hackers] Bug#262733: cdbs: debian/stamp-ant-build is called in arch and indep build target

Jan Schulz Jan Schulz <debian@katzien.de>, 262733@bugs.debian.org
Sun, 01 Aug 2004 21:04:58 +0200


Package: cdbs
Version: 0.4.21-0.1
Severity: important

The call to ant in clas/ant.mk is like this:
common-build-arch common-build-indep:: debian/stamp-ant-build ant-sanity-check

My package (eclipse) has both native and java parts and so is split into
Arch: all and arch: any packages. The Arch: all packages do not need to be
build on different architectures, so this implementations adds a complete
compile of eclipse (on my system about 30 min) to a native compile of about
one minute.

It also seems that I can't add dependencies to this task, so that native
parts are first compiled and the ant call comes *after* that. A hook for
such situtations would be much welcomed!

Nice greetings, Jan

-- System Information:
Debian Release: 3.1
  APT prefers experimental
  APT policy: (990, 'experimental'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-1-k7
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

-- no debconf information