Re: devel/jsoncpp and staging?

2018-12-18 Thread Steve Kargl
On Wed, Dec 19, 2018 at 03:46:33AM +0900, Yasuhiro KIMURA wrote:
> From: Steve Kargl 
> Subject: Re: devel/jsoncpp and staging?
> Date: Tue, 18 Dec 2018 10:07:05 -0800
> 
> > Thanks for the pointer to email thread.  Guess I'll
> > upgrade from 341703 to top-of-tree and see if that
> > fixes the issue.  I reverted recent changes to sh 
> > and bmake, but those did not seem to help.
> 
> I guess the problem comes from kernel rather than userland. So I
> recommend you to upgrade or rollback kernel.
> 

Thanks for the info.  A complete buildworld/buildkernel cycle
has "fixed" the issue.

-- 
Steve
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: devel/jsoncpp and staging?

2018-12-18 Thread Yasuhiro KIMURA
From: Steve Kargl 
Subject: Re: devel/jsoncpp and staging?
Date: Tue, 18 Dec 2018 08:21:46 -0800

>> 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 experienced same problem with 13.0-CURRENT r341690. See thread
starting with following message for more detail.

https://lists.freebsd.org/pipermail/freebsd-current/2018-December/072355.html

Regards.

---
Yasuhiro KIMURA
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: devel/jsoncpp and staging?

2018-12-18 Thread Steve Kargl
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 

Re: devel/jsoncpp and staging?

2018-12-17 Thread Mathieu Arnold
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.

I cannot reproduce the error you encounter, what version of FreeBSD are
you running?

-- 
Mathieu Arnold


signature.asc
Description: PGP signature


Re: devel/jsoncpp and staging?

2018-12-17 Thread Steve Kargl
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.

-- 
Steve
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"