Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Dec 2019 17:20:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 242457] freebsd-update from 12.0-R to 12.1-R borked base source, rendering system unable to build kernel
Message-ID:  <bug-242457-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242457

            Bug ID: 242457
           Summary: freebsd-update from 12.0-R to 12.1-R borked base
                    source, rendering system unable to build kernel
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: sblachmann@gmail.com

A few weeks ago I downloaded the DVD-ISO of 12.0-Release, as it then was sh=
own
as the most current release on the "Download FreeBSD" page.
I installed it, with base source and ports tree installation options checke=
d.
To make sure that security patches are applied, I recently ran freebsd-upda=
te
according to Handbook Section 23.2 (freebsd-update fetch+install).

freebsd-update then warned me that there is a custom kernel active, prevent=
ing
full update. Iirc I answered "no" to some prompt "Do you want to update
anyway?" and rebuilt+installed GENERIC.

Then, after finishing the security updates, freebsd-update warned me about
12.0-R lifetime expiring very soon and advised to update to 12.1.
So, following the handbook instructions, I ran "freebsd-update -r 12.1-RELE=
ASE
upgrade", with GENERIC kernel active.

This was successful insofar that the system rebooted into 12.1 smoothly.
However, when I attempt to rebuild kernel (no matter whether custom or
GENERIC), the system aborted build, complaining about some missing header f=
ile
(apparently belonging to the em driver, filename was something like i_if_em=
.h).

I did not touch anything in /usr/src/... except adding my personally modifi=
ed
kernel configuration file.
Thus my gut feeling told me that freebsd-update botched something in the
sources, rendering the upgraded system unable to build kernel.
So I decided to do fresh install from 12.1 USB image, and the resulting sys=
tem
was able to build kernel.

Did I do something wrong, or is it a freebsd-update bug?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242457-227>