Source: fastnetmon
Version: 1.1.3+dfsg-1
Severity: important
Justification: fails to build from source
The build of fastnetmon for hurd-i386 (admittedly not a release
architecture) failed:
In file included from /usr/include/i386-gnu/sys/ioctl.h:26:0,
from
/<<BUILDDIR>>/fastnetmon-1.1.3+dfsg/src/netmap_plugin/netmap_includes/net/netmap_user.h:140,
from
/<<BUILDDIR>>/fastnetmon-1.1.3+dfsg/src/netmap_plugin/netmap_collector.cpp:30:
/<<BUILDDIR>>/fastnetmon-1.1.3+dfsg/src/netmap_plugin/netmap_includes/net/netmap_user.h:
In function 'nm_desc* nm_open(const char*, const nmreq*, uint64_t, const
nm_desc*)':
/<<BUILDDIR>>/fastnetmon-1.1.3+dfsg/src/netmap_plugin/netmap_includes/net/netmap.h:533:19:
error: '_IOT_nmreq' was not declared in this scope
#define NIOCREGIF _IOWR('i', 146, struct nmreq) /* interface register */
^
/<<BUILDDIR>>/fastnetmon-1.1.3+dfsg/src/netmap_plugin/netmap_includes/net/netmap_user.h:535:19:
note: in expansion of macro 'NIOCREGIF'
if (ioctl(d->fd, NIOCREGIF, &d->req)) {
^
/<<BUILDDIR>>/fastnetmon-1.1.3+dfsg/src/netmap_plugin/netmap_collector.cpp:
In function 'void receiver(std::__cxx11::string)':
/<<BUILDDIR>>/fastnetmon-1.1.3+dfsg/src/netmap_plugin/netmap_collector.cpp:296:106:
error: 'pthread_attr_setaffinity_np' was not declared in this scope
pthread_attr_setaffinity_np(thread_attrs.native_handle(),
sizeof(cpu_set_t), ¤t_cpu_set);
^
Please either conditionalize the use of these definitions (bearing in
mind that they might not exist on kFreeBSD either) or restrict
fastnetmon's Architecture setting accordingly.
Thanks!
--
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/[email protected]