Package Details: pgadmin4-server 9.10-1

Git Clone URL: https://aur.archlinux.org/pgadmin4-server.git (read-only, click to copy)
Package Base: pgadmin4-server
Description: The core server package for pgAdmin. pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.
Upstream URL: https://www.pgadmin.org/
Keywords: pgadmin pgadmin4 postgres postgresql
Licenses: PostgreSQL
Provides: pgadmin4-server
Submitter: bko
Maintainer: lzx3in
Last Packager: lzx3in
Votes: 12
Popularity: 1.19
First Submitted: 2024-07-06 13:38 (UTC)
Last Updated: 2025-11-14 12:52 (UTC)

Latest Comments

1 2 Next › Last »

lzx3in commented on 2025-11-12 03:20 (UTC)

@JPT48 Could you please provide the specific logs? It doesn't happen on my end. I'm not sure I understand your question completely.

JPT48 commented on 2025-11-10 16:52 (UTC)

corepack now inhibits build tools to successfully build pgadmin-server. why aren't those npm-corepack etc found to fulfill the corepack dependency?

lzx3in commented on 2025-11-03 05:34 (UTC)

@sashank It has been handled. The problem occurred after Node.js 25.0.0 was introduced to Arch Linux on October 24, 2025, because this version no longer includes Corepack, unlike previous ones.

lzx@desktop-home-x64-arch ~ % nvm use 24.11.0
Now using node v24.11.0 (npm v11.6.1)
lzx@desktop-home-x64-arch ~ % whereis corepack
corepack: /home/lzx/.nvm/versions/node/v24.11.0/bin/corepack
lzx@desktop-home-x64-arch ~ % nvm use 25.0.0
Now using node v25.0.0 (npm v11.6.2)
lzx@desktop-home-x64-arch ~ % whereis corepack
corepack:

See Should Corepack stay in the Node.js distribution?

lzx3in commented on 2025-10-28 08:47 (UTC)

@sashank Thanks for the heads up. But it's currently quite inconvenient to run the test due to the ongoing DDoS attack on the AUR. I will handle this issue after the service is restored.

sashank commented on 2025-10-27 22:11 (UTC) (edited on 2025-10-27 22:12 (UTC) by sashank)

Please add corepack as a make dependency. I had to explicitly install extra/corepack even after I'd explicitly installed npm (and I guess nodejs through that) for another package (superproductivity (aur)) for a new system.

The way you have corepacker (aur) listed as a dependency through npm as a make dependency isn't enough to convince an aur helper like yay to install corepacker and through that corepack. And installing corepack was sufficient to build this package.

lzx3in commented on 2025-10-17 11:23 (UTC)

@brody You're right, and I initially handled it the same way, until I used the archlinux/archlinux docker image and found that base-devel wasn't included. This meant we ​​should​​ explicitly list the dependencies.

lzx3in commented on 2025-10-17 11:16 (UTC)

@ed209 ​​Good suggestions, I have implemented both.​​

brody commented on 2025-10-17 11:02 (UTC) (edited on 2025-10-17 11:03 (UTC) by brody)

The makedepends entries 'gcc', 'pkgconf' and 'patch' are overfluous and not needed because they are in the dependency array of the base-devel package.

ed209 commented on 2025-10-16 22:39 (UTC)

To build this unattended with clean-chroot-manager I suggest the following changes:

  1. Add server.patch to sources and reference from $srcdir.
  2. Disable download prompt from corepack.
diff --git a/PKGBUILD b/PKGBUILD
index f1439e6..a6bfaa2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,18 +10,21 @@ url='https://www.pgadmin.org/'
 depends=('postgresql-libs' 'krb5' 'python-dbus')
 makedepends=("python" "python-pip" "postgresql-libs" "gcc" "nodejs" "pkgconf" "cmake" "dbus" "npm" "wget" "unzip" "syft" "patch")
 provides=('pgadmin4-server')
-source=("pgadmin4-${pkgver}.tar.gz::https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v${pkgver}/source/pgadmin4-${pkgver}.tar.gz")
-sha256sums=('108e16272f82a87eb6483f401f54e46326da8c48e014ab2dd742640dc6f995f2')
+source=("pgadmin4-${pkgver}.tar.gz::https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v${pkgver}/source/pgadmin4-${pkgver}.tar.gz"
+        "server.patch")
+sha256sums=('108e16272f82a87eb6483f401f54e46326da8c48e014ab2dd742640dc6f995f2'
+            '94c19eb03718ff2002408a9159c1646102576911e4146d75d39f3bb2eb60fc27')

 prepare() {
   cd "$srcdir/pgadmin4-${pkgver}"
-  patch -p1 < "../../server.patch"
+  patch -p1 < "../server.patch"
 }

 build() {
   cd "$srcdir/pgadmin4-${pkgver}"

   export COREPACK_HOME="$srcdir/corepack_home"
+  export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
   mkdir -p "$COREPACK_HOME/bin"
   corepack enable --install-directory "$COREPACK_HOME/bin"
   export PATH="$COREPACK_HOME/bin:$PATH"

lzx3in commented on 2025-09-29 03:51 (UTC) (edited on 2025-09-29 03:51 (UTC) by lzx3in)

Hi there! I've taken over the maintenance of this package.

I've updated it to version 9.8, and switched the base from Ubuntu Noble to the newer Plucky to address immediate compatibility issues.

Please note that this is a temporary solution. I'm going to migrate the package to a native Arch Linux build from source in the near future, which will provide better long-term compatibility.