View previous topic :: View next topic |
Author |
Message |
jesterchen n00b
Joined: 21 Jan 2012 Posts: 33
|
Posted: Sat Apr 30, 2016 9:00 pm Post subject: [Solved] dev-qt/qtnetwork-5.6.0 patching failed |
|
|
Hi there,
I am not able to update to qt-5.6, because patching in qtnetwork-5.6.0. fails. Here is the info:
emerge --info '=dev-qt/qtnetwork-5.6.0::gentoo'
emerge -pqv '=dev-qt/qtnetwork-5.6.0::gentoo'
And the build.log:
Quote: | * Package: dev-qt/qtnetwork-5.6.0
* Repository: gentoo
* Maintainer: qt@gentoo.org
* Upstream: https://bugreports.qt.io/
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux ssl userland_GNU
* FEATURES: preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
>>> Unpacking qtbase-opensource-src-5.6.0.tar.xz to /var/tmp/portage/dev-qt/qtnetwork-5.6.0/work
>>> Source unpacked in /var/tmp/portage/dev-qt/qtnetwork-5.6.0/work
>>> Preparing source in /var/tmp/portage/dev-qt/qtnetwork-5.6.0/work/qtbase-opensource-src-5.6.0 ...
* Applying patches from /etc/portage/patches/dev-qt/qtnetwork ...
* gistfile1.txt.patch ...
5 out of 5 hunks FAILED -- saving rejects to file src/network/access/qnetworkaccessmanager.cpp.rej
2 out of 2 hunks FAILED -- saving rejects to file src/network/access/qnetworkaccessmanager_p.h.rej
2 out of 2 hunks FAILED -- saving rejects to file tests/auto/network/access/qnetworkaccessmanager/tst_qnetworkaccessmanager.cpp.rej
[ !! ]
* ERROR: dev-qt/qtnetwork-5.6.0::gentoo failed (prepare phase):
* patch -p1 failed with /etc/portage/patches/dev-qt/qtnetwork/gistfile1.txt.patch
*
* Call stack:
* ebuild.sh, line 133: Called src_prepare
* environment, line 2797: Called qt5-build_src_prepare
* environment, line 2443: Called default
* phase-functions.sh, line 805: Called default_src_prepare
* phase-functions.sh, line 870: Called __eapi6_src_prepare
* environment, line 246: Called eapply_user
* environment, line 714: Called eapply '/etc/portage/patches/dev-qt/qtnetwork'
* environment, line 691: Called _eapply_patch '/etc/portage/patches/dev-qt/qtnetwork/gistfile1.txt.patch' ' '
* environment, line 633: Called __helpers_die 'patch -p1 failed with /etc/portage/patches/dev-qt/qtnetwork/gistfile1.txt.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-qt/qtnetwork-5.6.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-qt/qtnetwork-5.6.0::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-qt/qtnetwork-5.6.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtnetwork-5.6.0/temp/environment'.
* Working directory: '/var/tmp/portage/dev-qt/qtnetwork-5.6.0/work/qtbase-opensource-src-5.6.0'
* S: '/var/tmp/portage/dev-qt/qtnetwork-5.6.0/work/qtbase-opensource-src-5.6.0'
|
Any ideas? Is it only me? Hints are greatly appreciated.
Last edited by jesterchen on Mon May 02, 2016 10:14 pm; edited 1 time in total |
|
Back to top |
|
|
ophuls n00b
Joined: 05 Jun 2015 Posts: 9
|
Posted: Mon May 02, 2016 7:29 pm Post subject: |
|
|
Quote: | * Applying patches from /etc/portage/patches/dev-qt/qtnetwork ...
* gistfile1.txt.patch ...
5 out of 5 hunks FAILED -- saving rejects to file src/network/access/qnetworkaccessmanager.cpp.rej
2 out of 2 hunks FAILED -- saving rejects to file src/network/access/qnetworkaccessmanager_p.h.rej
2 out of 2 hunks FAILED -- saving rejects to file tests/auto/network/access/qnetworkaccessmanager/tst_qnetworkaccessmanager.cpp.rej
[ !! ]
* ERROR: dev-qt/qtnetwork-5.6.0::gentoo failed (prepare phase):
* patch -p1 failed with /etc/portage/patches/dev-qt/qtnetwork/gistfile1.txt.patch |
portage is trying to apply a user patch (gitstfile1.txt.patch) placed in Code: | /etc/portage/patches/dev-qt/qtnetwork/ | and failed.
Are you sure you need this patch with the current version (5.6.0) of qtnetwork?
Try to remove the patch and see if the build succeed.
thomas |
|
Back to top |
|
|
jesterchen n00b
Joined: 21 Jan 2012 Posts: 33
|
Posted: Mon May 02, 2016 9:30 pm Post subject: |
|
|
Uhm...
I apologize for not even reading the output correctly. (An excuse slash explanation is of course the ... uhm... .... nope. Just 'sorry'.)
Thanks for your help. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|