Hi David,

On Thu, Feb 09, 2017 at 12:39:25PM +0100, David Schweikert wrote:
> On Thu, Feb 09, 2017 at 12:30:17 +0100, Axel Beckert wrote:
> > Thanks! I had uploaded 3.16-rc2 to Debian Experimental only yesterday.
> > Built fine on all release architectures. Only failed to build from
> > source on GNU/Hurd.
> 
> Cool, thanks. Do you know what the problem with GNU/Hurd is?

It seems to be this error:

gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra 
-Wno-sign-compare -DIPV6 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -c -o fping-fping.o `test -f 'fping.c' || echo 
'./'`fping.c
fping.c: In function 'main':
fping.c:612:60: error: 'IPV6_TCLASS' undeclared (first use in this function)
                     if ( setsockopt(socket6, IPPROTO_IPV6, IPV6_TCLASS, &tos, 
sizeof(tos))) {
                                                            ^~~~~~~~~~~
fping.c:612:60: note: each undeclared identifier is reported only once for each 
function it appears in


Additionally there was this warning (not fatal, but IMHO noteworthy):

fping.c: In function 'receive_packet':
fping.c:1733:21: warning: unused variable 'cmsg' [-Wunused-variable]
     struct cmsghdr *cmsg;
                     ^~~~

Full log at
https://buildd.debian.org/status/fetch.php?pkg=fping&arch=hurd-i386&ver=3.16%7Erc2-1&stamp=1486588492&raw=0

Hints on how to solve common GNU/Hurd porting issues are at
https://www.gnu.org/software/hurd/hurd/porting/guidelines.html

(This specific issue seems not to be listed there, though, but it
might of help anyways.)

> > > I also started working on a "fping 4.0" release, which will contain more
> > > disruptive changes such as:
> > > 
> > > - unification of fping and fping6 binaries into one
> > 
> > Ah, so despite that was in the 3.16-rc2, it's not in 3.16?
> 
> Yes, correct. I thought that it would be better to release the
> fping/fping6 unification changes as 4.0.

That's a good decision IMHO. A bit in the spirit of Semantic
Versioning (see http://semver.org/).

                Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | a...@deuxchevaux.org  (Mail)
 X   See http://www.nonhtmlmail.org/campaign.html | a...@noone.org (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web)

-- 
You received this message because you are subscribed to the Google Groups 
"fping-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fping-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to