Bug#58292: glibc (source): tries to build nss-v1/ before nis/
Package: glibc
Version: 2.1.3-2
Severity: normal
While compiling glibc, I got this error:
> make[3]: *** No rule to make target `/var/tmp/kalle/Debian/glibc-2.1.3/i386-linux/obj/nis/libnsl.so.1', needed by `/var/tmp/kalle/Debian/glibc-2.1.3/i386-linux/obj/nss-v1/libnss1_compat.so'. Stop.
> make[3]: Leaving directory `/var/tmp/kalle/Debian/glibc-2.1.3/glibc-2.1.3/nss-v1'
> make[2]: *** [nss-v1/others] Error 2
> make[2]: Leaving directory `/var/tmp/kalle/Debian/glibc-2.1.3/glibc-2.1.3'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/var/tmp/kalle/Debian/glibc-2.1.3/i386-linux/obj'
At this time, Make had already built libc.so and was making
"others".
It appears that Make tried to make "others" in nss-v1/ before
making it in nis/. nss-v1/Depend is:
> nis
> db2
> resolv
and nothing depends on nss-v1, so the build system should have
automatically sorted nis before nss-v1. Somehow, it didn't.
Here is i386-linux/obj/sysd-sorted:
> sorted-subdirs = csu assert ctype db db2 locale intl catgets math setjmp signal stdlib stdio-common libio malloc string wcsmbs time dirent grp pwd posix io termios resource misc socket sysvipc gmon gnulib iconv iconvdata wctype manual shadow md5-crypt po argp crypt linuxthreads nss-v1 nss localedata timezone rt debug linuxthreads_db inet resolv hesiod sunrpc nis nscd streams login elf
> sysd-sorted-done = t
As you can see, nis appears long after nss-v1.
I don't know whether the bug is in the glibc build scripts or
in awk. And I don't know awk, so I can't debug it further.
In i386-linux/obj/config.make, AWK=mawk; the mawk version is
1.3.3-3.
-- System Information
Debian Release: woody
Kernel Version: Linux PC486 2.2.14 #1 ke tammi? 19 11:39:08 EET 2000 i486 unknown
Reply to: