I use portmaster exclusively to install ports. Now, when I try to install a port, the build appears to go successfully, but then the process hangs with this message:
After letting it run for many minutes, I kill the process and nothing is installed.
This has also happened with all other ports that I have tried to install.
How can I fix this problem?
I recently upgraded from 13.1 to 13.2.
My system:
Here is an example trying to install sysutils/cpuid:
Code:
===>>> Waiting for background read of distinfo files to finish
This has also happened with all other ports that I have tried to install.
How can I fix this problem?
I recently upgraded from 13.1 to 13.2.
My system:
Code:
FreeBSD chubb 13.2-RELEASE-p4 FreeBSD 13.2-RELEASE-p4 releng/13.2-n254638-d20ece445acf GENERIC amd64
Here is an example trying to install sysutils/cpuid:
Code:
root@chubb:/usr/ports # portmaster sysutils/cpuid
===>>> Port directory: /usr/ports/sysutils/cpuid
===>>> Gathering distinfo list for installed ports
===>>> Launching 'make checksum' for sysutils/cpuid in background
===>>> Gathering dependency list for sysutils/cpuid from ports
make: chdir /usr/ports/databases/ldb14: No such file or directory
===>>> Initial dependency check complete for sysutils/cpuid
===>>> Starting build for sysutils/cpuid <<<===
===>>> All dependencies are up to date
===> Cleaning for cpuid-etallen-20230120
===>>> Waiting on fetch & checksum for sysutils/cpuid <<<===
===> License GPLv2 accepted by the user
===> cpuid-etallen-20230120 depends on file: /usr/local/sbin/pkg - found
=> cpuid-20230120.src.tar.gz doesn't seem to exist in /usr/ports/distfiles//.
=> Attempting to fetch http://www.etallen.com/cpuid/cpuid-20230120.src.tar.gz
===> License GPLv2 accepted by the user
===> cpuid-etallen-20230120 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by cpuid-etallen-20230120 for building
===> Extracting for cpuid-etallen-20230120
=> SHA256 Checksum OK for cpuid-20230120.src.tar.gz.
===> Patching for cpuid-etallen-20230120
/usr/bin/sed -i.bak 's,CFL=.*,& -pthread,' /usr/ports/sysutils/cpuid/work/cpuid-20230120/Makefile
===> cpuid-etallen-20230120 depends on package: gmake>=4.3 - found
===> cpuid-etallen-20230120 depends on package: perl5>=5.36<5.37 - found
===> Configuring for cpuid-etallen-20230120
===> Building for cpuid-etallen-20230120
gmake[1]: Entering directory '/usr/ports/sysutils/cpuid/work/cpuid-20230120'
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -Wall -W -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wimplicit-fallthrough -Wunused-parameter -Wundef -D_FILE_OFFSET_BITS=64 -DVERSION=20230120 -pthread -fstack-protector-strong -o cpuid cpuid.c
gzip < cpuid.man > cpuid.man.gz
pod2man -r "20230120" -c "" cpuinfo2cpuid > cpuinfo2cpuid.man
gzip < cpuinfo2cpuid.man > cpuinfo2cpuid.man.gz
gmake[1]: Leaving directory '/usr/ports/sysutils/cpuid/work/cpuid-20230120'
===>>> Building the port required 4 seconds
===> Staging for cpuid-etallen-20230120
===> Generating temporary packing list
install -s -m 555 /usr/ports/sysutils/cpuid/work/cpuid-20230120/cpuid /usr/ports/sysutils/cpuid/work/stage/usr/local/bin/cpuid-etallen
install -m 444 /usr/ports/sysutils/cpuid/work/cpuid-20230120/cpuid.man.gz /usr/ports/sysutils/cpuid/work/stage/usr/local/man/man1/cpuid-etallen.1.gz
====> Compressing man pages (compress-man)
===> Installing for cpuid-etallen-20230120
===> Checking if cpuid-etallen is already installed
===> Registering installation for cpuid-etallen-20230120
Installing cpuid-etallen-20230120...
===>>> Waiting for background read of distinfo files to finish
^C
===>>> Build/Install for sysutils/cpuid exiting due to signal
===>>> Installation of sysutils/cpuid (cpuid-etallen-20230120) complete
===>>> You can restart from the point of failure with this command line:
portmaster <flags> sysutils/cpuid
This command has been saved to ~/portmasterfail.txt
root@chubb:/usr/ports #