Bug#597977: fluidsynth: FTBFS on kfreebsd-*: fluid_rtkit.c: error: storage size unknown
David Henningsson
david.henningsson at canonical.com
Wed Sep 29 04:18:04 UTC 2010
On 2010-09-24 22:15, Cyril Brulebois wrote:
> Source: fluidsynth
> Version: 1.1.2-1
> Severity: serious
> Justification: FTBFS
> User: debian-bsd at lists.debian.org
> Usertags: kfreebsd
>
> Hi,
>
> your package no longer builds on kfreebsd-*:
> | cd /build/buildd-fluidsynth_1.1.2-1-kfreebsd-amd64-S6AiKT/fluidsynth-1.1.2/obj-x86_64-kfreebsd-gnu/src&& /usr/bin/gcc -Dlibfluidsynth_EXPORTS -DHAVE_LASH -DHAVE_CONFIG_H -g -O2 -fPIC -I/build/buildd-fluidsynth_1.1.2-1-kfreebsd-amd64-S6AiKT/fluidsynth-1.1.2/obj-x86_64-kfreebsd-gnu -I/build/buildd-fluidsynth_1.1.2-1-kfreebsd-amd64-S6AiKT/fluidsynth-1.1.2/src -I/build/buildd-fluidsynth_1.1.2-1-kfreebsd-amd64-S6AiKT/fluidsynth-1.1.2/src/drivers -I/build/buildd-fluidsynth_1.1.2-1-kfreebsd-amd64-S6AiKT/fluidsynth-1.1.2/src/synth -I/build/buildd-fluidsynth_1.1.2-1-kfreebsd-amd64-S6AiKT/fluidsynth-1.1.2/src/rvoice -I/build/buildd-fluidsynth_1.1.2-1-kfreebsd-amd64-S6AiKT/fluidsynth-1.1.2/src/midi -I/build/buildd-fluidsynth_1.1.2-1-kfreebsd-amd64-S6AiKT/fluidsynth-1.1.2/src/utils -I/build/buildd-fluidsynth_1.1.2-1-kfreebsd-amd64-S6AiKT/fluidsynth-1.1.2/src/sfloader -I/build/buildd-fluidsynth_1.1.2-1-kfreebsd-amd64-S6AiKT/fluidsynth-1.1.2/src/bindings -I/build/buildd-fluidsynth_1
.1
> .2-1-kfreebsd-amd64-S6AiKT/fluidsynth-1.1.2/include -I/build/buildd-fluidsynth_1.1.2-1-kfreebsd-amd64-S6AiKT/fluidsynth-1.1.2/obj-x86_64-kfreebsd-gnu/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/lash-1.0 -o CMakeFiles/libfluidsynth.dir/bindings/fluid_rtkit.c.o -c /build/buildd-fluidsynth_1.1.2-1-kfreebsd-amd64-S6AiKT/fluidsynth-1.1.2/src/bindings/fluid_rtkit.c
> | /build/buildd-fluidsynth_1.1.2-1-kfreebsd-amd64-S6AiKT/fluidsynth-1.1.2/src/bindings/fluid_rtkit.c: In function 'fluid_rtkit_make_realtime':
> | /build/buildd-fluidsynth_1.1.2-1-kfreebsd-amd64-S6AiKT/fluidsynth-1.1.2/src/bindings/fluid_rtkit.c:336: error: storage size of 'old_limit' isn't known
> | /build/buildd-fluidsynth_1.1.2-1-kfreebsd-amd64-S6AiKT/fluidsynth-1.1.2/src/bindings/fluid_rtkit.c:336: error: storage size of 'new_limit' isn't known
> | make[3]: *** [src/CMakeFiles/libfluidsynth.dir/bindings/fluid_rtkit.c.o] Error 1
> | make[3]: Leaving directory `/build/buildd-fluidsynth_1.1.2-1-kfreebsd-amd64-S6AiKT/fluidsynth-1.1.2/obj-x86_64-kfreebsd-gnu'
> | make[2]: *** [src/CMakeFiles/libfluidsynth.dir/all] Error 2
> | make[2]: Leaving directory `/build/buildd-fluidsynth_1.1.2-1-kfreebsd-amd64-S6AiKT/fluidsynth-1.1.2/obj-x86_64-kfreebsd-gnu'
> | make[1]: *** [all] Error 2
> | make[1]: Leaving directory `/build/buildd-fluidsynth_1.1.2-1-kfreebsd-amd64-S6AiKT/fluidsynth-1.1.2/obj-x86_64-kfreebsd-gnu'
> | dh_auto_build: make -j1 returned exit code 2
>
> Full build logs:
> https://buildd.debian.org/status/package.php?p=fluidsynth&suite=experimental
I don't know much about kfreebsd, but the problem is likely that "struct
rlimit" does not exist on this kernel.
The easiest way out at this point is to build without DBUS_SUPPORT on
kfreebsd, because there wouldn't be any realtimekit on kfreebsd support
anyway, and DBUS isn't used for anything else at the moment.
Actually, looking at it now, it seems like realtimekit is not even
packaged for Debian (only exists in Ubuntu).
--
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic
More information about the pkg-multimedia-maintainers
mailing list