Re: [gentoo-user] webkit-gtk-2.4.11-r200::gentoo failed (compile phase)

2018-02-18 Thread Neil Bothwick
On Sun, 18 Feb 2018 16:05:41 -0700, the...@sys-concept.com wrote:

> > The patch is to be applied to the source files, not the ebuild
> > 
> > mkdir /etc/portage/patches/net-libs/webkit-gtk/webkit-gtk-2.4.11-r200 
> > then copy the patch file to that directory and portage will apply it
> > to the source after unpacking.  
> 
> Did not work.
> ll /etc/portage/patches/net-libs/webkit-gtk/webkit-gtk-2.4.11-r200
> total 4
> -rw-r--r-- 1 thelma thelma 525 Feb 18 10:54 patch.patch
> 
> emerge webkit-gtk
> produces same error message.
> 
> make[1]: Leaving directory
> '/var/tmp/portage/net-libs/webkit-gtk-2.4.11-r200/work/webkitgtk-2.4.11'
> make: *** [GNUmakefile:25837: all] Error 2
>  * ERROR: net-libs/webkit-gtk-2.4.11-r200::gentoo failed (compile
> phase):
>  *   emake failed

So it got to the compile phase, which means the patch was applied,
otherwise it would have failed at the prepare phase. So the patch is not
the solution to your problem.


-- 
Neil Bothwick

We are sorry, but the number you have dialed is imaginary.
Please rotate your phone 90 degrees and try again.


pgpEgZR9QeoE5.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] webkit-gtk-2.4.11-r200::gentoo failed (compile phase)

2018-02-18 Thread thelma
On 02/18/2018 12:14 PM, Neil Bothwick wrote:
> On Sun, 18 Feb 2018 12:01:54 -0700, the...@sys-concept.com wrote:
> 
>> I've tried this propose patch. 
>> https://621532.bugs.gentoo.org/attachment.cgi?id=511304
>>
>> save it to a file patch.patch
>> went to directory:
>> cd /usr/portage/net-libs/webkit-gtk/
>> patch -p0 < patch.patch
>>
>> It ask me what file I want to patch, I entered: 
>> JSStringRef.h
>>
>> run:
>> ebuild /usr/portage/net-libs/webkit-gtk/webkit-gtk-2.4.11-r200.ebuild
>> digest
>>
>> But it still fails to compile.
>> Am I applying patch the same way.
> 
> The patch is to be applied to the source files, not the ebuild
> 
> mkdir /etc/portage/patches/net-libs/webkit-gtk/webkit-gtk-2.4.11-r200 
> then copy the patch file to that directory and portage will apply it to
> the source after unpacking.

Did not work.
ll /etc/portage/patches/net-libs/webkit-gtk/webkit-gtk-2.4.11-r200
total 4
-rw-r--r-- 1 thelma thelma 525 Feb 18 10:54 patch.patch

emerge webkit-gtk
produces same error message.

make[1]: Leaving directory
'/var/tmp/portage/net-libs/webkit-gtk-2.4.11-r200/work/webkitgtk-2.4.11'
make: *** [GNUmakefile:25837: all] Error 2
 * ERROR: net-libs/webkit-gtk-2.4.11-r200::gentoo failed (compile phase):
 *   emake failed

Thelma



Re: [gentoo-user] webkit-gtk-2.4.11-r200::gentoo failed (compile phase)

2018-02-18 Thread John Blinka
On Sun, Feb 18, 2018 at 2:56 PM Floyd Anderson  wrote:

I had the same problem, and, after a huge amount of experimenting, found a
solution that works for me.  I masked =dev-libs/icu-60.2 and then did
emerge -DuNv @world.  On my systems, that downgrades to icu-58.2-r1, which
is compatible with webkit-2.4.11-r200

John


Re: [gentoo-user] webkit-gtk-2.4.11-r200::gentoo failed (compile phase)

2018-02-18 Thread Floyd Anderson

Hi Thelma,

On Sun, 18 Feb 2018 12:01:54 -0700
the...@sys-concept.com wrote:

I'm getting an error.

make[1]: Leaving directory 
'/var/tmp/portage/net-libs/webkit-gtk-2.4.11-r200/work/webkitgtk-2.4.11'
make: *** [GNUmakefile:25837: all] Error 2
* ERROR: net-libs/webkit-gtk-2.4.11-r200::gentoo failed (compile phase):
*   emake failed

I've tried this propose patch.
https://621532.bugs.gentoo.org/attachment.cgi?id=511304

save it to a file patch.patch
went to directory:
cd /usr/portage/net-libs/webkit-gtk/
patch -p0 < patch.patch

It ask me what file I want to patch, I entered:
JSStringRef.h

run:
ebuild /usr/portage/net-libs/webkit-gtk/webkit-gtk-2.4.11-r200.ebuild digest

But it still fails to compile.
Am I applying patch the same way.
--
Thelma



There’s no ‘JSStringRef.h’ file in ‘/usr/portage/net-libs/webkit-gtk/’, 
so patch must fail. Since the ebuild:


   /usr/portage/net-libs/webkit-gtk/webkit-gtk-2.4.11-r200.ebuild

defines EAPI="6" you can just put the patch file in:

   /etc/portage/patches/net-libs/webkit-gtk/

with the right permissions (so that portage can read it). Don’t forget 
to remove the patch for newer (future) versions or be more specific and 
use the path:


   /etc/portage/patches/net-libs/webkit-gtk-2.4.11-r200/

for the patch file [1].

It seems the patch file isn’t valid because its first line:

--- webkitgtk-2.4.11.orig/Source/JavaScriptCore/API/JSStringRef.h   
2016-04-10 08:48:36.0 +0200

looks wrong to me (I doubt the package archive contains a 
‘webkitgtk-2.4.11.orig’ subfolder underneath the patch command will find 
the file ‘JSStringRef.h’)


After you ensured the path is fine try to re-emerge the package. 



References:
  - [1] 


--
Regards,
floyd




Re: [gentoo-user] webkit-gtk-2.4.11-r200::gentoo failed (compile phase)

2018-02-18 Thread Neil Bothwick
On Sun, 18 Feb 2018 12:01:54 -0700, the...@sys-concept.com wrote:

> I've tried this propose patch. 
> https://621532.bugs.gentoo.org/attachment.cgi?id=511304
> 
> save it to a file patch.patch
> went to directory:
> cd /usr/portage/net-libs/webkit-gtk/
> patch -p0 < patch.patch
> 
> It ask me what file I want to patch, I entered: 
> JSStringRef.h
> 
> run:
> ebuild /usr/portage/net-libs/webkit-gtk/webkit-gtk-2.4.11-r200.ebuild
> digest
> 
> But it still fails to compile.
> Am I applying patch the same way.

The patch is to be applied to the source files, not the ebuild

mkdir /etc/portage/patches/net-libs/webkit-gtk/webkit-gtk-2.4.11-r200 
then copy the patch file to that directory and portage will apply it to
the source after unpacking.


-- 
Neil Bothwick

Where do forest rangers go to "get away from it all?"


pgp7HFx9JU0aV.pgp
Description: OpenPGP digital signature


[gentoo-user] webkit-gtk-2.4.11-r200::gentoo failed (compile phase)

2018-02-18 Thread thelma
I'm getting an error.

make[1]: Leaving directory 
'/var/tmp/portage/net-libs/webkit-gtk-2.4.11-r200/work/webkitgtk-2.4.11'
make: *** [GNUmakefile:25837: all] Error 2
 * ERROR: net-libs/webkit-gtk-2.4.11-r200::gentoo failed (compile phase):
 *   emake failed

I've tried this propose patch. 
https://621532.bugs.gentoo.org/attachment.cgi?id=511304

save it to a file patch.patch
went to directory:
cd /usr/portage/net-libs/webkit-gtk/
patch -p0 < patch.patch

It ask me what file I want to patch, I entered: 
JSStringRef.h

run:
ebuild /usr/portage/net-libs/webkit-gtk/webkit-gtk-2.4.11-r200.ebuild digest

But it still fails to compile.
Am I applying patch the same way.
-- 
Thelma