pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: fonts/fontconfig build fails



Thanks for looking into this.  And please feel free to commit if
you're confident.  :-)


On Mon, 17 Aug 2026, abs%absd.org@localhost wrote:

The following fixed the build for me - I'm assuming that BUILDLINK_X11_DIR exists in some build configs so the logic helps there

RCS file: /cvsroot/pkgsrc/fonts/fontconfig/Makefile,v
retrieving revision 1.142
diff -u -p -r1.142 Makefile
--- Makefile    14 Aug 2026 14:01:21 -0000      1.142
+++ Makefile    17 Aug 2026 10:35:28 -0000
@@ -104,8 +104,10 @@ CHECK_PORTABILITY_SKIP+=   .gitlab-ci/fedo

TEST_TARGET=   check

+.if exists(BUILDLINK_X11_DIR)
pre-configure:
       cd ${BUILDLINK_X11_DIR} && ${FIND} . -path "*fontconfig*" -type l -delete
+.endif

post-install:
       ${INSTALL_DATA} ${FILESDIR}/30-pkgsrc-aliases.conf ${DESTDIR}${TMPLDIR}



On Monday, 17 August 2026 at 02:41, Paul Goyette <paul%whooppee.com@localhost> wrote:

I reverted adam's most recent change and it builds ok now

On Sun, 16 Aug 2026, Paul Goyette wrote:


...
===> Creating toolchain wrappers for fontconfig-2.18.3
===> Configuring for fontconfig-2.18.3
=> Generating pkg-config file for builtin expat package.
=> Substituting "prefix" in meson.build conf.d/meson.build conf.d/README.in
cd /tmp/pkgs/fonts/fontconfig/work/.x11-buildlink && /usr/bin/find . -path
"*fontconfig*" -type l -delete
cd: Can't cd to "/tmp/pkgs/fonts/fontconfig/work/.x11-buildlink": No such
file or directory
*** Error code 2


!DSPAM:6a82e869162652472235464!



+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost  |
| & Network Engineer  |                          | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+


Home | Main Index | Thread Index | Old Index