On 23/10/2023 19:12, Daniel Jakots wrote:
On Mon, 23 Oct 2023 02:38:14 -0600 (MDT), Marc Espie
<es...@cvs.openbsd.org> wrote:
CVSROOT: /cvs
Module name: src
Changes by: es...@cvs.openbsd.org 2023/10/23 02:38:14
Modified files:
usr.sbin/pkg_add/OpenBSD: AddCreateDelete.pm
Log message:
split on spaces as well, to take advantage of +=
I just updated a machine and now pkg_add fails:
# pkg_add -u
syntax error at /usr/libdata/perl5/OpenBSD/Subst.pm line 54, near "" $v")"
Compilation failed in require at /usr/libdata/perl5/OpenBSD/State.pm line 73.
BEGIN failed--compilation aborted at /usr/libdata/perl5/OpenBSD/State.pm line
73.
Compilation failed in require at /usr/libdata/perl5/OpenBSD/AddCreateDelete.pm
line 26.
BEGIN failed--compilation aborted at
/usr/libdata/perl5/OpenBSD/AddCreateDelete.pm line 26.
Compilation failed in require at /usr/libdata/perl5/OpenBSD/AddDelete.pm line
60.
BEGIN failed--compilation aborted at /usr/libdata/perl5/OpenBSD/AddDelete.pm
line 60.
Compilation failed in require at /usr/libdata/perl5/OpenBSD/PkgAdd.pm line 22.
BEGIN failed--compilation aborted at /usr/libdata/perl5/OpenBSD/PkgAdd.pm line
22.
Compilation failed in require at (eval 1) line 1.
could it be related?
Cheers,
Daniel
I don't think so, if I revert the following commit pkg_add works again
on my machine
CVSROOT: /cvs
Module name: src
Changes by: es...@cvs.openbsd.org 2023/10/23 02:37:45
Modified files:
usr.sbin/pkg_add/OpenBSD: Subst.pm
Log message:
add some limited capability to -DVAR+=value
to be used with REGRESSION_TESTING, where it's somewhat inconvenient to
know the full list in advance.