Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appeditor: 1.1.0 -> 1.1.1 #94455

Closed
wants to merge 1 commit into from
Closed

Conversation

@r-ryantm
Copy link
Contributor

r-ryantm commented Aug 1, 2020

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.

meta.description for appeditor is: "Edit the Pantheon desktop application menu"

meta.homepage for appeditor is: "https://github.com/donadigo/appeditor"

meta.changelog for appeditor is: ""

Updates performed
To inspect upstream changes
Impact
Checks done (click to expand)

Rebuild report (if merged into master) (click to expand)
3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)


First fifty rebuilds by attrpath
appeditor
Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/vy5s4h9dc3zanq3i3l5ad2q7r8w6gslq-appeditor-1.1.1 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.

Or, build yourself:

nix-build -A appeditor https://github.com/r-ryantm/nixpkgs/archive/b3ddad9fc8a4843d9af8d6bf802ceec671a37ca1.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/vy5s4h9dc3zanq3i3l5ad2q7r8w6gslq-appeditor-1.1.1
ls -la /nix/store/vy5s4h9dc3zanq3i3l5ad2q7r8w6gslq-appeditor-1.1.1/bin


Pre-merge build results

We have automatically built all packages that will get rebuilt due to
this change.

This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.

Result of nixpkgs-review 1

1 package built:
  • appeditor

Maintainer pings

cc @xiorcale @worldofpeace for testing.

Copy link
Member

ryantm left a comment

Looks like something went wrong with this update

@ryantm
Copy link
Member

ryantm commented Aug 1, 2020

Looks like the updateScript failed, and it didn't properly exit the update process.

these derivations will be built:
  /nix/store/81x4psimcacgkmiqkaja0pi0gjf1alv5-packages.json.drv
these paths will be fetched (0.03 MiB download, 0.11 MiB unpacked):
  /nix/store/70zpgy8q9swkgc1vlvspcnln03455vvi-nix-prefetch-0.3.1
  /nix/store/a7r0r4vxchhdz3jr2hpib0g02a9s5pm3-nix-update-0.1
copying path '/nix/store/70zpgy8q9swkgc1vlvspcnln03455vvi-nix-prefetch-0.3.1' from 'https://cache.nixos.org'...
copying path '/nix/store/a7r0r4vxchhdz3jr2hpib0g02a9s5pm3-nix-update-0.1' from 'https://cache.nixos.org'...
building '/nix/store/81x4psimcacgkmiqkaja0pi0gjf1alv5-packages.json.drv'...
running post-build-hook '/nix/store/q56pid4rvlly41fn4q5hnmmd9860ylsf-post-build-hook.sh'...
/nix/store/19nj63a9kkf15nc2yq2cp3mdvzq4ixbh-stdenv-linux/setup: line 795: /tmp/env-vars: Permission denied

Going to be running update for following packages:
 - appeditor-1.1.0

Press Enter key to continue...
Running update for:
 - appeditor-1.1.0: UPDATING ...
 - appeditor-1.1.0: ERROR

--- SHOWING ERROR LOG FOR appeditor-1.1.0 ----------------------

error: Could not determine the runtime directory (i.e. XDG_RUNTIME_DIR).
$ nix eval --json (with import ./. {};
    let
      pkg = appeditor;
      position = if pkg ? isRubyGem then
        builtins.unsafeGetAttrPos "version" pkg
      else
        builtins.unsafeGetAttrPos "src" pkg;
    in {
      name = pkg.name;
      old_version = (builtins.parseDrvName pkg.name).version;
      filename = position.file;
      line = position.line;
      urls = pkg.src.urls or null;
      url = pkg.src.url or null;
      rev = pkg.src.url.rev or null;
      hash = pkg.src.outputHash;
      mod_sha256 = pkg.modSha256 or null;
      vendor_sha256 = pkg.vendorSha256 or null;
      cargo_sha256 = pkg.cargoSha256 or null;
    })
fetch https://github.com/donadigo/appeditor/releases.atom
Update 1.1.0 -> 1.1.1 in /var/cache/nixpkgs-update/nixpkgs/pkgs/applications/misc/appeditor/default.nix
$ nix-prefetch (import ./. {}).appeditor
Traceback (most recent call last):
  File "/nix/store/a7r0r4vxchhdz3jr2hpib0g02a9s5pm3-nix-update-0.1/bin/.nix-update-wrapped", line 9, in <module>
    sys.exit(main())
  File "/nix/store/a7r0r4vxchhdz3jr2hpib0g02a9s5pm3-nix-update-0.1/lib/python3.8/site-packages/nix_update/__init__.py", line 142, in main
    package = update(options)
  File "/nix/store/a7r0r4vxchhdz3jr2hpib0g02a9s5pm3-nix-update-0.1/lib/python3.8/site-packages/nix_update/update.py", line 82, in update
    update_src_hash(opts, package.filename, package.hash)
  File "/nix/store/a7r0r4vxchhdz3jr2hpib0g02a9s5pm3-nix-update-0.1/lib/python3.8/site-packages/nix_update/update.py", line 42, in update_src_hash
    target_hash = nix_prefetch([f"(import {opts.import_path} {{}}).{opts.attribute}"])
  File "/nix/store/a7r0r4vxchhdz3jr2hpib0g02a9s5pm3-nix-update-0.1/lib/python3.8/site-packages/nix_update/update.py", line 37, in nix_prefetch
    res = run(["nix-prefetch"] + cmd)
  File "/nix/store/a7r0r4vxchhdz3jr2hpib0g02a9s5pm3-nix-update-0.1/lib/python3.8/site-packages/nix_update/utils.py", line 32, in run
    return subprocess.run(command, cwd=cwd, check=check, text=True, stdout=stdout)
  File "/nix/store/8hf2rpqx8fnx6a3jm9pvn0d40c065zxl-python3-3.8.3/lib/python3.8/subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['nix-prefetch', '(import ./. {}).appeditor']' returned non-zero exit status 1.


--- SHOWING ERROR LOG FOR appeditor-1.1.0 ----------------------
@ryantm ryantm closed this Aug 1, 2020
@ryantm ryantm deleted the r-ryantm:auto-update/appeditor branch Aug 1, 2020
@worldofpeace
Copy link
Member

worldofpeace commented Aug 2, 2020

@ryantm I'm using nix-update to update my packages now https://github.com/mic92/nix-update.
It looks like there's an issue with running https://github.com/Mic92/nix-prefetch in nixpkgs-update.
I'm guessing a lot of my packages will fail to update with the bot now 😦

@worldofpeace
Copy link
Member

worldofpeace commented Aug 2, 2020

I'm guessing from this it won't actually create a PR now ryantm/nixpkgs-update@f07e406

@ryantm
Copy link
Member

ryantm commented Aug 2, 2020

@worldofpeace Yes, that's all correct of course. We'll have to figure out what's wrong with nix-update and r-ryantm. I made an issue to track this ryantm/nixpkgs-update#227

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.