Mailing List Archive

Failed to emerge x11-libs/libwnck-43.0-r1
Trying to update the system but I fails at

Failed to emerge x11-libs/libwnck-43.0-r1

Here is the output:

cat /var/tmp/portage/x11-libs/libwnck-43.0-r1/temp/build.log
* Package: x11-libs/libwnck-43.0-r1:3
* Repository: gentoo
* Maintainer: gnome@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc introspection kernel_linux startup-notification userland_GNU
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
* Applying libwnck-43.0-xres-extension.patch ...
patching file libwnck/wnck-handle-private.h
patching file libwnck/wnck-handle.c
patching file meson.build
patching file libwnck/xutils.c
patching file libwnck/application.c
patching file libwnck/window.c
patching file libwnck/wnck-resource-usage.c
patching file libwnck/xutils.c
patching file libwnck/xutils.h
patching file libwnck/xutils.c
[ ok ]
* Applying libwnck-43.0-segfault_in_invalidate_icons.patch ...
[ ok ]
* ======================================================================================================================================================
* Applying user patches from /etc/portage/patches ...
* Applying diffs.patch ...
patching file libwnck/wnck-handle-private.h
Hunk #1 succeeded at 28 with fuzz 2 (offset 2 lines).
patching file libwnck/wnck-handle.c
Hunk #1 succeeded at 34 with fuzz 2 (offset 5 lines).
Hunk #2 succeeded at 55 with fuzz 2 (offset 7 lines).
Hunk #3 succeeded at 215 with fuzz 1 (offset 44 lines).
Hunk #4 FAILED at 331.
Hunk #5 succeeded at 435 with fuzz 1 (offset 51 lines).
1 out of 5 hunks FAILED -- saving rejects to file libwnck/wnck-handle.c.rej
patching file meson.build
Hunk #1 FAILED at 45.
1 out of 1 hunk FAILED -- saving rejects to file meson.build.rej
patching file libwnck/xutils.c
Hunk #1 FAILED at 1145.
Hunk #2 FAILED at 1172.
2 out of 2 hunks FAILED -- saving rejects to file libwnck/xutils.c.rej
patching file libwnck/application.c
Hunk #1 FAILED at 524.
1 out of 1 hunk FAILED -- saving rejects to file libwnck/application.c.rej
patching file libwnck/window.c
Hunk #1 FAILED at 510.
1 out of 1 hunk FAILED -- saving rejects to file libwnck/window.c.rej
patching file libwnck/wnck-resource-usage.c
Hunk #1 FAILED at 126.
Hunk #2 FAILED at 138.
Hunk #3 FAILED at 250.
3 out of 3 hunks FAILED -- saving rejects to file libwnck/wnck-resource-usage.c.rej
patching file libwnck/xutils.c
Hunk #1 FAILED at 1147.
Hunk #2 FAILED at 1178.
Hunk #3 FAILED at 1190.
3 out of 3 hunks FAILED -- saving rejects to file libwnck/xutils.c.rej
patching file libwnck/xutils.h
Hunk #1 FAILED at 123.
1 out of 1 hunk FAILED -- saving rejects to file libwnck/xutils.h.rej
patching file libwnck/xutils.c
Hunk #1 succeeded at 1159 with fuzz 2 (offset 3 lines).
[ !! ]
* ERROR: x11-libs/libwnck-43.0-r1::gentoo failed (prepare phase):
* patch -p1 failed with /etc/portage/patches/x11-libs/libwnck-43.0/diffs.patch
*
* Call stack:
* ebuild.sh, line 136: Called src_prepare
* environment, line 2278: Called default
* phase-functions.sh, line 872: Called default_src_prepare
* phase-functions.sh, line 948: Called __eapi8_src_prepare
* environment, line 372: Called eapply_user
* environment, line 1115: Called eapply '/etc/portage/patches/x11-libs/libwnck-43.0/diffs.patch'
* environment, line 1078: Called _eapply_patch '/etc/portage/patches/x11-libs/libwnck-43.0/diffs.patch'
* environment, line 1016: Called __helpers_die 'patch -p1 failed with /etc/portage/patches/x11-libs/libwnck-43.0/diffs.patch'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=x11-libs/libwnck-43.0-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-libs/libwnck-43.0-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/x11-libs/libwnck-43.0-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/libwnck-43.0-r1/temp/environment'.
* Working directory: '/var/tmp/portage/x11-libs/libwnck-43.0-r1/work/libwnck-43.0'


--
Thelma
Re: Failed to emerge x11-libs/libwnck-43.0-r1 [ In reply to ]
On 4/15/23 07:48, thelma@sys-concept.com wrote:
> Trying to update the system but I fails at
>
> Failed to emerge x11-libs/libwnck-43.0-r1
>
> Here is the output:
>
> cat /var/tmp/portage/x11-libs/libwnck-43.0-r1/temp/build.log
>  * Package:    x11-libs/libwnck-43.0-r1:3
>  * Repository: gentoo
>  * Maintainer: gnome@gentoo.org
>  * USE:        abi_x86_64 amd64 elibc_glibc introspection kernel_linux startup-notification userland_GNU
>  * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>  * Applying libwnck-43.0-xres-extension.patch ...
> patching file libwnck/wnck-handle-private.h
> patching file libwnck/wnck-handle.c
> patching file meson.build
> patching file libwnck/xutils.c
> patching file libwnck/application.c
> patching file libwnck/window.c
> patching file libwnck/wnck-resource-usage.c
> patching file libwnck/xutils.c
> patching file libwnck/xutils.h
> patching file libwnck/xutils.c
>  [ ok ]
>  * Applying libwnck-43.0-segfault_in_invalidate_icons.patch ...
>  [ ok ]
>  * ======================================================================================================================================================
>  * Applying user patches from /etc/portage/patches ...
>  * Applying diffs.patch ...
> patching file libwnck/wnck-handle-private.h
> Hunk #1 succeeded at 28 with fuzz 2 (offset 2 lines).
> patching file libwnck/wnck-handle.c
> Hunk #1 succeeded at 34 with fuzz 2 (offset 5 lines).
> Hunk #2 succeeded at 55 with fuzz 2 (offset 7 lines).
> Hunk #3 succeeded at 215 with fuzz 1 (offset 44 lines).
> Hunk #4 FAILED at 331.
> Hunk #5 succeeded at 435 with fuzz 1 (offset 51 lines).
> 1 out of 5 hunks FAILED -- saving rejects to file libwnck/wnck-handle.c.rej
> patching file meson.build
> Hunk #1 FAILED at 45.
> 1 out of 1 hunk FAILED -- saving rejects to file meson.build.rej
> patching file libwnck/xutils.c
> Hunk #1 FAILED at 1145.
> Hunk #2 FAILED at 1172.
> 2 out of 2 hunks FAILED -- saving rejects to file libwnck/xutils.c.rej
> patching file libwnck/application.c
> Hunk #1 FAILED at 524.
> 1 out of 1 hunk FAILED -- saving rejects to file libwnck/application.c.rej
> patching file libwnck/window.c
> Hunk #1 FAILED at 510.
> 1 out of 1 hunk FAILED -- saving rejects to file libwnck/window.c.rej
> patching file libwnck/wnck-resource-usage.c
> Hunk #1 FAILED at 126.
> Hunk #2 FAILED at 138.
> Hunk #3 FAILED at 250.
> 3 out of 3 hunks FAILED -- saving rejects to file libwnck/wnck-resource-usage.c.rej
> patching file libwnck/xutils.c
> Hunk #1 FAILED at 1147.
> Hunk #2 FAILED at 1178.
> Hunk #3 FAILED at 1190.
> 3 out of 3 hunks FAILED -- saving rejects to file libwnck/xutils.c.rej
> patching file libwnck/xutils.h
> Hunk #1 FAILED at 123.
> 1 out of 1 hunk FAILED -- saving rejects to file libwnck/xutils.h.rej
> patching file libwnck/xutils.c
> Hunk #1 succeeded at 1159 with fuzz 2 (offset 3 lines).
>  [ !! ]
>  * ERROR: x11-libs/libwnck-43.0-r1::gentoo failed (prepare phase):
>  *   patch -p1  failed with /etc/portage/patches/x11-libs/libwnck-43.0/diffs.patch
>  *
>  * Call stack:
>  *               ebuild.sh, line  136:  Called src_prepare
>  *             environment, line 2278:  Called default
>  *      phase-functions.sh, line  872:  Called default_src_prepare
>  *      phase-functions.sh, line  948:  Called __eapi8_src_prepare
>  *             environment, line  372:  Called eapply_user
>  *             environment, line 1115:  Called eapply '/etc/portage/patches/x11-libs/libwnck-43.0/diffs.patch'
>  *             environment, line 1078:  Called _eapply_patch '/etc/portage/patches/x11-libs/libwnck-43.0/diffs.patch'
>  *             environment, line 1016:  Called __helpers_die 'patch -p1  failed with /etc/portage/patches/x11-libs/libwnck-43.0/diffs.patch'
>  *   isolated-functions.sh, line  112:  Called die
>  * The specific snippet of code:
>  *           die "$@"

On my other systems x11-libs/libwnck-43.0-r1 emerged just find, so I don't know why is it failing, I did emerge --sync again but it doesn't help.
Re: Failed to emerge x11-libs/libwnck-43.0-r1 [ In reply to ]
On Sat, Apr 15, 2023 at 08:01:46AM -0600, thelma@sys-concept.com wrote:
> On 4/15/23 07:48, thelma@sys-concept.com wrote:
> > Trying to update the system but I fails at
> >
> > Failed to emerge x11-libs/libwnck-43.0-r1
> >
> > Here is the output:
> >
> > cat /var/tmp/portage/x11-libs/libwnck-43.0-r1/temp/build.log
> > [...]
> >  * Applying user patches from /etc/portage/patches ...
> >  * Applying diffs.patch ...
> > [...]
>
> On my other systems x11-libs/libwnck-43.0-r1 emerged just find, so I don't know why is it failing, I did emerge --sync again but it doesn't help.
>

Your diffs.patch is probably outdated.
Re: Failed to emerge x11-libs/libwnck-43.0-r1 [ In reply to ]
On Sat, 15 Apr 2023 07:48:15 -0600, thelma@sys-concept.com wrote:

> Trying to update the system but I fails at
>
> Failed to emerge x11-libs/libwnck-43.0-r1
>
> Here is the output:
>
> * Applying user patches from /etc/portage/patches ...
> * Applying diffs.patch ...

You have a patch file in /etc/portage/patches that is probably no longer
needed/valid. Either remove it or rename the directory containing it to
specify the currently installed version but exclude the new version.


--
Neil Bothwick

If you got the words it does not mean you got the knowledge.
Re: Failed to emerge x11-libs/libwnck-43.0-r1 [ In reply to ]
On 4/15/23 08:17, Neil Bothwick wrote:
> On Sat, 15 Apr 2023 07:48:15 -0600, thelma@sys-concept.com wrote:
>
>> Trying to update the system but I fails at
>>
>> Failed to emerge x11-libs/libwnck-43.0-r1
>>
>> Here is the output:
>>
>> * Applying user patches from /etc/portage/patches ...
>> * Applying diffs.patch ...
>
> You have a patch file in /etc/portage/patches that is probably no longer
> needed/valid. Either remove it or rename the directory containing it to
> specify the currently installed version but exclude the new version.
>
Thank you, yes that was it.
I remember patching last time, forgot to remove it.