[Build-common-hackers] Bug#624663: cdbs: scons-vars.mk : "unfit" use of --directory=$(DEB_BUILDDIR)

Jeremy Lal kapouer at melix.org
Sat Apr 30 11:49:00 UTC 2011


Package: cdbs
Version: 0.4.93
Severity: minor

Hi,
I understand setting DEB_BUILDDIR indicates
one wants built files to go in that directory.
However, scons --directory option does not do this :
  "This option  is  nearly equivalent  to  -f  directory/SConstruct,
  except  that  it will search for SConstruct, Sconstruct, or sconstruct in
  the  specified directory."

So the proper variable for --directory should be instead DEB_SRCDIR, since
this is where one expects the SConstruct file to be.

A way to tell scons to put built files in a given directory is with
the "variant_dir" option, for which i'll propose a patch later.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-rc4-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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

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

Versions of packages cdbs suggests:
ii  devscripts                    2.10.72    scripts to make the life of a Debi

-- no debconf information






More information about the Build-common-hackers mailing list