Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2024 08:25:38 -0600
From:      Kyle Evans <kevans@FreeBSD.org>
To:        =?UTF-8?Q?Stefan_E=C3=9Fer?= <se@FreeBSD.org>, src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   Re: git: 8ea6c1154094 - main - usr.bin/bc: remove OpenBSD derived bc and dc commands
Message-ID:  <7c698cf4-ed41-4b15-8388-8d826b380ec2@FreeBSD.org>
In-Reply-To: <202411242208.4AOM8WSe033669@gitrepo.freebsd.org>
References:  <202411242208.4AOM8WSe033669@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/24/24 16:08, Stefan Eßer wrote:
> The branch main has been updated by se:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=8ea6c115409450ff58a8c6b5e818319d181c6bff
> 
> commit 8ea6c115409450ff58a8c6b5e818319d181c6bff
> Author:     Stefan Eßer <se@FreeBSD.org>
> AuthorDate: 2024-11-24 21:38:23 +0000
> Commit:     Stefan Eßer <se@FreeBSD.org>
> CommitDate: 2024-11-24 21:38:23 +0000
> 
>      usr.bin/bc: remove OpenBSD derived bc and dc commands
>      
>      In 2020, an improved implementation of the bc and dc commands
>      developed by Gavin D. Howard has been imported into FreeBSD.
>      It has replaced the OpenBSD-derived versions of these commands
>      in all currently supported FreeBSD releases.
>      
>      The OpenBSD versions could still be built using the WITHOUT_GH_BC
>      option. There have been no reports of problems or unexpected
>      deviations from the OpenBSD version for some time, therefore
>      keeping the OpenBSD version is no longer required in FreeBSD.
>      
>      This commit removes the option to build the OpenBSD version and
>      corresponding source files from -CURRENT. No MFC is planned, all
>      currently released FreeBSD versions should retain the build option.
>      
>      The WITHOUT_GH_BC option is no longer accepted and will cause
>      make buildworld to fail.
>      

What does this mean?  It's not clear from the diff; it looks like you 
just removed the option, which generally doesn't mean 'make buildworld' 
will fail if the knob is exercised -- just that the knob doesn't do 
anything.  Was this just supposed to mean that it's no longer accepted 
because it would have caused buildworld to fail?

 > [... snip ...]
 >
> diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
> index 1378d6b6dcfa..5362ba0e5955 100644
> --- a/ObsoleteFiles.inc
> +++ b/ObsoleteFiles.inc
> @@ -51,6 +51,13 @@
>   #   xargs -n1 | sort | uniq -d;
>   # done
>   
> +# 20241124: library and tests of OpenBSD dc
> +OLD_FILES+=usr/share/misc/bc.library
> +OLD_FILES+=usr/tests/usr.bin/dc/Kyuafile
> +OLD_FILES+=usr/tests/usr.bin/dc/bcode
> +OLD_FILES+=usr/tests/usr.bin/dc/inout
> +OLD_DIRS+=usr/tests/usr.bin/dc
> +
>   # 20241119: rewrite mv tests
>   OLD_FILES+=usr/tests/bin/mv/legacy_test
>   

This seems to have missed removing the associated mtree entry in 
^/etc/mtree/BSD.tests.dist.

Thanks,

Kyle Evans




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7c698cf4-ed41-4b15-8388-8d826b380ec2>