Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622790 - dev-libs/dbus-c++-0.9.0-r2 fails to build with gcc-7
Summary: dev-libs/dbus-c++-0.9.0-r2 fails to build with gcc-7
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Whiteboard: ~arch only
Depends on:
Blocks: gcc-7
  Show dependency tree
Reported: 2017-06-26 22:14 UTC by Hector Martin
Modified: 2018-06-08 20:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

GCC7 fixes (dbus-c++-gcc7.patch,891 bytes, patch)
2017-06-26 22:14 UTC, Hector Martin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hector Martin 2017-06-26 22:14:48 UTC
Created attachment 478144 [details, diff]
GCC7 fixes

Patch is attached. There are two problems: a typo in an argument to `write` (should be a string, not a character), and a config.h define that is used in a public header (the only version of sys-apps/dbus in portage is much newer than the threshold, so it's okay to just hardcode it).

This blocks [gcc-7].
Comment 1 Alexis Ballier gentoo-dev 2017-06-27 09:16:42 UTC
commit 9ed232ebdf0132c5b0ac4d0adfc5959df72bead2 (HEAD -> master, origin/master, origin/HEAD)
Author: Alexis Ballier <>
Date:   Tue Jun 27 11:15:30 2017 +0200

    dev-libs/dbus-c++: add gcc7 fix, bug #622790 by Hector Martin