bluez-tools FTBFS on wily-proposed in 64-bit archs due to implicit pointer conversion
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | bluez-tools (Debian) |
Fix Released
|
Unknown
|
||
| | bluez-tools (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
After LDADD fix (LP: #1489661, Debian #797128) bluez-tools build now fails on 64-bit systems due to implicit pointer conversion in bt-device.c.
Build logs at: https:/
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/
bt-device.c: In function '_bt_device_
bt-device.c:345:50: warning: implicit declaration of function 'g_unix_
GInputStream *exec_output = (GInputStream *) g_unix_
| Tiago Stürmer Daitx (tdaitx) wrote : | #1 |
| tags: | added: ftbfs patch patch-forwarded-debian patch-forwarded-upstream |
| Tiago Stürmer Daitx (tdaitx) wrote : | #2 |
Fix forwarded upstream at https:/
| Changed in bluez-tools (Debian): | |
| status: | Unknown → New |
| Launchpad Janitor (janitor) wrote : | #3 |
This bug was fixed in the package bluez-tools - 0.2.0~20140808-
---------------
bluez-tools (0.2.0~
* debian/
gio-unix-2.0 module to configure.ac and gio/gunixinputs
to bt-device.c (LP: #1490204, Closes: 797356)
-- Tiago Stürmer Daitx <email address hidden> Sat, 29 Aug 2015 18:30:37 -0300
| Changed in bluez-tools (Ubuntu): | |
| status: | New → Fix Released |
| Changed in bluez-tools (Debian): | |
| status: | New → Fix Released |


This patch provides the right includes so gcc can know the right return type instead of assuming an integer. This fix prevents the implicit pointer conversion warning from happening.
bt-device.c was missing an include for gio/gunixinputs tream.c and configure.ac had to be updated to include gio-unix-2.0 module.