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

gnomeExtensions.gsconnect build error on master #79806

Closed
bjornfor opened this issue Feb 11, 2020 · 2 comments · Fixed by #79845
Closed

gnomeExtensions.gsconnect build error on master #79806

bjornfor opened this issue Feb 11, 2020 · 2 comments · Fixed by #79845
Labels
0.kind: bug 0.kind: regression Something that worked before working no longer

Comments

@bjornfor
Copy link
Contributor

Describe the bug
gnomeExtensions.gsconnect fails to build on master branch (tested ef399ee):

$ nix-build -A gnomeExtensions.gsconnect
...
Installing /build/source/data/icons/org.gnome.Shell.Extensions.GSConnect-symbolic.svg to /nix/store/wj3mq774hp694vr4nknzss1nm7q60jas-gnome-shell-gsconnect-31/share/icons/hicolor/scalable/apps
Traceback (most recent call last):
  File "/nix/store/vyh6mfdir6j2i0abpsdvm9ybcnlffbxy-meson-0.52.1/lib/python3.7/site-packages/mesonbuild/mesonmain.py", line 129, in run
    return options.run_func(options)
  File "/nix/store/vyh6mfdir6j2i0abpsdvm9ybcnlffbxy-meson-0.52.1/lib/python3.7/site-packages/mesonbuild/minstall.py", line 521, in run
    installer.do_install(datafilename)
  File "/nix/store/vyh6mfdir6j2i0abpsdvm9ybcnlffbxy-meson-0.52.1/lib/python3.7/site-packages/mesonbuild/minstall.py", line 346, in do_install
    self.install_data(d)
  File "/nix/store/vyh6mfdir6j2i0abpsdvm9ybcnlffbxy-meson-0.52.1/lib/python3.7/site-packages/mesonbuild/minstall.py", line 375, in install_data
    d.dirmaker.makedirs(outdir, exist_ok=True)
  File "/nix/store/vyh6mfdir6j2i0abpsdvm9ybcnlffbxy-meson-0.52.1/lib/python3.7/site-packages/mesonbuild/minstall.py", line 55, in makedirs
    os.makedirs(path, exist_ok=exist_ok)
  File "/nix/store/hmcha8bv2ziwabla76hd612vgxr20pnd-python3-3.7.6/lib/python3.7/os.py", line 211, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "/nix/store/hmcha8bv2ziwabla76hd612vgxr20pnd-python3-3.7.6/lib/python3.7/os.py", line 221, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/etc/dbus-1'
FAILED: meson-install
/nix/store/vyh6mfdir6j2i0abpsdvm9ybcnlffbxy-meson-0.52.1/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.
builder for '/nix/store/5fr6cmyny5zrh7w0sjyzv06h21bl8hvl-gnome-shell-gsconnect-31.drv' failed with exit code 1
error: build of '/nix/store/5fr6cmyny5zrh7w0sjyzv06h21bl8hvl-gnome-shell-gsconnect-31.drv' failed

To Reproduce
On master branch (e.g. ef399ee), run nix-build -A gnomeExtensions.gsconnect.

Expected behavior
I expect packages to (continue to) build and not break when trying to upgrade my system.

Additional context
I ran git bisect and it pointed to d1dfbfd (2020-01-06). I'm quite sure that's not the commit that caused the current breakage, but that's where gsconnect stopped building initially.

Metadata

$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.98, NixOS, 20.03.git.804fbc9 (Markhor)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.2`
 - channels(root): `"nixos-19.09.1840.f7d050ed4e3"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
@bjornfor bjornfor added 0.kind: bug 0.kind: regression Something that worked before working no longer labels Feb 11, 2020
@hedning
Copy link
Contributor

hedning commented Feb 11, 2020

Yep, noticed this today. Fairly certain this is the reason: #78120, which caused gsconnect to pick up a path from dbus pkgconfig. I'll make a PR.

hedning added a commit to hedning/nixpkgs that referenced this issue Feb 11, 2020
dbus is now propagated from at-spi2-core, which made gsconnect try to
install dbus service files in the wrong location.

closes NixOS#79806
@bjornfor
Copy link
Contributor Author

@hedning: Thank you!

bjornfor pushed a commit that referenced this issue Feb 16, 2020
dbus is now propagated from at-spi2-core, which made gsconnect try to
install dbus service files in the wrong location.

closes #79806

(cherry picked from commit 71a54f1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug 0.kind: regression Something that worked before working no longer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants