* Re: [ISSUE] [CLOSED] xbps-src does not translate XBPS_MASTERDIR in chroot stages
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-8282@inbox.vuxu.org>
@ 2019-06-16 10:01 ` voidlinux-github
0 siblings, 0 replies; only message in thread
From: voidlinux-github @ 2019-06-16 10:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1937 bytes --]
Closed issue by yopito on void-packages repository
https://github.com/void-linux/void-packages/issues/8282
Description: ### System
* xuname: `Void 4.19.19_1 x86_64 GenuineIntel notuptodate rFF`
* package: `xbps-src` tool
### Expected behavior
no error message on `binary-bootstrap` : `XBPS_MASTERDIR` should be recomputed in chroot mode.
### Actual behavior and steps to reproduce
Version used:
```
$ git log -1 xbps-src | grep -E "^commit|^Date"
commit 2e108ebfdf189e294d98cc8224230679cfea89d7
Date: Tue Feb 5 12:40:59 2019 +0100
```
Let's clean and populate my mastedir:
```
$ ./xbps-src -m /build/packages/masterdir zap
[...]
Removing directory /build/packages/masterdir/builddir ...
Removing directory /build/packages/masterdir/destdir ...
/build/packages/masterdir masterdir cleaned up.
$ ./xbps-src -m /build/packages/masterdir binary-bootstrap
[...]
=> xbps-src: cleaning up masterdir...
chmod: cannot access '/void-packages/masterdir/builddir': No such file or directory
```
=> mastedir has not been correctly "translated" in chroot mode
Same behaviour if `XBPS_MASTERDIR` is exported from shell:
```
$ export XBPS_MASTERDIR=/build/packages/masterdir
$ ./xbps-src zap
[...]
Removing directory /build/packages/masterdir/builddir ...
Removing directory /build/packages/masterdir/destdir ...
/build/packages/masterdir masterdir cleaned up.
$ ./xbps-src binary-bootstrap
[...]
=> xbps-src: cleaning up masterdir...
chmod: cannot access '/void-packages/masterdir/builddir': No such file or directory
```
I've also saw these messages on `binary-bootstrap` stage with XBPS_MASTERDIR settled, altought I don't remember exactly where:
```
touch: cannot touch '/void-packages/masterdir/.xbps_chroot_configured': No such file or directory
/void-packages/common/xbps-src/shutils/pkgtarget.sh: line 46: cd: /void-packages/masterdir: No such file or directory
```
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-06-16 10:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-8282@inbox.vuxu.org>
2019-06-16 10:01 ` [ISSUE] [CLOSED] xbps-src does not translate XBPS_MASTERDIR in chroot stages voidlinux-github
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).