Package: apachetop
Version: 0.12.5-5
Severity: minor
Tags: patch

the build fails, if the package has already been built in the same
directory.

steps to reproduce:

# apt-get source apachetop
# cd apachetop-0.12.5
# debuild
works
# debuild
bombs, because 'make clean' did not work and there are still old .o files
in the src subdirectory from the last compile run.

bug-reason:
'make clean' needs config.status, without it, it won't run.

working solution:
in debian/rules, remove config.status after the 'make clean' run


simple patch:

diff -u apachetop-0.12.5/debian/rules apachetop-0.12.5/debian/rules
--- apachetop-0.12.5/debian/rules
+++ apachetop-0.12.5/debian/rules
@@ -44,12 +44,13 @@
 clean:
        dh_testdir
        dh_testroot
-       rm -f build-stamp configure-stamp
-       rm -f config.log config.status
 
        # Add here commands to clean up after the build process.
        -$(MAKE) clean
 
+       rm -f build-stamp configure-stamp
+       rm -f config.log config.status
+
        dh_clean 
 
 install: build



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-sdinet20-tokamak
Locale: LANG=C, LC_CTYPE=de_DE.ISO-8859-1 (charmap=ISO-8859-1)

Versions of packages apachetop depends on:
ii  fam                           2.7.0-8    File Alteration Monitor
ii  libc6                         2.3.5-8.1  GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.2-5  GCC support library
ii  libncurses5                   5.5-1      Shared libraries for terminal hand
ii  libpcre3                      6.4-1.1    Perl 5 Compatible Regular Expressi
ii  libreadline5                  5.1-1      GNU readline and history libraries
ii  libstdc++6                    4.0.2-5    The GNU Standard C++ Library v3

apachetop recommends no packages.

-- debconf-show failed


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

Reply via email to