public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/27448] New: Parallel build issue (unable to rename 'libnss_files_pic.a'; reason: No such file or directory)
@ 2021-02-21 11:35 marvin_schmidt at gmx dot net
  2021-02-21 12:33 ` [Bug build/27448] " schwab@linux-m68k.org
  0 siblings, 1 reply; 2+ messages in thread
From: marvin_schmidt at gmx dot net @ 2021-02-21 11:35 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=27448

            Bug ID: 27448
           Summary: Parallel build issue (unable to rename
                    'libnss_files_pic.a'; reason: No such file or
                    directory)
           Product: glibc
           Version: 2.33
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: marvin_schmidt at gmx dot net
                CC: carlos at redhat dot com
  Target Milestone: ---

While updating to glibc 2.33 I hit the following build error twice before the
third try was successful:

```
[snip (no other occurrences of 'libnss_files_pic' prior]

x86_64-pc-linux-gnu-gcc -fuse-ld=bfd
/var/tmp/paludis/build/sys-libs-glibc-2.33-r1/work/build/nss/db-rpc.c -c
-std=gnu11 -fgnu89-inline  -pipe -mtune=generic -march=x86-64 -O2 -fuse-
ld=bfd -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math
-fstack-protector-strong -Wstrict-prototypes -Wold-style-definition
-fmath-errno   -fPIC -fcf-protection
    -DLD_SO_CONF='"/etc/ld-x86_64-pc-linux-gnu.path"'
-DLD_SO_CACHE='"/etc/ld-x86_64-pc-linux-gnu.cache"' -pipe -mtune=generic
-march=x86-64 -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE
-I../include -I/var/tmp/paludis/build/sys-libs-glibc-2.33-r1/work/build/nss 
-I/var/tmp/paludis/build/sys-libs-glibc-2.33-r1/work/build 
-I../sysdeps/unix/sysv/linux/x86_64/64  -I../
sysdeps/unix/sysv/linux/x86_64  -I../sysdeps/unix/sysv/linux/x86/include
-I../sysdeps/unix/sysv/linux/x86  -I../sysdeps/x86/nptl 
-I../sysdeps/unix/sysv/linux/wordsize-64  -I../sysde
ps/x86_64/nptl  -I../sysdeps/unix/sysv/linux/include
-I../sysdeps/unix/sysv/linux  -I../sysdeps/nptl  -I../sysdeps/pthread 
-I../sysdeps/gnu  -I../sysdeps/unix/inet  -I../sysdeps/uni
x/sysv  -I../sysdeps/unix/x86_64  -I../sysdeps/unix  -I../sysdeps/posix 
-I../sysdeps/x86_64/64  -I../sysdeps/x86_64/fpu/multiarch 
-I../sysdeps/x86_64/fpu  -I../sysdeps/x86/fpu  -I.
./sysdeps/x86_64/multiarch  -I../sysdeps/x86_64  -I../sysdeps/x86/include
-I../sysdeps/x86  -I../sysdeps/ieee754/float128 
-I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/l
dbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32 
-I../sysdeps/wordsize-64  -I../sysdeps/ieee754  -I../sysdeps/generic  -I..
-I../libio -I. -nostdinc -isystem /usr/x8
6_64-pc-linux-gnu/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -isystem
/usr/x86_64-pc-linux-gnu/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed
-isystem /usr/x86_64-pc-linux-gnu/incl
ude -D_LIBC_REENTRANT -include
/var/tmp/paludis/build/sys-libs-glibc-2.33-r1/work/build/libc-modules.h
-DMODULE_NAME=libnss_db -include ../include/libc-symbols.h  -DPIC -DSHARED
-DTOP_NAMESPACE=glibc -o
/var/tmp/paludis/build/sys-libs-glibc-2.33-r1/work/build/nss/db-rpc.os -MD -MP
-MF /var/tmp/paludis/build/sys-libs-glibc-2.33-r1/work/build/nss/db-rpc.os.dt
-MT /var/tmp/paludis/build/sys-libs-glibc-2.33-r1/work/build/nss/db-rpc.os
cd /var/tmp/paludis/build/sys-libs-glibc-2.33-r1/work/build/nss &&
/usr/x86_64-pc-linux-gnu/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ar
cruv libnss_file
s_pic.a files-proto.os files-service.os files-hosts.os files-network.os
files-grp.os files-pwd.os files-ethers.os files-spwd.os files-netgrp.os
files-alias.os files-sgrp.os files-rpc
.os files-initgroups.os files-init.os
/usr/x86_64-pc-linux-gnu/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ar:
`u' modifier ignored since `D' is the default (see `U')
a - files-proto.os
a - files-service.os
a - files-hosts.os
a - files-network.os
a - files-grp.os
a - files-pwd.os
a - files-ethers.os
a - files-spwd.os
a - files-netgrp.os
a - files-alias.os
a - files-sgrp.os
a - files-rpc.os
a - files-initgroups.os
a - files-init.os
/usr/x86_64-pc-linux-gnu/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ar:
unable to rename 'libnss_files_pic.a'; reason: No such file or directory
make[2]: *** [../extra-lib.mk:87:
/var/tmp/paludis/build/sys-libs-glibc-2.33-r1/work/build/nss/libnss_files_pic.a]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
'/var/tmp/paludis/build/sys-libs-glibc-2.33-r1/work/glibc-2.33/nss'
make[1]: *** [Makefile:479: nss/others] Error 2
make[1]: Leaving directory
'/var/tmp/paludis/build/sys-libs-glibc-2.33-r1/work/glibc-2.33'
make: *** [Makefile:9: all] Error 2
```

Full build log:
https://dev.exherbo.org/~marv/1613655753-install-sys-libs_glibc-2.33-r1:0::arbor.out.colorless

This is with

GNU Make 4.3
Built for x86_64-pc-linux-gnu

and

GNU ar (GNU Binutils) 2.36.1

using `-j24`.

Another developer reported that he didn't see this problem using `-j10`

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug build/27448] Parallel build issue (unable to rename 'libnss_files_pic.a'; reason: No such file or directory)
  2021-02-21 11:35 [Bug build/27448] New: Parallel build issue (unable to rename 'libnss_files_pic.a'; reason: No such file or directory) marvin_schmidt at gmx dot net
@ 2021-02-21 12:33 ` schwab@linux-m68k.org
  0 siblings, 0 replies; 2+ messages in thread
From: schwab@linux-m68k.org @ 2021-02-21 12:33 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=27448

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
Does this also happen with current binutils master?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-21 12:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-21 11:35 [Bug build/27448] New: Parallel build issue (unable to rename 'libnss_files_pic.a'; reason: No such file or directory) marvin_schmidt at gmx dot net
2021-02-21 12:33 ` [Bug build/27448] " schwab@linux-m68k.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).