Additional data:
Ran into this bug after upgrading an ia64 box Etch->Lenny. Haven't
root-caused the bug, but have found a workaround.
In the cpio source file lib/system.c is the following code segment:
#ifndef HAVE_GETPWNAM
struct passwd *
getpwnam (const char *name __attribute__ ((unused)))
{
errno = ENOSYS;
return NULL;
}
#endif
#ifndef HAVE_GETGRGID
struct group *
getgrgid (gid_t gid __attribute__ ((unused)))
{
errno = ENOSYS;
return NULL;
}
#endif
#ifndef HAVE_GETGRNAM
struct group *
getgrnam (const char *name __attribute__ ((unused)))
{
errno = ENOSYS;
return NULL;
}
#endif
It appears that HAVE_GETPWNAM, HAVE_GETGRGID, and HAVE_GETGRNAM are not
being defined even though the system does support the getpwnam(),
getgrgid(), and getpwnam() calls. Autoconf problem? This causes cpio to
be compiled with the lib/system.c versions of the aforementioned
functions instead of linking to the system library versions. Commenting
out the above code segment and recompiling fixes the problem.
Regards,
Bill Skinner
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]