Package: fontconfig Version: 2.13.1-1 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hello, fontconfig currently FTBFS on hurd-i386 due to inconditionnal PATH_MAX usage. The attached patch fixes this. The current fontconfig available for hurd-i386 segfaults during the d-i build (see https://d-i.debian.org/daily-images/hurd-i386/20181101-01:27/build_cdrom_grub.log ) while version 2.13.1-1 does not, so we'd like to have this fixed soon enough :) Samuel -- System Information: Debian Release: buster/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages fontconfig depends on: ii fontconfig-config 2.13.1-1 ii libc6 2.27-6 ii libfontconfig1 2.13.1-1 ii libfreetype6 2.8.1-2 fontconfig recommends no packages. fontconfig suggests no packages. -- no debconf information -- Samuel <y> t1 faich <y> les programmes ils segfaultent jamais quand on veut -+- #ens-mim en plein débogage -+-
Index: fontconfig-2.13.1/src/fccfg.c =================================================================== --- fontconfig-2.13.1.orig/src/fccfg.c +++ fontconfig-2.13.1/src/fccfg.c @@ -2231,7 +2231,7 @@ FcConfigRealFilename (FcConfig *config, if (n) { - FcChar8 buf[PATH_MAX]; + FcChar8 buf[FC_PATH_MAX]; ssize_t len; if (sysroot)