Void Linux discussion
 help / color / mirror / Atom feed
* xbps-src error when running xbps-uunshare
@ 2015-06-07 13:10 oliver
  2015-06-07 16:32 ` cavalier911
  0 siblings, 1 reply; 5+ messages in thread
From: oliver @ 2015-06-07 13:10 UTC (permalink / raw)
  To: voidlinux


[-- Attachment #1.1: Type: text/plain, Size: 900 bytes --]

I'm getting the following error when trying to build a pkg from a template 
file:

[oliver@gaspar void-packages]$ ./xbps-src pkg setroot
xbps-uunshare: invalid option -- 'D'
Usage: xbps-uunshare [-b src:dest] <dir> <cmd> [<cmdargs>]


-b src:dest Bind mounts <src> into <dir>/<dest> (may be specified multiple 
times)


xbps-uunshare: invalid option -- 'D'
Usage: xbps-uunshare [-b src:dest] <dir> <cmd> [<cmdargs>]


-b src:dest Bind mounts <src> into <dir>/<dest> (may be specified multiple 
times)


I've tried ./xbps-src zap && ./xbps-src binary-bootstrap with no change in 
behaviour.  
It looks like it's calling 
.../void-packages/common/chroot-style/uunshare.sh which has the following 
line but I don't see -D as a option in xbps-uunshare

*exec xbps-uunshare $EXTRA_ARGS -D $DISTDIR ${HOSTDIR:+-H $HOSTDIR} 
$MASTERDIR $@*


Any ideas on what the problem is?

[-- Attachment #1.2: Type: text/html, Size: 8625 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xbps-src error when running xbps-uunshare
  2015-06-07 13:10 xbps-src error when running xbps-uunshare oliver
@ 2015-06-07 16:32 ` cavalier911
  2015-06-08  1:04   ` oliver
  0 siblings, 1 reply; 5+ messages in thread
From: cavalier911 @ 2015-06-07 16:32 UTC (permalink / raw)
  To: voidlinux


[-- Attachment #1.1: Type: text/plain, Size: 104 bytes --]

Where is the setroot template xbps-src is choking on ? I can't find it in 
void-packages/srcpkgs. 
 

[-- Attachment #1.2: Type: text/html, Size: 132 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xbps-src error when running xbps-uunshare
  2015-06-07 16:32 ` cavalier911
@ 2015-06-08  1:04   ` oliver
  2015-06-08  5:41     ` Juan RP
  0 siblings, 1 reply; 5+ messages in thread
From: oliver @ 2015-06-08  1:04 UTC (permalink / raw)
  To: voidlinux


[-- Attachment #1.1: Type: text/plain, Size: 828 bytes --]

On Sunday, June 7, 2015 at 12:32:12 PM UTC-4, cavalier911 wrote:
>
> Where is the setroot template xbps-src is choking on ? I can't find it in 
> void-packages/srcpkgs. 
>

It's a package I'm trying to build from source that is not in the repo.  I 
get the same response though when I run it against any template file... for 
example:

[oliver@gaspar ~]$ cd builds/void-packages/
[oliver@gaspar void-packages]$ ./xbps-src pkg dcron
xbps-uunshare: invalid option -- 'D'
Usage: xbps-uunshare [-b src:dest] <dir> <cmd> [<cmdargs>]


-b src:dest Bind mounts <src> into <dir>/<dest> (may be specified multiple 
times)


xbps-uunshare: invalid option -- 'D'
Usage: xbps-uunshare [-b src:dest] <dir> <cmd> [<cmdargs>]


-b src:dest Bind mounts <src> into <dir>/<dest> (may be specified multiple 
times)




[-- Attachment #1.2: Type: text/html, Size: 8295 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xbps-src error when running xbps-uunshare
  2015-06-08  1:04   ` oliver
@ 2015-06-08  5:41     ` Juan RP
  2015-06-08 12:21       ` oliver
  0 siblings, 1 reply; 5+ messages in thread
From: Juan RP @ 2015-06-08  5:41 UTC (permalink / raw)
  To: void..., ohem...


[-- Attachment #1.1: Type: text/plain, Size: 64 bytes --]

Your void-packages git repository is outdated, try git pull.


[-- Attachment #1.2: Type: text/html, Size: 121 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xbps-src error when running xbps-uunshare
  2015-06-08  5:41     ` Juan RP
@ 2015-06-08 12:21       ` oliver
  0 siblings, 0 replies; 5+ messages in thread
From: oliver @ 2015-06-08 12:21 UTC (permalink / raw)
  To: voidlinux; +Cc: ohem...


[-- Attachment #1.1: Type: text/plain, Size: 167 bytes --]

On Monday, June 8, 2015 at 1:41:09 AM UTC-4, Juan RP wrote:
>
> Your void-packages git repository is outdated, try git pull.
>

Thank you, that was the problem 

[-- Attachment #1.2: Type: text/html, Size: 353 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-08 12:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-07 13:10 xbps-src error when running xbps-uunshare oliver
2015-06-07 16:32 ` cavalier911
2015-06-08  1:04   ` oliver
2015-06-08  5:41     ` Juan RP
2015-06-08 12:21       ` oliver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).