! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
no longer build on BSD (os.h:125:28: error: net/ppp_defs.h: No such file or d...
Status:
CLOSED: FIXED
Product:
Xfce4-netload-plugin
Component:
General

Comments

Description Yves-Alexis Perez editbugs 2011-04-09 09:56:40 CEST
Hey,

we had a report that netload plugin doesn't build anymore on BSD (in our case Debian GNU/kFreeBSD)

Downstream bug is at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=621820 and build log at https://buildd.debian.org/status/fetch.php?pkg=xfce4-netload-plugin&arch=kfreebsd-amd64&ver=1.0.0-1&stamp=1299451646

End of the log says:

make[2]: Entering directory `/build/buildd-xfce4-netload-plugin_1.0.0-1-kfreebsd-amd64-jI9y_t/xfce4-netload-plugin-1.0.0'
Making all in panel-plugin
make[3]: Entering directory `/build/buildd-xfce4-netload-plugin_1.0.0-1-kfreebsd-amd64-jI9y_t/xfce4-netload-plugin-1.0.0/panel-plugin'
gcc -DHAVE_CONFIG_H -I. -I..   -DNDEBUG -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -pthread -I/usr/include/xfce4/libxfce4panel-1.0 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/xfce4 -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/libdrm -pthread -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/atk-1.0   -g -O2    -fstack-protector --param ssp-buffer-size=4  -D_FORTIFY_SOURCE=2  -Wformat -Wformat-security -Werror=format-security  -c -o xfce4_netload_plugin-netload.o `test -f 'netload.c' || echo './'`netload.c
In file included from net.h:25,
                 from netload.c:26:
os.h:125:28: error: net/ppp_defs.h: No such file or directory
os.h:126:26: error: net/if_ppp.h: No such file or directory
make[3]: *** [xfce4_netload_plugin-netload.o] Error 1
make[3]: Leaving directory `/build/buildd-xfce4-netload-plugin_1.0.0-1-kfreebsd-amd64-jI9y_t/xfce4-netload-plugin-1.0.0/panel-plugin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd-xfce4-netload-plugin_1.0.0-1-kfreebsd-amd64-jI9y_t/xfce4-netload-plugin-1.0.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd-xfce4-netload-plugin_1.0.0-1-kfreebsd-amd64-jI9y_t/xfce4-netload-plugin-1.0.0'
make: *** [debian/stamp-makefile-build] Error 2
Comment 1 Yves-Alexis Perez editbugs 2011-04-22 23:26:38 CEST
Any news? The build failure prevents it to migrate to Debian testing. We can ask for a removal on non Linux arches but it'd be nice to bring !Linux support back :)
Comment 2 Yves-Alexis Perez editbugs 2011-05-25 23:29:06 CEST
According to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=621820#37 if_ppp has been dropped from FreeBSD 8+ so it'll fail to build on that too. Apparently it'll need porting to new interface.

Bug #7481

Reported by:
Yves-Alexis Perez
Reported on: 2011-04-09
Last modified on: 2012-07-15

People

Assignee:
Florian Rivoal
CC List:
1 user

Version

Attachments

Additional information