archivers/brotli fails to install

Trying to install firefox using synth and getting this error. Managing ports with git not portsnap or anything like that. Need help to get past this.

Code:
=> Building archivers/brotli
Started : Friday, 4 APR 2025 at 16:03:56 UTC
Platform: 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC amd64


--------------------------------------------------
--  Environment
--------------------------------------------------
UNAME_r=14.2-SYNTH
UNAME_m=amd64
UNAME_p=amd64
UNAME_v=FreeBSD 14.2-SYNTH
UNAME_s=FreeBSD
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
SSL_NO_VERIFY_PEER=1
TERM=dumb
PKG_CACHEDIR=/var/cache/pkg8
PKG_DBDIR=/var/db/pkg8
PORTSDIR=/xports
LANG=C
HOME=/root
USER=root



--------------------------------------------------
--  Options
--------------------------------------------------
===> The following configuration options are available for brotli-1.1.0,1:
     STATIC=off: Build static executables and/or libraries
===> Use 'make config' to modify these settings



--------------------------------------------------
--  CONFIGURE_ENV
--------------------------------------------------
PKG_CONFIG=pkgconf
XDG_DATA_HOME=/construction/xports/archivers/brotli/work
XDG_CONFIG_HOME=/construction/xports/archivers/brotli/work
XDG_CACHE_HOME=/construction/xports/archivers/brotli/work/.cache
HOME=/construction/xports/archivers/brotli/work
TMPDIR="/tmp"
PATH=/construction/xports/archivers/brotli/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/
usr/local/bin
PKG_CONFIG_LIBDIR=/construction/xports/archivers/brotli/work/.pkgconfig:/usr/local/libdata/pkgconfig
:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
SHELL=/bin/sh
CONFIG_SHELL=/bin/sh



--------------------------------------------------
--  CONFIGURE_ARGS
--------------------------------------------------




--------------------------------------------------
--  MAKE_ENV
--------------------------------------------------
NINJA_STATUS="[%p %s/%t] "
XDG_DATA_HOME=/construction/xports/archivers/brotli/work
XDG_CONFIG_HOME=/construction/xports/archivers/brotli/work
XDG_CACHE_HOME=/construction/xports/archivers/brotli/work/.cache
HOME=/construction/xports/archivers/brotli/work
TMPDIR="/tmp"
PATH=/construction/xports/archivers/brotli/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/
usr/local/bin
PKG_CONFIG_LIBDIR=/construction/xports/archivers/brotli/work/.pkgconfig:/usr/local/libdata/pkgconfig
:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
MK_DEBUG_FILES=no
MK_KERNEL_SYMBOLS=no
SHELL=/bin/sh
NO_LINT=YES
DESTDIR=/construction/xports/archivers/brotli/work/stage
PREFIX=/usr/local
LOCALBASE=/usr/local
CC="cc"
CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "
CPP="cpp"
CPPFLAGS=""
LDFLAGS=" -fstack-protector-strong "
LIBS=""
CXX="c++"
CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "
BSD_INSTALL_PROGRAM="install  -s -m 555"
BSD_INSTALL_LIB="install  -s -m 0644"
BSD_INSTALL_SCRIPT="install  -m 555"
BSD_INSTALL_DATA="install  -m 0644"
BSD_INSTALL_MAN="install  -m 444"



--------------------------------------------------
--  MAKE_ARGS
--------------------------------------------------
-v



--------------------------------------------------
--  PLIST_SUB
--------------------------------------------------
SHLIBVER=1.1
STATIC="@comment "
NO_STATIC=""
CMAKE_BUILD_TYPE="release"
OSREL=14.2
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
LIB32DIR=lib
DOCSDIR="share/doc/brotli"
EXAMPLESDIR="share/examples/brotli"
DATADIR="share/brotli"
WWWDIR="www/brotli"
ETCDIR="etc/brotli"



--------------------------------------------------
--  SUB_LIST
--------------------------------------------------
STATIC="@comment "
NO_STATIC=""
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/brotli
DOCSDIR=/usr/local/share/doc/brotli
EXAMPLESDIR=/usr/local/share/examples/brotli
WWWDIR=/usr/local/www/brotli
ETCDIR=/usr/local/etc/brotli



--------------------------------------------------
--  /etc/make.conf
--------------------------------------------------
SYNTHPROFILE=LiveSystem
USE_PACKAGE_DEPENDS_ONLY=yes
PACKAGE_BUILDING=yes
BATCH=yes
PKG_CREATE_VERBOSE=yes
PORTSDIR=/xports
DISTDIR=/distfiles
WRKDIRPREFIX=/construction
PORT_DBDIR=/options
PACKAGES=/packages
MAKE_JOBS_NUMBER_LIMIT=5
HAVE_COMPAT_IA32_KERN=YES 
CONFIGURE_MAX_CMD_LEN=524288
_PERL5_FROM_BIN=5.36.3
_CCVERSION_921dbbb2=FreeBSD clang version 18.1.6 (https://github.com/llvm/llvm-project.git llvmorg-1
8.1.6-0-g1118c2e05e67) Target: x86_64-unknown-freebsd14.2 Thread model: posix InstalledDir: /usr/bin
_CXXINTERNAL_acaad9ca=FreeBSD clang version 18.1.6 (https://github.com/llvm/llvm-project.git llvmorg
-18.1.6-0-g1118c2e05e67) Target: x86_64-unknown-freebsd14.2 Thread model: posix InstalledDir: /usr/b
in  "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--e
nable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib"
 "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-need
ed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 18.1.6 (https://github.com/llvm/llvm-project.git llvm
org-18.1.6-0-g1118c2e05e67) Target: x86_64-unknown-freebsd14.2 Thread model: posix InstalledDir: /us
r/bin
CC_OUTPUT_921dbbb2_58173849=yes 
CC_OUTPUT_921dbbb2_9bdba57c=yes 
CC_OUTPUT_921dbbb2_6a4fe7f5=yes 
CC_OUTPUT_921dbbb2_6bcac02b=yes 
CC_OUTPUT_921dbbb2_67d20829=yes 
CC_OUTPUT_921dbbb2_bfa62e83=yes 
CC_OUTPUT_921dbbb2_f0b4d593=yes 
CC_OUTPUT_921dbbb2_308abb44=yes 
CC_OUTPUT_921dbbb2_f00456e5=yes 
CC_OUTPUT_921dbbb2_65ad290d=yes 
CC_OUTPUT_921dbbb2_b2657cc3=yes 
CC_OUTPUT_921dbbb2_380987f7=yes 
_ALTCCVERSION_921dbbb2=none
_OBJC_ALTCCVERSION_921dbbb2=none
_SMP_CPUS=12
UID=0
ARCH=amd64
OPSYS=FreeBSD
OSVERSION=1402000
OSREL=14.2
_OSRELEASE=14.2-SYNTH
PYTHONBASE=/usr/local
_PKG_CHECKED=1



--------------------------------------------------------------------------------
--  Phase: check-sanity
--------------------------------------------------------------------------------
===>  License MIT accepted by the user



--------------------------------------------------------------------------------
--  Phase: pkg-depends
--------------------------------------------------------------------------------
===>   brotli-1.1.0,1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
Installing pkg-1.21.3...
Extracting pkg-1.21.3: .......... done
===>   brotli-1.1.0,1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of brotli-1.1.0,1



--------------------------------------------------------------------------------
--  Phase: fetch-depends
--------------------------------------------------------------------------------



--------------------------------------------------------------------------------
--  Phase: fetch
--------------------------------------------------------------------------------
===>  License MIT accepted by the user
===> Fetching all distfiles required by brotli-1.1.0,1 for building



--------------------------------------------------------------------------------
--  Phase: checksum
--------------------------------------------------------------------------------
===>  License MIT accepted by the user
===> Fetching all distfiles required by brotli-1.1.0,1 for building
=> SHA256 Checksum OK for google-brotli-v1.1.0_GH0.tar.gz.
=> SHA256 Checksum OK for 741610efd335a8b6ff9be4c9bed643e0a74fdb6a.patch.



--------------------------------------------------------------------------------
--  Phase: extract-depends
--------------------------------------------------------------------------------



--------------------------------------------------------------------------------
--  Phase: extract
--------------------------------------------------------------------------------
===>  License MIT accepted by the user
===> Fetching all distfiles required by brotli-1.1.0,1 for building
===>  Extracting for brotli-1.1.0,1
=> SHA256 Checksum OK for google-brotli-v1.1.0_GH0.tar.gz.
=> SHA256 Checksum OK for 741610efd335a8b6ff9be4c9bed643e0a74fdb6a.patch.



--------------------------------------------------------------------------------
--  Phase: patch-depends
--------------------------------------------------------------------------------



--------------------------------------------------------------------------------
--  Phase: patch
--------------------------------------------------------------------------------
===>  Patching for brotli-1.1.0,1
===>  Applying distribution patches for brotli-1.1.0,1
===>  Applying FreeBSD patches for brotli-1.1.0,1 from /xports/archivers/brotli/files
No file to patch.  Skipping...
1 out of 1 hunks ignored--saving rejects to a/CMakeLists.txt.rej
Can't create a/CMakeLists.txt.rej, output is in /tmp/patchrmL3L5KHlgC: No such file or directory
===>  FAILED Applying FreeBSD patch-install-man
===> FAILED to apply cleanly FreeBSD patch(es)  patch-install-man
*** Error code 1

Stop.
make: stopped in /xports/archivers/brotli



--------------------------------------------------
--  Termination
--------------------------------------------------
Finished: Friday, 4 APR 2025 at 16:03:58 UTC
Duration: 00:00:02
 
I don't think so, there's almost 300G on /.

Code:
Filesystem    Size    Used   Avail Capacity  Mounted on
root-pool     299G    8.5G    291G     3%    /
devfs         1.0K      0B    1.0K     0%    /dev

xports/archivers/brotli/work? In /usr/ports/archivers/brotli/work there is:
Code:
total 9
drwxr-xr-x  3 root wheel   7 Apr  4 13:51 .
drwxr-xr-x  4 root wheel  11 Apr  4 13:51 ..
-rw-r--r--  1 root wheel   0 Apr  4 13:51 .extract_done.brotli._usr_local
-rw-r--r--  1 root wheel 210 Apr  4 13:51 .license-catalog.mk
-rw-r--r--  1 root wheel  68 Apr  4 13:51 .license-report
-rw-r--r--  1 root wheel   0 Apr  4 13:51 .license_done.brotli._usr_local
drwxr-xr-x  7 root wheel  22 Apr  4 13:51 brotli-1.1.0
But that was already there, the time is older, it's Apr 5 00:22 now. I don't think that command changed anything. It ran and went back to command line without any output. This error also happens when trying to install Wayfire or Hyprland. This is a new fresh install. I'm working on the command line, no gui desktop yet.
 
Rich (BB code):
===>  Patching for brotli-1.1.0,1
===>  Applying distribution patches for brotli-1.1.0,1
===>  Applying FreeBSD patches for brotli-1.1.0,1 from /xports/archivers/brotli/files
No file to patch.  Skipping...
1 out of 1 hunks ignored--saving rejects to a/CMakeLists.txt.rej
Can't create a/CMakeLists.txt.rej, output is in /tmp/patchrmL3L5KHlgC: No such file or directory
===>  FAILED Applying FreeBSD patch-install-man
===> FAILED to apply cleanly FreeBSD patch(es)  patch-install-man
The build is failing to patch the downloaded patch-install-man patch.

ports/archivers/brotli/distinfo
Code:
SHA256 (741610efd335a8b6ff9be4c9bed643e0a74fdb6a.patch) = ...
Code:
% cat /usr/ports/distfiles/741610efd335a8b6ff9be4c9bed643e0a74fdb6a.patch
From 741610efd335a8b6ff9be4c9bed643e0a74fdb6a Mon Sep 17 00:00:00 2001
...
Subject: [PATCH] install man pages
...
cmake modyfication to install man pages.
Perhaps ports-mgmt/synth is to blame. Try make from the ports tree.

No patch-install-man problem here building from the ports tree (system 14.2-p2).
Rich (BB code):
===>  License MIT accepted by the user
===>   brotli-1.1.0,1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by brotli-1.1.0,1 for building
===>  Extracting for brotli-1.1.0,1
=> SHA256 Checksum OK for google-brotli-v1.1.0_GH0.tar.gz.
=> SHA256 Checksum OK for 741610efd335a8b6ff9be4c9bed643e0a74fdb6a.patch.
===>  Patching for brotli-1.1.0,1
===>  Applying distribution patches for brotli-1.1.0,1
===>   brotli-1.1.0,1 depends on file: /usr/local/bin/cmake - found
===>   brotli-1.1.0,1 depends on executable: ninja - found
===>   brotli-1.1.0,1 depends on package: pkgconf>=1.3.0_1 - found
===>   brotli-1.1.0,1 depends on file: /usr/local/bin/ccache - found
===>  Configuring for brotli-1.1.0,1
===>  Performing out-of-source build
/bin/mkdir -p /usr/ports/archivers/brotli/work/.build
-- The C compiler identification is Clang 18.1.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/libexec/ccache/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type is 'Release'
-- Performing Test BROTLI_EMSCRIPTEN
-- Performing Test BROTLI_EMSCRIPTEN - Failed
-- Compiler is not EMSCRIPTEN
-- Looking for log2
-- Looking for log2 - not found
-- Looking for log2
-- Looking for log2 - found
CMake Warning at CMakeLists.txt:264 (message):
  Test file tests/testdata/alice29.txt does not exist.


CMake Warning at CMakeLists.txt:264 (message):
  Test file tests/testdata/asyoulik.txt does not exist.


CMake Warning at CMakeLists.txt:264 (message):
  Test file tests/testdata/lcet10.txt does not exist.


CMake Warning at CMakeLists.txt:264 (message):
  Test file tests/testdata/plrabn12.txt does not exist.


-- Configuring done (0.6s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_CXX_FLAGS
    CMAKE_CXX_FLAGS_DEBUG
    CMAKE_CXX_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    FETCHCONTENT_FULLY_DISCONNECTED
    THREADS_HAVE_PTHREAD_ARG


-- Build files have been written to: /usr/ports/archivers/brotli/work/.build
===>  Building for brotli-1.1.0,1

...

===>  Staging for brotli-1.1.0,1
===>   Generating temporary packing list
[  0% 1/1] cd /usr/ports/archivers/brotli/work/.build && /usr/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
-- Install configuration: "Release"
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/bin/brotli
-- Set non-toolchain portion of runtime path of "/usr/ports/archivers/brotli/work/stage/usr/local/bin/brotli" to ""
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/lib/libbrotlienc.so.1.1.0
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/lib/libbrotlienc.so.1
-- Set non-toolchain portion of runtime path of "/usr/ports/archivers/brotli/work/stage/usr/local/lib/libbrotlienc.so.1.1.0" to ""
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/lib/libbrotlienc.so
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/lib/libbrotlidec.so.1.1.0
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/lib/libbrotlidec.so.1
-- Set non-toolchain portion of runtime path of "/usr/ports/archivers/brotli/work/stage/usr/local/lib/libbrotlidec.so.1.1.0" to ""
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/lib/libbrotlidec.so
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/lib/libbrotlicommon.so.1.1.0
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/lib/libbrotlicommon.so.1
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/lib/libbrotlicommon.so
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/include/brotli
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/include/brotli/shared_dictionary.h
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/include/brotli/port.h
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/include/brotli/decode.h
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/include/brotli/types.h
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/include/brotli/encode.h
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/libdata/pkgconfig/libbrotlicommon.pc
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/libdata/pkgconfig/libbrotlidec.pc
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/libdata/pkgconfig/libbrotlienc.pc
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/share/man/man1/brotli.1
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/share/man/man3/constants.h.3
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/share/man/man3/decode.h.3
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/share/man/man3/encode.h.3
-- Installing: /usr/ports/archivers/brotli/work/stage/usr/local/share/man/man3/types.h.3
====> Compressing man pages (compress-man)
 
I'm confused now. I never knew about /xports. Synth is set to use xports in the config file but I don't have a /xports. I've always used /usr/ports. So now I'm confused. Am I supposed to be using /xports instead of /usr/ports with synth. It still works but maybe i'm not doing it the correct way. I couldn't find a good guide about that but still looking. I populated /usr/ports by git clone, do I do the same with /xports and just use that from now on? No more /usr ports? It's confusing.
 
Back
Top