Void-packages: Broken atom and nodejs-lts (xbps-create?)

Created on 25 Jun 2018  路  9Comments  路  Source: void-linux/void-packages

I've finally found a reason why atom and nodejs-lts packages are broken for now.

When running xbps-src install <pkgname>, both applications works correctly from destdir. But somehow several files and directories are missing from _.xbps_ package after packaging is done. This can be seen through diff -aurq destdir <extracted package dir>, I summarized output for both pkgs here: https://gist.github.com/solbjorn/38319acac00d932d301414e7d19847f8

As I understand, it happens inside _xbps-create_. Can't see any logics on skipping files, maybe it's because of too long filepaths or smth like this.
Both uunshare and uchroot styles are affected. I also don't understand why nodejs (stable version) doesn't suffer from that.

Most helpful comment

Just made a pull request to update atom to 1.28.1 (https://github.com/void-linux/void-packages/pull/759). This should work soon again. Gottox schedules a new release of xbps soon (https://github.com/void-linux/xbps/issues/2).

All 9 comments

May have something to do with https://github.com/void-linux/xbps/issues/2

@nachisan, yep, both issues describe the same problem.

@Gottox just committed a fix for this issue (https://github.com/void-linux/xbps/commit/3ef932de2f86b239bc7b0d5d3b8784b3c2ebdb74). I am time constrained today, can you @solbjorn check if atom works now. Else I check on Monday.

@alexjarosch, yep, I've already seen, but unfortunately have Void only at work and could check at least on Monday too.

I don't have a very good understanding of xbps, but I'd be willing to build atom and see if the bug is fixed. Do I just clone the latest version of this repo? Is that something I could do?

@broughjt Basically you need to do this (revised, revised version)

  1. clone the latest xbps repo
  2. clone this repo (void packages)
  3. in void-packages, do ./xbps-src binary-bootstrap
  4. in xbps, configure, make
  5. copy bin/xbps-create/xbps-create to void-packages/masterdir/usr/bin (installing the whole new xbps into void-packages seems to break the xbps-src with its auto dependencies)
  6. modify the atom template to use 1.28.1 (I have troubles right now with the 1.26.1 version of atom)
  7. make the install package with xbps-src
  8. install that packages and check if everything is there.

I am currently working down the list with limited time, but you are welcome to try!

I was able to confirm that the new version of @Gottox fixes the atom issue, see https://github.com/void-linux/xbps/issues/2

Just made a pull request to update atom to 1.28.1 (https://github.com/void-linux/void-packages/pull/759). This should work soon again. Gottox schedules a new release of xbps soon (https://github.com/void-linux/xbps/issues/2).

I confirm that nodejs-9.10.0_2 and atom-1.28.2_1 locally built with xbps-0.53_4 are fully workable now. The only things left are to bump versions/revisions of affected packages and rebuild them with Buildbot -- and we're done here.

Was this page helpful?
0 / 5 - 0 ratings