Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653360 - dev-db/percona-xtrabackup-2.4.10 fails to build: 1 out of 3 hunks FAILED -- saving rejects to file client/dump/CMakeLists.txt.rej
Summary: dev-db/percona-xtrabackup-2.4.10 fails to build: 1 out of 3 hunks FAILED -- s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-17 06:27 UTC by Tomáš Mózes
Modified: 2018-04-17 13:32 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2018-04-17 06:27:52 UTC
* Package:    dev-db/percona-xtrabackup-2.4.10
 * Repository: gentoo
 * Maintainer: hydrapolic@gmail.com manwe@manwe.pl,proxy-maint@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking percona-xtrabackup-2.4.10.tar.gz to /var/tmp/portage/dev-db/percona-xtrabackup-2.4.10/work
>>> Source unpacked in /var/tmp/portage/dev-db/percona-xtrabackup-2.4.10/work
>>> Preparing source in /var/tmp/portage/dev-db/percona-xtrabackup-2.4.10/work/percona-xtrabackup-2.4.10 ...
 * Applying percona-xtrabackup-2.4.6-remove-boost-version-check.patch ...
 [ ok ]
 * Applying percona-xtrabackup-2.4.6-fix-gcc6-isystem.patch ...
1 out of 3 hunks FAILED -- saving rejects to file client/dump/CMakeLists.txt.rej
1 out of 1 hunk FAILED -- saving rejects to file storage/innobase/xtrabackup/src/CMakeLists.txt.rej
 [ !! ]
 * ERROR: dev-db/percona-xtrabackup-2.4.10::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/dev-db/percona-xtrabackup-2.4.10/files/percona-xtrabackup-2.4.6-fix-gcc6-isystem.patch
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_prepare
 *             environment, line 2854:  Called cmake-utils_src_prepare
 *             environment, line  809:  Called default_src_prepare
 *      phase-functions.sh, line  918:  Called __eapi6_src_prepare
 *             environment, line  194:  Called eapply '/var/tmp/portage/dev-db/percona-xtrabackup-2.4.10/files/percona-xtrabackup-2.4.6-remove-boost-version-check.patch' '/var/tmp/portage/dev-db/percona-xtrabackup-2.4.10/files/percona-xtrabackup-2.4.6-fix-gcc6-isystem.patch'
 *             environment, line 1029:  Called _eapply_patch '/var/tmp/portage/dev-db/percona-xtrabackup-2.4.10/files/percona-xtrabackup-2.4.6-fix-gcc6-isystem.patch'
 *             environment, line  967:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/dev-db/percona-xtrabackup-2.4.10/files/percona-xtrabackup-2.4.6-fix-gcc6-isystem.patch'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *              die "$@"
 * 
 * If you need support, post the output of `emerge --info '=dev-db/percona-xtrabackup-2.4.10::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/percona-xtrabackup-2.4.10::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-db/percona-xtrabackup-2.4.10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/percona-xtrabackup-2.4.10/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-db/percona-xtrabackup-2.4.10/work/percona-xtrabackup-2.4.10'
 * S: '/var/tmp/portage/dev-db/percona-xtrabackup-2.4.10/work/percona-xtrabackup-2.4.10'
Comment 1 Larry the Git Cow gentoo-dev 2018-04-17 13:20:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f29ea14c29317389defc689f593aeaa0280b059

commit 0f29ea14c29317389defc689f593aeaa0280b059
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-04-17 13:20:05 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-04-17 13:20:18 +0000

    dev-db/percona-xtrabackup: Fix build problems
    
    Ebuild changes:
    ===============
    - Re-spin "fix-gcc6-isystem" patch.
    
    - Keep lz4 source for "xxhash.c".
    
    - Force gnu++03 instead of GCC 7's default C++14 to avoid
      -fpermissive build error. [Bug 87956]
    
    Bug: https://bugs.mysql.com/bug.php?id=87956
    Closes: https://bugs.gentoo.org/653360
    Package-Manager: Portage-2.3.28, Repoman-2.3.9

 ...ercona-xtrabackup-2.4.10-fix-gcc6-isystem.patch | 112 +++++++++++++++++++++
 .../percona-xtrabackup-2.4.10.ebuild               |  12 ++-
 2 files changed, 120 insertions(+), 4 deletions(-)
Comment 2 Tomáš Mózes 2018-04-17 13:32:09 UTC
Thanks for the bump and fix.