Bug#722493: jugglemaster: FTBFS on kfreebsd-*: error: redefinition of 'struct loadavg'

Sebastian Ramacher sramacher at debian.org
Wed Sep 11 16:12:36 UTC 2013


Source: jugglemaster
Version: 0.4-6.1
Severity: serious
Justification: FTBFS but built successfuly in the past
Tags: sid jessie patch
Control: block 706798 by -1

jugglemaster fails to build on kfreebsd-*:
| g++ -Wall -pedantic -fsigned-char `aalib-config --cflags`   -c -o aajm.o aajm.cpp
| In file included from aajm.cpp:16:0:
| ./aajm.h:43:8: error: redefinition of 'struct loadavg'
|  struct loadavg {
|         ^
| In file included from /usr/include/x86_64-kfreebsd-gnu/sys/resource.h:25:0,
|                  from ./aajm.h:25,
|                  from aajm.cpp:16:
| /usr/include/x86_64-kfreebsd-gnu/bits/resource.h:127:8: error: previous definition of 'struct loadavg'
|  struct loadavg {

Full build log:
https://buildd.debian.org/status/fetch.php?pkg=jugglemaster&arch=kfreebsd-amd64&ver=0.4-6.1&stamp=1378348475

The attached patch fixes this issue by renaming aajm's loadavg.

Regards
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jugglemaster-loadavg.patch
Type: text/x-diff
Size: 3218 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20130911/b7c74015/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20130911/b7c74015/attachment.sig>


More information about the Pkg-games-devel mailing list