BUG #17178: probes.h: No such file or directory when running 'make install' - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #17178: probes.h: No such file or directory when running 'make install'
Date
Msg-id 17178-daf8e5afdcd926a0@postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      17178
Logged by:          Kevin Burke
Email address:      kevin@meter.com
PostgreSQL version: 14beta3
Operating system:   MacOS Catalina 10.15.7
Description:

I am compiling Postgres from commit c95ede41b8d47b21d58702fbc519e720f41fdaf1
on master. I am running "gmake clean && ./configure --prefix=$HOME/pq &&
gmake && gmake install" (gmake being GNU make). I receive the following
error on either the "gmake install" or "gmake check" steps:

/Users/kevin/local/coreutils/bin/install -c -m 644 utils/fmgrprotos.h
'/Users/kevin/pq/include/postgresql/server/utils'
cp ./*.h '/Users/kevin/pq/include/postgresql/server'/
for dir in access bootstrap catalog commands common datatype executor
fe_utils foreign jit lib libpq mb nodes optimizer parser partitioning
postmaster regex replication rewrite statistics storage tcop snowball
snowball/libstemmer tsearch tsearch/dicts utils port port/atomics port/win32
port/win32_msvc port/win32_msvc/sys port/win32/arpa port/win32/netinet
port/win32/sys portability; do \
  cp ./$dir/*.h '/Users/kevin/pq/include/postgresql/server'/$dir/ || exit;
\
done
cp: '../../../src/backend/utils/probes.h' ->
'/Users/kevin/pq/include/postgresql/server/utils/probes.h': No such file or
directory (os error 2)
gmake[2]: *** [Makefile:49: install] Error 1
gmake[2]: Leaving directory
'/Users/kevin/src/github.com/postgres/postgres/src/include'
gmake[1]: *** [Makefile:42: install-include-recurse] Error 2
gmake[1]: Leaving directory
'/Users/kevin/src/github.com/postgres/postgres/src'
gmake: *** [GNUmakefile:11: install-src-recurse] Error 2

Here are the copies of files named "probes.h" on my local filesystem, from
the git root:

$ find . -name probes.h
./local/include/server/utils/probes.h
./src/include/utils/probes.h
./src/backend/utils/probes.h

There are lots of .h files in
/Users/kevin/pq/include/postgresql/server/utils but probes.h is not one of
them.


pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #17177: Secondary fails to start after upgrade from 13.3
Next
From: Kevin Burke
Date:
Subject: Re: BUG #17178: probes.h: No such file or directory when running 'make install'