pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/55882: pkg_install.conf does not support whitespace after =
>Number: 55882
>Category: pkg
>Synopsis: pkg_install.conf does not support whitespace after =
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Dec 19 14:50:00 +0000 2020
>Originator: Benny Siegert
>Release: pkgsrc-current as of December 2020 / NetBSD 9.1
>Organization:
The NetBSD Foundation
>Environment:
NetBSD shiso.mirbsd.org 9.1 NetBSD 9.1 (LARGEFONT) #0: Thu Oct 22 09:55:35 CEST 2020 bsiegert%shiso.mirbsd.org@localhost:/usr/obj/sys/arch/amd64/compile/LARGEFONT amd64
>Description:
In pkgsrc Makefiles, it is usual to align the values with one or more Tab characters after the = sign. This also works in mk.conf but not in pkg_install.conf:
28138 1 pkg_info NAMI "/etc/pkg_install.conf"
28138 1 pkg_info RET open 3
28138 1 pkg_info CALL read(3,0x7afb0b81c780,0x4000)
28138 1 pkg_info GIO fd 3 read 26 bytes
"PKG_DBDIR= /usr/pkg/pkgdb\n"
28138 1 pkg_info RET read 26/0x1a
[...]
28138 1 pkg_info CALL open(0x7afb0b825040,0x600004,0xea014d11)
28138 1 pkg_info NAMI " /usr/pkg/pkgdb"
28138 1 pkg_info RET open -1 errno 2 No such file or directory
>How-To-Repeat:
Put the following in /etc/pkg_install.conf:
PKG_DBDIR= /usr/pkg/pkgdb
(with a Tab in the middle)
>Fix:
n/a
Home |
Main Index |
Thread Index |
Old Index