Your message dated Wed, 08 Nov 2006 18:41:48 -0600
with message-id <[EMAIL PROTECTED]>
and subject line Bug#397708: qmail: FTBFS: fatal: unable to find user alias
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)

--- Begin Message ---
Package: qmail
Version: 1.03-40
Severity: normal
Usertags: grid5000

(Sev: normal because non-free packages don't need to build from source)

Hi,

During a rebuild of all packages in etch, I discovered that your package
failed to build on i386.

Relevant parts:
./compile auto-gid.c
auto-gid.c: In function 'main':
auto-gid.c:22: warning: return type of 'main' is not 'int'
./load auto-gid substdio.a error.a str.a fs.a 
( ./auto-uid auto_uida `head -1 conf-users` \
        &&./auto-uid auto_uidd `head -2 conf-users | tail -1` \
        &&./auto-uid auto_uidl `head -3 conf-users | tail -1` \
        &&./auto-uid auto_uido `head -4 conf-users | tail -1` \
        &&./auto-uid auto_uidp `head -5 conf-users | tail -1` \
        &&./auto-uid auto_uidq `head -6 conf-users | tail -1` \
        &&./auto-uid auto_uidr `head -7 conf-users | tail -1` \
        &&./auto-uid auto_uids `head -8 conf-users | tail -1` \
        &&./auto-gid auto_gidq `head -1 conf-groups` \
        &&./auto-gid auto_gidn `head -2 conf-groups | tail -1` \
        ) > auto_uids.c.tmp && mv auto_uids.c.tmp auto_uids.c
fatal: unable to find user alias
make[1]: *** [auto_uids.c] Error 111

The full build log is available from 
http://ox.blop.info/bazaar/buildlogs/20061107/

About the archive rebuilt: The rebuilt was done on about 30 AMD64 nodes
of the Grid'5000 platform, using a clean chroot containing an etch i386
environment (not unstable).  Internet was not accessible from the build
systems. The builds were processed as root.

About Grid'5000:
Grid'5000 is an highly reconfigurable experimental Grid platform
gathering 9 sites and featuring a total of 5000 CPUs. It serves as a
testbed for research in Grid Computing. See https://www.grid5000.fr/
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED]             GPG: 1024D/023B3F4F |


--- End Message ---
--- Begin Message ---
Quoting Lucas Nussbaum <[EMAIL PROTECTED]>:

> Package: qmail
> Version: 1.03-40
> Severity: normal
> Usertags: grid5000
>
> (Sev: normal because non-free packages don't need to build from source)
>
> Hi,
>
> During a rebuild of all packages in etch, I discovered that your package
> failed to build on i386.
>
> Relevant parts:
> ./compile auto-gid.c
> auto-gid.c: In function 'main':
> auto-gid.c:22: warning: return type of 'main' is not 'int'
> ./load auto-gid substdio.a error.a str.a fs.a
> ( ./auto-uid auto_uida `head -1 conf-users` \
>         &&./auto-uid auto_uidd `head -2 conf-users | tail -1` \
>         &&./auto-uid auto_uidl `head -3 conf-users | tail -1` \
>         &&./auto-uid auto_uido `head -4 conf-users | tail -1` \
>         &&./auto-uid auto_uidp `head -5 conf-users | tail -1` \
>         &&./auto-uid auto_uidq `head -6 conf-users | tail -1` \
>         &&./auto-uid auto_uidr `head -7 conf-users | tail -1` \
>         &&./auto-uid auto_uids `head -8 conf-users | tail -1` \
>         &&./auto-gid auto_gidq `head -1 conf-groups` \
>         &&./auto-gid auto_gidn `head -2 conf-groups | tail -1` \
>         ) > auto_uids.c.tmp && mv auto_uids.c.tmp auto_uids.c
> fatal: unable to find user alias
> make[1]: *** [auto_uids.c] Error 111
>
> The full build log is available from
> http://ox.blop.info/bazaar/buildlogs/20061107/
>
> About the archive rebuilt: The rebuilt was done on about 30 AMD64 nodes
> of the Grid'5000 platform, using a clean chroot containing an etch i386
> environment (not unstable).  Internet was not accessible from the build
> systems. The builds were processed as root.
>
> About Grid'5000:
> Grid'5000 is an highly reconfigurable experimental Grid platform
> gathering 9 sites and featuring a total of 5000 CPUs. It serves as a
> testbed for research in Grid Computing. See https://www.grid5000.fr/
> --
> | Lucas Nussbaum
> | [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
> | jabber: [EMAIL PROTECTED]             GPG: 1024D/023B3F4F |
>
>

This pops up every now and then.  This is an unfortunate defect of the way that
qmail was written, and the ugly way that it works with Debian.

In order to build the source package, there are a number of user accounts that
must exist on the system first, as the user ID's are hardcoded into the
compiled package.  I know ... it's very ugly, and why would anyone do that ...
but that's just the way it works.  If you'll notice, the error you received is
that a user doesn't exist during the build.  If you add the user, the build
will work just fine.  If you don't know how to add a user, keep reading.

The easy fix here is to install the qmail-src package, as it is an OS
independent package, and should install without needing to be rebuilt first. 
When you install qmail-src, the installation scripts will create the users for
you, and future builds will work without error.

I do apologize for the ugliness of it, but that's just the way it works.  You
could try complaining to DJB, but he won't care, so I wouldn't bother.  He's
far too important and smug to deal with mere mortals such as us users.

Cheers!

Jon



--- End Message ---

Reply via email to