[gnutls-devel] GnuTLS | Parallel build failures in doc: mv: cannot stat '.deps/common.Tpo': No such file or directory (#1635)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Sun Dec 22 06:13:59 CET 2024



Maxim Cournoyer created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1635



## Description of problem:

Building in parallel (make -jN) triggers non-deterministic build failures in the doc/ subdirectory.

## Version of gnutls used:

Master branch in git (commit 436a69e01).

## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)

N/A

## How reproducible:

Every time on my system as long as the doc directory is pristine clean (`git clean -xfdd -- doc`).

Steps to Reproduce:

1. `git clean -xfdd -- doc && ./bootstrap && ./configure && make -j32`


## Actual results:

```
Making all in latex
make[3]: Entering directory '/home/maxim/src/gnutls/doc/latex'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/maxim/src/gnutls/doc/latex'
make[3]: Entering directory '/home/maxim/src/gnutls/doc'
echo "" > gnutls-api.texi-tmp
echo "" > socket-api.texi-tmp
echo "" > x509-api.texi-tmp
echo "" > pkcs12-api.texi-tmp
echo "" > tpm-api.texi-tmp
echo "" > pkcs11-api.texi-tmp
echo "" > abstract-api.texi-tmp
for i in `/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ../doc/scripts/getfuncs.pl < ../lib/includes/gnutls/socket.h |sort|uniq`; do \
	echo -n "Creating documentation for $i... " && \
	/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ./scripts/gdoc -texinfo \
		-function $i \
		../lib/*/*.c ../lib/*.c ../libdane/*.c >> socket-api.texi-tmp && \
	echo "ok"; \
done
echo "" > compat-api.texi-tmp
for i in `/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ../doc/scripts/getfuncs.pl < ../lib/includes/gnutls/gnutls.h.in |sort|uniq`; do \
	echo -n "Creating documentation for $i... " && \
	/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ./scripts/gdoc -texinfo \
		-function $i \
		../lib/*/*.c ../lib/*.c ../libdane/*.c >> gnutls-api.texi-tmp && \
	echo "ok"; \
done
cat ../lib/includes/gnutls/x509.h ../lib/includes/gnutls/x509-ext.h > x509-api.texi-tmp2
for i in `/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ../doc/scripts/getfuncs.pl < ../lib/includes/gnutls/pkcs12.h |sort|uniq`; do \
	echo -n "Creating documentation for $i... " && \
	/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ./scripts/gdoc -texinfo \
		-function $i \
		../lib/x509/*.c ../lib/*.c ../lib/system/certs.c >> pkcs12-api.texi-tmp && \
	echo "ok"; \
done
for i in `/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ../doc/scripts/getfuncs.pl < ../lib/includes/gnutls/tpm.h |sort|uniq`; do \
	echo -n "Creating documentation for $i... " && \
	/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ./scripts/gdoc -texinfo \
		-function $i \
		../lib/*/*.c ../lib/*.c ../libdane/*.c >> tpm-api.texi-tmp && \
	echo "ok"; \
done
for i in `/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ../doc/scripts/getfuncs.pl < ../lib/includes/gnutls/pkcs11.h |sort|uniq`; do \
	echo -n "Creating documentation for $i... " && \
	/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ./scripts/gdoc -texinfo \
		-function $i \
		../lib/*/*.c ../lib/*.c ../libdane/*.c >> pkcs11-api.texi-tmp && \
	echo "ok"; \
done
cat ../lib/includes/gnutls/abstract.h ../lib/includes/gnutls/urls.h ../lib/includes/gnutls/system-keys.h >abstract-api.texi-headers-tmp
echo "" > dtls-api.texi-tmp
echo "" > crypto-api.texi-tmp
for i in `/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ../doc/scripts/getfuncs.pl < ../lib/includes/gnutls/compat.h |sort|uniq`; do \
	echo -n "Creating documentation for $i... " && \
	/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ./scripts/gdoc -texinfo \
		-function $i \
		../lib/*/*.c ../lib/*.c ../libdane/*.c >> compat-api.texi-tmp && \
	echo "ok"; \
done
echo "" > ocsp-api.texi-tmp
echo "" > dane-api.texi-tmp
for i in `/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ../doc/scripts/getfuncs.pl < ../lib/includes/gnutls/dtls.h |sort|uniq`; do \
	echo -n "Creating documentation for $i... " && \
	/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ./scripts/gdoc -texinfo \
		-function $i \
		../lib/*/*.c ../lib/*.c ../libdane/*.c >> dtls-api.texi-tmp && \
	echo "ok"; \
done
echo "" > pkcs7-api.texi-tmp
for i in `/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ../doc/scripts/getfuncs.pl < ../lib/includes/gnutls/crypto.h |sort|uniq`; do \
	echo -n "Creating documentation for $i... " && \
	/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ./scripts/gdoc -texinfo \
		-function $i \
		../lib/*/*.c ../lib/*.c ../libdane/*.c >> crypto-api.texi-tmp && \
	echo "ok"; \
done
for i in `/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ../doc/scripts/getfuncs.pl < ../lib/includes/gnutls/ocsp.h |sort|uniq`; do \
	echo -n "Creating documentation for $i... " && \
	/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ./scripts/gdoc -texinfo \
		-function $i \
		../lib/x509/*.c ../lib/*.c ../lib/system/certs.c >> ocsp-api.texi-tmp && \
	echo "ok"; \
done
for i in `/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ../doc/scripts/getfuncs.pl < ../libdane/includes/gnutls/dane.h |sort|uniq`; do \
	echo -n "Creating documentation for $i... " && \
	/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ./scripts/gdoc -texinfo \
		-function $i \
		../lib/*/*.c ../lib/*.c ../libdane/*.c >> dane-api.texi-tmp && \
	echo "ok"; \
done
for i in `/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ../doc/scripts/getfuncs.pl < ../lib/includes/gnutls/pkcs7.h |sort|uniq`; do \
	echo -n "Creating documentation for $i... " && \
	/bin/sh '/home/maxim/src/gnutls/build-aux/missing' perl ./scripts/gdoc -texinfo \
		-function $i \
		../lib/x509/*.c ../lib/*.c ../lib/system/certs.c >> pkcs7-api.texi-tmp && \
	echo "ok"; \
done
make ./errcodes
make ./printlist
make ./alert-printlist
echo "" > enums.texi-tmp
Creating documentation for gnutls_transport_set_fastopen... Creating documentation for gnutls_tpm_get_registered... Creating documentation for gnutls_pkcs12_bag_decrypt... Creating documentation for gnutls_pkcs11_add_provider... Creating documentation for gnutls_compression_get... Creating documentation for gnutls_dtls_cookie_send... Updating ./version.texi
Creating documentation for dane_cert_type_name... Creating documentation for gnutls_alert_get... Creating documentation for gnutls_pkcs7_add_attr... Creating documentation for gnutls_aead_cipher_decrypt... Creating documentation for gnutls_ocsp_req_add_cert... make[4]: Entering directory '/home/maxim/src/gnutls/doc'
make[4]: Entering directory '/home/maxim/src/gnutls/doc'
  CC       errcodes.o
make[4]: Entering directory '/home/maxim/src/gnutls/doc'
  CC       common.o
  CC       alert-printlist.o
  CC       common.o
  CC       printlist.o
  CC       common.o
mv: cannot stat '.deps/common.Tpo': No such file or directory
make[4]: *** [Makefile:5362: common.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/home/maxim/src/gnutls/doc'
```
## Expected results:

The build should succeed.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1635
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20241222/e8a97bd6/attachment-0001.html>


More information about the Gnutls-devel mailing list