Source: util-linux
Version: 2.40.2-4

Hi Chris,

thanks for fixing my previous stage1 bug so promptly. I have another
one.

I tried cross builing util-linux stage1 for alpha and this is what I
got:

| ...
| checking for crypt.h... yes
| configure: WARNING: crypt() is not available
| ...
| configure: WARNING: raw.h header file not found; not building raw
| configure: error: newgrp selected, but required crypt function not available
|         tail -v -n \+0 config.log
| ==> config.log <==
| ...

I note that the libcrypt-dev dependency of util-linux is annotated
<!stage1> and hence it is built without. Thus crypt really is not
available there. I'm not sure why this failure is
architecture-dependent (and I haven't seen it on e.g. m68k). Generally
though, it seems like we should not both annotate libcrypt-dev with
<!stage1> and pass --enable-newgrp. I can tell that libxcrypt has very
minimal dependencies and is one of the first things we build. Having
util-linux stage1 require libcrypt-dev is not a problem for the
bootstrapping use case. Can I defer the decision of whether to drop the
stage profile from the dependency or conditionalize the configure flag?

I am also happy to perform test bootstraps for your preferred choice.

Helmut

Reply via email to