Package: apt-build
Version: 0.12.4
Severity: important

And --patch-strip doesn't work, you have to use --patch_strip.

I've got a patch to utils-linux that enables me to run a diskless system
by having /etc/mtab be a symlink to somewhere else. Without the patch
some programs don't work since they can't find a list of mounted
filesystems. Anyway in my quest to turbo-charge everything y apt-build
script has tried to recompile utils-linux and the patch I have is a bit
out of date and fails. Apt-build did not stop at the failure and carried
on and built and installed the package. It took me ages to figure out
why kicker was core-dumping. Here's a part of the log of what happened:

-----> Downloading util-linux source (util-linux 2.12p-4) <-----
Reading Package Lists...
Building Dependency Tree...
Need to get 2075kB of source archives.
Get:1 http://ftp.debian.org sarge/main util-linux 2.12p-4 (dsc) [700B]
Get:2 http://ftp.debian.org sarge/main util-linux 2.12p-4 (tar) [2002kB]
Get:3 http://ftp.debian.org sarge/main util-linux 2.12p-4 (diff)
[72.9kB]
dpkg-source: extracting util-linux in util-linux-2.12p
Fetched 2075kB in 45s (46.1kB/s)
-----> Building util-linux <-----
-----> Patching (/usr/src/patches//util-linux.patch) <-----
patching file mount/fstab.c
Hunk #8 FAILED at 528.
1 out of 16 hunks FAILED -- saving rejects to file mount/fstab.c.rej
patching file mount/fstab.h
patching file mount/mount.c
Hunk #1 succeeded at 391 (offset -8 lines).
Hunk #2 FAILED at 1503.
Hunk #3 succeeded at 1622 (offset -19 lines).
1 out of 3 hunks FAILED -- saving rejects to file mount/mount.c.rej
patching file mount/paths.h
patching file mount/sundries.h
patching file mount/umount.c
dpkg-buildpackage: source package is util-linux
dpkg-buildpackage: source version is 2.12p-4
dpkg-buildpackage: source maintainer is System Administrator <[EMAIL PROTECTED]
dpkg-buildpackage: host architecture is i386
 debian/rules clean
dpatch  deapply-all
10mount not applied to ./ .
10misc not applied to ./ .


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (101, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.hippo
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (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: Light
* apt-build/build_dir: /var/cache/apt-build/build
  apt-build/arch_sparc: sparc
  apt-build/arch_amd: k6
* apt-build/options: -march=i686 -msse -mmmx -mfpmath=sse,387 
-fomit-frame-pointer
* apt-build/arch_intel: pentiumpro
* apt-build/make_options:
* apt-build/repository_dir: /var/cache/apt-build/repository
* apt-build/add_to_sourceslist: true


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

Reply via email to