Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2012 14:35:25 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        George Kontostanos <gkontos.mail@gmail.com>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>, Andriy Gapon <avg@freebsd.org>
Subject:   Re: FreeBSD 9 & recompile ports
Message-ID:  <4F10B1AD.9000400@FreeBSD.org>
In-Reply-To: <CA%2BdUSyrFVn0skisgeJ1pYjHN3wCXC2tqDPoMoqWNqkjAk8DVmA@mail.gmail.com>
References:  <CA%2BdUSyrV_j8GtxS4=yN-DsFCprQ7N%2BEmuRoraDwBLZN1EFFR9w@mail.gmail.com> <CA%2BdUSyqZVVyVkVWTPJXJe921NcZ3RaEN9QojH55NhRNP8xDinA@mail.gmail.com> <4F10009A.7000307@FreeBSD.org> <4F100D9E.80807@FreeBSD.org> <CA%2BdUSyrFVn0skisgeJ1pYjHN3wCXC2tqDPoMoqWNqkjAk8DVmA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/13/2012 03:56, George Kontostanos wrote:
> On Fri, Jan 13, 2012 at 12:55 PM, Andriy Gapon <avg@freebsd.org> wrote:
>> on 13/01/2012 11:59 Doug Barton said the following:
>>> On 01/13/2012 01:52, George Kontostanos wrote:
>>>> On Thu, Jan 12, 2012 at 8:42 PM, George Kontostanos
>>>> <gkontos.mail@gmail.com> wrote:
>>>>> Greetings all and my apologies for cross posting!
>>>>>
>>>>> There seems to be a confusion regarding the ABI change in FreeBSD 9
>>>>> and if this affects the usual upgrade path which includes a full port
>>>>> rebuild.
>>>>>
>>>>> The relevant post is here: http://forums.freebsd.org/showthread.php?t=28831
>>>>>
>>>>> Frankly, I am also confused because I remember a relevant discussion a
>>>>> few months ago in the lists. Traditionally a major RELEASE upgrade
>>>>> requires a full ports rebuild, however this time there is no
>>>>> COMPAT_FREEBSD8 in GENERIC and most upgraded systems seem to be
>>>>> working fine. On the other hand this is stated in UPDATING:
>>>>>
>>>>> 20110828:
>>>>>        Bump the shared library version numbers for libraries that
>>>>>        do not use symbol versioning, have changed the ABI compared
>>>>>        to stable/8 and which shared library version was not bumped.
>>>>>        Done as part of 9.0-RELEASE cycle.
>>>>>
>>>>> Your input would be appreciated!
>>>
>>>> Hmm, anyone :) ?
>>>
>>> If your question is, "Do I need to rebuild my ports when doing a major
>>> OS version upgrade?" the answer is always "Yes."
>>>
>>> The method described at the end of the portmaster man page is preferred,
>>> whether you actually use portmaster to do the upgrade or not. (I.e.,
>>> good backups, delete everything, start over from scratch.)
>>
>> I think that another part of the question was "why there is no COMPAT_FREEBSD8
>> kernel option in 9?" and I think that Volodymyr has tried to answer this part
>> with another question.
>>
>> --
>> Andriy Gapon
> 
> Hi guys,
> 
> I am aware of the proper procedure which requires a full rebuild after
> a major upgrade.
> 
> Doug, the question had to to with  COMPAT_FREEBSD8 missing from GENERIC.
> 
> It seems this and the fact that some upgrades from 8.2-STABLE worked
> fine without a recompile, has created the confusion.

Well clearly there is something about this that I don't understand. :)

If you have a sufficiently small number of ports, sure it's possible
that you *might* not have to recompile. However if you're talking about
a desktop system with X I guarantee you that if you clean out all the
old stuff in the base after doing a major version upgrade then there are
things in /usr/local/ that are linked against libs that no longer exist.
How much that affects you is a YMMV of course.

Meanwhile my larger point was that it doesn't matter whether
COMPAT_FREEBSD8 exists or not, whether some upgrades appear to work or
not, etc. When you do a major version upgrade your safest bet is wipe
out your old stuff and start over from scratch. You'll waste more time
trying to find ways around doing that than you would spend just doing it. :)


Doug

-- 

	You can observe a lot just by watching.	-- Yogi Berra

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F10B1AD.9000400>