Skip to content

Instantly share code, notes, and snippets.

@uilianries
Created June 20, 2018 03:05
Show Gist options
  • Save uilianries/ff4382f1b324efa27cd614787493c747 to your computer and use it in GitHub Desktop.
Save uilianries/ff4382f1b324efa27cd614787493c747 to your computer and use it in GitHub Desktop.
Postgres lib log
$ make --trace
<builtin>: update target 'fe-auth.o' due to: fe-auth.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o fe-auth.o fe-auth.c
<builtin>: update target 'fe-auth-scram.o' due to: fe-auth-scram.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o fe-auth-scram.o fe-auth-scram.c
Makefile:130: target '../../../src/port/pg_config_paths.h' does not exist
make -C ../../../src/port pg_config_paths.h
make[1]: Entering directory '/tmp/postgres/src/port'
Makefile:103: update target 'pg_config_paths.h' due to: ../../src/Makefile.global
echo "#define PGBINDIR \"/tmp/out/bin\"" >pg_config_paths.h
echo "#define PGSHAREDIR \"/tmp/out/share/postgresql\"" >>pg_config_paths.h
echo "#define SYSCONFDIR \"/tmp/out/etc/postgresql\"" >>pg_config_paths.h
echo "#define INCLUDEDIR \"/tmp/out/include\"" >>pg_config_paths.h
echo "#define PKGINCLUDEDIR \"/tmp/out/include/postgresql\"" >>pg_config_paths.h
echo "#define INCLUDEDIRSERVER \"/tmp/out/include/postgresql/server\"" >>pg_config_paths.h
echo "#define LIBDIR \"/tmp/out/lib\"" >>pg_config_paths.h
echo "#define PKGLIBDIR \"/tmp/out/lib/postgresql\"" >>pg_config_paths.h
echo "#define LOCALEDIR \"/tmp/out/share/locale\"" >>pg_config_paths.h
echo "#define DOCDIR \"/tmp/out/share/doc//postgresql\"" >>pg_config_paths.h
echo "#define HTMLDIR \"/tmp/out/share/doc//postgresql\"" >>pg_config_paths.h
echo "#define MANDIR \"/tmp/out/share/man\"" >>pg_config_paths.h
make[1]: Leaving directory '/tmp/postgres/src/port'
<builtin>: update target 'fe-connect.o' due to: fe-connect.c ../../../src/port/pg_config_paths.h
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o fe-connect.o fe-connect.c
fe-connect.c: In function ‘parseServiceInfo’:
fe-connect.c:4515:40: warning: ‘%s’ directive output may be truncated writing 16 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
snprintf(serviceFile, MAXPGPATH, "%s/%s", homedir, ".pg_service.conf");
^~ ~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:936,
from ../../../src/include/c.h:81,
from ../../../src/include/postgres_fe.h:25,
from fe-connect.c:16:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 18 and 1041 bytes into a destination of size 1024
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fe-connect.c: In function ‘connectOptions2’:
fe-connect.c:1078:47: warning: ‘%s’ directive output may be truncated writing 7 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
snprintf(conn->pgpassfile, MAXPGPATH, "%s/%s",
^~
In file included from /usr/include/stdio.h:936,
from ../../../src/include/c.h:81,
from ../../../src/include/postgres_fe.h:25,
from fe-connect.c:16:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 9 and 1032 bytes into a destination of size 1024
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<builtin>: update target 'fe-exec.o' due to: fe-exec.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o fe-exec.o fe-exec.c
<builtin>: update target 'fe-misc.o' due to: fe-misc.c ../../../src/port/pg_config_paths.h
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o fe-misc.o fe-misc.c
<builtin>: update target 'fe-print.o' due to: fe-print.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o fe-print.o fe-print.c
<builtin>: update target 'fe-lobj.o' due to: fe-lobj.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o fe-lobj.o fe-lobj.c
<builtin>: update target 'fe-protocol2.o' due to: fe-protocol2.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o fe-protocol2.o fe-protocol2.c
<builtin>: update target 'fe-protocol3.o' due to: fe-protocol3.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o fe-protocol3.o fe-protocol3.c
<builtin>: update target 'pqexpbuffer.o' due to: pqexpbuffer.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o pqexpbuffer.o pqexpbuffer.c
<builtin>: update target 'fe-secure.o' due to: fe-secure.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o fe-secure.o fe-secure.c
<builtin>: update target 'libpq-events.o' due to: libpq-events.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o libpq-events.o libpq-events.c
Makefile:107: update target 'chklocale.c' due to: ../../../src/port/chklocale.c
rm -f chklocale.c && ln -s ../../../src/port/chklocale.c .
<builtin>: update target 'chklocale.o' due to: chklocale.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o chklocale.o chklocale.c
Makefile:107: update target 'inet_net_ntop.c' due to: ../../../src/port/inet_net_ntop.c
rm -f inet_net_ntop.c && ln -s ../../../src/port/inet_net_ntop.c .
<builtin>: update target 'inet_net_ntop.o' due to: inet_net_ntop.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o inet_net_ntop.o inet_net_ntop.c
Makefile:107: update target 'noblock.c' due to: ../../../src/port/noblock.c
rm -f noblock.c && ln -s ../../../src/port/noblock.c .
<builtin>: update target 'noblock.o' due to: noblock.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o noblock.o noblock.c
Makefile:107: update target 'pgstrcasecmp.c' due to: ../../../src/port/pgstrcasecmp.c
rm -f pgstrcasecmp.c && ln -s ../../../src/port/pgstrcasecmp.c .
<builtin>: update target 'pgstrcasecmp.o' due to: pgstrcasecmp.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o pgstrcasecmp.o pgstrcasecmp.c
Makefile:107: update target 'pqsignal.c' due to: ../../../src/port/pqsignal.c
rm -f pqsignal.c && ln -s ../../../src/port/pqsignal.c .
<builtin>: update target 'pqsignal.o' due to: pqsignal.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o pqsignal.o pqsignal.c
Makefile:107: update target 'thread.c' due to: ../../../src/port/thread.c
rm -f thread.c && ln -s ../../../src/port/thread.c .
<builtin>: update target 'thread.o' due to: thread.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o thread.o thread.c
Makefile:107: update target 'strlcpy.c' due to: ../../../src/port/strlcpy.c
rm -f strlcpy.c && ln -s ../../../src/port/strlcpy.c .
<builtin>: update target 'strlcpy.o' due to: strlcpy.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o strlcpy.o strlcpy.c
Makefile:107: update target 'getpeereid.c' due to: ../../../src/port/getpeereid.c
rm -f getpeereid.c && ln -s ../../../src/port/getpeereid.c .
<builtin>: update target 'getpeereid.o' due to: getpeereid.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o getpeereid.o getpeereid.c
Makefile:107: update target 'pg_strong_random.c' due to: ../../../src/port/pg_strong_random.c
rm -f pg_strong_random.c && ln -s ../../../src/port/pg_strong_random.c .
<builtin>: update target 'pg_strong_random.o' due to: pg_strong_random.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o pg_strong_random.o pg_strong_random.c
Makefile:113: update target 'encnames.c' due to: ../../../src/backend/utils/mb/encnames.c
rm -f encnames.c && ln -s ../../../src/backend/utils/mb/encnames.c .
<builtin>: update target 'encnames.o' due to: encnames.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o encnames.o encnames.c
Makefile:113: update target 'wchar.c' due to: ../../../src/backend/utils/mb/wchar.c
rm -f wchar.c && ln -s ../../../src/backend/utils/mb/wchar.c .
<builtin>: update target 'wchar.o' due to: wchar.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o wchar.o wchar.c
Makefile:110: update target 'base64.c' due to: ../../../src/common/base64.c
rm -f base64.c && ln -s ../../../src/common/base64.c .
<builtin>: update target 'base64.o' due to: base64.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o base64.o base64.c
Makefile:110: update target 'ip.c' due to: ../../../src/common/ip.c
rm -f ip.c && ln -s ../../../src/common/ip.c .
<builtin>: update target 'ip.o' due to: ip.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o ip.o ip.c
Makefile:110: update target 'md5.c' due to: ../../../src/common/md5.c
rm -f md5.c && ln -s ../../../src/common/md5.c .
<builtin>: update target 'md5.o' due to: md5.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o md5.o md5.c
Makefile:110: update target 'scram-common.c' due to: ../../../src/common/scram-common.c
rm -f scram-common.c && ln -s ../../../src/common/scram-common.c .
<builtin>: update target 'scram-common.o' due to: scram-common.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o scram-common.o scram-common.c
Makefile:110: update target 'saslprep.c' due to: ../../../src/common/saslprep.c
rm -f saslprep.c && ln -s ../../../src/common/saslprep.c .
<builtin>: update target 'saslprep.o' due to: saslprep.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o saslprep.o saslprep.c
Makefile:110: update target 'unicode_norm.c' due to: ../../../src/common/unicode_norm.c
rm -f unicode_norm.c && ln -s ../../../src/common/unicode_norm.c .
<builtin>: update target 'unicode_norm.o' due to: unicode_norm.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o unicode_norm.o unicode_norm.c
Makefile:110: update target 'sha2.c' due to: ../../../src/common/sha2.c
rm -f sha2.c && ln -s ../../../src/common/sha2.c .
<builtin>: update target 'sha2.o' due to: sha2.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -D_GNU_SOURCE -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5 -c -o sha2.o sha2.c
../../../src/Makefile.shlib:309: update target 'exports.list' due to: exports.txt
( echo '{ global:'; gawk '/^[^#]/ {printf "%s;\n",$1}' exports.txt; echo ' local: *; };' ) >exports.list
../../../src/Makefile.shlib:286: update target 'libpq.so.5.10' due to: fe-auth.o fe-auth-scram.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o fe-secure.o libpq-events.o chklocale.o inet_net_ntop.o noblock.o pgstrcasecmp.o pqsignal.o thread.o strlcpy.o getpeereid.o pg_strong_random.o encnames.o wchar.o base64.o ip.o md5.o scram-common.o saslprep.o unicode_norm.o sha2.o exports.list
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -shared -Wl,-soname,libpq.so.5 -Wl,--version-script=exports.list -o libpq.so.5.10 fe-auth.o fe-auth-scram.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o fe-secure.o libpq-events.o chklocale.o inet_net_ntop.o noblock.o pgstrcasecmp.o pqsignal.o thread.o strlcpy.o getpeereid.o pg_strong_random.o encnames.o wchar.o base64.o ip.o md5.o scram-common.o saslprep.o unicode_norm.o sha2.o -L../../../src/port -L../../../src/common -Wl,--as-needed -Wl,-rpath,'/tmp/out/lib',--enable-new-dtags -lcrypt
rm -f libpq.so.5
ln -s libpq.so.5.10 libpq.so.5
rm -f libpq.so
ln -s libpq.so.5.10 libpq.so
../../../src/Makefile.shlib:275: update target 'libpq.a' due to: fe-auth.o fe-auth-scram.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o fe-secure.o libpq-events.o chklocale.o inet_net_ntop.o noblock.o pgstrcasecmp.o pqsignal.o thread.o strlcpy.o getpeereid.o pg_strong_random.o encnames.o wchar.o base64.o ip.o md5.o scram-common.o saslprep.o unicode_norm.o sha2.o
rm -f libpq.a
ar crs libpq.a fe-auth.o fe-auth-scram.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o fe-secure.o libpq-events.o chklocale.o inet_net_ntop.o noblock.o pgstrcasecmp.o pqsignal.o thread.o strlcpy.o getpeereid.o pg_strong_random.o encnames.o wchar.o base64.o ip.o md5.o scram-common.o saslprep.o unicode_norm.o sha2.o
ranlib libpq.a
../../../src/Makefile.shlib:377: update target 'libpq.pc' due to: Makefile ../../../src/Makefile.global ../../../src/Makefile.port ../../../src/Makefile.shlib
echo 'Name: libpq' >libpq.pc
echo 'Description: PostgreSQL libpq library' >>libpq.pc
echo 'Url: http://www.postgresql.org/' >>libpq.pc
echo 'Version: 10.4' >>libpq.pc
echo 'Requires: ' >>libpq.pc
echo 'Requires.private: ' >>libpq.pc
echo 'Cflags: -I/tmp/out/include' >>libpq.pc
echo 'Libs: -L/tmp/out/lib -lpq' >>libpq.pc
echo 'Libs.private: -lcrypt' >>libpq.pc
uilian@foobar /tmp/postgres/src/interfaces/libpq $ make install
/bin/mkdir -p '/tmp/out/lib' '/tmp/out/lib/pkgconfig'
/bin/mkdir -p '/tmp/out/include' '/tmp/out/include/postgresql/internal' '/tmp/out/share/postgresql'
/usr/bin/install -c -m 755 libpq.so.5.10 '/tmp/out/lib/libpq.so.5.10'
cd '/tmp/out/lib' && \
rm -f libpq.so.5 && \
ln -s libpq.so.5.10 libpq.so.5
cd '/tmp/out/lib' && \
rm -f libpq.so && \
ln -s libpq.so.5.10 libpq.so
/usr/bin/install -c -m 644 libpq.a '/tmp/out/lib/libpq.a'
/usr/bin/install -c -m 644 libpq.pc '/tmp/out/lib/pkgconfig/libpq.pc'
/usr/bin/install -c -m 644 ./libpq-fe.h '/tmp/out/include'
/usr/bin/install -c -m 644 ./libpq-events.h '/tmp/out/include'
/usr/bin/install -c -m 644 ./libpq-int.h '/tmp/out/include/postgresql/internal'
/usr/bin/install -c -m 644 ./pqexpbuffer.h '/tmp/out/include/postgresql/internal'
/usr/bin/install -c -m 644 ./pg_service.conf.sample '/tmp/out/share/postgresql/pg_service.conf.sample'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment