Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - rackg

#1
I tired to enable the set -x on shell scripts of ports.sh common.sh and few other but didn't get any extra logs other than one posted here. Franco can you please throw some light I am clueless what is going on.
#2
I have tried to add additional ports to the list i.e net/netatalk3, I have got a failure on the configure part saying there is an error in CONFIG ARGS used i.e kerberos. However there is no issue with the Makefile or the source this is something to do with OPNsense way of building ports why I am thinking that because of the following

1. I could compile OPNsense ports i.e /usr/ports/net/netatalk3  by using make, make install command. It works fine and installed properly.
2. When I added this to config/22.7/ports.conf I could see the build failing at a different stage. I think its mostly to with the way of PORT compile method or mostly environment issue to deal with.
3. I tried with the mainstream GIT of freebsd ports by using make, make install command. It works fine and installed properly.

Could you please throw some points how the make ports works in OPNsense how different the command are different from the one which I used.

Attached only limited logs..

* FreeBSD specific configuration
checking for ldconfig... /sbin/ldconfig
NETA_LDCONFIG = /sbin/ldconfig
no
checking whether to enable AFS support... no
checking for cracklib support... no
checking whether to enable verbose debug code... no
checking whether to enable debugging with debuggers... no
checking for libiconv... yes
checking for working iconv... yes
checking whether iconv supports UCS-2-INTERNAL... yes
checking whether or not to use Database Daemon CNID backend... yes
checking whether or not to use BDB Concurrent Data Store... no
checking whether or not to use LAST DID scheme... yes
checking whether or not to use TDB DID scheme... yes
checking MySQL library and headers... checking default DID scheme... dbd
checking whether default CNID scheme has been activated... yes
checking for main in -lrpcsvc... yes
checking rpc/rpc.h usability... yes
checking rpc/rpc.h presence... yes
checking for rpc/rpc.h... yes
checking rpc/pmap_prot.h usability... no
checking rpc/pmap_prot.h presence... yes
configure: WARNING: rpc/pmap_prot.h: present but cannot be compiled
configure: WARNING: rpc/pmap_prot.h:     check for missing prerequisite headers?
configure: WARNING: rpc/pmap_prot.h: see the Autoconf documentation
configure: WARNING: rpc/pmap_prot.h:     section "Present But Cannot Be Compiled"
configure: WARNING: rpc/pmap_prot.h: proceeding with the compiler's result
checking for rpc/pmap_prot.h... no
checking rpcsvc/rquota.h usability... yes
checking rpcsvc/rquota.h presence... yes
checking for rpcsvc/rquota.h... yes
checking for getfsquota in -lquota... no
checking pkg-config is at least version 0.9.0... yes
checking avahi-client/client.h usability... yes
checking avahi-client/client.h presence... no
configure: WARNING: avahi-client/client.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: avahi-client/client.h: proceeding with the compiler's result
checking for avahi-client/client.h... yes
checking for avahi_client_new in -lavahi-client... yes
checking for AVAHI... yes
checking for AVAHI_TPOLL... yes
checking whether to enable Zerconf support... yes
checking whether to enable the TCP wrappers... yes
checking for PAM installation directory... no
checking for includable common PAM config... no (using defaut pam_unix.so)
checking whether to enable PAM support... no
checking shadow.h usability... no
checking shadow.h presence... no
checking for shadow.h... no
checking whether shadow support should be enabled... no
checking whether checking for a valid shell should be enabled... yes
disabling init-style support
checking for libgcrypt-config... /usr/local/bin/libgcrypt-config
checking for LIBGCRYPT - version >= 1.2.3... yes (1.9.4)
checking libgcrypt API version... okay
checking libgcrypt hast CAST5 API... yes
configure: Enabling DHX2 UAM
checking for SSL... /usr/local (enabling RANDNUM and DHX support)
checking for main in -lcrypto... yes
checking for main in -ldes... no
checking for Berkeley DB headers in /usr/local/include/db5... yes
checking /usr/local/include/db5/db.h version >= 4.6.0... yes
checking Berkeley DB library (-ldb53)... no
checking Berkeley DB library (-ldb5.3)... no
checking Berkeley DB library (-ldb-53)... no
checking Berkeley DB library (-ldb-5.3)... 5.3.28 ... yes
checking crypt.h usability... no
checking crypt.h presence... no
checking for crypt.h... no
checking for main in -lcrypt... yes
checking whether the PGP UAM should be build... no
checking whether Kerberos V UAM should be build... no
checking for Kerberos 5 (necessary for GetSrvrInfo:DirectoryNames support)... yes
checking krb5/krb5.h usability... no
checking krb5/krb5.h presence... no
checking for krb5/krb5.h... no
checking krb5.h usability... no
checking krb5.h presence... no
checking for krb5.h... no
checking kerberosv5/krb5.h usability... no
checking kerberosv5/krb5.h presence... no
checking for kerberosv5/krb5.h... no
configure: error: --with-kerberos was given, but no headers found
See `config.log' for more details
[20220907070004] ===> Script "configure" failed unexpectedly.
Please report the problem to marcus@FreeBSD.org [maintainer] and attach the
#3
What feature or flag you need desperately ? Playing with zpool upgrade without backup is something not recommended.
I would definelty not upgrade zroot atleast. 

Quote from: os914964619 on July 11, 2022, 05:15:51 PM
I am running the latest Opnsense and decided to run zpool upgrade. Here was the result:

Quoteroot@router:~ # zpool upgrade zroot
This system supports ZFS pool feature flags.

Enabled the following features on 'zroot':
  userobj_accounting
  encryption
  project_quota
  allocation_classes
  resilver_defer
  bookmark_v2
  redaction_bookmarks
  redacted_datasets
  bookmark_written
  log_spacemap
  livelist
  device_rebuild
  zstd_compress
  draid

Pool 'zroot' has the bootfs property set, you might need to update
the boot code. See gptzfsboot and loader.efi for details.


Is there anything I need to do, or can I reboot? I am worried that I'm going to brick my opnsense install by not updating "the boot code".
#4
Fixed it by doing make clean-base. Thanks  :P
#5
I have tried to build code base of FreeBSD 13.1 by switching the /usr/src branch to volatile/22.7.  I have cleaned the previous kernel by triggering make clean-kernel from which got it from stable/22.1.  Was able to generate the iso by doing  "make update && make SETTINGS="22.1" dvd". When I checked the uname -r from the live CD of new iso I could find the version is 13.0-STABLE and not 13.1-RELEASE. What am I missing ?.  Could you guide me how to build kernel based out of FreeBSD 13.1 codeine.
#6
Logs for OpenSSL error:

root@limestone:/usr/local/opnsense/build/22.1/amd64/logs/latest # cat 09-ports-OpenSSL.log.err
>>> Stage ports-OpenSSL was aborted due to an error, last 400 lines as follows:
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd13.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for cc option to accept ISO C99... none needed
checking whether __clang__ is declared... yes
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking pkg-config is at least version 0.9.0... yes
checking if cc supports -Werror=unknown-warning-option... yes
checking if cc supports -Werror=unused-command-line-argument... yes
checking if cc supports -Wall... yes
checking if cc supports -Wpointer-arith... yes
checking if cc supports -Wmissing-declarations... yes
checking if cc supports -Wformat=2... yes
checking if cc supports -Wstrict-prototypes... yes
checking if cc supports -Wmissing-prototypes... yes
checking if cc supports -Wnested-externs... yes
checking if cc supports -Wbad-function-cast... yes
checking if cc supports -Wold-style-definition... yes
checking if cc supports -Wdeclaration-after-statement... yes
checking if cc supports -Wunused... yes
checking if cc supports -Wuninitialized... yes
checking if cc supports -Wshadow... yes
checking if cc supports -Wmissing-noreturn... yes
checking if cc supports -Wmissing-format-attribute... yes
checking if cc supports -Wredundant-decls... yes
checking if cc supports -Wlogical-op... no
checking if cc supports -Werror=implicit... yes
checking if cc supports -Werror=nonnull... yes
checking if cc supports -Werror=init-self... yes
checking if cc supports -Werror=main... yes
checking if cc supports -Werror=missing-braces... yes
checking if cc supports -Werror=sequence-point... yes
checking if cc supports -Werror=return-type... yes
checking if cc supports -Werror=trigraphs... yes
checking if cc supports -Werror=array-bounds... yes
checking if cc supports -Werror=write-strings... yes
checking if cc supports -Werror=address... yes
checking if cc supports -Werror=int-to-pointer-cast... yes
checking if cc supports -Werror=pointer-to-int-cast... yes
checking if cc supports -pedantic... yes
checking if cc supports -Werror... yes
checking if cc supports -Werror=attributes... yes
checking whether make supports nested variables... (cached) yes
checking for root directory for font files... ${datarootdir}/fonts/X11
checking for directory for encodings files... /usr/local/share/fonts/encodings
checking for zlib.h... (cached) yes
checking for gzclose in -lz... yes
checking for FONTENC... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating fontenc.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --enable-malloc0returnsnull
[20211206190203] ===> Building for libfontenc-1.1.4
--- all ---
/usr/bin/make  all-recursive
--- all-recursive ---
Making all in src
--- encparse.lo ---
--- fontenc.lo ---
--- encparse.lo ---
/bin/sh ../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I..  -I../include -DFONT_ENCODINGS_DIRECTORY=\"/usr/local/share/fonts/encodings/encodings.dir\"   -I/usr/local/include  -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe  -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT encparse.lo -MD -MP -MF .deps/encparse.Tpo -c -o encparse.lo encparse.c
--- fontenc.lo ---
/bin/sh ../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I..  -I../include -DFONT_ENCODINGS_DIRECTORY=\"/usr/local/share/fonts/encodings/encodings.dir\"   -I/usr/local/include  -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe  -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT fontenc.lo -MD -MP -MF .deps/fontenc.Tpo -c -o fontenc.lo fontenc.c
--- encparse.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../include -DFONT_ENCODINGS_DIRECTORY=\"/usr/local/share/fonts/encodings/encodings.dir\" -I/usr/local/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT encparse.lo -MD -MP -MF .deps/encparse.Tpo -c encparse.c  -fPIC -DPIC -o .libs/encparse.o
--- fontenc.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../include -DFONT_ENCODINGS_DIRECTORY=\"/usr/local/share/fonts/encodings/encodings.dir\" -I/usr/local/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT fontenc.lo -MD -MP -MF .deps/fontenc.Tpo -c fontenc.c  -fPIC -DPIC -o .libs/fontenc.o
--- encparse.lo ---
encparse.c:903:30: warning: format string is not a string literal [-Wformat-nonliteral]
        count = fscanf(file, format, encoding_name, file_name);
                             ^~~~~~
--- fontenc.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../include -DFONT_ENCODINGS_DIRECTORY=\"/usr/local/share/fonts/encodings/encodings.dir\" -I/usr/local/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT fontenc.lo -MD -MP -MF .deps/fontenc.Tpo -c fontenc.c -o fontenc.o >/dev/null 2>&1
--- encparse.lo ---
1 warning generated.
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../include -DFONT_ENCODINGS_DIRECTORY=\"/usr/local/share/fonts/encodings/encodings.dir\" -I/usr/local/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT encparse.lo -MD -MP -MF .deps/encparse.Tpo -c encparse.c -o encparse.o >/dev/null 2>&1
--- fontenc.lo ---
mv -f .deps/fontenc.Tpo .deps/fontenc.Plo
--- encparse.lo ---
mv -f .deps/encparse.Tpo .deps/encparse.Plo
--- libfontenc.la ---
/bin/sh ../libtool  --tag=CC    --mode=link cc -I/usr/local/include  -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe  -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing  -version-number 1:0:0 -no-undefined -fstack-protector-strong -o libfontenc.la -rpath /usr/local/lib encparse.lo fontenc.lo  -lz
libtool: link: cc -shared  -fPIC -DPIC  .libs/encparse.o .libs/fontenc.o   -lz  -O2 -fstack-protector-strong -fstack-protector-strong   -Wl,-soname -Wl,libfontenc.so.1 -o .libs/libfontenc.so.1.0.0
libtool: link: (cd ".libs" && rm -f "libfontenc.so.1" && ln -s "libfontenc.so.1.0.0" "libfontenc.so.1")
libtool: link: (cd ".libs" && rm -f "libfontenc.so" && ln -s "libfontenc.so.1.0.0" "libfontenc.so")
libtool: link: ar cru .libs/libfontenc.a  encparse.o fontenc.o
libtool: link: ranlib .libs/libfontenc.a
libtool: link: ( cd ".libs" && rm -f "libfontenc.la" && ln -s "../libfontenc.la" "libfontenc.la" )
[20211206190203] ===> Staging for libfontenc-1.1.4
[20211206190203] ===> Generating temporary packing list
Making install in src
/bin/mkdir -p '/usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/lib'
/bin/sh ../libtool   --mode=install /usr/bin/install -c   libfontenc.la '/usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libfontenc.so.1.0.0 /usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/lib/libfontenc.so.1.0.0
libtool: install: (cd /usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/lib && { ln -s -f libfontenc.so.1.0.0 libfontenc.so.1 || { rm -f libfontenc.so.1 && ln -s libfontenc.so.1.0.0 libfontenc.so.1; }; })
libtool: install: (cd /usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/lib && { ln -s -f libfontenc.so.1.0.0 libfontenc.so || { rm -f libfontenc.so && ln -s libfontenc.so.1.0.0 libfontenc.so; }; })
libtool: install: /usr/bin/install -c .libs/libfontenc.lai /usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/lib/libfontenc.la
libtool: install: /usr/bin/install -c .libs/libfontenc.a /usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/lib/libfontenc.a
libtool: install: chmod 644 /usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/lib/libfontenc.a
libtool: install: ranlib /usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/lib/libfontenc.a
libtool: warning: remember to run 'libtool --finish /usr/local/lib'
/bin/mkdir -p '/usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/include/X11/fonts'
install  -m 0644 ../include/X11/fonts/fontenc.h '/usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/include/X11/fonts'
/bin/mkdir -p '/usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/libdata/pkgconfig'
install  -m 0644 fontenc.pc '/usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/libdata/pkgconfig'
[20211206190203] ====> Compressing man pages (compress-man)
[20211206190203] ===> Installing for libfontenc-1.1.4
[20211206190203] ===> Checking if libfontenc is already installed
[20211206190203] ===> Registering installation for libfontenc-1.1.4 as automatic
Installing libfontenc-1.1.4...
===>   mkfontscale-1.2.1 depends on file: /usr/local/libdata/pkgconfig/fontenc.pc - found
===>   Returning to build of mkfontscale-1.2.1
===>   mkfontscale-1.2.1 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so)
[20211206190204] ===> Configuring for mkfontscale-1.2.1
configure: loading site script /usr/ports/Templates/config.site
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for minix/config.h... (cached) no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of cc... gcc3
checking for cc option to accept ISO C99... none needed
checking whether __clang__ is declared... yes
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking pkg-config is at least version 0.9.0... yes
checking build system type... amd64-portbld-freebsd13.0
checking host system type... amd64-portbld-freebsd13.0
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking if cc supports -Werror=unknown-warning-option... yes
checking if cc supports -Werror=unused-command-line-argument... yes
checking if cc supports -Wall... yes
checking if cc supports -Wpointer-arith... yes
checking if cc supports -Wmissing-declarations... yes
checking if cc supports -Wformat=2... yes
checking if cc supports -Wstrict-prototypes... yes
checking if cc supports -Wmissing-prototypes... yes
checking if cc supports -Wnested-externs... yes
checking if cc supports -Wbad-function-cast... yes
checking if cc supports -Wold-style-definition... yes
checking if cc supports -Wdeclaration-after-statement... yes
checking if cc supports -Wunused... yes
checking if cc supports -Wuninitialized... yes
checking if cc supports -Wshadow... yes
checking if cc supports -Wmissing-noreturn... yes
checking if cc supports -Wmissing-format-attribute... yes
checking if cc supports -Wredundant-decls... yes
checking if cc supports -Wlogical-op... no
checking if cc supports -Werror=implicit... yes
checking if cc supports -Werror=nonnull... yes
checking if cc supports -Werror=init-self... yes
checking if cc supports -Werror=main... yes
checking if cc supports -Werror=missing-braces... yes
checking if cc supports -Werror=sequence-point... yes
checking if cc supports -Werror=return-type... yes
checking if cc supports -Werror=trigraphs... yes
checking if cc supports -Werror=array-bounds... yes
checking if cc supports -Werror=write-strings... yes
checking if cc supports -Werror=address... yes
checking if cc supports -Werror=int-to-pointer-cast... yes
checking if cc supports -Werror=pointer-to-int-cast... yes
checking if cc supports -pedantic... yes
checking if cc supports -Werror... yes
checking if cc supports -Werror=attributes... yes
checking whether make supports nested variables... (cached) yes
checking for gzopen in -lz... yes
checking for vasprintf... (cached) yes
checking for MKFONTSCALE... yes
checking for X11... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: executing depfiles commands
[20211206190206] ===> Building for mkfontscale-1.2.1
--- all ---
/usr/bin/make  all-recursive
--- all-recursive ---
Making all in man
--- mkfontdir.1 ---
--- mkfontscale.1 ---
--- mkfontdir.1 ---
/usr/bin/sed -e 's|__vendorversion__|"mkfontscale 1.2.1" "X Version 11"|'       -e 's|__xorgversion__|"mkfontscale 1.2.1" "X Version 11"|'      -e 's|__xservername__|Xorg|g'        -e 's|__xconfigfile__|xorg.conf|g'      -e 's|__projectroot__|/usr/local|g'     -e 's|__apploaddir__||g'        -e 's|__appmansuffix__|1|g'  -e 's|__drivermansuffix__|4|g'  -e 's|__adminmansuffix__|8|g'   -e 's|__libmansuffix__|3|g'     -e 's|__miscmansuffix__|7|g'    -e 's|__filemansuffix__|5|g' < mkfontdir.man > mkfontdir.1
--- mkfontscale.1 ---
/usr/bin/sed -e 's|__vendorversion__|"mkfontscale 1.2.1" "X Version 11"|'       -e 's|__xorgversion__|"mkfontscale 1.2.1" "X Version 11"|'      -e 's|__xservername__|Xorg|g'        -e 's|__xconfigfile__|xorg.conf|g'      -e 's|__projectroot__|/usr/local|g'     -e 's|__apploaddir__||g'        -e 's|__appmansuffix__|1|g'  -e 's|__drivermansuffix__|4|g'  -e 's|__adminmansuffix__|8|g'   -e 's|__libmansuffix__|3|g'     -e 's|__miscmansuffix__|7|g'    -e 's|__filemansuffix__|5|g' < mkfontscale.man > mkfontscale.1
--- constlist.o ---
--- hash.o ---
--- ident.o ---
--- list.o ---
--- constlist.o ---
cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16  -I/usr/local/include  -D_BSD_SOURCE   -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT constlist.o -MD -MP -MF .deps/constlist.Tpo -c -o constlist.o constlist.c
--- hash.o ---
cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16  -I/usr/local/include  -D_BSD_SOURCE   -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT hash.o -MD -MP -MF .deps/hash.Tpo -c -o hash.o hash.c
--- ident.o ---
cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16  -I/usr/local/include  -D_BSD_SOURCE   -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT ident.o -MD -MP -MF .deps/ident.Tpo -c -o ident.o ident.c
--- list.o ---
cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16  -I/usr/local/include  -D_BSD_SOURCE   -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c
--- hash.o ---
mv -f .deps/hash.Tpo .deps/hash.Po
--- list.o ---
mv -f .deps/list.Tpo .deps/list.Po
--- mkfontscale.o ---
cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16  -I/usr/local/include  -D_BSD_SOURCE   -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT mkfontscale.o -MD -MP -MF .deps/mkfontscale.Tpo -c -o mkfontscale.o mkfontscale.c
--- constlist.o ---
mv -f .deps/constlist.Tpo .deps/constlist.Po
--- mkfontdir ---
/usr/bin/sed -e 's|@bindir
  • |/usr/local/bin|g' < ./mkfontdir.in > mkfontdir
    --- ident.o ---
    mv -f .deps/ident.Tpo .deps/ident.Po
    --- mkfontscale.o ---
    mkfontscale.c:779:66: warning: declaration shadows a variable in the global scope [-Wshadow]
    doDirectory(const char *dirname_given, int numEncodings, ListPtr encodingsToDo)
                                                                     ^
    mkfontscale.c:115:16: note: previous declaration is here
    static ListPtr encodingsToDo;
                   ^
    mkfontscale.c:1293:23: warning: declaration shadows a variable in the global scope [-Wshadow]
    readEncodings(ListPtr encodings, char *dirname)
                          ^
    mkfontscale.c:92:21: note: previous declaration is here
    static ConstListPtr encodings, extra_encodings;
                        ^
    2 warnings generated.
    mv -f .deps/mkfontscale.Tpo .deps/mkfontscale.Po
    --- mkfontscale ---
    cc -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fstack-protector-strong -o mkfontscale constlist.o hash.o  ident.o list.o mkfontscale.o -L/usr/local/lib -lfontenc -lfreetype -lz
    [20211206190206] ===> Staging for mkfontscale-1.2.1
    ===>   mkfontscale-1.2.1 depends on file: /usr/local/libdata/pkgconfig/fontenc.pc - found
    [20211206190206] ===> Generating temporary packing list
    Making install in man
    /bin/mkdir -p '/usr/obj/usr/ports/x11-fonts/mkfontscale/work/stage/usr/local/man/man1'
    install  -m 0644 mkfontdir.1 mkfontscale.1 '/usr/obj/usr/ports/x11-fonts/mkfontscale/work/stage/usr/local/man/man1'
    /bin/mkdir -p '/usr/obj/usr/ports/x11-fonts/mkfontscale/work/stage/usr/local/bin'
      install  -s -m 555 mkfontscale '/usr/obj/usr/ports/x11-fonts/mkfontscale/work/stage/usr/local/bin'
    /bin/mkdir -p '/usr/obj/usr/ports/x11-fonts/mkfontscale/work/stage/usr/local/bin'
    install  -m 555 mkfontdir '/usr/obj/usr/ports/x11-fonts/mkfontscale/work/stage/usr/local/bin'
    [20211206190206] ====> Compressing man pages (compress-man)
    [20211206190206] ===> Installing for mkfontscale-1.2.1
    [20211206190206] ===> Checking if mkfontscale is already installed
    [20211206190206] ===> Registering installation for mkfontscale-1.2.1 as automatic
    Installing mkfontscale-1.2.1...
    ===>   urwfonts-1.0_8 depends on executable: mkfontscale - found
    ===>   Returning to build of urwfonts-1.0_8
    [20211206190207] ===> Generating temporary packing list
    install  -m 0644 /usr/obj/usr/ports/x11-fonts/urwfonts/work/URW/Fontmap /usr/obj/usr/ports/x11-fonts/urwfonts/work/stage/usr/local/share/fonts/urwfonts
    install  -m 0644 /usr/obj/usr/ports/x11-fonts/urwfonts/work/URW/*.pfb /usr/obj/usr/ports/x11-fonts/urwfonts/work/stage/usr/local/share/fonts/urwfonts
    install  -m 0644 /usr/obj/usr/ports/x11-fonts/urwfonts/work/URW/*.afm /usr/obj/usr/ports/x11-fonts/urwfonts/work/stage/usr/local/share/fonts/urwfonts
    install  -m 0644 /usr/obj/usr/ports/x11-fonts/urwfonts/work/URW/*.pfm /usr/obj/usr/ports/x11-fonts/urwfonts/work/stage/usr/local/share/fonts/urwfonts
    [20211206190207] ====> Compressing man pages (compress-man)
    [20211206190207] ===> Installing for urwfonts-1.0_8
    [20211206190207] ===> Checking if urwfonts is already installed
    [20211206190207] ===> Registering installation for urwfonts-1.0_8
    Installing urwfonts-1.0_8...
    You'll have to add /usr/local/share/fonts/urwfonts
    to your X font path by either:

    $ xset fp+ /usr/local/share/fonts/urwfonts
    $ xset fp rehash

    or by adding it to your X-server configuration file (usually
    /etc/X11/xorg.conf) and restarting the X-server.

    Creating package for expat-2.4.1
    expat-2.4.1 already packaged, skipping...
    Creating package for fontconfig-2.13.94_1,1
    fontconfig-2.13.94_1,1 already packaged, skipping...
    Creating package for freetype2-2.11.0
    freetype2-2.11.0 already packaged, skipping...
    Creating package for libfontenc-1.1.4
    Creating package for mkfontscale-1.2.1
    Creating package for pkg-1.16.3
    pkg-1.16.3 already packaged, skipping...
    Creating package for pkgconf-1.8.0,1
    pkgconf-1.8.0,1 already packaged, skipping...
    Creating package for png-1.6.37_1
    png-1.6.37_1 already packaged, skipping...
    Creating package for urwfonts-1.0_8
    Creating package for xorg-macros-1.19.3
    xorg-macros-1.19.3 already packaged, skipping...
    Creating package for xorgproto-2021.5
    xorgproto-2021.5 already packaged, skipping...
    >>> Locking package dependency: pkgconf
    >>> Locking package dependency: pkg
    >>> Locking package dependency: urwfonts
    Updating database digests format: .......... done
    Checking integrity... done (0 conflicting)
    Deinstallation has been requested for the following 2 packages:

    Installed packages to be REMOVED:
            xorg-macros: 1.19.3
            xorgproto: 2021.5

    Number of packages to be removed: 2

    The operation will free 1 MiB.
    [1/2] Deinstalling xorg-macros-1.19.3...
    [1/2] Deleting files for xorg-macros-1.19.3: ...... done
    [2/2] Deinstalling xorgproto-2021.5...
    [2/2] Deleting files for xorgproto-2021.5: .......... done
    >>> Saving runtime package: libfontenc
    >>> Saving runtime package: mkfontscale
    >>> Saving runtime package: urwfonts
    [20211206190223] ===> Cleaning for mkfontscale-1.2.1
    [20211206190224] ===> Cleaning for libfontenc-1.1.4
    [20211206190224] ===> Cleaning for urwfonts-1.0_8
    Checking integrity... done (0 conflicting)
    Deinstallation has been requested for the following 9 packages:

    Installed packages to be REMOVED:
            expat: 2.4.1
            fontconfig: 2.13.94_1,1
            freetype2: 2.11.0
            libfontenc: 1.1.4
            mkfontscale: 1.2.1
            pkg: 1.16.3
            pkgconf: 1.8.0,1
            png: 1.6.37_1
            urwfonts: 1.0_8

    Number of packages to be removed: 9

    The operation will free 21 MiB.
    [1/9] Deinstalling urwfonts-1.0_8...
    [1/9] Deleting files for urwfonts-1.0_8: .......... done
    [2/9] Deinstalling fontconfig-2.13.94_1,1...
    [2/9] Deleting files for fontconfig-2.13.94_1,1: .......... done
    [3/9] Deinstalling mkfontscale-1.2.1...
    [3/9] Deleting files for mkfontscale-1.2.1: ....... done
    [4/9] Deinstalling freetype2-2.11.0...
    [4/9] Deleting files for freetype2-2.11.0: .......... done
    [5/9] Deinstalling expat-2.4.1...
    [5/9] Deleting files for expat-2.4.1: .......... done
    [6/9] Deinstalling libfontenc-1.1.4...
    [6/9] Deleting files for libfontenc-1.1.4: ......... done
    [7/9] Deinstalling pkg-1.16.3...
    [7/9] Deleting files for pkg-1.16.3: .......... done
    [8/9] Deinstalling pkgconf-1.8.0,1...
    [8/9] Deleting files for pkgconf-1.8.0,1: .......... done
    [9/9] Deinstalling png-1.6.37_1...
    [9/9] Deleting files for png-1.6.37_1: .......... done
    Creating repository in /usr/obj/usr/tools/config/22.1/OpenSSL:amd64/.pkg-new/: .......... done
    Packing files for repository: .... done
    >>> Running build step: clean
    >>> Passing arguments: packages
    >>> Removing packages set
    >>> Creating package mirror set for 21.7.6_95-OpenSSL-amd64... done
    -rw-r--r--  1 root  wheel   802M Dec  7 00:32 packages-21.7.6_95-OpenSSL-amd64.tar
    >>> ERROR: The build encountered fatal issues!
    >>> Aborted version 1.56.0 for lang/rust
    *** Error code 1

    Stop.
    make[1]: stopped in /usr/tools
        48888.92 real     76262.82 user      8795.64 sys
    root@limestone:/usr/local/opnsense/build/22.1/amd64/logs/latest #
#7
I could get the image using make dvd, however nightly build failed as follows. Kindly let me know if this error is known issue/

logs:

root@limestone:/usr/local/opnsense/build/22.1/amd64/logs/latest # cat 09-ports-LibreSSL.log.err
>>> Stage ports-LibreSSL was aborted due to an error, last 400 lines as follows:
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd13.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for cc option to accept ISO C99... none needed
checking whether __clang__ is declared... yes
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking pkg-config is at least version 0.9.0... yes
checking if cc supports -Werror=unknown-warning-option... yes
checking if cc supports -Werror=unused-command-line-argument... yes
checking if cc supports -Wall... yes
checking if cc supports -Wpointer-arith... yes
checking if cc supports -Wmissing-declarations... yes
checking if cc supports -Wformat=2... yes
checking if cc supports -Wstrict-prototypes... yes
checking if cc supports -Wmissing-prototypes... yes
checking if cc supports -Wnested-externs... yes
checking if cc supports -Wbad-function-cast... yes
checking if cc supports -Wold-style-definition... yes
checking if cc supports -Wdeclaration-after-statement... yes
checking if cc supports -Wunused... yes
checking if cc supports -Wuninitialized... yes
checking if cc supports -Wshadow... yes
checking if cc supports -Wmissing-noreturn... yes
checking if cc supports -Wmissing-format-attribute... yes
checking if cc supports -Wredundant-decls... yes
checking if cc supports -Wlogical-op... no
checking if cc supports -Werror=implicit... yes
checking if cc supports -Werror=nonnull... yes
checking if cc supports -Werror=init-self... yes
checking if cc supports -Werror=main... yes
checking if cc supports -Werror=missing-braces... yes
checking if cc supports -Werror=sequence-point... yes
checking if cc supports -Werror=return-type... yes
checking if cc supports -Werror=trigraphs... yes
checking if cc supports -Werror=array-bounds... yes
checking if cc supports -Werror=write-strings... yes
checking if cc supports -Werror=address... yes
checking if cc supports -Werror=int-to-pointer-cast... yes
checking if cc supports -Werror=pointer-to-int-cast... yes
checking if cc supports -pedantic... yes
checking if cc supports -Werror... yes
checking if cc supports -Werror=attributes... yes
checking whether make supports nested variables... (cached) yes
checking for root directory for font files... ${datarootdir}/fonts/X11
checking for directory for encodings files... /usr/local/share/fonts/encodings
checking for zlib.h... (cached) yes
checking for gzclose in -lz... yes
checking for FONTENC... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating fontenc.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --enable-malloc0returnsnull
[20211206195952] ===> Building for libfontenc-1.1.4
--- all ---
/usr/bin/make  all-recursive
--- all-recursive ---
Making all in src
--- encparse.lo ---
--- fontenc.lo ---
--- encparse.lo ---
/bin/sh ../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I..  -I../include -DFONT_ENCODINGS_DIRECTORY=\"/usr/local/share/fonts/encodings/encodings.dir\"   -I/usr/local/include  -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe  -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT encparse.lo -MD -MP -MF .deps/encparse.Tpo -c -o encparse.lo encparse.c
--- fontenc.lo ---
/bin/sh ../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I..  -I../include -DFONT_ENCODINGS_DIRECTORY=\"/usr/local/share/fonts/encodings/encodings.dir\"   -I/usr/local/include  -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe  -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT fontenc.lo -MD -MP -MF .deps/fontenc.Tpo -c -o fontenc.lo fontenc.c
--- encparse.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../include -DFONT_ENCODINGS_DIRECTORY=\"/usr/local/share/fonts/encodings/encodings.dir\" -I/usr/local/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT encparse.lo -MD -MP -MF .deps/encparse.Tpo -c encparse.c  -fPIC -DPIC -o .libs/encparse.o
--- fontenc.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../include -DFONT_ENCODINGS_DIRECTORY=\"/usr/local/share/fonts/encodings/encodings.dir\" -I/usr/local/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT fontenc.lo -MD -MP -MF .deps/fontenc.Tpo -c fontenc.c  -fPIC -DPIC -o .libs/fontenc.o
--- encparse.lo ---
encparse.c:903:30: warning: format string is not a string literal [-Wformat-nonliteral]
        count = fscanf(file, format, encoding_name, file_name);
                             ^~~~~~
--- fontenc.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../include -DFONT_ENCODINGS_DIRECTORY=\"/usr/local/share/fonts/encodings/encodings.dir\" -I/usr/local/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT fontenc.lo -MD -MP -MF .deps/fontenc.Tpo -c fontenc.c -o fontenc.o >/dev/null 2>&1
--- encparse.lo ---
1 warning generated.
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../include -DFONT_ENCODINGS_DIRECTORY=\"/usr/local/share/fonts/encodings/encodings.dir\" -I/usr/local/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT encparse.lo -MD -MP -MF .deps/encparse.Tpo -c encparse.c -o encparse.o >/dev/null 2>&1
--- fontenc.lo ---
mv -f .deps/fontenc.Tpo .deps/fontenc.Plo
--- encparse.lo ---
mv -f .deps/encparse.Tpo .deps/encparse.Plo
--- libfontenc.la ---
/bin/sh ../libtool  --tag=CC    --mode=link cc -I/usr/local/include  -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe  -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing  -version-number 1:0:0 -no-undefined -fstack-protector-strong -o libfontenc.la -rpath /usr/local/lib encparse.lo fontenc.lo  -lz
libtool: link: cc -shared  -fPIC -DPIC  .libs/encparse.o .libs/fontenc.o   -lz  -O2 -fstack-protector-strong -fstack-protector-strong   -Wl,-soname -Wl,libfontenc.so.1 -o .libs/libfontenc.so.1.0.0
libtool: link: (cd ".libs" && rm -f "libfontenc.so.1" && ln -s "libfontenc.so.1.0.0" "libfontenc.so.1")
libtool: link: (cd ".libs" && rm -f "libfontenc.so" && ln -s "libfontenc.so.1.0.0" "libfontenc.so")
libtool: link: ar cru .libs/libfontenc.a  encparse.o fontenc.o
libtool: link: ranlib .libs/libfontenc.a
libtool: link: ( cd ".libs" && rm -f "libfontenc.la" && ln -s "../libfontenc.la" "libfontenc.la" )
[20211206195953] ===> Staging for libfontenc-1.1.4
[20211206195953] ===> Generating temporary packing list
Making install in src
/bin/mkdir -p '/usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/lib'
/bin/sh ../libtool   --mode=install /usr/bin/install -c   libfontenc.la '/usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libfontenc.so.1.0.0 /usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/lib/libfontenc.so.1.0.0
libtool: install: (cd /usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/lib && { ln -s -f libfontenc.so.1.0.0 libfontenc.so.1 || { rm -f libfontenc.so.1 && ln -s libfontenc.so.1.0.0 libfontenc.so.1; }; })
libtool: install: (cd /usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/lib && { ln -s -f libfontenc.so.1.0.0 libfontenc.so || { rm -f libfontenc.so && ln -s libfontenc.so.1.0.0 libfontenc.so; }; })
libtool: install: /usr/bin/install -c .libs/libfontenc.lai /usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/lib/libfontenc.la
libtool: install: /usr/bin/install -c .libs/libfontenc.a /usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/lib/libfontenc.a
libtool: install: chmod 644 /usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/lib/libfontenc.a
libtool: install: ranlib /usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/lib/libfontenc.a
libtool: warning: remember to run 'libtool --finish /usr/local/lib'
/bin/mkdir -p '/usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/include/X11/fonts'
install  -m 0644 ../include/X11/fonts/fontenc.h '/usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/include/X11/fonts'
/bin/mkdir -p '/usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/libdata/pkgconfig'
install  -m 0644 fontenc.pc '/usr/obj/usr/ports/x11-fonts/libfontenc/work/stage/usr/local/libdata/pkgconfig'
[20211206195953] ====> Compressing man pages (compress-man)
[20211206195953] ===> Installing for libfontenc-1.1.4
[20211206195953] ===> Checking if libfontenc is already installed
[20211206195953] ===> Registering installation for libfontenc-1.1.4 as automatic
Installing libfontenc-1.1.4...
===>   mkfontscale-1.2.1 depends on file: /usr/local/libdata/pkgconfig/fontenc.pc - found
===>   Returning to build of mkfontscale-1.2.1
===>   mkfontscale-1.2.1 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so)
[20211206195953] ===> Configuring for mkfontscale-1.2.1
configure: loading site script /usr/ports/Templates/config.site
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for minix/config.h... (cached) no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of cc... gcc3
checking for cc option to accept ISO C99... none needed
checking whether __clang__ is declared... yes
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking pkg-config is at least version 0.9.0... yes
checking build system type... amd64-portbld-freebsd13.0
checking host system type... amd64-portbld-freebsd13.0
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking if cc supports -Werror=unknown-warning-option... yes
checking if cc supports -Werror=unused-command-line-argument... yes
checking if cc supports -Wall... yes
checking if cc supports -Wpointer-arith... yes
checking if cc supports -Wmissing-declarations... yes
checking if cc supports -Wformat=2... yes
checking if cc supports -Wstrict-prototypes... yes
checking if cc supports -Wmissing-prototypes... yes
checking if cc supports -Wnested-externs... yes
checking if cc supports -Wbad-function-cast... yes
checking if cc supports -Wold-style-definition... yes
checking if cc supports -Wdeclaration-after-statement... yes
checking if cc supports -Wunused... yes
checking if cc supports -Wuninitialized... yes
checking if cc supports -Wshadow... yes
checking if cc supports -Wmissing-noreturn... yes
checking if cc supports -Wmissing-format-attribute... yes
checking if cc supports -Wredundant-decls... yes
checking if cc supports -Wlogical-op... no
checking if cc supports -Werror=implicit... yes
checking if cc supports -Werror=nonnull... yes
checking if cc supports -Werror=init-self... yes
checking if cc supports -Werror=main... yes
checking if cc supports -Werror=missing-braces... yes
checking if cc supports -Werror=sequence-point... yes
checking if cc supports -Werror=return-type... yes
checking if cc supports -Werror=trigraphs... yes
checking if cc supports -Werror=array-bounds... yes
checking if cc supports -Werror=write-strings... yes
checking if cc supports -Werror=address... yes
checking if cc supports -Werror=int-to-pointer-cast... yes
checking if cc supports -Werror=pointer-to-int-cast... yes
checking if cc supports -pedantic... yes
checking if cc supports -Werror... yes
checking if cc supports -Werror=attributes... yes
checking whether make supports nested variables... (cached) yes
checking for gzopen in -lz... yes
checking for vasprintf... (cached) yes
checking for MKFONTSCALE... yes
checking for X11... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: executing depfiles commands
[20211206195955] ===> Building for mkfontscale-1.2.1
--- all ---
/usr/bin/make  all-recursive
--- all-recursive ---
Making all in man
--- mkfontdir.1 ---
--- mkfontscale.1 ---
--- mkfontdir.1 ---
/usr/bin/sed -e 's|__vendorversion__|"mkfontscale 1.2.1" "X Version 11"|'       -e 's|__xorgversion__|"mkfontscale 1.2.1" "X Version 11"|'      -e 's|__xservername__|Xorg|g'        -e 's|__xconfigfile__|xorg.conf|g'      -e 's|__projectroot__|/usr/local|g'     -e 's|__apploaddir__||g'        -e 's|__appmansuffix__|1|g'  -e 's|__drivermansuffix__|4|g'  -e 's|__adminmansuffix__|8|g'   -e 's|__libmansuffix__|3|g'     -e 's|__miscmansuffix__|7|g'    -e 's|__filemansuffix__|5|g' < mkfontdir.man > mkfontdir.1
--- mkfontscale.1 ---
/usr/bin/sed -e 's|__vendorversion__|"mkfontscale 1.2.1" "X Version 11"|'       -e 's|__xorgversion__|"mkfontscale 1.2.1" "X Version 11"|'      -e 's|__xservername__|Xorg|g'        -e 's|__xconfigfile__|xorg.conf|g'      -e 's|__projectroot__|/usr/local|g'     -e 's|__apploaddir__||g'        -e 's|__appmansuffix__|1|g'  -e 's|__drivermansuffix__|4|g'  -e 's|__adminmansuffix__|8|g'   -e 's|__libmansuffix__|3|g'     -e 's|__miscmansuffix__|7|g'    -e 's|__filemansuffix__|5|g' < mkfontscale.man > mkfontscale.1
--- constlist.o ---
--- hash.o ---
--- ident.o ---
--- list.o ---
--- constlist.o ---
cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16  -I/usr/local/include  -D_BSD_SOURCE   -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT constlist.o -MD -MP -MF .deps/constlist.Tpo -c -o constlist.o constlist.c
--- hash.o ---
cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16  -I/usr/local/include  -D_BSD_SOURCE   -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT hash.o -MD -MP -MF .deps/hash.Tpo -c -o hash.o hash.c
--- ident.o ---
cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16  -I/usr/local/include  -D_BSD_SOURCE   -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT ident.o -MD -MP -MF .deps/ident.Tpo -c -o ident.o ident.c
--- list.o ---
cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16  -I/usr/local/include  -D_BSD_SOURCE   -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c
--- constlist.o ---
mv -f .deps/constlist.Tpo .deps/constlist.Po
--- mkfontscale.o ---
cc -DHAVE_CONFIG_H -I.  -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16  -I/usr/local/include  -D_BSD_SOURCE   -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT mkfontscale.o -MD -MP -MF .deps/mkfontscale.Tpo -c -o mkfontscale.o mkfontscale.c
--- hash.o ---
mv -f .deps/hash.Tpo .deps/hash.Po
--- mkfontdir ---
/usr/bin/sed -e 's|@bindir
  • |/usr/local/bin|g' < ./mkfontdir.in > mkfontdir
    --- mkfontscale.o ---
    mkfontscale.c:779:66: warning: declaration shadows a variable in the global scope [-Wshadow]
    doDirectory(const char *dirname_given, int numEncodings, ListPtr encodingsToDo)
                                                                     ^
    mkfontscale.c:115:16: note: previous declaration is here
    static ListPtr encodingsToDo;
                   ^
    --- list.o ---
    mv -f .deps/list.Tpo .deps/list.Po
    --- mkfontscale.o ---
    mkfontscale.c:1293:23: warning: declaration shadows a variable in the global scope [-Wshadow]
    readEncodings(ListPtr encodings, char *dirname)
                          ^
    mkfontscale.c:92:21: note: previous declaration is here
    static ConstListPtr encodings, extra_encodings;
                        ^
    --- ident.o ---
    mv -f .deps/ident.Tpo .deps/ident.Po
    --- mkfontscale.o ---
    2 warnings generated.
    mv -f .deps/mkfontscale.Tpo .deps/mkfontscale.Po
    --- mkfontscale ---
    cc -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fstack-protector-strong -o mkfontscale constlist.o hash.o  ident.o list.o mkfontscale.o -L/usr/local/lib -lfontenc -lfreetype -lz
    [20211206195955] ===> Staging for mkfontscale-1.2.1
    ===>   mkfontscale-1.2.1 depends on file: /usr/local/libdata/pkgconfig/fontenc.pc - found
    [20211206195955] ===> Generating temporary packing list
    Making install in man
    /bin/mkdir -p '/usr/obj/usr/ports/x11-fonts/mkfontscale/work/stage/usr/local/man/man1'
    install  -m 0644 mkfontdir.1 mkfontscale.1 '/usr/obj/usr/ports/x11-fonts/mkfontscale/work/stage/usr/local/man/man1'
    /bin/mkdir -p '/usr/obj/usr/ports/x11-fonts/mkfontscale/work/stage/usr/local/bin'
      install  -s -m 555 mkfontscale '/usr/obj/usr/ports/x11-fonts/mkfontscale/work/stage/usr/local/bin'
    /bin/mkdir -p '/usr/obj/usr/ports/x11-fonts/mkfontscale/work/stage/usr/local/bin'
    install  -m 555 mkfontdir '/usr/obj/usr/ports/x11-fonts/mkfontscale/work/stage/usr/local/bin'
    [20211206195955] ====> Compressing man pages (compress-man)
    [20211206195955] ===> Installing for mkfontscale-1.2.1
    [20211206195955] ===> Checking if mkfontscale is already installed
    [20211206195955] ===> Registering installation for mkfontscale-1.2.1 as automatic
    Installing mkfontscale-1.2.1...
    ===>   urwfonts-1.0_8 depends on executable: mkfontscale - found
    ===>   Returning to build of urwfonts-1.0_8
    [20211206195955] ===> Generating temporary packing list
    install  -m 0644 /usr/obj/usr/ports/x11-fonts/urwfonts/work/URW/Fontmap /usr/obj/usr/ports/x11-fonts/urwfonts/work/stage/usr/local/share/fonts/urwfonts
    install  -m 0644 /usr/obj/usr/ports/x11-fonts/urwfonts/work/URW/*.pfb /usr/obj/usr/ports/x11-fonts/urwfonts/work/stage/usr/local/share/fonts/urwfonts
    install  -m 0644 /usr/obj/usr/ports/x11-fonts/urwfonts/work/URW/*.afm /usr/obj/usr/ports/x11-fonts/urwfonts/work/stage/usr/local/share/fonts/urwfonts
    install  -m 0644 /usr/obj/usr/ports/x11-fonts/urwfonts/work/URW/*.pfm /usr/obj/usr/ports/x11-fonts/urwfonts/work/stage/usr/local/share/fonts/urwfonts
    [20211206195955] ====> Compressing man pages (compress-man)
    [20211206195955] ===> Installing for urwfonts-1.0_8
    [20211206195955] ===> Checking if urwfonts is already installed
    [20211206195955] ===> Registering installation for urwfonts-1.0_8
    Installing urwfonts-1.0_8...
    You'll have to add /usr/local/share/fonts/urwfonts
    to your X font path by either:

    $ xset fp+ /usr/local/share/fonts/urwfonts
    $ xset fp rehash

    or by adding it to your X-server configuration file (usually
    /etc/X11/xorg.conf) and restarting the X-server.

    Creating package for expat-2.4.1
    expat-2.4.1 already packaged, skipping...
    Creating package for fontconfig-2.13.94_1,1
    fontconfig-2.13.94_1,1 already packaged, skipping...
    Creating package for freetype2-2.11.0
    freetype2-2.11.0 already packaged, skipping...
    Creating package for libfontenc-1.1.4
    Creating package for mkfontscale-1.2.1
    Creating package for pkg-1.16.3
    pkg-1.16.3 already packaged, skipping...
    Creating package for pkgconf-1.8.0,1
    pkgconf-1.8.0,1 already packaged, skipping...
    Creating package for png-1.6.37_1
    png-1.6.37_1 already packaged, skipping...
    Creating package for urwfonts-1.0_8
    Creating package for xorg-macros-1.19.3
    xorg-macros-1.19.3 already packaged, skipping...
    Creating package for xorgproto-2021.5
    xorgproto-2021.5 already packaged, skipping...
    >>> Locking package dependency: pkgconf
    >>> Locking package dependency: pkg
    >>> Locking package dependency: urwfonts
    Updating database digests format: .......... done
    Checking integrity... done (0 conflicting)
    Deinstallation has been requested for the following 2 packages:

    Installed packages to be REMOVED:
            xorg-macros: 1.19.3
            xorgproto: 2021.5

    Number of packages to be removed: 2

    The operation will free 1 MiB.
    [1/2] Deinstalling xorg-macros-1.19.3...
    [1/2] Deleting files for xorg-macros-1.19.3: ...... done
    [2/2] Deinstalling xorgproto-2021.5...
    [2/2] Deleting files for xorgproto-2021.5: .......... done
    >>> Saving runtime package: libfontenc
    >>> Saving runtime package: mkfontscale
    >>> Saving runtime package: urwfonts
    [20211206200000] ===> Cleaning for mkfontscale-1.2.1
    [20211206200000] ===> Cleaning for libfontenc-1.1.4
    [20211206200000] ===> Cleaning for urwfonts-1.0_8
    Checking integrity... done (0 conflicting)
    Deinstallation has been requested for the following 9 packages:

    Installed packages to be REMOVED:
            expat: 2.4.1
            fontconfig: 2.13.94_1,1
            freetype2: 2.11.0
            libfontenc: 1.1.4
            mkfontscale: 1.2.1
            pkg: 1.16.3
            pkgconf: 1.8.0,1
            png: 1.6.37_1
            urwfonts: 1.0_8

    Number of packages to be removed: 9

    The operation will free 21 MiB.
    [1/9] Deinstalling urwfonts-1.0_8...
    [1/9] Deleting files for urwfonts-1.0_8: .......... done
    [2/9] Deinstalling fontconfig-2.13.94_1,1...
    [2/9] Deleting files for fontconfig-2.13.94_1,1: .......... done
    [3/9] Deinstalling mkfontscale-1.2.1...
    [3/9] Deleting files for mkfontscale-1.2.1: ....... done
    [4/9] Deinstalling freetype2-2.11.0...
    [4/9] Deleting files for freetype2-2.11.0: .......... done
    [5/9] Deinstalling expat-2.4.1...
    [5/9] Deleting files for expat-2.4.1: .......... done
    [6/9] Deinstalling libfontenc-1.1.4...
    [6/9] Deleting files for libfontenc-1.1.4: ......... done
    [7/9] Deinstalling pkg-1.16.3...
    [7/9] Deleting files for pkg-1.16.3: .......... done
    [8/9] Deinstalling pkgconf-1.8.0,1...
    [8/9] Deleting files for pkgconf-1.8.0,1: .......... done
    [9/9] Deinstalling png-1.6.37_1...
    [9/9] Deleting files for png-1.6.37_1: .......... done
    Creating repository in /usr/obj/usr/tools/config/22.1/LibreSSL:amd64/.pkg-new/: .......... done
    Packing files for repository: .... done
    >>> Running build step: clean
    >>> Passing arguments: packages
    >>> Removing packages set
    >>> Creating package mirror set for 21.7.6_95-LibreSSL-amd64... done
    -rw-r--r--  1 root  wheel   784M Dec  7 01:30 packages-21.7.6_95-LibreSSL-amd64.tar
    >>> ERROR: The build encountered fatal issues!
    >>> Aborted version 11.1_1 for devel/gdb
    >>> Aborted version 9.16.23 for dns/bind916
    >>> Aborted version 2.7_1 for mail/rspamd
    *** Error code 1

    Stop.
    make[1]: stopped in /usr/tools
        52335.70 real     49114.27 user      7144.14 sys
    root@limestone:/usr/local/opnsense/build/22.1/amd64/logs/latest #


#8
Quote from: rackg on November 28, 2021, 03:06:26 AM
Some more logs strange behavior w.r.t file system space.

root@limestone:/usr/tools # mount
/dev/gpt/rootfs on / (ufs, local, soft-updates)
devfs on /dev (devfs)
/dev/gpt/efiesp on /boot/efi (msdosfs, local)
<below>:/usr/ports on /usr/obj/usr/tools/config/22.1/LibreSSL:amd64/usr/ports (unionfs, local, soft-updates)
<below>:/usr/src on /usr/obj/usr/tools/config/22.1/LibreSSL:amd64/usr/src (unionfs, local, soft-updates)
devfs on /usr/obj/usr/tools/config/22.1/LibreSSL:amd64/dev (devfs)
<below>:/usr/ports on /usr/obj/usr/tools/config/22.1/OpenSSL:amd64/usr/ports (unionfs, local, soft-updates)
<below>:/usr/src on /usr/obj/usr/tools/config/22.1/OpenSSL:amd64/usr/src (unionfs, local, soft-updates)
devfs on /usr/obj/usr/tools/config/22.1/OpenSSL:amd64/dev (devfs)
root@limestone:/usr/tools #
root@limestone:/usr/tools #
root@limestone:/usr/tools #
root@limestone:/usr/tools # df -h
Filesystem            Size    Used   Avail Capacity  Mounted on
/dev/gpt/rootfs        76G     48G     22G    69%    /
devfs                 1.0K    1.0K      0B   100%    /dev
/dev/gpt/efiesp        32M    878K     31M     3%    /boot/efi
<below>:/usr/ports    153G    125G     22G    85%    /usr/obj/usr/tools/config/22.1/LibreSSL:amd64/usr/ports
<below>:/usr/src      153G    125G     22G    85%    /usr/obj/usr/tools/config/22.1/LibreSSL:amd64/usr/src
devfs                 1.0K    1.0K      0B   100%    /usr/obj/usr/tools/config/22.1/LibreSSL:amd64/dev
<below>:/usr/ports    153G    125G     22G    85%    /usr/obj/usr/tools/config/22.1/OpenSSL:amd64/usr/ports
<below>:/usr/src      153G    125G     22G    85%    /usr/obj/usr/tools/config/22.1/OpenSSL:amd64/usr/src
devfs                 1.0K    1.0K      0B   100%    /usr/obj/usr/tools/config/22.1/OpenSSL:amd64/dev
root@limestone:/usr/tools #

Franco i could still find the /: write failed, filesystem is full, Is this related to EFI and can be ignored safely ?
#9
Dear Franco,

Thank you so much.. I could finally find the packages ../sets/packages-21.7.6_93-OpenSSL-amd64.tar. My build now continues on FBD13. Hopefully i should get my build soon. :D
#10
Quote from: mimugmail on December 05, 2021, 07:04:55 AM
There is already a confirmation with similar problem where downgrade helped
I have to verify the same. I just uninstalled the pkg version 1.17. Compiled and installed the following pkg version from ports of git version.

root@limestone:/usr/ports/ports-mgmt/pkg # cat distinfo
TIMESTAMP = 1613671680
SHA256 (freebsd-pkg-1.16.3_GH0.tar.gz) = db4bba12ba56521b21b01ac2e404a57ff12f631a4fb3363316f98fc1f189e883
SIZE (freebsd-pkg-1.16.3_GH0.tar.gz) = 3834224
root@limestone:/usr/ports/ports-mgmt/pkg #
root@limestone:/usr/ports/ports-mgmt/pkg # pkg -v
1.16.3
root@limestone:/usr/ports/ports-mgmt/pkg #
#11
Quote from: franco on December 01, 2021, 02:46:55 PM
My guess is that pkg 1.17 installed in your build system breaks this. You can see the failing command with VERBOSE=yes and I suspect that pkg-repo looks for *.pkg files but we still have *.txz files.

Not a lot of care was taken by the FreeBSD ecosystem to keep the established system running with anything but cutting edge tools that do produce backwards compatible output, but that's obviously not our worry here since we can't get to that state where it produces anything. ;)


Cheers,
Franco

You have a valid analysis. I have two machines  12-Release and 13.0 both had same issue since they are on pkg 1.7 version. Let me downgrade to older version and let you know.
#12
Quote from: mimugmail on December 01, 2021, 02:43:32 PM
I would try a fresh install, disable LibreSSL, dont touch anything else (like additional ports etc.) and start with make dvd. If this works then enlarge, if not, there's room to debug.

I think issue is not related to options/ports its mostly infra related to package issue. I had tried couple of time a fresh build nothing helped.
#13
Any help ? Waiting for your update to fix this issue.
#14
AFAIK Tools directory does only make update, however git management should be done directly. You have tired the command out side the repository i.e from /usr/tool instead of /usr/core/ hence it failed. You need to change the corresponding directory  to /usr/core/ before you try any git command. For more details @ https://www.git-tower.com/learn/git/faq/restoring-deleted-files will help you.
#15
Use git checkout restore deleted file from git repository. Also you can use the command git rev-list to find the checksum of the deleted commit. You can check out that commit too.