Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 736082 - games-simulation/flightgear-9999 - patch -p1 failed with .../files/flightgear-2020.1.2-cmake.patch
Summary: games-simulation/flightgear-9999 - patch -p1 failed with .../files/flightgea...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-05 20:07 UTC by Michal Plichta
Modified: 2020-10-11 22:24 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 Michal Plichta 2020-08-05 20:07:57 UTC
Bug 728996 not solved

Reproducible: Always
Comment 1 Michal Plichta 2020-08-05 20:08:39 UTC
 * Final size of build directory: 38520 KiB (37.6 MiB)
 * Final size of installed tree:  11148 KiB (10.8 MiB)

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   /usr/lib64/libSimGearScene.so.2020.3.0
   /usr/lib64/libSimGearCore.so.2020.3.0

>>> Installing (2 of 3) dev-games/simgear-9999::gentoo
>>> needed    obj /usr/lib64/libSimGearCore.so.2020.2.0
>>> needed    obj /usr/lib64/libSimGearScene.so.2020.2.0

>>> Emerging (3 of 3) games-simulation/flightgear-9999::gentoo
>>> Unpacking source...
 * git-r3: git protocol is completely unsecure and may render the ebuild
 * easily susceptible to MITM attacks (even if used only as fallback). Please
 * use https instead.
 * [URI: git://git.code.sf.net/p/flightgear/flightgear]
 * git-r3: git protocol is completely unsecure and may render the ebuild
 * easily susceptible to MITM attacks (even if used only as fallback). Please
 * use https instead.
 * [URI: git://mapserver.flightgear.org/flightgear]
 * Repository id: flightgear_flightgear.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_FLIGHTGEAR_FLIGHTGEAR
 *   EGIT_OVERRIDE_BRANCH_FLIGHTGEAR_FLIGHTGEAR
 *   EGIT_OVERRIDE_COMMIT_FLIGHTGEAR_FLIGHTGEAR
 *   EGIT_OVERRIDE_COMMIT_DATE_FLIGHTGEAR_FLIGHTGEAR
 * 
 * Fetching git://git.code.sf.net/p/flightgear/flightgear ...
git fetch git://git.code.sf.net/p/flightgear/flightgear +refs/heads/next:refs/heads/next
git symbolic-ref refs/git-r3/games-simulation/flightgear/0/__main__ refs/heads/next
 * Checking out git://git.code.sf.net/p/flightgear/flightgear to /var/tmp/portage/games-simulation/flightgear-9999/work/flightgear-9999 ...
git checkout --quiet next
GIT update -->
   repository:               git://git.code.sf.net/p/flightgear/flightgear
   at the commit:            b04a0d74f6ad5e7f30a7054c3df2753ac6d44486
>>> Source unpacked in /var/tmp/portage/games-simulation/flightgear-9999/work
>>> Preparing source in /var/tmp/portage/games-simulation/flightgear-9999/work/flightgear-9999 ...
 * Applying flightgear-2020.1.2-cmake.patch ...
patching file CMakeLists.txt
Hunk #1 FAILED at 367.
1 out of 1 hunk FAILED -- saving rejects to file CMakeLists.txt.rej
patching file CMakeModules/SetupFGFSLibraries.cmake
patching file src/GUI/CMakeLists.txt
Hunk #1 FAILED at 137.
1 out of 1 hunk FAILED -- saving rejects to file src/GUI/CMakeLists.txt.rej                                                                                                                                                                                    [ !! ]
 * ERROR: games-simulation/flightgear-9999::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/games-simulation/flightgear-9999/files/flightgear-2020.1.2-cmake.patch
 * 
 * Call stack:
 *               ebuild.sh, line  125:  Called src_prepare
 *             environment, line 2707:  Called cmake_src_prepare
 *             environment, line 1171:  Called default_src_prepare
 *      phase-functions.sh, line  920:  Called __eapi6_src_prepare
 *             environment, line  309:  Called eapply '/var/tmp/portage/games-simulation/flightgear-9999/files/flightgear-2020.1.2-cmake.patch'
 *             environment, line 1329:  Called _eapply_patch '/var/tmp/portage/games-simulation/flightgear-9999/files/flightgear-2020.1.2-cmake.patch'
 *             environment, line 1267:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/games-simulation/flightgear-9999/files/flightgear-2020.1.2-cmake.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
Comment 2 Larry the Git Cow gentoo-dev 2020-10-06 19:33:58 UTC
The bug has been referenced in the following commit(s):

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

commit a5485bfd393b2c84888224d0e9a94407afaad1d7
Author:     Maciej Mrozowski <reavertm@gentoo.org>
AuthorDate: 2020-10-06 19:32:53 +0000
Commit:     Maciej Mrozowski <reavertm@gentoo.org>
CommitDate: 2020-10-06 19:33:29 +0000

    games-simulation/flightgear: fix QA issue, do not apply patches in live ebuild
    
    Closes: https://bugs.gentoo.org/744940
    Bug: https://bugs.gentoo.org/736082
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>

 games-simulation/flightgear/flightgear-2020.1.2.ebuild | 1 -
 games-simulation/flightgear/flightgear-9999.ebuild     | 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)
Comment 3 Maciej Mrozowski gentoo-dev 2020-10-06 19:35:41 UTC
On well, no downstream patched in live ebuild from now on.
Comment 4 Russell Dwiggins 2020-10-11 22:24:22 UTC
A workaround for building live flightgear (for now) is to downgrade openscenegraph to v. 3.6.4.