Source: poco
Version: 1.7.8+dfsg1-3
Severity: important
Tags: upstream
Justification: fails to build from source
User: [email protected]
Usertags: hurd-i386

Builds of poco for hurd-i386 (admittedly not a release architecture)
have been failing:

  /<<PKGBUILDDIR>>/Foundation/src/Environment_UNIX.cpp: In static member 
function 'static void Poco::EnvironmentImpl::nodeIdImpl(Poco::UInt8 (&)[6])':
  /<<PKGBUILDDIR>>/Foundation/src/Environment_UNIX.cpp:307:12: error: 
'MAXHOSTNAMELEN' was not declared in this scope
  /<<PKGBUILDDIR>>/Foundation/src/Environment_UNIX.cpp:322:20: error: 
'SIOCGARP' was not declared in this scope

The Hurd has no static MAXHOSTNAMELEN, but you can try looking up
_SC_HOST_NAME_MAX via sysconf or supplying a reasonable fallback
constant.  Instead of SIOCGARP, please try using SIOCGIFCONF to obtain
a table of network interfaces and SIOCGIFHWADDR to look up their
hardware addresses.

Could you please take a look?

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]

Reply via email to