BUG #17178: probes.h: No such file or directory when running 'make install'

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: kevin(at)meter(dot)com
Subject: BUG #17178: probes.h: No such file or directory when running 'make install'
Date: 2021-09-03 04:56:16
Message-ID: 17178-daf8e5afdcd926a0@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 17178
Logged by: Kevin Burke
Email address: kevin(at)meter(dot)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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Kevin Burke 2021-09-03 05:01:32 Re: BUG #17178: probes.h: No such file or directory when running 'make install'
Previous Message PG Bug reporting form 2021-09-03 00:31:49 BUG #17177: Secondary fails to start after upgrade from 13.3