Discussion:
I downloaded
During the upgrade, the original VM crashed when I ran
I rebooted the VM, re-ran
Great. I fetched a snapshot of ports from cgit.freebsd.org/ports, went to editors/nano as the very first thing I want to compile on a clean system. But just typing
Reading through typescript.txt, it looks like my problem is that
I suspect this is related to what I saw during my second attempt at freebsd-update: I was told that CC and Clang got patched. I just blindly said OK to that.
I don't want to resort to pkg, I want to compile my ports!
It does look like the upgrade corrupted my /usr/bin/cc
Is there anything that can be done short of ripping out a working copy of cc from another FreeBSD installation? I'm open to ideas.
I downloaded
14.1-RELEASE-amd64-disk1.iso
(no patches), installed it inside a VirtualBox VM, and ran freebsd-update fetch
and freebsd-update install
, as per Handbook.During the upgrade, the original VM crashed when I ran
freebsd-update fetch
for the first time - it happened at "Inspecting System" step. Well, the very reason for updating is that original 14.1-RELEASE
was very unstable for me inside VBox.I rebooted the VM, re-ran
freebsd-update fetch
, it finished without complaints this time. Then I ran freebsd-update install
, rebooted a couple times, and then freebsd-version
showed me that I'm at p2
.Great. I fetched a snapshot of ports from cgit.freebsd.org/ports, went to editors/nano as the very first thing I want to compile on a clean system. But just typing
make config
ended in failure. I was able to capture the entire output, which is attached as typescript.txt.Reading through typescript.txt, it looks like my problem is that
Code:elf_load_section: truncated ELF file No working C compiler found. Tried cc and gcc.
I suspect this is related to what I saw during my second attempt at freebsd-update: I was told that CC and Clang got patched. I just blindly said OK to that.
I don't want to resort to pkg, I want to compile my ports!
It does look like the upgrade corrupted my /usr/bin/cc
Is there anything that can be done short of ripping out a working copy of cc from another FreeBSD installation? I'm open to ideas.