Bug#588412: gnome-applets: FTBFS on kfreebsd-amd64: apm_bios.h:8:3: error: #error This header is not available for amd64

Cyril Brulebois kibi at debian.org
Thu Jul 8 06:35:39 UTC 2010


Source: gnome-applets
Version: 2.30.0-3
Severity: serious
Justification: FTBFS
User: debian-bsd at lists.debian.org
Usertags: kfreebsd

Hi,

your package no longer builds on kfreebsd-amd64:
| gcc -DHAVE_CONFIG_H -I. -I.. -DORBIT2=1 -pthread -I/usr/include/panel-2.0 -I/usr/include/gconf/2 -I/usr/include/gtk-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/libbonobo-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include    -pthread -I/usr/include/gtk-2.0 -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/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/inclu
 de/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12    -pthread -I/usr/include/libupower-glib -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -I/usr/src/sys -DG_LOG_DOMAIN=\"battstat_applet\"  -I/usr/src/sys  -g -O2 -g -Wall -O2 -c battstat_applet.c
| battstat_applet.c: In function 'check_for_updates':
| battstat_applet.c:1066: warning: implicit declaration of function 'gnome_triggers_do'
| battstat_applet.c: In function 'about_cb':
| battstat_applet.c:1234: warning: implicit declaration of function 'power_management_using_upower'
| gcc -DHAVE_CONFIG_H -I. -I.. -DORBIT2=1 -pthread -I/usr/include/panel-2.0 -I/usr/include/gconf/2 -I/usr/include/gtk-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/libbonobo-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include    -pthread -I/usr/include/gtk-2.0 -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/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/inclu
 de/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12    -pthread -I/usr/include/libupower-glib -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -I/usr/src/sys -DG_LOG_DOMAIN=\"battstat_applet\"  -I/usr/src/sys  -g -O2 -g -Wall -O2 -c power-management.c
| In file included from power-management.c:182:
| /usr/include/machine/apm_bios.h:8:3: error: #error This header is not available for amd64
| In file included from power-management.c:183:
| acpi-freebsd.h:40: warning: 'struct apm_info' declared inside parameter list
| acpi-freebsd.h:40: warning: its scope is only this definition or declaration, which is probably not what you want
| power-management.c: In function 'apm_readinfo':
| power-management.c:203: warning: passing argument 1 of 'acpi_freebsd_read' from incompatible pointer type
| acpi-freebsd.h:40: note: expected 'struct apm_info *' but argument is of type 'struct apm_info *'
| power-management.c:219: error: 'APMIO_GETINFO' undeclared (first use in this function)
| power-management.c:219: error: (Each undeclared identifier is reported only once
| power-management.c:219: error: for each function it appears in.)
| power-management.c:224: error: invalid use of undefined type 'struct apm_info'
| power-management.c:229: error: invalid use of undefined type 'struct apm_info'
| power-management.c:230: error: invalid use of undefined type 'struct apm_info'
| power-management.c:231: error: invalid use of undefined type 'struct apm_info'
| power-management.c:233: error: invalid use of undefined type 'struct apm_info'
| power-management.c:235: error: invalid use of undefined type 'struct apm_info'
| make[4]: *** [power-management.o] Error 1

Full build logs:
  https://buildd.debian.org/status/package.php?p=gnome-applets

Mraw,
KiBi.






More information about the pkg-gnome-maintainers mailing list