unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* No package 'dbus-1' found
@ 2021-09-01  2:03 excalamus--- via
       [not found] ` <c2pvsclN2m_8Pqn1v9WvktbieIq6DCqlcH65_6J3H4MHV7Mp4OzvmdY100pVOhqndX3DUE7gDAuF0NXXH0StSPB7RqIhJg3CngZk2ZRrzVw=@protonmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: excalamus--- via @ 2021-09-01  2:03 UTC (permalink / raw)
  To: Help Guix

I'm trying to install Plover from source, however tox throws an error about dbus. It's looking for "dbus-1". Is that some thing guix provides?

Here's what I have installed for dbus:

ahab@pequod ~/Projects/plover$guix package -A | grep dbus
cl-dbus                 20190408-1.24b452d      out                     gnu/packages/lisp-xyz.scm:6662:4
dbus                    1.12.16                 out,doc                 gnu/packages/glib.scm:91:2
dbus-c++                0.9.0                   out                     gnu/packages/glib.scm:988:2
dbus-cxx                0.12.0                  out                     gnu/packages/glib.scm:1031:2
dbus-glib               0.110                   out                     gnu/packages/glib.scm:637:2
dbus-test-runner        19.04.0                 out                     gnu/packages/glib.scm:1248:2
ecl-dbus                20190408-1.24b452d      out                     gnu/packages/lisp-xyz.scm:6662:4
ghc-dbus                1.2.7                   out                     gnu/packages/haskell-xyz.scm:3145:2
go-github-com-godbus-dbus    5.0.3                   out                     gnu/packages/golang.scm:7457:2
kdbusaddons             5.70.0                  out                     gnu/packages/kde-frameworks.scm:634:2
libdbusmenu             16.04.0                 out                     gnu/packages/gtk.scm:2197:2
libdbusmenu-qt          0.9.3+16.04.20160218-0ubuntu1    out                     gnu/packages/lxqt.scm:72:2
perl-net-dbus           1.2.0                   out                     gnu/packages/glib.scm:1123:2
perl-net-dbus-glib      0.33.0                  out                     gnu/packages/glib.scm:1151:2
python-dbus             1.2.16                  out                     gnu/packages/python-xyz.scm:8483:2
python-dbusmock         0.18.3                  out                     gnu/packages/python-xyz.scm:22899:2
python2-dbus            1.2.16                  out                     gnu/packages/python-xyz.scm:8506:2
rust-dbus               0.6.5                   out                     gnu/packages/crates-io.scm:12498:2
rust-libdbus-sys        0.2.1                   out                     gnu/packages/crates-io.scm:24040:2
sbcl-dbus               20190408-1.24b452d      out                     gnu/packages/lisp-xyz.scm:6662:4
xdg-dbus-proxy          0.1.2                   out                     gnu/packages/glib.scm:1214:2

Here's the relevant part of the error he message:

  checking pkg-config is at least version 0.9.0... yes
  checking for DBUS... no
  configure: error: Package requirements (dbus-1 >= 1.8) were not met:
  
  No package 'dbus-1' found
  
  Consider adjusting the PKG_CONFIG_PATH environment variable if you
  installed software in a non-standard prefix.
  
  Alternatively, you may set the environment variables DBUS_CFLAGS
  and DBUS_LIBS to avoid the need to call pkg-config.
  See the pkg-config man page for more details.
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-wheel-_jbpuv0c/dbus-python/setup.py", line 85, in <module>
      setup(
    File "/home/ahab/Projects/plover/.tox/dev/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
      return distutils.core.setup(**attrs)
    File "/gnu/store/sd2ic7bpv8fx3imy1j8xcjclx71sv6q0-python-3.8.2/lib/python3.8/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/gnu/store/sd2ic7bpv8fx3imy1j8xcjclx71sv6q0-python-3.8.2/lib/python3.8/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/gnu/store/sd2ic7bpv8fx3imy1j8xcjclx71sv6q0-python-3.8.2/lib/python3.8/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/home/ahab/Projects/plover/.tox/dev/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 299, in run
      self.run_command('build')
    File "/gnu/store/sd2ic7bpv8fx3imy1j8xcjclx71sv6q0-python-3.8.2/lib/python3.8/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/gnu/store/sd2ic7bpv8fx3imy1j8xcjclx71sv6q0-python-3.8.2/lib/python3.8/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/tmp/pip-wheel-_jbpuv0c/dbus-python/setup.py", line 56, in run
      subprocess.check_call([
    File "/gnu/store/sd2ic7bpv8fx3imy1j8xcjclx71sv6q0-python-3.8.2/lib/python3.8/subprocess.py", line 364, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['/tmp/pip-wheel-_jbpuv0c/dbus-python/configure', '--disable-maintainer-mode', 'PYTHON=/home/ahab/Projects/plover/.tox/dev/bin/python', '--prefix=/tmp/pip-wheel-_jbpuv0c/dbus-python/build/temp.linux-x86_64-3.8/prefix']' returned non-zero exit status 1.
  ----------------------------------------
  ERROR: Failed building wheel for dbus-python
  Running setup.py clean for dbus-python
Failed to build dbus-python
ERROR: Failed to build one or more wheels
WARNING: You are using pip version 20.2.4; however, version 21.2.4 is available.
You should consider upgrading via the '/home/ahab/Projects/plover/.tox/dev/bin/python -m pip install --upgrade pip' command.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/ahab/Projects/plover/plover_build_utils/install_wheels.py", line 139, in install_wheels
    raise Exception('wheels installation failed: pip execution returned %u' % code)
Exception: wheels installation failed: pip execution returned 1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* g++-multilib
       [not found] ` <c2pvsclN2m_8Pqn1v9WvktbieIq6DCqlcH65_6J3H4MHV7Mp4OzvmdY100pVOhqndX3DUE7gDAuF0NXXH0StSPB7RqIhJg3CngZk2ZRrzVw=@protonmail.com>
@ 2021-09-05 17:40   ` excalamus--- via
  0 siblings, 0 replies; 2+ messages in thread
From: excalamus--- via @ 2021-09-05 17:40 UTC (permalink / raw)
  To: phodina, Help Guix



> It seems that you'll need at least these two packages: +python2-dbus+ (from gnu/packages/python-xyz.scm) and +dbus+ (from gnu/packages/glib.scm) as inputs.
>
Yes, it was python2-dbus that was needed. I thought they had ported to python3. Guess not.

> I'd also recommend to use the +guix import+ commnand to get all the dependencies from PYPI [3] ;-)
>
> +guix import pypi -r plover+
>
Thanks. Unfortunately, the Plover project doesn't package the latest version on pypi...

> Hope that helps :-)
> Petr
>
 It did, thanks!

Now I'm getting an error about libstdc++:

Traceback (most recent call last):
  File "/gnu/store/sd2ic7bpv8fx3imy1j8xcjclx71sv6q0-python-3.8.2/lib/python3.8/runpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/gnu/store/sd2ic7bpv8fx3imy1j8xcjclx71sv6q0-python-3.8.2/lib/python3.8/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/ahab/Projects/plover/.tox/dev/lib/python3.8/site-packages/PyQt5/uic/pyuic.py", line 26, in <module>
    from PyQt5 import QtCore
ImportError: libstdc++.so.6: cannot open shared object file: No such file or directory
The Plover folks say that means I need g++-multilib. It doesn't look like Guix packages anything under that name. I found this thread, but it's unclear to me which lib I actually need. Any advice?





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-05 17:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-01  2:03 No package 'dbus-1' found excalamus--- via
     [not found] ` <c2pvsclN2m_8Pqn1v9WvktbieIq6DCqlcH65_6J3H4MHV7Mp4OzvmdY100pVOhqndX3DUE7gDAuF0NXXH0StSPB7RqIhJg3CngZk2ZRrzVw=@protonmail.com>
2021-09-05 17:40   ` g++-multilib excalamus--- via

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).