postgresql-12.0 with USE="-server" (for a client-only build) tries to apply a postgresql-11_beta1-no-server.patch and fails since the Makefiles have changed. Reproducible: Always Steps to Reproduce: 1. try to emerge postgresql-12.0 with USE="-server" 2. 3. Actual Results: Build failure Expected Results: Successful build :)
Created attachment 591762 [details, diff] Updated patch for client-only build
Created attachment 591764 [details, diff] Patch to update ebuild
>>> Preparing source in /home/jer/portage/dev-db/postgresql-12.0/work/postgresql-12.0 ... * Applying postgresql-11_beta1-no-server.patch ... 1 out of 2 hunks FAILED -- saving rejects to file src/backend/Makefile.rej 1 out of 1 hunk FAILED -- saving rejects to file src/bin/Makefile.rej [ !! ] * ERROR: dev-db/postgresql-12.0::gentoo failed (prepare phase): * patch -p1 failed with /home/jer/portage/dev-db/postgresql-12.0/files/postgresql-11_beta1-no-server.patch * * Call stack: * ebuild.sh, line 125: Called src_prepare * environment, line 4298: Called eapply '/home/jer/portage/dev-db/postgresql-12.0/files/postgresql-11_beta1-no-server.patch' * environment, line 1185: Called _eapply_patch '/home/jer/portage/dev-db/postgresql-12.0/files/postgresql-11_beta1-no-server.patch' * environment, line 1123: Called __helpers_die 'patch -p1 failed with /home/jer/portage/dev-db/postgresql-12.0/files/postgresql-11_beta1-no-server.patch' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=dev-db/postgresql-12.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-db/postgresql-12.0::gentoo'`. * The complete build log is located at '/aches/gentoo/emergelogs/wim/dev-db:postgresql-12.0:20191004-062505.log'. * For convenience, a symlink to the build log is located at '/home/jer/portage/dev-db/postgresql-12.0/temp/build.log'. * The ebuild environment file is located at '/home/jer/portage/dev-db/postgresql-12.0/temp/environment'. * Working directory: '/home/jer/portage/dev-db/postgresql-12.0/work/postgresql-12.0' * S: '/home/jer/portage/dev-db/postgresql-12.0/work/postgresql-12.0'
Still works with 12.1, btw.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fffd50cd83a345a3ce59bdaeb355a90ae5e9077 commit 0fffd50cd83a345a3ce59bdaeb355a90ae5e9077 Author: Aaron W. Swenson <titanofold@gentoo.org> AuthorDate: 2019-11-16 00:50:58 +0000 Commit: Aaron W. Swenson <titanofold@gentoo.org> CommitDate: 2019-11-16 00:57:23 +0000 dev-db/postgresql: Version bumps 12.1, 11.6, 10.11, 9.6.16, 9.5.20, and 9.4.25. Update no-server patch for 12.1. Closes: https://bugs.gentoo.org/696152 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org> dev-db/postgresql/Manifest | 6 + .../files/postgresql-12.1-no-server.patch | 143 ++++++ dev-db/postgresql/postgresql-10.11.ebuild | 466 +++++++++++++++++++ dev-db/postgresql/postgresql-11.6.ebuild | 468 ++++++++++++++++++++ dev-db/postgresql/postgresql-12.1.ebuild | 468 ++++++++++++++++++++ dev-db/postgresql/postgresql-9.4.25.ebuild | 480 ++++++++++++++++++++ dev-db/postgresql/postgresql-9.5.20.ebuild | 486 ++++++++++++++++++++ dev-db/postgresql/postgresql-9.6.16.ebuild | 491 +++++++++++++++++++++ dev-db/pspg/pspg-2.5.3.ebuild | 17 + 9 files changed, 3025 insertions(+)