opnsense / ports

OPNsense ports on top of FreeBSD
https://opnsense.org/
Other
157 stars 112 forks source link

Error building packages for arm device #183

Closed sysadminz closed 8 months ago

sysadminz commented 8 months ago

Hey, I am trying to build an image for my nanopi r4s and using an amazon arm instance for the build. I have an error while building packages which stops the build. Any thoughts or advice would be appreciated.

Here is the error:

Packing files for repository: 100%
>>> Removing packages set
>>> Creating package mirror set for 23.7.9_44-aarch64... done
-rw-r--r--  1 root  wheel   683M Nov 29 00:27 packages-23.7.9_44-aarch64.tar
>>> WARNING: The build provided additional info.
>>> Package list inconsistency for opnsense/phpseclib@php82 (php82-phpseclib)
[20231128222230] ====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: %%DATADIR%%/Crypt/EC/Formats/Signature/IEEE.php
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1

Stop.
make: stopped in /usr/ports/opnsense/phpseclib
>>> ERROR: The build encountered fatal issues!
>>> Aborted version 1.28.5 for net-mgmt/telegraf (telegraf)
*** Error code 1

Stop.
make: stopped in /usr/tools
sysadminz commented 8 months ago

The build was successful after running make clean build in /usr/ports/opnsense/phpseclib .

fichtner commented 8 months ago

Thanks, I fixed the plist in e1cf9eb but your bulild fails for telegraf actually. The problem is that our nightly server is also overflowing because of the go dependency handling so I didn't catch this earlier. I am unsure what to do about the distfiles buildup for go ports.. it's getting out of hand and filling the disk completely causing builds to eventually fail.