Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] dev-qt/qtnetwork-5.6.0 patching failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jesterchen
n00b
n00b


Joined: 21 Jan 2012
Posts: 33

PostPosted: Sat Apr 30, 2016 9:00 pm    Post subject: [Solved] dev-qt/qtnetwork-5.6.0 patching failed Reply with quote

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
View user's profile Send private message
ophuls
n00b
n00b


Joined: 05 Jun 2015
Posts: 9

PostPosted: Mon May 02, 2016 7:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
jesterchen
n00b
n00b


Joined: 21 Jan 2012
Posts: 33

PostPosted: Mon May 02, 2016 9:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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