From owner-freebsd-ports-bugs@freebsd.org Tue Feb 20 00:02:47 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C71D1F0B8E9 for ; Tue, 20 Feb 2018 00:02:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 44EA173C48 for ; Tue, 20 Feb 2018 00:02:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 8415118CB1 for ; Tue, 20 Feb 2018 00:02:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1K02jad015483 for ; Tue, 20 Feb 2018 00:02:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1K02jDU015482 for freebsd-ports-bugs@FreeBSD.org; Tue, 20 Feb 2018 00:02:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 226053] sysutils/pcbsd-utils parallel build failure + chown failures when building as !root Date: Tue, 20 Feb 2018 00:02:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: truckman@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kmoore@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2018 00:02:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226053 Bug ID: 226053 Summary: sysutils/pcbsd-utils parallel build failure + chown failures when building as !root Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kmoore@FreeBSD.org Reporter: truckman@FreeBSD.org Assignee: kmoore@FreeBSD.org Flags: maintainer-feedback?(kmoore@FreeBSD.org) I attempted to do a parallel build of pcbsd-utils and observed this failure: --- pc-krbconf.o --- --- krb5-lexer.lex.c --- --- krb5-parser.tab.c --- --- pc-krbconf.o --- cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I. -I/wrkdirs/usr/ports/sysutils/pcbsd-utils/work/pcbsd-3c4d2b/src-sh/pcbsd-ut= ils/pc-adct l/pc-krbconf -MD -MF.depend.pc-krbconf.o -MTpc-krbconf.o -std=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c pc-krbconf.c -o pc-krbcon f.o pc-krbconf.c:10:10: fatal error: 'krb5-parser.tab.h' file not found #include "krb5-parser.tab.h" ^~~~~~~~~~~~~~~~~~~ 1 error generated. *** [pc-krbconf.o] Error code 1 make[3]: stopped in /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/pcbsd-3c4d2b/src-sh/pcbsd-util= s/pc-adctl/pc-krbconf --- krb5-lexer.lex.c --- lex -okrb5-lexer.lex.c krb5-lexer.l --- krb5-parser.tab.c --- yacc -okrb5-parser.tab.c -d krb5-parser.y yacc: 1 rule never reduced yacc: 10 shift/reduce conflicts, 4 reduce/reduce conflicts. 1 error make[3]: stopped in /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/pcbsd-3c4d2b/src-sh/pcbsd-util= s/pc-adctl/pc-krbconf It is attempting to use a .h file generated by yacc before running yacc to generate the .h file. Either the source Makefile should be patched to add = the necessary dependency so that make runs the commands in the necessary order,= or the MAKE_JOBS_UNSAFE=3Dyes should be added to the port Makefile to force a = single threaded build. Also poudriere builds ports as the user nobody by default. That causes the= se errors when building pcbsd-utils: x ./bin/enable-tor-mode chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/.: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./bin: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./bin/restamp-= grub: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./bin/disable-= tor-mode: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./bin/enable-t= or-mode: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./share: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./share/pcbsd: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./share/pcbsd/= conf: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./share/pcbsd/= conf/iso-mirror: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./share/pcbsd/= conf/pbi-mirror: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./share/pcbsd/= conf/smb4.conf: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./share/pcbsd/= conf/freebsd-update.conf: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./share/pcbsd/= conf/loader.conf.pcbsd: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./share/pcbsd/= conf/update-mirror: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./share/pcbsd/= conf/rc.conf.pcbsd: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./share/pcbsd/= conf/torrc: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./share/pcbsd/= conf/pcbsd-mirrors: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./share/pcbsd/= conf/pkg-mirror: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./share/pcbsd/= conf/loader.conf.trueos: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./share/pcbsd/= conf/ntpd.conf: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./share/pcbsd/= scripts: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./share/pcbsd/= scripts/mkzfsdir.sh: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./share/pcbsd/= scripts/sys-init.sh: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./share/pcbsd/= scripts/rmzfsdir.sh: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./share/pcbsd/= scripts/reset-firewall: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./share/pcbsd/= scripts/reset-firewall-tor: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./etc: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./etc/fonts: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./etc/fonts/lo= cal.conf: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./etc/sudoers.= d: Operation not permitted chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils/work/stage/usr/local/./etc/sudoers.= d/pcbsd: Operation not permitted cp -f install.sh install chmod a+x install Changing file ownership should be done using the knobs available in pkg-pli= st. --=20 You are receiving this mail because: You are the assignee for the bug.=