OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: reply2MK on March 09, 2022, 06:32:06 AM

Title: 22.1 Compiling Error
Post by: reply2MK on March 09, 2022, 06:32:06 AM
Dear All,

I am struggling to compile the latest 22.1 opnsense on FREEBSD 13

I am able to create base and kernel but once I try to build the packages I get the following error.

[20220308140224] => port manually into /usr/ports/distfiles/ and try again.
*** Error code 1
Stop.
make: stopped in /usr/ports/x11-fonts/urufonts
[20220308140224] ===> Cleaning for urufonts-1.0_8
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages:
Installed packages to be REMOVED :
pkg: 1.16.3_1
Number of packages to be removed: 1
The operation will free 15 MiB.
[1/1] Deinstalling pkg-1.16.3_1...
[1/1] Deleting files for pkg-1.16.3_1: 100%
pkg: No package files have been found
Cannot create repository catalogue
*** Error code 1
Stop.
make: stopped in /usr/tools
root@FREEBSD:/usr/tools #


Please advise how can I fix this problem.

Thanks in advance.
MK
Title: Re: 22.1 Compiling Error
Post by: franco on March 10, 2022, 01:49:46 PM
Hi MK,

I think you need to downgrade pkg to 1.16.3 on your build host. pkg 1.17 disrupts older builds as it has no backwards support during build-time.


Cheers,
Franco
Title: Re: 22.1 Compiling Error
Post by: reply2MK on March 15, 2022, 05:56:03 AM
Hi,

Thank you for your reply.

The current package is pkg-1.16.3_1.txz.

I tried to build in several other VMs but I am getting the same error every time.

Thanks
MK
Title: Re: 22.1 Compiling Error
Post by: franco on March 15, 2022, 07:31:33 AM
Ok, I was looking at "Cannot create repository catalogue", but it seems to be a different issue... or maybe that issue too. It's not easy to tell. ;)

Next try: you did not include the actual error message from the build. The first line reads

[20220308140224] => port manually into /usr/ports/distfiles/ and try again.

But the error is shown above that.


Cheers,
Franco
Title: Re: 22.1 Compiling Error
Post by: buckbucks on March 16, 2022, 04:00:14 PM
im having the same type of error c an make base kernel but ones it gets to ports packages i get distfiles/catogorie/filee.tar.gz could not stat distfiles distfiles/catogorie/package.tar.xz etc for evert single distfile
Title: Re: 22.1 Compiling Error
Post by: franco on March 16, 2022, 09:50:01 PM
I still don't see an error log. All we have is hearsay and a heartfelt "me too".


Cheers,
Franco