[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] [Platform-testers] inetutils pre-release
From: |
Mats Erik Andersson |
Subject: |
Re: [bug-inetutils] [Platform-testers] inetutils pre-release |
Date: |
Mon, 14 Nov 2011 14:03:37 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
måndag den 14 november 2011 klockan 11:21 skrev Simon Josefsson detta:
> Bruno Haible <address@hidden> writes:
>
> > * Linux MIPS
> > I had two build running at the same time, one in 32-bit mode, one in 64-bit
> > mode. One succeeded, the other one failed:
> >
> > Desired port 7777/udp is already in use.
> > FAIL: tftp.sh
>
> Randomizing the ports is one solution, but there may still be issues if
> the port is used. Is there any reasonable way of finding an unused port
> that isn't subject to race conditions? Combining randomization (based
> on PID), making sure the port is > 1024, together with a check to find
> out whether the port is in use may be sufficient in practice.
I had to introduce "sleep 1" in the script for slow machines,
that is clearly biting back for simultaneous test runs.
> > * NetBSD 5.1
> >
> > CC commands.o
> > commands.c: In function 'makeargv':
> > commands.c:149: warning: array subscript has type 'char'
> > commands.c:182: warning: array subscript has type 'char'
> > commands.c: In function 'send_tncmd':
> > commands.c:435: error: conflicting types for 'telopts'
> > /usr/include/arpa/telnet.h:150: error: previous declaration of 'telopts'
> > was here
> > commands.c: In function 'help':
> > commands.c:2968: warning: field width should have type 'int', but argument
> > 2 has type 'long unsigned int'
> > commands.c:2968: warning: field width should have type 'int', but argument
> > 2 has type 'long unsigned int'
> > commands.c: In function 'cmdrc':
> > commands.c:3025: warning: array subscript has type 'char'
> > commands.c:3030: warning: array subscript has type 'char'
> > *** Error code 1
> >
> > The declaration in /usr/include/arpa/telnet.h:150 is:
> > extern const char *telopts[NTELOPTS+1];
> > where NTELOPTS is 48.
>
> Interesting. On Debian it is:
>
> char *telopts[NTELOPTS+1] = {
>
> I can't find where 'telopts' is specified (I looked at POSIX and the
> glibc manual). Possibly inetutils just has to look at installed headers
> and see whether the const is needed or not. Sigh.
GLIBC declares it in <arpa/telnet.h>. Do we need to introduce
a work around similar to "src/logprio.h"?
> > * HP-UX 11.00
> >
> > CC utmp_logout.o
> > cc: "utmp_logout.c", line 76: error 1588: "e_termination" undefined.
> > cc: "utmp_logout.c", line 76: error 1531: Invalid member of struct or union.
> > cc: "utmp_logout.c", line 77: error 1588: "e_exit" undefined.
> > cc: "utmp_logout.c", line 77: error 1531: Invalid member of struct or union.
> > gmake[2]: *** [utmp_logout.o] Error 1
> >
> > The 'struct utmpx' on HP-UX has a field ut_exit with components called
> > __e_termination and __e_exit, not e_termination and e_exit.
>
> I'll leave this for later.
>
We have some hard work on this in the next iteration
also in targeting GNU/OpenSolaris and OpenIndiana.
Regards,
Mats
- [bug-inetutils] inetutils pre-release, Simon Josefsson, 2011/11/13
- Re: [bug-inetutils] [Platform-testers] inetutils pre-release, Bruno Haible, 2011/11/13
- Re: [bug-inetutils] [Platform-testers] inetutils pre-release, Simon Josefsson, 2011/11/14
- Re: [bug-inetutils] [Platform-testers] inetutils pre-release, Mats Erik Andersson, 2011/11/17
- Re: [bug-inetutils] [Platform-testers] inetutils pre-release, Mats Erik Andersson, 2011/11/17
- Re: [bug-inetutils] [Platform-testers] inetutils pre-release, Simon Josefsson, 2011/11/18
- [bug-inetutils] Readline code (Was: [Platform-testers] ...), Mats Erik Andersson, 2011/11/18
- Re: [bug-inetutils] Readline code, Simon Josefsson, 2011/11/19
- Re: [bug-inetutils] Readline code, Simon Josefsson, 2011/11/19
- Re: [bug-inetutils] Readline code, Mats Erik Andersson, 2011/11/19