Errors with libxft-bgra-git-2.3.4.r147.42c6616-1 updating

Would it be possible to get help with this error have looked around the web with no luck.

Thanks

Aur (1) libxft-bgra-git-2.3.4.r147.42c6616-1

:: Proceed to review? [Y/n]: 

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
fetching devel info...
==> Making package: libxft-bgra-git 2.3.4.r147.42c6616-1 (Sat 16 Jul 2022 13:34:36)
==> Retrieving sources...
  -> Updating libxft git repo...
  -> Found 1.patch
==> Validating source files with md5sums...
    libxft ... Skipped
    1.patch ... Passed
==> Making package: libxft-bgra-git 2.3.4.r147.42c6616-1 (Sat 16 Jul 2022 13:34:38)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating libxft git repo...
  -> Found 1.patch
==> Validating source files with md5sums...
    libxft ... Skipped
    1.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of libxft git repo...
Cloning into 'libxft'...
done.
==> Starting pkgver()...
==> Updated version: libxft-bgra-git 2.3.4.r169.4356b58-1
==> Sources are ready.
libxft-bgra-git-2.3.4.r147.42c6616-1: parsing pkg list...
==> Making package: libxft-bgra-git 2.3.4.r169.4356b58-1 (Sat 16 Jul 2022 13:34:41)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
patching file src/xftfreetype.c
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file src/xftfreetype.c.rej
patching file src/xftglyphs.c
Hunk #1 succeeded at 69 with fuzz 2 (offset 43 lines).
Hunk #2 FAILED at 80.
Hunk #3 FAILED at 93.
Hunk #4 succeeded at 282 with fuzz 1 (offset 168 lines).
Hunk #5 succeeded at 436 (offset 287 lines).
Hunk #6 succeeded at 641 with fuzz 1 (offset 292 lines).
Hunk #7 succeeded at 741 (offset 292 lines).
Hunk #8 FAILED at 524.
Hunk #9 FAILED at 533.
Hunk #10 succeeded at 848 with fuzz 2 (offset 299 lines).
Hunk #11 FAILED at 601.
Hunk #12 FAILED at 648.
Hunk #13 FAILED at 680.
Hunk #14 FAILED at 774.
Hunk #15 FAILED at 806.
Hunk #16 FAILED at 823.
Hunk #17 FAILED at 846.
Hunk #18 FAILED at 905.
12 out of 18 hunks FAILED -- saving rejects to file src/xftglyphs.c.rej
patching file src/xftint.h
Reversed (or previously applied) patch detected!  Assume -R? [n]

Hi @KoO : did you see this one? libxft-bgra fails after trying to apply patches - patches with yay / AUR Issues, Discussion & PKGBUILD Requests / Arch Linux Forums

Might be a solution for you as well?

1 Like

Thanks for the links I ended up installing a version by budRich
Could have removed the patch line from PKGBUILD, but I trust budRich he know he’s shit. I never use emojis, only here.

#### budRich commented on [2022-07-15 13:57 (UTC)](https://aur.archlinux.org/packages/libxft-bgra-git#comment-874056)

Now that the feature has been merged upstream. the patch provided with this package will probably do more harm than good: https://gitlab.freedesktop.org/xorg/lib/libxft/-/merge_requests/12

i created: https://aur.archlinux.org/packages/libxft-git
2 Likes