[Build-common-hackers] Bug#225872: marked as done (linux-kernel-headers: build and clean give truckload of "[: =: unary operator expected" errors)

Debian Bug Tracking System owner@bugs.debian.org
Fri, 09 Jan 2004 01:03:13 -0600


Your message dated Fri, 09 Jan 2004 00:47:08 -0500
with message-id <E1AepUC-0000fK-00@auric.debian.org>
and subject line Bug#225872: fixed in cdbs 0.4.15
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Jan 2004 08:58:25 +0000
>From mh+debian-bugs@zugschlus.de Fri Jan 02 02:58:23 2004
Return-path: <mh+debian-bugs@zugschlus.de>
Received: from mail.ilk.de [194.121.104.8] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AcKdp-0000Xx-00; Fri, 02 Jan 2004 02:26:45 -0600
Received: from fw1 (fw1.ilk.de [212.86.193.6])
          by mail.ilk.de  with SMTP id i028Qhol017669;
          Fri, 2 Jan 2004 09:26:43 +0100
Message-Id: <200401020826.i028Qfj2017690@bonzo.intern.ilk.de>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Marc Haber <mh+debian-bugs@zugschlus.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: linux-kernel-headers: build and clean give truckload of "[: =: unary  operator expected" errors
X-Mailer: reportbug 2.37
Date: Fri, 02 Jan 2004 08:26:28 +0000
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_29 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_29
X-Spam-Level: 

Package: linux-kernel-headers
Version: 2.5.999-test7-bk-11
Severity: normal

Hi,

the attached typescript shows examples where debian/rules clean and
build show some errors in the patch scripts, complaining about wrong
use of test operators.

I don't know about cdbs to debug any further. This is caused by the
almost complete absence of cdbs documentation (see #220756).

Greetings
Marc

Script started on Fri Jan  2 08:21:41 2004
$ fakeroot debian/rules clean
test -x debian/rules
test "`id -u`" = 0
if test -n "" && test "" != "."; then rmdir ""; fi
if test "." != "."; then rmdir .; fi
dh_clean
patches: debian/patches/alpha-asm-param.patch debian/patches/arm-query-module.patch debian/patches/asm-i386-byteorder-u64.patch debian/patches/asm-system-and-padding.patch debian/patches/byteorder-const.patch debian/patches/byteorder.patch debian/patches/ia64-modutils.patch debian/patches/ia64-pal.patch debian/patches/ia64-pt-unwind-warning.patch debian/patches/ioctl-signedness.patch debian/patches/linux-fb-compilefix.patch debian/patches/linux-list-quiet-warning.patch debian/patches/linux-netlink-compilation.patch debian/patches/linux-pci.patch debian/patches/linux-radix-tree.patch debian/patches/linux-types-and-time.patch debian/patches/linux-types-long-long.patch debian/patches/linux-types-ustat.patch debian/patches/linux-unistd-errno.patch debian/patches/mips-ansi-fixes.patch debian/patches/msdos-fs.patch debian/patches/msqid64_ds-inconsistency.patch debian/patches/no-linux-compiler-h.patch debian/patches/videodev2-timeval.patch
Not reversing not applied patches.
if [ "reverse-patches" = "debian/stamp-patched" ]; then touch debian/stamp-patched; fi
rm -f debian/stamp-patch*
rm -f debian/patches/*.log
/usr/bin/make -C testsuite clean
make[1]: Entering directory `/home/mh/linux-kernel-headers/linux-kernel-headers-2.5.999-test7-bk/testsuite'
rm -f attribute-used.o cdrom.o dev-t.o fs.o msdos-fs.o netlink.o pci.o videodev-time.o videodev.o 295-attribute-used.o 295-cdrom.o 295-dev-t.o 295-fs.o 295-msdos-fs.o 295-netlink.o 295-pci.o 295-videodev-time.o 295-videodev.o ansi-attribute-used.o ansi-dev-t.o ansi-fs.o ansi-msdos-fs.o ansi-netlink.o ansi-pci.o cc-attribute-used.o cc-cdrom.o cc-dev-t.o cc-fs.o cc-msdos-fs.o cc-pci.o cc-videodev-time.o cc-videodev.o cc-ansi-attribute-used.o cc-ansi-cdrom.o cc-ansi-dev-t.o cc-ansi-fs.o cc-ansi-msdos-fs.o cc-ansi-pci.o
make[1]: Leaving directory `/home/mh/linux-kernel-headers/linux-kernel-headers-2.5.999-test7-bk/testsuite'
rm -f stamp-lkh-install
$ fakeroot debian/rules build
test -x debian/rules
if [ -n "" ]; then \
  mkdir -p ""; \
fi
if [ ! -d "." ]; then \
  mkdir -p "."; \
fi
if [ -z "" ]; then \
  if ! test -f debian/compat; then echo 4 > debian/compat; fi; \
fi
patches: debian/patches/alpha-asm-param.patch debian/patches/arm-query-module.patch debian/patches/asm-i386-byteorder-u64.patch debian/patches/asm-system-and-padding.patch debian/patches/byteorder-const.patch debian/patches/byteorder.patch debian/patches/ia64-modutils.patch debian/patches/ia64-pal.patch debian/patches/ia64-pt-unwind-warning.patch debian/patches/ioctl-signedness.patch debian/patches/linux-fb-compilefix.patch debian/patches/linux-list-quiet-warning.patch debian/patches/linux-netlink-compilation.patch debian/patches/linux-pci.patch debian/patches/linux-radix-tree.patch debian/patches/linux-types-and-time.patch debian/patches/linux-types-long-long.patch debian/patches/linux-types-ustat.patch debian/patches/linux-unistd-errno.patch debian/patches/mips-ansi-fixes.patch debian/patches/msdos-fs.patch debian/patches/msqid64_ds-inconsistency.patch debian/patches/no-linux-compiler-h.patch debian/patches/videodev2-timeval.patch
Trying patch debian/patches/alpha-asm-param.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/arm-query-module.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/asm-i386-byteorder-u64.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/asm-system-and-padding.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/byteorder-const.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/byteorder.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/ia64-modutils.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/ia64-pal.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/ia64-pt-unwind-warning.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
1.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/ioctl-signedness.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/linux-fb-compilefix.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
1.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/linux-list-quiet-warning.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/linux-netlink-compilation.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/linux-pci.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/linux-radix-tree.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/linux-types-and-time.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/linux-types-long-long.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/linux-types-ustat.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
1.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/linux-unistd-errno.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/mips-ansi-fixes.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/msdos-fs.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/msqid64_ds-inconsistency.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
1.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/no-linux-compiler-h.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying patch debian/patches/videodev2-timeval.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
if [ "debian/stamp-patched" = "debian/stamp-patched" ]; then touch debian/stamp-patched; fi
$ fakeroot debian/rules clean
test -x debian/rules
test "`id -u`" = 0
if test -n "" && test "" != "."; then rmdir ""; fi
if test "." != "."; then rmdir .; fi
dh_clean
patches: debian/patches/alpha-asm-param.patch debian/patches/arm-query-module.patch debian/patches/asm-i386-byteorder-u64.patch debian/patches/asm-system-and-padding.patch debian/patches/byteorder-const.patch debian/patches/byteorder.patch debian/patches/ia64-modutils.patch debian/patches/ia64-pal.patch debian/patches/ia64-pt-unwind-warning.patch debian/patches/ioctl-signedness.patch debian/patches/linux-fb-compilefix.patch debian/patches/linux-list-quiet-warning.patch debian/patches/linux-netlink-compilation.patch debian/patches/linux-pci.patch debian/patches/linux-radix-tree.patch debian/patches/linux-types-and-time.patch debian/patches/linux-types-long-long.patch debian/patches/linux-types-ustat.patch debian/patches/linux-unistd-errno.patch debian/patches/mips-ansi-fixes.patch debian/patches/msdos-fs.patch debian/patches/msqid64_ds-inconsistency.patch debian/patches/no-linux-compiler-h.patch debian/patches/videodev2-timeval.patch
Trying reversed patch debian/patches/videodev2-timeval.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/no-linux-compiler-h.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/msqid64_ds-inconsistency.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
1.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/msdos-fs.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/mips-ansi-fixes.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/linux-unistd-errno.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/linux-types-ustat.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
1.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/linux-types-long-long.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/linux-types-and-time.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/linux-radix-tree.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/linux-pci.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/linux-netlink-compilation.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/linux-list-quiet-warning.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/linux-fb-compilefix.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
1.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/ioctl-signedness.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/ia64-pt-unwind-warning.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
1.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/ia64-pal.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/ia64-modutils.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/byteorder.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/byteorder-const.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/asm-system-and-padding.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/asm-i386-byteorder-u64.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/arm-query-module.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
Trying reversed patch debian/patches/alpha-asm-param.patch at level 0.../bin/sh: line 1: [: =: unary operator expected
success.
if [ "reverse-patches" = "debian/stamp-patched" ]; then touch debian/stamp-patched; fi
rm -f debian/stamp-patch*
rm -f debian/patches/*.log
/usr/bin/make -C testsuite clean
make[1]: Entering directory `/home/mh/linux-kernel-headers/linux-kernel-headers-2.5.999-test7-bk/testsuite'
rm -f attribute-used.o cdrom.o dev-t.o fs.o msdos-fs.o netlink.o pci.o videodev-time.o videodev.o 295-attribute-used.o 295-cdrom.o 295-dev-t.o 295-fs.o 295-msdos-fs.o 295-netlink.o 295-pci.o 295-videodev-time.o 295-videodev.o ansi-attribute-used.o ansi-dev-t.o ansi-fs.o ansi-msdos-fs.o ansi-netlink.o ansi-pci.o cc-attribute-used.o cc-cdrom.o cc-dev-t.o cc-fs.o cc-msdos-fs.o cc-pci.o cc-videodev-time.o cc-videodev.o cc-ansi-attribute-used.o cc-ansi-cdrom.o cc-ansi-dev-t.o cc-ansi-fs.o cc-ansi-msdos-fs.o cc-ansi-pci.o
make[1]: Leaving directory `/home/mh/linux-kernel-headers/linux-kernel-headers-2.5.999-test7-bk/testsuite'
rm -f stamp-lkh-install
$ 
Script done on Fri Jan  2 08:22:11 2004


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux kes 2.4.23-kes #1 Mon Dec 22 10:14:13 UTC 2003 i686
Locale: LANG=C, LC_CTYPE=C

-- no debconf information


---------------------------------------
Received: (at 225872-close) by bugs.debian.org; 9 Jan 2004 06:50:50 +0000
>From katie@auric.debian.org Fri Jan 09 00:50:49 2004
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AepXF-0001Kg-00; Thu, 08 Jan 2004 23:50:17 -0600
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 1AepUC-0000fK-00; Fri, 09 Jan 2004 00:47:08 -0500
From: Colin Walters <walters@debian.org>
To: 225872-close@bugs.debian.org
X-Katie: $Revision: 1.43 $
Subject: Bug#225872: fixed in cdbs 0.4.15
Message-Id: <E1AepUC-0000fK-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Fri, 09 Jan 2004 00:47:08 -0500
Delivered-To: 225872-close@bugs.debian.org

Source: cdbs
Source-Version: 0.4.15

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:

cdbs_0.4.15.dsc
  to pool/main/c/cdbs/cdbs_0.4.15.dsc
cdbs_0.4.15.tar.gz
  to pool/main/c/cdbs/cdbs_0.4.15.tar.gz
cdbs_0.4.15_all.deb
  to pool/main/c/cdbs/cdbs_0.4.15_all.deb



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 225872@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Walters <walters@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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed,  7 Jan 2004 19:18:10 +0000
Source: cdbs
Binary: cdbs
Architecture: source all
Version: 0.4.15
Distribution: unstable
Urgency: low
Maintainer: CDBS Hackers <build-common-hackers@lists.alioth.debian.org>
Changed-By: Colin Walters <walters@debian.org>
Description: 
 cdbs       - common build system for Debian packages
Closes: 217131 218862 225872
Changes: 
 cdbs (0.4.15) unstable; urgency=low
 .
   * Colin Walters <walters@debian.org>:
     - Don't lose if DEB_PATCHDIRS_READONLY isn't defined (Closes: #225872)
     - Apply patch from Robert Millan to add some variables like
       DEB_HOST_GNU_TYPE to buildvars.mk.in (Closes: #218862)
     - Apply patch from Robert Millan to add variables for automatically
       rerunning the autotools: DEB_AUTO_UPDATE_LIBTOOL, DEB_AUTO_UPDATE_AUTOMAKE,
       and DEB_AUTO_UPDATE_AUTOCONF.  Beware that these do not have corresponding
       reverse actions in the clean rule.  If you want to avoid your diff being
       bloated, you'll have to use a separate build dir.  (Closes: #217131).
Files: 
 e34dff1d0ba41b1fafc27fd9e3fcd39a 842 devel optional cdbs_0.4.15.dsc
 8055265a839ec19f9a471384a25417d0 218800 devel optional cdbs_0.4.15.tar.gz
 ff8649ed665f16805ba4ab0e91d4d749 66162 devel optional cdbs_0.4.15_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE//j2QOIkJWWp2WGURAoxUAJ4kPw9mDMYYESwzJVGh38lNCJfUhQCaA2No
X59GQ8rWLJlpspA2eX2LqEU=
=zaZp
-----END PGP SIGNATURE-----