Package: qmail
Version: 1.03-36
Severity: serious
Tags: patch

When building 'qmail' in a clean 'unstable' chroot,
I get the following error:

/usr/bin/make man
make[1]: Entering directory `/qmail-1.03'
nroff -man qmail-local.8 > qmail-local.0
/bin/sh: nroff: command not found
make[1]: *** [qmail-local.0] Error 127
make[1]: Leaving directory `/qmail-1.03'
make: *** [build] Error 2

Please add the missing Build-Depends on 'groff-base'
to debian/control.

Additionally, the package does not build because some users and groups
are missing (user 'alias' and 'qmail*', group 'nofiles').
I am not really sure what to do about that.

With the attached patch 'qmail' builds in a clean chroot.

Regards
Andreas Jochens

diff -urN ../tmp-orig/qmail-1.03/debian/control ./debian/control
--- ../tmp-orig/qmail-1.03/debian/control       2005-04-02 11:54:12.692356241 
+0200
+++ ./debian/control    2005-04-02 11:51:09.377726792 +0200
@@ -2,6 +2,7 @@
 Maintainer: Jon Marler <[EMAIL PROTECTED]>
 Section: non-free/mail
 Priority: extra
+Build-Depends: groff-base
 Standards-Version: 3.6.1
 
 Package: qmail-src
diff -urN ../tmp-orig/qmail-1.03/debian/rules ./debian/rules
--- ../tmp-orig/qmail-1.03/debian/rules 2005-04-02 11:54:12.697355303 +0200
+++ ./debian/rules      2005-04-02 11:53:41.830142747 +0200
@@ -8,6 +8,18 @@
 INSTALL   = '/usr/bin/install'
 
 build: checkdir
+# Create qmail users and groups
+       ( groupadd nofiles && \
+       useradd -g nofiles -d /var/qmail/alias alias && \
+       useradd -g nofiles -d /var/qmail qmaild && \
+       useradd -g nofiles -d /var/qmail qmaill && \
+       useradd -g nofiles -d /var/qmail qmailp && \
+       groupadd qmail && \
+       useradd -g qmail -d /var/qmail qmailq && \
+       useradd -g qmail -d /var/qmail qmailr && \
+       useradd -g qmail -d /var/qmail qmails ) || \
+       echo All qmail users already exist.
+
        if fgrep QMAIL/bin *.sh >/dev/null; then \
            echo >&2 "You must run debian/debianize-source-tree first!"; \
            exit 1; \


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

Reply via email to