Skip to content

atom: 0.187.0 -> 1.0.0 - #8421

Merged
pSub merged 2 commits into
NixOS:masterfrom
travisbhartwell:update/atom
Jul 2, 2015
Merged

pSub merged 2 commits into
NixOS:masterfrom
travisbhartwell:update/atom

Conversation

@travisbhartwell

Copy link
Copy Markdown
Contributor

Updated to latest. Added buildEnv path dependency on systemd because of libudev dep.
Updated the path in the desktop file so it can be launched from the desktop file.
Removed unnecessary lintian directory, artifact of Debian package.

Tested that it installs and launches on my NixOS machine, running the unstable channel.

@travisbhartwell

Copy link
Copy Markdown
Contributor Author

I forgot to cc the maintainer.

cc @offlinehacker

@travisbhartwell

Copy link
Copy Markdown
Contributor Author

I am unsure of why this failed. I'm new to reading the output of TravisCI and it's not obvious in all of that output what went wrong.

Before committing, I did my test against version e1af50c which is what nixos-version reported as my local version, as I use the unstable channel. Atom installed and ran with no problems. It was after this that I rebased my commit on master and then pushed and did my PR.

After this failed TravisCI build, I added hydra to my local binary and trusted caches and tried to install using my local nixpkgs against master with this commit added. After an hour or so of building various dependencies, it finished building with no errors and I could run Atom without issue. I saved the output by running the install like this:

nix-env -i atom -f ~/Projects/nixpkgs/ 2>&1 | tee ~/update-atom-build.out

What can I do to help debug and fix this? I am Nafai on #nixos, and am usually lurking.

@matthiasbeyer

Copy link
Copy Markdown
Contributor

I just tried to update the atom package to 1.0 to try atom out, but I got this when I started atom:

$ cat ~/.atom/nohup.out 
[30556:0627/173018:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[30556:0627/173018:FATAL:udev_loader.cc(36)] Check failed: false. 
[30619:0627/173018:ERROR:sandbox_linux.cc(325)] InitializeSandbox() called with multiple threads in process gpu-process
[30619:0627/173018:WARNING:file_descriptor_set_posix.cc(30)] FileDescriptorSet destroyed with unconsumed descriptors: 0/1

So I do not submit the patch for the update to version 1.0. I'm not really interested in using it, so this is all I can/want to contribute to this discussion. Hope it helps, though.

@Havvy

Havvy commented Jun 27, 2015

Copy link
Copy Markdown
Contributor

The CI build failed because the console output was longer than 10,000 lines. Basically, NixOS hits one of the fundamental limits of using TravisCI with almost every package.

@travisbhartwell

Copy link
Copy Markdown
Contributor Author

@matthiasbeyer I just did a local upgrade of the package to the recently released 1.0.0 and everything worked fine. Seeing the udev error in your ~/.atom/nohup.out makes me wonder if you updated the version of the package that is currently in master? The changes I have made in this PR include adding a dependency on systemd so the udev libraries can be located.

@travisbhartwell

Copy link
Copy Markdown
Contributor Author

Should I do a new PR request, changing this from atom: 0.187.0 -> 0.210.0 to atom: 0.187.0 -> 1.0.0 with the newly released version?

@matthiasbeyer

Copy link
Copy Markdown
Contributor

@travisbhartwell I updated the package on my unstable channel branch, as I had to rebuild the world when updating it on master... maybe that's the cause of the error I saw.

@pSub

pSub commented Jun 30, 2015

Copy link
Copy Markdown
Member

@travisbhartwell you can also reuse this PR by force pushing to the corresponding branch. An update to 1.0.0 would be really nice.

@travisbhartwell travisbhartwell changed the title atom: 0.187.0 -> 0.210.0 atom: 0.187.0 -> 1.0.0 Jul 1, 2015
@pSub

pSub commented Jul 2, 2015

Copy link
Copy Markdown
Member

Thanks!

pSub added a commit that referenced this pull request Jul 2, 2015
@pSub
pSub merged commit 27e0488 into NixOS:master Jul 2, 2015
@pSub pSub mentioned this pull request Jul 2, 2015
@Janik-Haag Janik-Haag added the 12.first-time contribution This PR is the author's first one; please be gentle! label Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants