I did this: 02:03:36 poke:~ $sudo emerge -1av postgresql These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-db/postgresql-8.2.4 [8.1.8] USE="kerberos nls perl python readline ssl xml zlib -doc -pam -pg-intdatetime (-selinux) -tcl -test" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) dev-db/postgresql-8.2.4 to / * postgresql-base-8.2.4.tar.bz2 RMD160 ;-) ... [ ok ] * postgresql-base-8.2.4.tar.bz2 SHA1 ;-) ... [ ok ] * postgresql-base-8.2.4.tar.bz2 SHA256 ;-) ... [ ok ] * postgresql-base-8.2.4.tar.bz2 size ;-) ... [ ok ] * postgresql-opt-8.2.4.tar.bz2 RMD160 ;-) ... [ ok ] * postgresql-opt-8.2.4.tar.bz2 SHA1 ;-) ... [ ok ] * postgresql-opt-8.2.4.tar.bz2 SHA256 ;-) ... [ ok ] * postgresql-opt-8.2.4.tar.bz2 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking postgresql-base-8.2.4.tar.bz2 ;-) ... [ ok ] * checking postgresql-opt-8.2.4.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking postgresql-base-8.2.4.tar.bz2 to /var/tmp/portage/dev-db/postgresql-8.2.4/work >>> Unpacking postgresql-opt-8.2.4.tar.bz2 to /var/tmp/portage/dev-db/postgresql-8.2.4/work * Applying postgresql-8.2.4-gentoo.patch ... [ ok ] * Applying postgresql-8.2.4-sh.patch ... [ ok ] * Applying postgresql-8.2.4-no-test.patch ... * Failed Patch: postgresql-8.2.4-no-test.patch ! * ( /usr/portage/dev-db/postgresql/files/postgresql-8.2.4-no-test.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/dev-db/postgresql-8.2.4/temp/postgresql-8.2.4-no-test.patch-2023.out !!! ERROR: dev-db/postgresql-8.2.4 failed. Call stack: ebuild.sh, line 1614: Called dyn_unpack ebuild.sh, line 751: Called qa_call 'src_unpack' ebuild.sh, line 44: Called src_unpack postgresql-8.2.4.ebuild, line 82: Called epatch '/usr/portage/dev-db/postgresql/files/postgresql-8.2.4-no-test.patch' eutils.eclass, line 341: Called die !!! Failed Patch: postgresql-8.2.4-no-test.patch! !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/dev-db/postgresql-8.2.4/temp/build.log'. And postgresql-8.2.4-no-test.patch-2023.out contains the following information. PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-db/postgresql/files/postgresql-8.2.4-no-test.patch ========================================== patching file src/Makefile Hunk #1 FAILED at 22. 1 out of 1 hunk FAILED -- saving rejects to file src/Makefile.rej ========================================== I think the problem is that the patch postgresql-8.2.4-no-test.patch is trying to remove a line already removed by postgresql-8.2.4-gentoo.patch
Created attachment 117914 [details, diff] Dont apply no-test.patch I made this change to a overlay-ebuild, and managed to build. But I also had to copy postgresql.init-8.1 to postgresql.init-8.2 and postgresql.conf-8.1 postgresql.conf-8.2
fixed in 8.2.4-r1, thanks for reporting.