@msrd0 I just recompiled. Tests passed OK. I cannot reproduce.
You may use makepg --nocheck
Search Criteria
Package Details: postgresql15-libs 15.7-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/postgresql15.git (read-only, click to copy) |
---|---|
Package Base: | postgresql15 |
Description: | Libraries for use with PostgreSQL |
Upstream URL: | https://www.postgresql.org/ |
Licenses: | custom:PostgreSQL |
Conflicts: | postgresql15-client |
Provides: | libecpg.so, libecpg_compat.so, libpgtypes.so, libpq.so, postgresql15-client |
Submitter: | mrechte |
Maintainer: | mrechte |
Last Packager: | mrechte |
Votes: | 1 |
Popularity: | 0.027213 |
First Submitted: | 2023-12-08 11:01 (UTC) |
Last Updated: | 2024-05-22 09:05 (UTC) |
Dependencies (19)
- krb5 (krb5-gitAUR)
- libldap
- openssl (openssl-gitAUR, openssl-staticAUR)
- readline (readline-gitAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compatAUR)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR) (make)
- icu (icu-gitAUR) (make)
- krb5 (krb5-gitAUR) (make)
- libldap (make)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR) (make)
- libxslt (libxslt-gitAUR) (make)
- llvm (llvm-rocm-gitAUR, llvm-gitAUR, llvm-minimal-gitAUR) (make)
- openssl (openssl-gitAUR, openssl-staticAUR) (make)
- pam (pam-selinuxAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- systemd (systemd-gitAUR, systemd-fmlAUR, systemd-chromiumosAUR, systemd-selinuxAUR) (make)
- tcl (tcl84AUR, tcl-fossilAUR) (make)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compatAUR) (make)
- perl (perl-gitAUR) (optional) – perl support requires recompile with --with-perl
Required by (2)
- postgresql15
- r-rpostgres (requires libpq.so)
Sources (8)
mrechte commented on 2024-06-15 14:26 (UTC) (edited on 2024-06-15 14:27 (UTC) by mrechte)
msrd0 commented on 2024-06-14 09:35 (UTC)
The package fails to compile for me since the last update:
make check failure: ./src/test/regress/regression.diffs
diff -U3 /home/msrd0/.cache/yay/postgresql15/src/postgresql-15.7/src/test/regress/expected/xml.out /home/msrd0/.cache/yay/postgresql15/src/postgresql-15.7/src/test/regress/results/xml.out
--- /home/msrd0/.cache/yay/postgresql15/src/postgresql-15.7/src/test/regress/expected/xml.out 2024-05-06 22:23:18.000000000 +0200
+++ /home/msrd0/.cache/yay/postgresql15/src/postgresql-15.7/src/test/regress/results/xml.out 2024-06-14 11:26:47.085270807 +0200
@@ -223,23 +223,13 @@
DETAIL: line 1: xmlParseEntityRef: no name
<invalidentity>&</invalidentity>
^
-line 1: chunk is not well balanced
-<invalidentity>&</invalidentity>
- ^
SELECT xmlparse(content '<undefinedentity>&idontexist;</undefinedentity>');
ERROR: invalid XML content
DETAIL: line 1: Entity 'idontexist' not defined
<undefinedentity>&idontexist;</undefinedentity>
^
-line 1: chunk is not well balanced
-<undefinedentity>&idontexist;</undefinedentity>
- ^
SELECT xmlparse(content '<invalidns xmlns=''<''/>');
- xmlparse
----------------------------
- <invalidns xmlns='<'/>
-(1 row)
-
+ERROR: invalid XML content
SELECT xmlparse(content '<relativens xmlns=''relative''/>');
xmlparse
--------------------------------
@@ -254,15 +244,8 @@
line 1: Opening and ending tag mismatch: twoerrors line 1 and unbalanced
<twoerrors>&idontexist;</unbalanced>
^
-line 1: chunk is not well balanced
-<twoerrors>&idontexist;</unbalanced>
- ^
SELECT xmlparse(content '<nosuchprefix:tag/>');
- xmlparse
----------------------
- <nosuchprefix:tag/>
-(1 row)
-
+ERROR: invalid XML content
SELECT xmlparse(document ' ');
ERROR: invalid XML document
DETAIL: line 1: Start tag expected, '<' not found
@@ -992,15 +975,13 @@
-- error messages, we suppress the DETAIL in this test.
\set VERBOSITY terse
SELECT xpath('/*', '<invalidns xmlns=''<''/>');
-ERROR: could not parse XML document
+ERROR: invalid XML content at character 20
\set VERBOSITY default
-- Again, the XML isn't well-formed for namespace purposes
SELECT xpath('/*', '<nosuchprefix:tag/>');
-ERROR: could not parse XML document
-DETAIL: line 1: Namespace prefix nosuchprefix on tag is not defined
-<nosuchprefix:tag/>
- ^
-CONTEXT: SQL function "xpath" statement 1
+ERROR: invalid XML content
+LINE 1: SELECT xpath('/*', '<nosuchprefix:tag/>');
+ ^
-- XPath deprecates relative namespaces, but they're not supposed to
-- throw an error, only a warning.
SELECT xpath('/*', '<relativens xmlns=''relative''/>');
==> ERROR: A failure occurred in check().
Aborting...
-> error making: postgresql15-exit status 4
mrechte commented on 2024-02-21 16:18 (UTC)
@hschletz thanks for reporting. I though I had already fixed the issue. This should be OK now.
hschletz commented on 2024-02-19 10:24 (UTC) (edited on 2024-02-19 10:25 (UTC) by hschletz)
As libraries are installed into a non-default path, applications linked against libpq won't find it unless the official postgresql-libs package is installed too. pgenv.sh has a line with LD_LIBRARY_PATH commented out, but that would work only for shells that source the script, but not system services. To enable the library globally, create a file /etc/ld.so.conf.d/postgresql15.conf containing:
/opt/postgresql15/lib
Then run "ldconfig".
xeruf commented on 2024-01-22 16:07 (UTC)
Getting very odd compilation failure despite everything looking successful:
============== shutting down postmaster ==============
============== removing temporary instance ==============
=======================
All 212 tests passed.
=======================
make[1]: Leaving directory '/home/janek/.local/cache/yay/postgresql15/src/postgresql-15.5/src/test/regress'
make -C ./src/backend generated-headers
make[1]: Entering directory '/home/janek/.local/cache/yay/postgresql15/src/postgresql-15.5/src/backend'
make -C catalog distprep generated-header-symlinks
make -C utils distprep generated-header-symlinks
make[2]: Entering directory '/home/janek/.local/cache/yay/postgresql15/src/postgresql-15.5/src/backend/utils'
make[2]: Nothing to be done for 'distprep'.
make[2]: Nothing to be done for 'generated-header-symlinks'.
make[2]: Leaving directory '/home/janek/.local/cache/yay/postgresql15/src/postgresql-15.5/src/backend/utils'
make[2]: Entering directory '/home/janek/.local/cache/yay/postgresql15/src/postgresql-15.5/src/backend/catalog'
make[2]: Nothing to be done for 'distprep'.
make[2]: Nothing to be done for 'generated-header-symlinks'.
make[2]: Leaving directory '/home/janek/.local/cache/yay/postgresql15/src/postgresql-15.5/src/backend/catalog'
make[1]: Leaving directory '/home/janek/.local/cache/yay/postgresql15/src/postgresql-15.5/src/backend'
rm -rf '/home/janek/.local/cache/yay/postgresql15/src/postgresql-15.5'/tmp_install
/usr/bin/mkdir -p '/home/janek/.local/cache/yay/postgresql15/src/postgresql-15.5'/tmp_install/log
make -C '.' DESTDIR='/home/janek/.local/cache/yay/postgresql15/src/postgresql-15.5'/tmp_install install >'/home/janek/.local/cache/yay/postgresql15/src/postgresql-15.5'/tmp_install/log/install.log 2>&1
make -j1 checkprep >>'/home/janek/.local/cache/yay/postgresql15/src/postgresql-15.5'/tmp_install/log/install.log 2>&1
make: *** [src/Makefile.global:412: temp-install] Error 2
==> ERROR: A failure occurred in check().
Aborting...
-> error making: postgresql15-exit status 4
-> Failed to install the following packages. Manual intervention is required:
postgresql15-libs - exit status 4
postgresql11-libs - exit status 4
postgresql11 - exit status 4
postgresql15 - exit status 4
kescherAUR commented on 2023-12-26 16:02 (UTC)
@mrechte You should also put perl back into the depends
array from optdepends
mrechte commented on 2023-12-26 14:46 (UTC)
Now includes --with-perl. Thanks to @kescherAUR.
kescherAUR commented on 2023-12-21 22:46 (UTC) (edited on 2023-12-26 15:58 (UTC) by kescherAUR)
This package may fail on two tests when uncommenting the --with-perl
option with perl installed. Setting LANG=C
before make "${1}"
in _postgres_check
fixes the issue. No idea if LC_
variables also need to be overridden if they are set.
mrechte commented on 2023-12-19 14:12 (UTC)
Thanks for the report. Fixed in 15.5-4.
carsme commented on 2023-12-19 11:13 (UTC)
Experiencing the same issue as @fbrennan, this fails to build.
Pinned Comments
mrechte commented on 2023-12-08 11:02 (UTC) (edited on 2023-12-26 14:39 (UTC) by mrechte)
Introduction
This version may cohabit with other major versions, including the official one.
Data directory is /var/lib/postgres/data15
Initialize the database
Start the service
Use the service