pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
su-real-package-install problems on Void Linux
Hi all,
Experimenting with Void Linux today I checked out pkgsrc to ~/pkgsrc
and pgksrc-wip to ~/pkgsrc/wip. I installed mksh and bootstrapped like
so:
$ cd ~/pkgsrc/bootstrap
$ sudo SH=/bin/mksh ./bootstrap
This succeeded. But when I try to build a package:
$ cd ~/pkgsrc/wip/nosst
$ bmake install
...
===> Building binary package for digest-20180917
=> Creating binary package /home/sjmulder/pkgsrc/packages/All/digest-20180917.tgz
=> Becoming ``root'' to make su-real-package-install (/usr/bin/su)
Password: dfdf^C
My characters are echoed back and sent to my shell, not to the password
prompt. If I don't do anything, eventually the following is printed:
Password: su: Authentication failure
*** Error code 1
...
Any ideas on how to get this to work correctly? Perhaps make it use
sudo somehow? I couldn't find any relevant documentation.
Sijmen.
___ mk.conf ___
# Example /usr/pkg/etc/mk.conf file produced by bootstrap-pkgsrc
# Wed Dec 5 02:36:43 CET 2018
.ifdef BSD_PKG_MK # begin pkgsrc settings
ABI= 64
PKG_DBDIR= /usr/pkg/pkgdb
LOCALBASE= /usr/pkg
VARBASE= /var
PKG_TOOLS_BIN= /usr/pkg/sbin
PKGINFODIR= info
PKGMANDIR= man
TOOLS_PLATFORM.sh?= /bin/mksh
.endif # end pkgsrc settings
___ cd ~/pkgsrc/wip/nostt; bmake ___
=> Bootstrap dependency digest>=20010302: NOT found
=> Verifying reinstall for ../../pkgtools/digest
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Installing for digest-20180917
=> Generating pre-install file lists
/bin/mksh ./mkinstalldirs /home/sjmulder/pkgsrc/pkgtools/digest/work/.destdir/usr/pkg/bin
/bin/install -c -s -o sjmulder -g sjmulder -m 755 digest /home/sjmulder/pkgsrc/pkgtools/digest/work/.destdir/usr/pkg/bin/digest
/bin/mksh ./mkinstalldirs /home/sjmulder/pkgsrc/pkgtools/digest/work/.destdir/usr/pkg/man/man1
/bin/install -c -o sjmulder -g sjmulder -m 644 digest.1 /home/sjmulder/pkgsrc/pkgtools/digest/work/.destdir/usr/pkg/man/man1/digest.1
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for digest-20180917
=> Creating binary package /home/sjmulder/pkgsrc/pkgtools/digest/work/.packages/digest-20180917.tgz
===> Building binary package for digest-20180917
=> Creating binary package /home/sjmulder/pkgsrc/packages/All/digest-20180917.tgz
=> Becoming ``root'' to make su-real-package-install (/usr/bin/su)
Password: su: Authentication failure
*** Error code 1
Stop.
bmake[2]: stopped in /home/sjmulder/pkgsrc/pkgtools/digest
*** Error code 1
Stop.
bmake[1]: stopped in /home/sjmulder/pkgsrc/pkgtools/digest
*** Error code 1
Stop.
bmake: stopped in /home/sjmulder/pkgsrc/wip/nostt
Home |
Main Index |
Thread Index |
Old Index