tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: wip/opendoas: Request for review
On Sun, 1 Nov 2020 at 16:16, Ottavio Caruso
<ottavio2006-usenet2012%yahoo.com@localhost> wrote:
>
> On 01/11/2020 14:38, Sunil Nimmagadda wrote:
> > Hello,
> >
> > This is a request for review of wip/opendoas. It's yet another
> > unofficial, portable fork of OpenBSD doas command.
> >
> > Tested on NetBSD/amd64 9.99.74.
> >
>
>
> On my Debian:
> Linux e130 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64
> GNU/Linux
>
>
> bmake fails at:
>
> # bmake FETCH_USING?=curl 2>&1 |tee /tmp/doas
> [...]
> ===> Building for OpenDoas-6.6.1
> yacc parse.y
> gmake: yacc: Command not found
> gmake: *** [<builtin>: parse.c] Error 127
> *** Error code 2
>
> Stop.
> bmake[1]: stopped in /root/cvs/pkgsrc/current/pkgsrc/wip/opendoas
> *** Error code 1
>
> Stop.
> bmake: stopped in /root/cvs/pkgsrc/current/pkgsrc/wip/opendoas
If I add "yacc" to USE_TOOLS in Makefile, I can build, but I cannot
install the package:
===> Installing for OpenDoas-6.6.1
=> Generating pre-install file lists
yacc parse.y
mv -f y.tab.c parse.c
cc -O2 -D_OPENBSD_SOURCE=1 -DDOAS_CONF="\"/usr/pkg/etc/doas.conf\""
-D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I.
-I./libopenbsd -Wall -Wextra -Werror -pedantic -MD -MP
-Wno-unused-result -D__linux__ -D_DEFAULT_SOURCE -D_GNU_SOURCE
-DUID_MAX=65535 -DGID_MAX=65535 -DHAVE_EXECVPE -DHAVE_SETRESUID
-DHAVE_SYSCONF -DHAVE_PROC_PID -DHAVE_DIRFD -DHAVE_FCNTL_H
-DHAVE_DIRENT_H -DHAVE_SYS_DIR_H -DHAVE___ATTRIBUTE__
-DHAVE_PAM_APPL_H -I/usr/pkg/include -I/usr/include -DUSE_PAM -c -o
parse.o parse.c
cc -O2 -D_OPENBSD_SOURCE=1 -DDOAS_CONF="\"/usr/pkg/etc/doas.conf\""
-D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I.
-I./libopenbsd -Wall -Wextra -Werror -pedantic -MD -MP
-Wno-unused-result -D__linux__ -D_DEFAULT_SOURCE -D_GNU_SOURCE
-DUID_MAX=65535 -DGID_MAX=65535 -DHAVE_EXECVPE -DHAVE_SETRESUID
-DHAVE_SYSCONF -DHAVE_PROC_PID -DHAVE_DIRFD -DHAVE_FCNTL_H
-DHAVE_DIRENT_H -DHAVE_SYS_DIR_H -DHAVE___ATTRIBUTE__
-DHAVE_PAM_APPL_H parse.o doas.o env.o pam.o libopenbsd.a -o doas
-L/usr/pkg/gcc7/lib/gcc/x86_64-debian-linux/7.5.0
-Wl,-R/usr/pkg/gcc7/lib/gcc/x86_64-debian-linux/7.5.0
-L/usr/pkg/gcc7/lib64 -Wl,-R/usr/pkg/gcc7/lib64 -L/usr/pkg/lib
-Wl,-R/usr/pkg/lib -lpam
mkdir -p -m 0755 /root/pkgsrc/work/wip/opendoas/work/.destdir/usr/pkg/bin
[ -n "pam.d__doas__linux" ] && mkdir -p -m 0755
/root/pkgsrc/work/wip/opendoas/work/.destdir/usr/pkg/etc/pam.d || true
mkdir -p -m 0755 /root/pkgsrc/work/wip/opendoas/work/.destdir/usr/pkg/man/man1
mkdir -p -m 0755 /root/pkgsrc/work/wip/opendoas/work/.destdir/usr/pkg/man/man5
cp -f doas /root/pkgsrc/work/wip/opendoas/work/.destdir/usr/pkg/bin
[ -n "pam.d__doas__linux" ] && cp pam.d__doas__linux
/root/pkgsrc/work/wip/opendoas/work/.destdir/usr/pkg/etc/pam.d/doas ||
true
[ -n "pam.d__doas__linux" ] && chmod 0644
/root/pkgsrc/work/wip/opendoas/work/.destdir/usr/pkg/etc/pam.d/doas ||
true
cp -f doas.1 /root/pkgsrc/work/wip/opendoas/work/.destdir/usr/pkg/man/man1
cp -f doas.conf.5 /root/pkgsrc/work/wip/opendoas/work/.destdir/usr/pkg/man/man5
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for OpenDoas-6.6.1
ERROR: ************************************************************
ERROR: The following files are in
/root/pkgsrc/work/wip/opendoas/work/.destdir/usr/pkg but not in the
PLIST:
ERROR: /root/pkgsrc/work/wip/opendoas/work/.destdir/usr/pkg/etc/pam.d/doas
*** Error code 1
Stop.
bmake[1]: stopped in /root/cvs/pkgsrc/current/pkgsrc/wip/opendoas
*** Error code 1
Stop.
bmake: stopped in /root/cvs/pkgsrc/current/pkgsrc/wip/opendoas
--
Ottavio Caruso
Home |
Main Index |
Thread Index |
Old Index