[ABANDONED] Re: About upgrading towards Postgresql 13.1

julien2412 serval2412 at yahoo.fr
Sun Jan 17 17:05:40 UTC 2021


I began with https://gerrit.libreoffice.org/c/core/+/109456 but it even fails
on Linux with:
ar crs libpgport.a fls.o getpeereid.o strlcat.o strlcpy.o pg_crc32c_sse42.o
pg_crc32c_sb8.o pg_crc32c_sse42_choose.o chklocale.o erand48.o
inet_net_ntop.o noblock.o path.o pg_bitutils.o pg_strong_random.o
pgcheckdir.o pgmkdirp.o pgsleep.o pgstrcasecmp.o pgstrsignal.o pqsignal.o
qsort.o qsort_arg.o quotes.o snprintf.o sprompt.o strerror.o tar.o thread.o
clang -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Werror=vla -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv
-Wno-unused-command-line-argument -O2 -fPIC -I../../src/port -DFRONTEND
-I../../src/include
-I/home/julien/lo/libreoffice/workdir/UnpackedTarball/icu/source/i18n
-I/home/julien/lo/libreoffice/workdir/UnpackedTarball/icu/source/common
-I/home/julien/lo/libreoffice/workdir/UnpackedTarball/openssl/include
-I/home/julien/lo/libreoffice/workdir/UnpackedTarball/openldap/include
-D_GNU_SOURCE  -c path.c -o path_shlib.o
rm -f libpgport_shlib.a
ar crs libpgport_shlib.a fls_shlib.o getpeereid_shlib.o strlcat_shlib.o
strlcpy_shlib.o pg_crc32c_sse42_shlib.o pg_crc32c_sb8_shlib.o
pg_crc32c_sse42_choose_shlib.o chklocale_shlib.o erand48_shlib.o
inet_net_ntop_shlib.o noblock_shlib.o path_shlib.o pg_bitutils_shlib.o
pg_strong_random_shlib.o pgcheckdir_shlib.o pgmkdirp_shlib.o pgsleep_shlib.o
pgstrcasecmp_shlib.o pgstrsignal_shlib.o pqsignal_shlib.o qsort_shlib.o
qsort_arg_shlib.o quotes_shlib.o snprintf_shlib.o sprompt_shlib.o
strerror_shlib.o tar_shlib.o thread_shlib.o
clang -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Werror=vla -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv
-Wno-unused-command-line-argument -O2  -I../../src/port  -I../../src/include
-I/home/julien/lo/libreoffice/workdir/UnpackedTarball/icu/source/i18n
-I/home/julien/lo/libreoffice/workdir/UnpackedTarball/icu/source/common
-I/home/julien/lo/libreoffice/workdir/UnpackedTarball/openssl/include
-I/home/julien/lo/libreoffice/workdir/UnpackedTarball/openldap/include
-D_GNU_SOURCE  -c chklocale.c -o chklocale_srv.o
In file included from chklocale.c:17:
In file included from ../../src/include/postgres.h:47:
../../src/include/utils/elog.h:71:10: fatal error: 'utils/errcodes.h' file
not found
#include "utils/errcodes.h"
         ^~~~~~~~~~~~~~~~~~
1 error generated.

after comparing 9 and 13 versions to try to understand why it failed on
Linux, but didn't find.

If the very first pb is so difficult and considering there were still Mac
and Win builds to fix, thought it would be useless to keep on, I gave up.

Remark: I could build Postgresql source from
git.postgresql.org/git/postgresql.git just with usual configure and make. So
no libs lacking here.

(just wonder why it doesn't build out-of-the box or minimum/generic
instructions)



--
Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html


More information about the LibreOffice mailing list