Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] xbps-src does not translate XBPS_MASTERDIR in chroot stages
Date: Sun, 16 Jun 2019 12:01:46 +0200	[thread overview]
Message-ID: <20190616100146.qiwwAaGISP1k_FVTRb6d_m3q6hzZtOud9ZBzR3XpnYM@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-8282@inbox.vuxu.org>

[-- 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
```




           reply	other threads:[~2019-06-16 10:01 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-8282@inbox.vuxu.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190616100146.qiwwAaGISP1k_FVTRb6d_m3q6hzZtOud9ZBzR3XpnYM@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).