Closed ggsnpdsn closed 1 year ago
I get the same error doing "make arm DEVICE=RPI".
Creating repository in /usr/obj/usr/tools/config/22.7/OpenSSL:aarch64/.pkg-new/: .......... done
Packing files for repository: .... done
>>> Removing packages set
>>> Creating package mirror set for 22.7.1_31-OpenSSL-aarch64... done
-rw-r--r-- 1 root wheel 639M Aug 14 20:42 packages-22.7.1_31-OpenSSL-aarch64.tar
>>> WARNING: The build provided additional info.
>>> Skipped version 1.19,2 for lang/go
>>> Package list inconsistency for emulators/qemu-guest-agent
>>> Skipped version 3.1.0,1 for net/luasocket
>>> Skipped version 4.36.2_4 for net/v2ray
>>> Skipped version 0.0.20220316_4,1 for net/wireguard-go
>>> Skipped version 22.7.1 for opnsense/lang
>>> Skipped version 1.8.7_4 for security/vault
>>> Skipped version 7.17.3_3 for sysutils/beats7
>>> Skipped version 1.11.3_4 for sysutils/consul
>>> Skipped version 1.3.1_4 for sysutils/node_exporter
>>> Skipped version 2.12.0_2 for textproc/minify
>>> ERROR: The build encountered fatal issues!
>>> Aborted version 1.36.0 for net-mgmt/netdata
>>> Aborted version 2.8.0_6 for sysutils/nut
*** Error code 1
Stop.
make: stopped in /usr/tools
root@generic:/usr/tools #
I would assume that this line causes the problems?
...
>>> Package list inconsistency for emulators/qemu-guest-agent
...
I checked the ports.sh and found these lines:
elif ! make -C ${PORTSDIR}/\${PORT} check-plist \${MAKE_ARGS}; then
echo ">>> Package list inconsistency for \${PORT_ORIGIN}" >> /.pkg-msg
So I checked whether the folder was there and it is:
root@generic:/usr/tools # ls -la /usr/ports/emulators/ | grep qemu-guest-agent
drwxr-xr-x 3 root wheel 512 May 12 10:22 qemu-guest-agent
Next I tried building it and I think it worked?:
root@generic:/usr/ports/emulators/qemu-guest-agent # make -C /usr/ports/emulators/qemu-guest-agent/
...
gmake[2]: Leaving directory '/usr/ports/emulators/qemu-guest-agent/work/qemu-5.0.1'
===> Staging for qemu-guest-agent-5.0.1
===> Generating temporary packing list
gmake[2]: Entering directory '/usr/ports/emulators/qemu-guest-agent/work/qemu-5.0.1'
/usr/bin/install -c -d -m 0755 "/usr/ports/emulators/qemu-guest-agent/work/stage/usr/local/share/qemu"
/usr/bin/install -c -d -m 0755 "/usr/ports/emulators/qemu-guest-agent/work/stage/var"/run
/usr/bin/install -c -d -m 0755 "/usr/ports/emulators/qemu-guest-agent/work/stage/usr/local/include"
/usr/bin/install -c -d -m 0755 "/usr/ports/emulators/qemu-guest-agent/work/stage/usr/local/bin"
/usr/bin/install -c -c -m 0755 qemu-ga ivshmem-client ivshmem-server qemu-nbd qemu-storage-daemon qemu-img qemu-io qemu-edid "/usr/por
ts/emulators/qemu-guest-agent/work/stage/usr/local/bin"
strip "/usr/ports/emulators/qemu-guest-agent/work/stage/usr/local/bin/qemu-ga" "/usr/ports/emulators/qemu-guest-agent/work/stage/usr/lo
cal/bin/ivshmem-client" "/usr/ports/emulators/qemu-guest-agent/work/stage/usr/local/bin/ivshmem-server" "/usr/ports/emulators/qemu-gues
t-agent/work/stage/usr/local/bin/qemu-nbd" "/usr/ports/emulators/qemu-guest-agent/work/stage/usr/local/bin/qemu-storage-daemon" "/usr/p
orts/emulators/qemu-guest-agent/work/stage/usr/local/bin/qemu-img" "/usr/ports/emulators/qemu-guest-agent/work/stage/usr/local/bin/qemu
-io" "/usr/ports/emulators/qemu-guest-agent/work/stage/usr/local/bin/qemu-edid"
gmake[2]: Leaving directory '/usr/ports/emulators/qemu-guest-agent/work/qemu-5.0.1'
/bin/mkdir -p /usr/ports/emulators/qemu-guest-agent/work/stage/usr/local/qemu
====> Compressing man pages (compress-man)
===> Staging rc.d startup script(s)
root@generic:/usr/ports/emulators/qemu-guest-agent #
So I assumed "make check-plist" would work, but it doesn't:
root@generic:/usr/ports/emulators/qemu-guest-agent # make -C /usr/ports/emulators/qemu-guest-agent check-plist
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: bin/ivshmem-client
Error: Orphaned: bin/ivshmem-server
Error: Orphaned: bin/qemu-storage-daemon
Error: Orphaned: @dir qemu
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1
Stop.
make: stopped in /usr/ports/emulators/qemu-guest-agent
Is this because I did not pass the \${MAKE_ARGS} arguments? Or might this be the actual error? And why would the compilation work but not check-plist?
I compiled it and just works. I executed an make update then repeat with make dvd and done. Same error, same package.
@ggsnpdsn
Please read the instructions and follow the steps.
@ggsnpdsn
Please read the instructions and follow the steps.
What's wrong with my steps? Which compilation instructions do I follow? Is there a link
@ggsnpdsn
Do the below steps
pkg install git cd /usr git clone https://github.com/opnsense/tools cd tools make update make dvd
Timeout.
I compile according to this step. I only want to compile the software required by opnsense, but it seems that all packages have been compiled. Is there a command like make menuconfig to select the installation package?
cd /usr
git clone https://github.com/opnsense/tools
cd tools
make update
mkdir -p /tmp/opnsense
cd /tmp/opnsense
git clone https://github.com/opnsense/tools
cd tools
env ROOTDIR=/tmp/opnsense make update
make dvd
Creating repository in /usr/obj/usr/tools/config/22.7/OpenSSL:amd64/.pkg-new/: 100% Packing files for repository: 100%
Stop. make: stopped in /tmp/opnsense/tools # It took 2 days and this error occurred. How can I compile the ISO installation file?