great catch!!! I ran into this yesterday on my first build attempt.
----- Original Message ----- From: Andrew Bartlett <[email protected]> To: Edward Ashley <[email protected]> Cc: [email protected] Sent: Thu, 25 Oct 2012 13:55:41 -0700 (PDT) Subject: Re: [Samba] Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c On Thu, 2012-10-25 at 17:45 +0100, Edward Ashley wrote: > Hi, > Thanks for that, the latest output is quite long but ends up with this: > > [pid 22991] open("/usr/include/netinet/ip.h", O_RDONLY|O_NOCTTY) = 4 > [pid 22991] fstat(4, {st_mode=S_IFREG|0644, st_size=9522, ...}) = 0 > [pid 22991] read(4, "/* Copyright (C) 1991,92,93,95,9"..., 9522) = 9522 > [pid 22991] close(4) = 0 > [pid 22991] open("default/librpc/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT > (No such file or directory) > [pid 22991] open("../librpc/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No > such file or directory) > [pid 22991] open("default/include/public/net/if.h", O_RDONLY|O_NOCTTY) = -1 > ENOENT (No such file or directory) > [pid 22991] open("../include/public/net/if.h", O_RDONLY|O_NOCTTY) = -1 > ENOENT (No such file or directory) > [pid 22991] open("default/source4/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT > (No such file or directory) > [pid 22991] open("../source4/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No > such file or directory) > [pid 22991] open("default/lib/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No > such file or directory) > [pid 22991] open("../lib/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such > file or directory) > [pid 22991] open("default/source4/lib/net/if.h", O_RDONLY|O_NOCTTY) = -1 > ENOENT (No such file or directory) > [pid 22991] open("../source4/lib/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT > (No such file or directory) > [pid 22991] open("default/source4/include/net/if.h", O_RDONLY|O_NOCTTY) = > -1 ENOENT (No such file or directory) > [pid 22991] open("../source4/include/net/if.h", O_RDONLY|O_NOCTTY) = -1 > ENOENT (No such file or directory) > [pid 22991] open("default/include/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT > (No such file or directory) > [pid 22991] open("../include/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No > such file or directory) > [pid 22991] open("default/lib/replace/net/if.h", O_RDONLY|O_NOCTTY) = -1 > ENOENT (No such file or directory) > [pid 22991] open("../lib/replace/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT > (No such file or directory) > [pid 22991] open("default/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No > such file or directory) > [pid 22991] open("../net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such > file or directory) > [pid 22991] open("default/lib/socket_wrapper/net/if.h", O_RDONLY|O_NOCTTY) > = -1 ENOENT (No such file or directory) > [pid 22991] open("../lib/socket_wrapper/net/if.h", O_RDONLY|O_NOCTTY) = -1 > ENOENT (No such file or directory) > [pid 22991] open("default/lib/talloc/net/if.h", O_RDONLY|O_NOCTTY) = -1 > ENOENT (No such file or directory) > [pid 22991] open("../lib/talloc/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT > (No such file or directory) > [pid 22991] open("default/lib/util/charset/net/if.h", O_RDONLY|O_NOCTTY) = > -1 ENOENT (No such file or directory) > [pid 22991] open("../lib/util/charset/net/if.h", O_RDONLY|O_NOCTTY) = -1 > ENOENT (No such file or directory) > [pid 22991] open("default/lib/crypto/net/if.h", O_RDONLY|O_NOCTTY) = -1 > ENOENT (No such file or directory) > [pid 22991] open("../lib/crypto/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT > (No such file or directory) > [pid 22991] open("default/libcli/util/net/if.h", O_RDONLY|O_NOCTTY) = -1 > ENOENT (No such file or directory) > [pid 22991] open("../libcli/util/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT > (No such file or directory) > [pid 22991] open("default/lib/nss_wrapper/net/if.h", O_RDONLY|O_NOCTTY) = > -1 ENOENT (No such file or directory) > [pid 22991] open("../lib/nss_wrapper/net/if.h", O_RDONLY|O_NOCTTY) = -1 > ENOENT (No such file or directory) > [pid 22991] open("default/lib/uid_wrapper/net/if.h", O_RDONLY|O_NOCTTY) = > -1 ENOENT (No such file or directory) > [pid 22991] open("../lib/uid_wrapper/net/if.h", O_RDONLY|O_NOCTTY) = -1 > ENOENT (No such file or directory) > [pid 22991] open("default/dynconfig/net/if.h", O_RDONLY|O_NOCTTY) = -1 > ENOENT (No such file or directory) > [pid 22991] open("../dynconfig/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT > (No such file or directory) > [pid 22991] open("/net/if.h", O_RDONLY|O_NOCTTY THIS is the critical clue. The problem is caused by two things: automount and " -I/" We need to work out how -I/ got into the gcc command line (ie, what dependency declared -I/). Now I know what I'm looking for, I'll go hunting. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- Jefferson K Davis Technology and Information Systems Manager Standard School District 1200 North Chester Ave Bakersfield, CA 93308 661.392.2110 ext 120 (office) http://district.standard.k12.ca.us District Users: Click here to report technology issues -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
