Package: devscripts
Version: 2.10.64
Severity: important

Csound's debian/control has a build-depends with contidionals depending
on architecture. These are copied verbatim to the dummy package's
debian/control, thus dpkg-gencontrol chokes because conditional archs
are not supported in binary packages:

fel...@pcfelipe:csound-5.12.1~dfsg% mk-build-deps   
dh_testdir
dh_testroot
dh_clean -k
dh_clean: Compatibility levels before 5 are deprecated.
dh_testdir
dh_testroot
dh_install
dh_install: Compatibility levels before 5 are deprecated.
dh_installdocs
dh_installdocs: Compatibility levels before 5 are deprecated.
dh_installchangelogs
dh_installchangelogs: Compatibility levels before 5 are deprecated.
dh_compress
dh_compress: Compatibility levels before 5 are deprecated.
dh_fixperms
dh_fixperms: Compatibility levels before 5 are deprecated.
dh_installdeb
dh_installdeb: Compatibility levels before 5 are deprecated.
dh_gencontrol
dh_gencontrol: Compatibility levels before 5 are deprecated.
dpkg-gencontrol: error: the Depends field contains an arch-specific
dependency but the package is architecture all
dh_gencontrol: dpkg-gencontrol -ldebian/changelog
-Tdebian/csound-build-deps.substvars -Pdebian/csound-build-deps returned
exit code 255
make: *** [binary-arch] Error 9
Error in the build process: exit status 2
cannot remove path when cwd is
/home/felipe/src/deb/csound/git/csound/csound-5.12.1~dfsg/equivs.ZI6g9G
for
/home/felipe/src/deb/csound/git/csound/csound-5.12.1~dfsg/equivs.ZI6g9G:
at /usr/share/perl/5.10/File/Temp.pm line 902


mk-build-deps should parse the archs and insert only the appropiate
ones. 

The Dpkg perl module has code that does this (see the patch in #482361).

-- Package-specific info:

--- /etc/devscripts.conf ---

--- ~/.devscripts ---
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-i -ICVS -I.svn"
DEBUILD_PRESERVE_ENVVARS="DISPLAY"
DEBUILD_LINTIAN=yes
DEBUILD_LINTIAN_OPTS=-i
DEBCHANGE_RELEASE_HEURISTIC=changelog
DEBCHANGE_MULTIMAINT_MERGE=yes

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

Kernel: Linux 2.6.32-3-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/dash

Versions of packages devscripts depends on:
ii  dpkg-dev                      1.15.7.1   Debian package development tools
ii  libc6                         2.10.2-7   Embedded GNU C Library: Shared lib
ii  perl                          5.10.1-12  Larry Wall's Practical Extraction 

Versions of packages devscripts recommends:
ii  at                3.1.12-1               Delayed job execution and batch pr
ii  bsd-mailx [mailx] 8.1.2-0.20100314cvs-1  simple mail user agent
ii  bzr               2.1.1-1                easy to use distributed version co
ii  curl              7.20.1-2               Get a file from an HTTP, HTTPS or 
ii  cvs               1:1.12.13-12           Concurrent Versions System
ii  dctrl-tools       2.14                   Command-line tools to process Debi
ii  debian-keyring [d 2010.03.31             GnuPG (and obsolete PGP) keys of D
ii  dput              0.9.5.1                Debian package upload tool
ii  dupload           2.6.6                  utility to upload Debian packages
ii  epiphany-browser  2.30.2-1               Intuitive GNOME web browser
ii  equivs            2.0.8                  Circumvent Debian package dependen
ii  fakeroot          1.14.4-1               Gives a fake root environment
ii  git [git-core]    1:1.7.1-1              fast, scalable, distributed revisi
ii  git-core          1:1.7.1-1              fast, scalable, distributed revisi
ii  gnupg             1.4.10-3               GNU privacy guard - a free PGP rep
ii  iceweasel [www-br 3.5.9-3                Web browser based on Firefox
ii  konqueror [www-br 4:4.4.3-1              KDE 4's advanced file manager, web
ii  libauthen-sasl-pe 2.14-1                 Authen::SASL - SASL Authentication
ii  libcrypt-ssleay-p 0.57-2                 Support for https protocol in LWP
ii  libjson-perl      2.21-1                 Perl module to parse and convert t
ii  libparse-debcontr 2.005-2                Easy OO parsing of Debian control-
ii  libsoap-lite-perl 0.711-1                Perl implementation of a SOAP clie
ii  libterm-size-perl 0.2-4+b1               Perl extension for retrieving term
ii  libtimedate-perl  1.2000-1               collection of modules to manipulat
ii  liburi-perl       1.54-1                 module to manipulate and access UR
ii  libwww-perl       5.834-1                Perl HTTP/WWW client/server librar
ii  libyaml-syck-perl 1.07-1                 fast, lightweight YAML loader and 
ii  lintian           2.4.1                  Debian package checker
ii  lsb-release       3.2-23.1               Linux Standard Base version report
ii  lynx-cur [www-bro 2.8.8dev.3-3           Text-mode WWW Browser with NLS sup
ii  lzma              4.43-14                Compression method of 7z format in
ii  man-db            2.5.7-3                on-line manual pager
ii  mercurial         1.5.1-2                scalable distributed version contr
ii  openssh-client [s 1:5.5p1-3              secure shell (SSH) client, for sec
ii  patch             2.6-2                  Apply a diff file to an original
ii  patchutils        0.3.1-2                Utilities to work with patches
ii  sensible-utils    0.0.4                  Utilities for sensible alternative
ii  strace            4.5.20-2               A system call tracer
ii  subversion        1.6.11dfsg-1           Advanced version control system
ii  unzip             6.0-4                  De-archiver for .zip files
ii  w3m [www-browser] 0.5.2-4                WWW browsable pager with excellent
ii  wdiff             0.6.1-1                Compares two files word by word
ii  wget              1.12-2                 retrieves files from the web
ii  xz-utils          4.999.9beta+20100307-1 XZ-format compression utilities

Versions of packages devscripts suggests:
ii  build-essential               11.5       Informational list of build-essent
pn  cvs-buildpackage              <none>     (no description available)
pn  devscripts-el                 <none>     (no description available)
ii  gnuplot                       4.4.0-1    A command-line driven interactive 
pn  libfile-desktopentry-perl     <none>     (no description available)
ii  libnet-smtp-ssl-perl          1.01-2     SSL support for Net::SMTP
ii  mutt                          1.5.20-7   text-based mailreader supporting M
pn  svn-buildpackage              <none>     (no description available)
ii  w3m                           0.5.2-4    WWW browsable pager with excellent

-- no debconf information




-- 
To unsubscribe, send mail to [email protected].

Reply via email to