Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2024 18:37:13 -0400
From:      Dennis Clarke <dclarke@blastwave.org>
To:        riscv@freebsd.org
Subject:   Re: Why this message "kernel is missing COMPAT_FREEBSD11"
Message-ID:  <8e18d3a5-13ea-44ba-a030-5aac6314496d@blastwave.org>
In-Reply-To: <BC221870-9D8B-4D42-9B21-2A4B31353965@freebsd.org>
References:  <84f1f8e5-a375-4f2b-b9f8-8016fd60c186@blastwave.org> <BC221870-9D8B-4D42-9B21-2A4B31353965@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/13/24 18:09, Jessica Clarke wrote:
> On 13 Sep 2024, at 23:03, Dennis Clarke <dclarke@blastwave.org> wrote:
>>
>>
>> Dear RISC-V types :
>>
>>     I have been watching my SiFive board grind away slowly with
>> poudriere for a while and today I saw this message about emacs:
>>
>> [01] [00:10:20] Skipping editors/emacs@full | emacs-29.4,3: Dependent port lang/rust | rust-1.81.0 failed
>>
>>
>>     This of course will tell me that something went wrong when trying to
>> build rust. Somewhere. Somehow.  Thankfully there is a detailed log file
>> on this Friday the 13th wherein I see :
>>
>>
>> =======================<phase: configure      >============================
>> ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
>> ===>  Configuring for rust-1.81.0
>> ===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/lang/rust/work/rustc-1.81.0-src/vendor/libssh2-sys-0.3.0/libssh2/config.rpath
>> ===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/lang/rust/work/rustc-1.81.0-src/vendor/libssh2-sys-0.2.23/libssh2/config.rpath
>> Bad system call
>> => Sanity check failed: kernel is missing COMPAT_FREEBSD11
>> => Aborting build
>> *** Error code 1
>>
>> Stop.
>> make: stopped making "configure" in /usr/ports/lang/rust
>> =>> Cleaning up wrkdir
>> ===>  Cleaning for rust-1.81.0
>> build of lang/rust | rust-1.81.0 ended at Fri Sep 13 02:04:27 UTC 2024
>> build time: 00:10:20
>> !!! build failure encountered !!!
>>
>>
>> Well gee. Does this mean I need to stop everything and do a build of the
>> kernel with some magic config variable "COMPAT_FREEBSD11" in some magic
>> file somewhere?
> 
> See https://github.com/rust-lang/rust/issues/92466 and
> https://github.com/rust-lang/rust/issues/89058.
> 
> Jess

Thank you once again for the pointers. At first glance this appears
to be a serious compatibility issue in the rust world. I guess I could
spend and hour or so to read top to bottom everything in both of those
bug reports. As I say, at first glance, it seems to be a brick wall.

I'll think about the situation on this Friday the 13th.


-- 
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8e18d3a5-13ea-44ba-a030-5aac6314496d>