From owner-freebsd-ports@freebsd.org Tue Dec 18 16:21:49 2018 Return-Path: Delivered-To: freebsd-ports@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 533841336066 for ; Tue, 18 Dec 2018 16:21:49 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 31E4D74517; Tue, 18 Dec 2018 16:21:48 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id wBIGLkTe060723 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 18 Dec 2018 08:21:46 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id wBIGLkfY060722; Tue, 18 Dec 2018 08:21:46 -0800 (PST) (envelope-from sgk) Date: Tue, 18 Dec 2018 08:21:46 -0800 From: Steve Kargl To: Mathieu Arnold Cc: freebsd-ports@freebsd.org Subject: Re: devel/jsoncpp and staging? Message-ID: <20181218162146.GA60499@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20181218014857.GA54077@troutmask.apl.washington.edu> <20181218032510.GA55056@troutmask.apl.washington.edu> <20181218075429.r6w4l2eiwuincxfo@atuin.in.mat.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181218075429.r6w4l2eiwuincxfo@atuin.in.mat.cc> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 31E4D74517 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.37 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[sgk@troutmask.apl.washington.edu]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_MEDIUM(0.94)[0.939,0]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[washington.edu]; AUTH_NA(1.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_SHORT(0.61)[0.607,0]; RCVD_IN_DNSWL_MED(-0.20)[21.76.95.128.list.dnswl.org : 127.0.11.2]; MX_GOOD(-0.01)[cached: troutmask.apl.washington.edu]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.92)[0.924,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.21)[ip: (0.65), ipnet: 128.95.0.0/16(0.31), asn: 73(0.20), country: US(-0.08)] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2018 16:21:49 -0000 On Tue, Dec 18, 2018 at 08:54:29AM +0100, Mathieu Arnold wrote: > On Mon, Dec 17, 2018 at 07:25:10PM -0800, Steve Kargl wrote: > > On Mon, Dec 17, 2018 at 05:48:57PM -0800, Steve Kargl wrote: > > > I must be missing a change in how staging works. > > > > > > % cd /usr/ports/devel/jsoncpp > > > % make > > > > > > ===> Staging for jsoncpp-1.8.1_5 > > > ===> Generating temporary packing list > > > (cd /usr/ports/devel/jsoncpp/work/jsoncpp-1.8.1/include/ && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE json/ /usr/ports/devel/jsoncpp/work/stage/usr/local/include/jsoncpp/) > > > chmod: json/allocator.h: No such file or directory > > > chmod: json/assertions.h: No such file or directory > > > chmod: json/autolink.h: No such file or directory > > > chmod: json/config.h: No such file or directory > > > chmod: json/features.h: No such file or directory > > > chmod: json/forwards.h: No such file or directory > > > chmod: json/json.h: No such file or directory > > > chmod: json/reader.h: No such file or directory > > > chmod: json/value.h: No such file or directory > > > chmod: json/version.h: No such file or directory > > > chmod: json/writer.h: No such file or directory > > > > > > % ls work/stage/usr/local/include/jsoncpp/json > > > > > > > > > Now, let's re-run make > > > > > > % make > > > > Same problem with news/xpn, except running make multiple > > times does not correct the missing files problem. So, > > is there away to use the ports collection with staging > > disabled? src.conf documents WITHOUT_STAGING, but the > > port collections seems to ignore this varible. > > src.conf is about the source tree, it has absolutely nothing to do with > ports. Staging is a mandatory feature of every port. That's unfortnutely. > I cannot reproduce the error you encounter, what version of FreeBSD are > you running? FreeBSD sleepdirt 13.0-CURRENT FreeBSD 13.0-CURRENT r341703 HPC amd64 This corresponds to a /usr/src from Dec. 7, 2018. I did not have this problem circa Oct. 5th. That's when I successfully installed news/xpn. sh(1) has had 4 commits and bmake was updated on Dec. 5. Perhaps, an incompatible change has entered the tree. The end of 'make -dA' gives do-install:> = /bin/mkdir -p /usr/ports/devel/jsoncpp/work/stage/usr/local/include/jsoncpp Execute: '/bin/mkdir -p /usr/ports/devel/jsoncpp/work/stage/usr/local/include/jsoncpp' Applying[.MAKE.EXPORTED] :O to "META_MODE LANG LC_ALL LANG LC_ALL" Result[.MAKE.EXPORTED] of :O is "LANG LANG LC_ALL LC_ALL META_MODE" Applying[.MAKE.EXPORTED] :u to "LANG LANG LC_ALL LC_ALL META_MODE" Result[.MAKE.EXPORTED] of :u is "LANG LC_ALL META_MODE" Applying[GH_TAGNAME] :S to "1.8.1" Modifier pattern: "/" Modifier pattern: "-" Result[GH_TAGNAME] of :S is "1.8.1" Applying[GH_TAGNAME_SANITIZED] :C to "1.8.1" Modifier pattern: "^[vV]([0-9])" Modifier pattern: "\1" Result[GH_TAGNAME_SANITIZED] of :C is "1.8.1" Applying[GH_TAGNAME_SANITIZED] :S to "1.8.1" Modifier pattern: "+" Modifier pattern: "-" Result[GH_TAGNAME_SANITIZED] of :S is "1.8.1" (cd /usr/ports/devel/jsoncpp/work/jsoncpp-1.8.1/include/ && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE json/ /usr/ports/devel/jsoncpp/work/stage/usr/local/include/jsoncpp/) Execute: '(cd /usr/ports/devel/jsoncpp/work/jsoncpp-1.8.1/include/ && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE json/ /usr/ports/devel/jsoncpp/work/stage/usr/local/include/jsoncpp/)' Applying[.MAKE.EXPORTED] :O to "META_MODE LANG LC_ALL LANG LC_ALL" Result[.MAKE.EXPORTED] of :O is "LANG LANG LC_ALL LC_ALL META_MODE" Applying[.MAKE.EXPORTED] :u to "LANG LANG LC_ALL LC_ALL META_MODE" Result[.MAKE.EXPORTED] of :u is "LANG LC_ALL META_MODE" + cd /usr/ports/devel/jsoncpp/work/jsoncpp-1.8.1/include/ + /bin/sh -c $'(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \\( -type d -exec /bin/sh -c \'cd \'$2\' && chmod 755 "$@"\' . {} + -o -type f -exec /bin/sh -c \'cd \'$2\' && chmod 0644 "$@"\' . {} + \\)' COPYTREE_SHARE json/ /usr/ports/devel/jsoncpp/work/stage/usr/local/include/jsoncpp/ chmod: json/allocator.h: No such file or directory chmod: json/assertions.h: No such file or directory chmod: json/autolink.h: No such file or directory chmod: json/config.h: No such file or directory chmod: json/features.h: No such file or directory chmod: json/forwards.h: No such file or directory chmod: json/json.h: No such file or directory chmod: json/reader.h: No such file or directory chmod: json/value.h: No such file or directory chmod: json/version.h: No such file or directory chmod: json/writer.h: No such file or directory *** Failed target: do-install *** Failed command: (cd /usr/ports/devel/jsoncpp/work/jsoncpp-1.8.1/include/ && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE json/ /usr/ports/devel/jsoncpp/work/stage/usr/local/include/jsoncpp/) *** Error code 1 Stop. make: stopped in /usr/ports/devel/jsoncpp Global:.ERROR_TARGET = do-install Global:delete .ERROR_CMD (not found) Applying[MAKE_PRINT_VAR_ON_ERROR] :@ to "" Modifier pattern: "v" Modifier pattern: "$v='${$v}' " Global:delete v (not found) Result[MAKE_PRINT_VAR_ON_ERROR] of :@ is "" -- Steve 20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4 20161221 https://www.youtube.com/watch?v=IbCHE-hONow