Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 760642 - games-emulation/dosbox-9999 dosbox-0.74-ncurses.patch fails to apply
Summary: games-emulation/dosbox-9999 dosbox-0.74-ncurses.patch fails to apply
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-18 12:45 UTC by jospezial
Modified: 2021-02-14 12:21 UTC (History)
2 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 jospezial 2020-12-18 12:45:57 UTC
* Package:    games-emulation/dosbox-9999
 * Repository: gentoo
 * Maintainer: games@gentoo.org wine@gentoo.org
 * USE:        X abi_x86_64 alsa amd64 core-inline elibc_glibc kernel_linux opengl userland_GNU
 * FEATURES:   ccache network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
 * subversion update start -->
 *      repository: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk
Updating '.':
At revision 4397.
 *    working copy: /usr/portage/distfiles/svn-src/dosbox/trunk

>>> Source unpacked in /var/tmp/portage/games-emulation/dosbox-9999/work
>>> Preparing source in /var/tmp/portage/games-emulation/dosbox-9999/work/dosbox ...
 * Applying dosbox-0.74-ncurses.patch ...
patching file configure.ac
Hunk #1 FAILED at 235.
1 out of 1 hunk FAILED -- saving rejects to file configure.ac.rej
 [ !! ]
 * ERROR: games-emulation/dosbox-9999::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/games-emulation/dosbox-9999/files/dosbox-0.74-ncurses.patch
 * 
 * Call stack:
 *               ebuild.sh, line  125:  Called src_prepare
 *             environment, line 2456:  Called default
 *      phase-functions.sh, line  855:  Called default_src_prepare
 *      phase-functions.sh, line  920:  Called __eapi6_src_prepare
 *             environment, line  250:  Called eapply '/var/tmp/portage/games-emulation/dosbox-9999/files/dosbox-0.74-ncurses.patch'
 *             environment, line  973:  Called _eapply_patch '/var/tmp/portage/games-emulation/dosbox-9999/files/dosbox-0.74-ncurses.patch'
 *             environment, line  911:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/games-emulation/dosbox-9999/files/dosbox-0.74-ncurses.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
Comment 1 Kai Krakow 2021-02-11 09:26:12 UTC
I can confirm the problem:

 * Package:    games-emulation/dosbox-9999
 * Repository: gentoo
 * Maintainer: games@gentoo.org wine@gentoo.org
 * USE:        X abi_x86_64 alsa amd64 core-inline elibc_glibc kernel_linux opengl userland_GNU
 * FEATURES:   compressdebug network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox

Patch hunk fails in exactly the same way.
Comment 2 Larry the Git Cow gentoo-dev 2021-02-14 12:21:36 UTC
The bug has been closed via the following commit(s):

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

commit da178bdead5d0db0310504d979ebeac17377f81c
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2021-02-14 12:21:09 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2021-02-14 12:21:09 +0000

    games-emulation/dosbox: Update ncurses patch for latest trunk
    
    Closes: https://bugs.gentoo.org/760642
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 games-emulation/dosbox/dosbox-9999.ebuild          |  4 +-
 .../dosbox/files/dosbox-0.75-ncurses.patch         | 78 ++++++++++++++++++++++
 2 files changed, 80 insertions(+), 2 deletions(-)