Date: Fri, 26 Apr 2024 16:49:22 +0530 From: Reshad Patuck <reshadpatuck1@gmail.com> To: "freebsd-pkgbase@freebsd.org" <freebsd-pkgbase@freebsd.org> Subject: FreeBSD kernel version 0 Message-ID: <CADaJeD0QpPZizJPia6vxZAjB4EaDo8R%2B3PsV21GriRR4PJtLqw@mail.gmail.com>
index | next in thread | raw e-mail
[-- Attachment #1 --] Hi, I have been trying to compile FreeBSD 14.0-RELEASE-p5 on a FreeBSD 14.0-RELEASE VM today and it seems like the FreeBSD_version annotation in the +MANIFEST file is set to the value "0". This caused my system to throw the error "pkg-static: Invalid FreeBSD version 0 for package FreeBSD-kernel-generic" when I tried to install the pkgs on another FreeBSD 14.0 system. I had compiled the same version (using the same commit hash) on the 12th of March and it worked fine. I have attached the following files at https://paste.ee/d/9KcnQ: - pkg-base-build-script.sh - The list of commands I used to build a new pkg base instance - +MANIFEST-working - the +MANIFEST file from the working pkg of FreeBSD 14.0-RELEASE-p5 built on 2024-03-12 - +MANIFEST-broken - the +MANIFEST file from the broken pkg of FreeBSD 14.0-RELEASE-p5 built on 2024-04-18 I use a stock FreeBSD 14.0 image in AWS to spin up a new VM each time I run this compilation and have used the same image since February. The only thing that runs before I run the compilation is a pkg installation of some tools like git, curl, htop, screen and vim. Looking at my archives, it seems that the version of pkg had changed from '1.20_9' to '1.21.2'. Could there be something here? Any help understanding why this difference exists will be much appreciated. Best Regards, Reshad [-- Attachment #2 --] <div dir="ltr"><div>Hi,</div><div><br></div><div>I have been trying to compile FreeBSD 14.0-RELEASE-p5 on a FreeBSD 14.0-RELEASE VM today and it seems like the FreeBSD_version annotation in the +MANIFEST file is set to the value "0".</div><div>This caused my system to throw the error "pkg-static: Invalid FreeBSD version 0 for package FreeBSD-kernel-generic" when I tried to install the pkgs on another FreeBSD 14.0 system.<br></div><div><br></div><div>I had compiled the same version (using the same commit hash) on the 12th of March and it worked fine.</div><div><br></div><div>I have attached the following files at <a href="https://paste.ee/d/9KcnQ">https://paste.ee/d/9KcnQ</a>:</div><div>- pkg-base-build-script.sh - The list of commands I used to build a new pkg base instance</div><div>- +MANIFEST-working - the +MANIFEST file from the working pkg of FreeBSD 14.0-RELEASE-p5 built on 2024-03-12<br></div><div>- +MANIFEST-broken - the +MANIFEST file from the broken pkg of FreeBSD 14.0-RELEASE-p5 built on 2024-04-18</div><div><br></div><div>I use a stock FreeBSD 14.0 image in AWS to spin up a new VM each time I run this compilation and have used the same image since February.</div><div>The only thing that runs before I run the compilation is a pkg installation of some tools like git, curl, htop, screen and vim.</div><div><br></div><div>Looking at my archives, it seems that the version of pkg had changed from '1.20_9' to '1.21.2'. Could there be something here?</div><div>Any help understanding why this difference exists will be much appreciated.<br></div><div><br></div><div>Best Regards,</div><div>Reshad<br></div></div>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADaJeD0QpPZizJPia6vxZAjB4EaDo8R%2B3PsV21GriRR4PJtLqw>
