Bug 258383

Summary: x11-fonts/fontconfig: Updating 2.13.94 patch failure
Product: Ports & Packages Reporter: odhiambo <odhiambo>
Component: Individual Port(s)Assignee: freebsd-desktop (Team) <desktop>
Status: Closed Works As Intended    
Severity: Affects Only Me CC: herbert
Priority: --- Flags: bugzilla: maintainer-feedback? (desktop)
Version: Latest   
Hardware: Any   
OS: Any   

Description odhiambo@gmail.com 2021-09-09 09:00:27 UTC
Hi,

FreeBSD 13.0-RELEASE-p4

Ports updated via git.

The following ports rely on the $subject which cannot compile successfully:

usr/ports/graphics/pecl-imagick
/usr/ports/graphics/php74-gd



root@svr:/usr/ports/x11-fonts/fontconfig # make
===>  License MIT accepted by the user
===>   fontconfig-2.13.94_1,1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by fontconfig-2.13.94_1,1 for building
===>  Extracting for fontconfig-2.13.94_1,1
=> SHA256 Checksum OK for fontconfig-2.13.94.tar.xz.
===>  Patching for fontconfig-2.13.94_1,1
===>  Applying FreeBSD patches for fontconfig-2.13.94_1,1 from
/usr/ports/x11-fonts/fontconfig/files
Ignoring previously applied (or reversed) patch.
2 out of 2 hunks ignored--saving rejects to src/fccfg.c.rej
===>  FAILED Applying FreeBSD patch-src_fccfg.c
===> Cleanly applied FreeBSD patch(es)  patch-conf.d_60-latin.conf
patch-conf.d_meson.build patch-fc-cache_meson.build patch-meson.build
patch-meson__options.txt
===> FAILED to apply cleanly FreeBSD patch(es)  patch-src_fccfg.c
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/x11-fonts/fontconfig
*** Error code 1

Stop.
make: stopped in /usr/ports/x11-fonts/fontconfig
root@svr:/usr/ports/x11-fonts/fontconfig #
Comment 1 Herbert J. Skuhra 2021-09-09 09:53:20 UTC
Can you run 'git status'? I don't have 'patch-src_fccfg.c' in x11-fonts/fontconfig/files!
Comment 2 odhiambo@gmail.com 2021-09-09 10:09:33 UTC
I have run gitup ports once again and the error has gone away.
I can also confirm that patch-src_fccfg.c isn't there now.