• [gentoo-user] Failed to emerge x11-libs/libwnck-43.0-r1

    From thelma@sys-concept.com@21:1/5 to All on Sat Apr 15 15:50:01 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From andrewts@farlander.net@21:1/5 to thelma@sys-concept.com on Sat Apr 15 16:10:01 2023
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From thelma@sys-concept.com@21:1/5 to thelma@sys-concept.com on Sat Apr 15 16:10:01 2023
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Neil Bothwick@21:1/5 to thelma@sys-concept.com on Sat Apr 15 16:20:02 2023
    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.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCAAdFiEEGfLZTV7dXdQXh/dDdCdyyQfftocFAmQ6seMACgkQdCdyyQff tofSng//aWqwDaHxKxm9VbXDublxIBqt7NhjxExaX1N2sSUyTHfPHfnUl1NJ6Uqi ITRXcPFsXr1GWyo/AufJ87AxGWHsoSg/u7fynQFfK7+YpHeB7z0VmXXVegYty5Rp v06tQBV5Ih7vPVYL4LPVd/tjJk/AmmXXw8qpz5RRPDb4dhGkzlbt+yx5Hp39z24m LKFB0VSrI6zj6zRQtdwhcJsrkWndwHYUwXmn/uD7la+IpxJaIQp6hsOvaMfKIx/7 wm33Fwfd/335UEqCT1M7IBmUUELBDhecoI/2cmiduhJ6NigCkKLSJfZVpnKGGaMj kU42oqM2a6i8btx5tUBqxuDYtcs1nKrnFvogSGrxk4ocijhMiWSnziTpxxSi01iv k++9EEUYb0gq+5elXGDXxb2gNziixF0/0wZgJNt33u7FIDoDj203mWeizMh5/okh KcoY7/jLKbMIN23+1NBuJsShg9ebEVT+9RfzyesAZgdLme8GMetl2VL2Jmdqi29L rYewqLx+VCLXqPgfkufpFRmSsHqwKb+2iSxZ/FiLWJBg3q9Alkc8YR7BvKxlVCaD 1/oT2QwUYMZub1b2WcluuRwHauBwYLjhEBvfptI+zi2jAoUCqu+jacl9ZpVyBhtA J40z/oo4vGUstlNn5g5vaibqk+4utUETVTNIiW2b2ulZDIDrOhE=
    =Hll9
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From thelma@sys-concept.com@21:1/5 to Neil Bothwick on Sat Apr 15 16:40:01 2023
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)