Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 696152 - dev-db/postgresql-12.0 USE=-server fails to apply postgresql-11_beta1-no-server.patch
Summary: dev-db/postgresql-12.0 USE=-server fails to apply postgresql-11_beta1-no-serv...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-10-03 22:38 UTC by Holger Hoffstätte
Modified: 2019-11-16 00:57 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Updated patch for client-only build (postgresql-12-no-server.patch,2.90 KB, patch)
2019-10-03 22:39 UTC, Holger Hoffstätte
Details | Diff
Patch to update ebuild (postgresql-12.0.ebuild.patch,610 bytes, patch)
2019-10-03 22:40 UTC, Holger Hoffstätte
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Hoffstätte 2019-10-03 22:38:25 UTC
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 :)
Comment 1 Holger Hoffstätte 2019-10-03 22:39:35 UTC
Created attachment 591762 [details, diff]
Updated patch for client-only build
Comment 2 Holger Hoffstätte 2019-10-03 22:40:19 UTC
Created attachment 591764 [details, diff]
Patch to update ebuild
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2019-10-04 06:25:47 UTC
>>> 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'
Comment 4 Holger Hoffstätte 2019-11-14 23:36:53 UTC
Still works with 12.1, btw.
Comment 5 Larry the Git Cow gentoo-dev 2019-11-16 00:57:44 UTC
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(+)