[Build-common-hackers] Bug#863484: dpkg-buildpackage: build error for some package when whitespace in the working directory path

Guillem Jover guillem at debian.org
Sun May 28 01:08:06 UTC 2017


Control: reassign -1 cdbs

Hi!

[ Leaving most of the report intact for the cdbs maintainers. ]

On Sat, 2017-05-27 at 17:56:00 +0200, Quentin C. wrote:
> Package: dpkg-dev
> Version: 1.18.24
> Severity: normal
> 
> Dear Maintainer,
> 
>    * What led up to the situation?
> 
> Whitespace in the working directory path
> 
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> 
> $ mkdir "/tmp/a path with whitespace/"
> $ cd "/tmp/a path with whitespace"
> $ apt-get source grep
> $ cd grep-2.27
> $ dpkg-buildpackage -us -uc
> 
>    * What was the outcome of this action?
> 
> ...
>  debian/rules build
> test -x debian/rules
> mkdir -p "."
> set -e;   mv ./build-aux/config.guess
> ./build-aux/config.guess.cdbs-orig; cp --remove-destination
> /usr/share/misc/config.guess ./build-aux/config.guess;
> set -e;   mv ./build-aux/config.sub ./build-aux/config.sub.cdbs-orig; cp
> --remove-destination /usr/share/misc/config.sub ./build-aux/config.sub;
> dh_autoreconf 
>         find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path
>         '*/.hg/*' -o -path '*/.bzr/*' -o -path '*/.svn/*' -o -path
>         '*/CVS/*' \) -a  -type f -exec md5sum {} + >
>         debian/autoreconf.before
>         autoreconf -f -i
>         find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path
>         '*/.hg/*' -o -path '*/.bzr/*' -o -path '*/.svn/*' -o -path
>         '*/CVS/*' \) -a  -type f -exec md5sum {} + >
>         debian/autoreconf.after
> touch debian/stamp-autotools-files
> chmod a+x /tmp/a path with whitespace/grep-2.27/./configure
> chmod: impossible d'accéder à 'path': Aucun fichier ou dossier de ce
> type
> chmod: impossible d'accéder à 'with': Aucun fichier ou dossier de ce
> type
> chmod: impossible d'accéder à 'whitespace/grep-2.27/./configure': Aucun
> fichier ou dossier de ce type
> /usr/share/cdbs/1/class/autotools.mk:44 : la recette pour la cible
> « debian/stamp-autotools » a échouée
> make: *** [debian/stamp-autotools] Erreur 1
> dpkg-buildpackage: erreur: debian/rules build a produit une erreur de
> sortie de type 2
> $         

This seems to be a problem in cdbs, as per the above error message.
Thus reassigning.

> Try with some other package:
>   xpdf is working
>   python3 is working
>   gzip is working
>   lzo2 is not working
> 
> 
> --
> Quentin C.
> 
> 
> -- System Information:
> Debian Release: 9.0
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: amd64
>  (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 4.9.0-2-amd64 (SMP w/8 CPU cores)
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: sysvinit (via /sbin/init)
> 
> Versions of packages dpkg-dev depends on:
> ii  binutils      2.28-5
> ii  bzip2         1.0.6-8.1
> ii  libdpkg-perl  1.18.24
> ii  make          4.1-9.1
> ii  patch         2.7.5-1+b2
> pn  perl:any      <none>
> ii  tar           1.29b-1.1
> ii  xz-utils      5.2.2-1.2+b1
> 
> Versions of packages dpkg-dev recommends:
> ii  build-essential          12.3
> ii  clang-3.5 [c-compiler]   1:3.5.2-3~bpo8+2
> ii  clang-3.8 [c-compiler]   1:3.8.1-23
> ii  clang-3.9 [c-compiler]   1:3.9.1-8
> ii  fakeroot                 1.21-3.1
> ii  gcc [c-compiler]         4:6.3.0-4
> ii  gcc-4.6 [c-compiler]     4.6.3-14
> ii  gcc-4.8 [c-compiler]     4.8.4-1
> ii  gcc-4.9 [c-compiler]     4.9.2-10
> ii  gcc-6 [c-compiler]       6.3.0-16
> ii  gnupg                    2.1.18-6
> ii  gnupg2                   2.1.18-6
> ii  gpgv                     2.1.18-6
> ii  libalgorithm-merge-perl  0.08-3
> 
> Versions of packages dpkg-dev suggests:
> ii  debian-keyring  2017.01.20
> 
> -- no debconf information



More information about the Build-common-hackers mailing list