inkscape-gtk3-devel and D-Bus errors

Ruben Di Battista rubendibattista at gmail.com
Sat Jul 27 15:18:12 UTC 2019


Hello, 
I’m working on Inkscape-gtk3-devel in order to build it on Mojave (since the standard port doesn’t work). So far I managed to make it build correctly and the app also starts… But I’m getting some errors related to D-Bus that are a bit weird:

```
inkscape
dbus[1696]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
Failed to get connection
** (<unknown>:1696): CRITICAL **: 16:11:24.836: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed

** (<unknown>:1696): CRITICAL **: 16:11:24.837: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed

** (<unknown>:1696): CRITICAL **: 16:11:24.837: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Pango version: 1.42.4

** (<unknown>:1696): WARNING **: 16:11:25.228: Fonts dir '/Users/rubendibattista/.config/inkscape/fonts' does not exist and will be ignored.

(<unknown>:1696): Gtk-CRITICAL **: 16:11:25.810: gtk_combo_box_set_active: assertion 'index_ >= -1' failed

(<unknown>:1696): Gtk-CRITICAL **: 16:11:25.884: gtk_combo_box_set_active: assertion 'index_ >= -1' failed
dbus[1696]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
Failed to get connection
** (<unknown>:1696): CRITICAL **: 16:11:27.329: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed

** (<unknown>:1696): CRITICAL **: 16:11:27.329: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
*** BUG ***
In void pixman_region32_init_rect(region_type_t *, int, int, unsigned int, unsigned int): Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
```
Inkscape seems to run despite the errors. The problem is that dbus-daemon is running: 

```
ps -A | grep bus
83 ??         0:00.02 /opt/local/bin/dbus-daemon --system --nofork
```

I also tried to `port unload/load` dbus, but no change. I also tried manually to start the dbus login session:
```
launchctl start org.freedesktop.dbus-session
```

```
ps -A | grep bus
83 ??         0:00.02 /opt/local/bin/dbus-daemon --system —nofork
83 ??         0:00.02 /opt/local/bin/dbus-daemon --system --nofork
 1159 ??         0:00.01 /opt/local/bin/dbus-daemon --nofork --session
```

Any idea?

PS: Shouldn’t the session also be running after the `port load`? Why do I need to start it manually?
          _   
-.     .´  |∞∞∞∞
  ',  ;    |∞∞∞∞∞∞
    ˜˜     |∞∞∞∞∞∞∞∞∞ RdB
    ,.,    |∞∞∞∞∞∞
  .'   '.  |∞∞∞∞
-'       `’

https://rdb.is
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20190727/1d6f55cf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP using AMPGpg
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20190727/1d6f55cf/attachment.sig>


More information about the macports-dev mailing list