Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2018 20:54:49 +0100
From:      Michael Gmelin <freebsd@grem.de>
To:        Andreas Nilsson <andrnils@gmail.com>
Cc:        =?utf-8?Q?Trond_Endrest=C3=B8l?= <Trond.Endrestol@fagskolen.gjovik.no>, Current FreeBSD <freebsd-current@freebsd.org>
Subject:   Re: pkg does not recognize correct kernel version
Message-ID:  <6D85D1DD-A9EB-42A0-B0AD-CDC8230B88D5@grem.de>
In-Reply-To: <CAPS9%2BSt7kFAgjJSFsrrq9Lu9Gb48bdis6bjkxR-GeYKVhZCPgw@mail.gmail.com>
References:  <op.zeo60hflkndu52@klop.ws> <eeae41de-d83b-93b4-0b69-bb62c9e84bb4@gwdg.de> <op.zeo9mlutkndu52@klop.ws> <80b54e13-7e6c-a52e-4d42-16903e16e67b@gwdg.de> <20180219210551.GE94212@kib.kiev.ua> <op.zepfusvakndu52@klop.ws> <alpine.BSF.2.21.1802201128270.24158@mail.fig.ol.no> <op.zesu3yhqkndu52@klop.ws> <alpine.BSF.2.21.1802212040030.24158@mail.fig.ol.no> <CAPS9%2BSt7kFAgjJSFsrrq9Lu9Gb48bdis6bjkxR-GeYKVhZCPgw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Still breaks automation, doesn=E2=80=99t it?

> On 21. Feb 2018, at 20:49, Andreas Nilsson <andrnils@gmail.com> wrote:
>=20
> As of pkg-1.10.5 it will ask if you wish to proceed which makes this much
> easier to deal with.
>=20
> Best regards
> Andreas
>=20
> On Feb 21, 2018 20:45, "Trond Endrest=C3=B8l" <
> Trond.Endrestol@fagskolen.gjovik.no> wrote:
>=20
>>> On Wed, 21 Feb 2018 20:01+0100, Ronald Klop wrote:
>>>=20
>>> On Tue, 20 Feb 2018 11:30:52 +0100, Trond Endrest=C3=B8l
>>> <Trond.Endrestol@fagskolen.gjovik.no> wrote:
>>>=20
>>>>> On Mon, 19 Feb 2018 23:38+0100, Ronald Klop wrote:
>>>>>=20
>>>>> Does this mean I always have to do a *clean* buildworld after every
>>>>> version
>>>>> bump? This takes ages.
>>>>=20
>>>> Yes, I've come to the conclusion that whenever __FreeBSD_version in
>>>> sys/sys/param.h is incremented, then it's time to blow away /usr/obj,
>>>> recreate everything to ensure the correct value of osversion in the
>>>> .note.tag section of each executable, and reinstall base prior to
>>>> updating localbase. See PR 225104 for more details,
>>>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225104.
>>>>=20
>>>=20
>>> pkg: Newer FreeBSD version for package gnome-menus:
>>> - package: 1200058
>>> - running kernel: 1200056
>>>=20
>>> So it says "running kernel", but it actually checked "version of
>>> FreeBSD_version while building /bin/sh" or something like that.
>>> This sounds over-engineered and (more important) confusing.
>>=20
>> I tried the simply approach of running "make clean; make build" in
>> /usr/src/bin/sh, hoping it would generate binaries with the correct
>> osversion in the .note.tag section. Boy, I couldn't be more wrong.
>> Hence my (possibly wrongful) conclusion of wiping /usr/obj whenever
>> osversion is increased. I'm probably missing a simpler step.
>>=20
>> --
>> Trond.
>> _______________________________________________
>> freebsd-current@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org=
"
>>=20
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"=





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6D85D1DD-A9EB-42A0-B0AD-CDC8230B88D5>