Package: apt-build Version: 0.12.6 Severity: minor Tags: patch When using build-source command with the patch option, the patch is applied twice: - a first time in the build-source function - a second time in the build function called from build-source
Moreover the first time, apt-build try to apply the patch while being in the /var/cache/apt-build/build directory so it always fail. The following tiny patch just removes the call to patch in build-source --- /usr/bin/apt-build 2005-05-26 20:44:13.000000000 +0200 +++ /usr/bin/apt-build.new 2005-05-27 00:02:58.000000000 +0200 @@ -578,7 +578,6 @@ if ($build) { builddep($src_name) unless $conf->build_only; source_by_source ($src_name, $src_version) if $conf->source; - patch($_) for @{$conf->patch}; # Now build the package my ($maintver, $upver); -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (650, 'testing'), (600, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.4.27-2-686 Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Versions of packages apt-build depends on: ii apt 0.5.28.6 Advanced front-end for dpkg ii apt-utils 0.5.28.6 APT utility programs ii debconf 1.4.30.13 Debian configuration management sy ii devscripts 2.8.14 Scripts to make the life of a Debi ii dpkg-dev 1.10.27 Package building tools for Debian ii g++ 4:3.3.5-3 The GNU C++ compiler ii gcc 4:3.3.5-3 The GNU C compiler ii libappconfig-perl 1.56-2 Perl module for configuration file ii libapt-pkg-perl 0.1.13 Perl interface to libapt-pkg ii perl 5.8.4-8 Larry Wall's Practical Extraction -- debconf information: apt-build/arch_alpha: ev4 apt-build/arch_arm: armv2 * apt-build/olevel: Medium * apt-build/build_dir: /var/cache/apt-build/build apt-build/arch_sparc: sparc apt-build/arch_amd: k6 * apt-build/options: * apt-build/arch_intel: pentium3 * apt-build/make_options: * apt-build/repository_dir: /var/cache/apt-build/repository * apt-build/add_to_sourceslist: false -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]