Your message dated Sun, 11 Dec 2005 09:47:07 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#329937: fixed in apt-build 0.12.14
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; 24 Sep 2005 15:21:50 +0000
>From [EMAIL PROTECTED] Sat Sep 24 08:21:50 2005
Return-path: <[EMAIL PROTECTED]>
Received: from cimice0.lam.cz (cimice.yo.cz) [212.71.168.90] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EJBqX-0005Ta-00; Sat, 24 Sep 2005 08:21:49 -0700
Received: from efreet.light.src ([192.168.1.2])
        by cimice.yo.cz with esmtp (Exim 4.50)
        id 1EJBq0-0007Ec-8f; Sat, 24 Sep 2005 17:21:16 +0200
Received: from bulb by efreet.light.src with local (Exim 4.52)
        id 1EJBq0-0003h9-3R; Sat, 24 Sep 2005 17:21:16 +0200
Date: Sat, 24 Sep 2005 17:21:15 +0200
From: Jan Hudec <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: apt-build: Applying patches does not work
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ"
Content-Disposition: inline
X-Reportbug-Version: 3.17
User-Agent: Mutt/1.5.10i
X-Spam-Score: -4.5 (----)
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02


--lrZ03NoBR/3+SXJZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: apt-build
Version: 0.12.11
Severity: important
Tags: patch

Hello,

When I try to build a package with a patch using apt-build, it does not wor=
k.
It applies the patch, but than concludes it failed to apply (though it
applied correctly) and does debclean and aborts.

I traced the problem down to the sub patch, that properly return 0 if the
patch fails to apply, but then it does not return 1 when all the patches are
done. The following simple patch fixes is:

diff -ur apt-build-0.12.11.orig/apt-build apt-build-0.12.11/apt-build
--- apt-build-0.12.11.orig/apt-build    2005-09-17 16:35:54.000000000 +0200
+++ apt-build-0.12.11/apt-build 2005-09-24 17:15:04.000000000 +0200
@@ -40,7 +40,7 @@
=20
=20
 # Initial
-my $VERSION =3D "unreleased";
+my $VERSION =3D "0.12.11";
 my ($conf, %conf, @builddep, @apt_args);
=20
 @apt_args =3D qw/--yes/;     # and DEFAULT =3D> 1, down in parse_config()
@@ -139,6 +139,7 @@
 {
        print STDERR "-----> Patching (@_) <-----";
        !system "patch -p$conf{patch_strip} < $_" or return !$? while $_ =3D 
shif=
t;
+       return 1;
 }
=20
 sub clean_build

Regards,

                                                 Jan 'Bulb' Hudec <[EMAIL 
PROTECTED]>

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.12-1-amd64-k8
Locale: LANG=3DC, LC_CTYPE=3Dcs_CZ.UTF-8 (charmap=3DUTF-8)

Versions of packages apt-build depends on:
ii  apt                           0.6.41     Advanced front-end for dpkg
ii  apt-utils                     0.6.41     APT utility programs
ii  debconf                       1.4.58     Debian configuration managemen=
t sy
ii  devscripts                    2.9.7      Scripts to make the life of a =
Debi
ii  dpkg-dev                      1.13.11    package building tools for Deb=
ian
ii  g++                           4:4.0.1-3  The GNU C++ compiler
ii  gcc                           4:4.0.1-3  The GNU C compiler
ii  libappconfig-perl             1.56-2     Perl module for configuration =
file
ii  libapt-pkg-perl               0.1.17     Perl interface to libapt-pkg
ii  perl                          5.8.7-5    Larry Wall's Practical Extract=
ion=20

Versions of packages apt-build recommends:
ii  build-essential               11.1       informational list of build-es=
sent
ii  fakeroot                      1.5.1      Gives a fake root environment

-- debconf information:
  apt-build/arch_amd: k6
  apt-build/arch_alpha: ev4
* apt-build/options:
  apt-build/arch_intel: pentium
  apt-build/arch_arm: armv2
* apt-build/make_options:
* apt-build/olevel: Medium
* apt-build/build_dir: /var/cache/apt-build/build
* apt-build/repository_dir: /var/cache/apt-build/repository
  apt-build/arch_sparc: sparc
* apt-build/arch_amd64: athlon64
* apt-build/add_to_sourceslist: true

--lrZ03NoBR/3+SXJZ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFDNW7rRel1vVwhjGURAl64AJ9HUfBPixb+8cUCio+ph8Bo6k6rZwCg8mBr
d0iD8UjqIYbkksL3R9zmAzE=
=FrTw
-----END PGP SIGNATURE-----

--lrZ03NoBR/3+SXJZ--

---------------------------------------
Received: (at 329937-close) by bugs.debian.org; 11 Dec 2005 17:53:32 +0000
>From [EMAIL PROTECTED] Sun Dec 11 09:53:32 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 4.50)
        id 1ElVHv-0002Mt-5K; Sun, 11 Dec 2005 09:47:07 -0800
From: Julien Danjou <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.60 $
Subject: Bug#329937: fixed in apt-build 0.12.14
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 11 Dec 2005 09:47:07 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: apt-build
Source-Version: 0.12.14

We believe that the bug you reported is fixed in the latest version of
apt-build, which is due to be installed in the Debian FTP archive:

apt-build_0.12.14.dsc
  to pool/main/a/apt-build/apt-build_0.12.14.dsc
apt-build_0.12.14.tar.gz
  to pool/main/a/apt-build/apt-build_0.12.14.tar.gz
apt-build_0.12.14_i386.deb
  to pool/main/a/apt-build/apt-build_0.12.14_i386.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Danjou <[EMAIL PROTECTED]> (supplier of updated apt-build 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 [EMAIL PROTECTED])


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

Format: 1.7
Date: Sun, 11 Dec 2005 18:06:45 +0100
Source: apt-build
Binary: apt-build
Architecture: source i386
Version: 0.12.14
Distribution: unstable
Urgency: low
Maintainer: Julien Danjou <[EMAIL PROTECTED]>
Changed-By: Julien Danjou <[EMAIL PROTECTED]>
Description: 
 apt-build  - frontend to apt to build, optimize and install packages
Closes: 329215 329937 332394 336499 336671 337091
Changes: 
 apt-build (0.12.14) unstable; urgency=low
 .
   * Fix patch problem (Closes: #329937)
   * Fix PATH problem (Closes: #332394)
   * Add support for --force-yes apt option (Closes: #329215)
   * Add ca translation (Closes: #336499)
   * Update sv translation (Closes: #336671)
   * Update ru translation (Closes: #337091)
Files: 
 70c9717117f6bf82b8d969872ecbd7fe 506 devel optional apt-build_0.12.14.dsc
 10098a29e3eb9a266527d8ff1d2f53b9 39289 devel optional apt-build_0.12.14.tar.gz
 85b6732e75a23afd7262dd36e4a36e06 33536 devel optional 
apt-build_0.12.14_i386.deb

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

iD8DBQFDnGJPpGK1HsL+5c0RAoU6AJ431qJS3Dt3UehWTx5ASCp4OTXazwCgmYY3
loA6rPt+y5MwOG8Vof43nsM=
=+vvW
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to