Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Mar 2026 16:54:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        desktop@FreeBSD.org
Subject:   [Bug 293980] print/harfbuzz: fails to build due to missing dependency
Message-ID:  <bug-293980-39348@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293980

            Bug ID: 293980
           Summary: print/harfbuzz: fails to build due to missing
                    dependency
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: spambox@haruhiism.net
          Assignee: desktop@FreeBSD.org
             Flags: maintainer-feedback?(desktop@FreeBSD.org)

Created attachment 269011
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=269011&action=edit
Patch to add graphics/png to dependencies

Attached patch seems to solve the issue.

Excerpt from poudriere build log:

=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for harfbuzz-13.1.1
WARNING: Recommend using either -Dbuildtype or -Doptimization + -Ddebug. Using
both is redundant since they override each other. See:
https://mesonbuild.com/Builtin-options.html#build-type-options
The Meson build system
Version: 1.7.0
Source dir: /wrkdirs/usr/ports/print/harfbuzz/work/harfbuzz-13.1.1
Build dir: /wrkdirs/usr/ports/print/harfbuzz/work/harfbuzz-13.1.1/_build
Build type: native build
Project name: harfbuzz
Project version: 13.1.1
C compiler for the host machine: cc (clang 19.1.7 "FreeBSD clang version 19.1.7
(https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)")
C linker for the host machine: cc ld.lld 19.1.7
C++ compiler for the host machine: c++ (clang 19.1.7 "FreeBSD clang version
19.1.7 (https://github.com/llvm/llvm-project.git
llvmorg-19.1.7-0-gcd708029e0b2)")
C++ linker for the host machine: c++ ld.lld 19.1.7
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C++ supports link arguments -Bsymbolic-functions: YES 
Compiler for C++ supports arguments -fno-exceptions: YES 
Compiler for C++ supports arguments -fno-rtti: YES 
Compiler for C++ supports arguments -fno-threadsafe-statics: YES 
Compiler for C++ supports arguments -fvisibility-inlines-hidden: YES 
Library m found: YES
Found pkg-config: YES (/usr/local/bin/pkgconf) 2.4.3
Run-time dependency freetype2 found: YES 26.5.20
Run-time dependency glib-2.0 found: YES 2.84.4
Run-time dependency gobject-2.0 found: YES 2.84.4
Run-time dependency graphite2 found: YES 3.0.1
Dependency graphite2 skipped: feature graphite disabled
Library iwasm skipped: feature wasm disabled
Dependency icu-uc skipped: feature icu disabled
Dependency chafa skipped: feature chafa disabled
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libpng found: NO (tried pkgconfig and cmake)
Not looking for a fallback subproject for the dependency libpng because:
Use of fallback dependencies is disabled.

meson.build:162:10: ERROR: Dependency 'libpng' is required but not found.

A full log can be found at
/wrkdirs/usr/ports/print/harfbuzz/work/harfbuzz-13.1.1/_build/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup
[options]` is ambiguous and deprecated.
===>  Script "configure" failed unexpectedly.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-293980-39348>