Date: Wed, 23 May 2018 13:25:07 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 228439] ports-mgmt/portmaster ignores PM_SU_CMD Message-ID: <bug-228439-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228439 Bug ID: 228439 Summary: ports-mgmt/portmaster ignores PM_SU_CMD Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: se@FreeBSD.org Reporter: kpect@protonmail.com Assignee: se@FreeBSD.org Flags: maintainer-feedback?(se@FreeBSD.org) When I set 'SU_CMD=3Ddoas sh -c' in /etc/make.conf and 'PM_SU_CMD=3Ddoas' in /usr/local/etc/portmaster.rc I'm still not able to run portmaster as simple user: $ type doas doas is /usr/local/bin/doas $ id uid=3D1001(x) gid=3D1001(x) groups=3D1001(x),0(wheel),5(operator) $ portmaster shells/mksh =3D=3D=3D>>> Currently installed version: mksh-56b =3D=3D=3D>>> Port directory: /usr/ports/shells/mksh =3D=3D=3D>>> Gathering distinfo list for installed ports =3D=3D=3D>>> Launching 'make checksum' for shells/mksh in background =3D=3D=3D>>> Gathering dependency list for shells/mksh from ports =3D=3D=3D>>> Starting dependency check =3D=3D=3D>>> Checking dependency: ports-mgmt/pkg =3D=3D=3D>>> Initial dependency check complete for shells/mksh =3D=3D=3D>>> Starting build for shells/mksh <<<=3D=3D=3D =3D=3D=3D>>> All dependencies are up to date =3D=3D=3D> Cleaning for mksh-56b =3D=3D=3D> /usr/obj/usr/ports/shells/mksh/work not writable, skipping =3D=3D=3D> Building for mksh-56b cd /usr/obj/usr/ports/shells/mksh/work/mksh && /usr/bin/env XDG_DATA_HOME=3D/usr/obj/usr/ports/shells/mksh/work=20 XDG_CONFIG_HOME=3D/usr/obj/usr/ports/shells/mksh/work=20 HOME=3D/usr/obj/usr/ports/shells/mksh/work TMPDIR=3D"/tmp" PATH=3D/usr/obj/usr/ports/shells/mksh/work/.bin:/bin:/usr/bin:/sbin:/usr/sb= in:/usr/local/bin:/usr/local/sbin NO_PIE=3Dyes MK_DEBUG_FILES=3Dno MK_KERNEL_SYMBOLS=3Dno SHELL=3D/bin/sh NO_= LINT=3DYES PREFIX=3D/usr/local LOCALBASE=3D/usr/local CC=3D"cc" CFLAGS=3D"-Os -pipe -fno-strict-aliasing -fomit-frame-pointer -funroll-loops -ffast-math -march=3Divybridge -fstack-protector" CPP=3D"cpp" CPPFLAGS=3D"" LDFLAGS= =3D" -fstack-protector" LIBS=3D"" CXX=3D"c++" CXXFLAGS=3D"-Os -pipe -fno-strict= -aliasing -fomit-frame-pointer -funroll-loops -ffast-math -march=3Divybridge -fstack-protector " MANPREFIX=3D"/usr/local" BSD_INSTALL_PROGRAM=3D"instal= l -s -m 555" BSD_INSTALL_LIB=3D"install -s -m 0644" BSD_INSTALL_SCRIPT=3D"instal= l -m 555" BSD_INSTALL_DATA=3D"install -m 0644" BSD_INSTALL_MAN=3D"install -m= 444" SHELL=3D/bin/sh /bin/sh /usr/obj/usr/ports/shells/mksh/work/mksh/Build.sh -= r -c lto For the build logs, demonstrate that /dev/null and /dev/tty exist: crw-rw-rw- 1 root wheel 0x17 May 23 16:23 /dev/null crw--w---- 1 x tty 0x50 May 23 16:23 /dev/tty rm: edit.o: Permission denied rm: eval.o: Permission denied rm: exec.o: Permission denied rm: expr.o: Permission denied rm: funcs.o: Permission denied rm: lalloc.o: Permission denied rm: rlimits.gen: Permission denied rm: sh_flags.gen: Permission denied rm: Rebuild.sh: Permission denied rm: test.sh: Permission denied Hi from $MirOS: src/bin/mksh/Build.sh,v 1.727 2017/08/29 13:38:28 tg Exp $ = on: $ uname -a >&2 /usr/obj/usr/ports/shells/mksh/work/mksh/Build.sh: cannot create vv.out: Permission denied *** Error code 2 Stop. make[1]: stopped in /usr/ports/shells/mksh *** Error code 1 Stop. make: stopped in /usr/ports/shells/mksh =3D=3D=3D>>> make build failed for shells/mksh =3D=3D=3D>>> Aborting update /usr/local/sbin/portmaster: cannot create /tmp/portmasterfail.txt: Permissi= on denied =3D=3D=3D>>> You can restart from the point of failure with this command li= ne: portmaster <flags> shells/mksh This command has been saved to /tmp/portmasterfail.txt --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228439-7788>