apt: kfreebsd: ioctl(TIOCSCTTY) fails, stair-stepped text (was: Re: Bug#732937: dpkg: fails somewhat regularly on kfreebsd-amd64)
clone 732937 -1
retitle -1 apt: kfreebsd: ioctl(TIOCSCTTY) fails, stair-stepped text
severity -1 normal
notfixed -1 apt/0.9.12.1
notfound -1 apt/0.9.13~exp1
notfound -1 apt/0.9.14.2
found -1 apt/1.0.7
thanks
On 29/08/14 12:34, Markus Koschany wrote:
> I still get error messages like this one.
>
> ioctl(TIOCSCTTY) failed for fd: 17
>
> It's true that dpkg does not fail completely anymore but the text
> formatting makes the output unnecessarily hard to read.
Thanks! I'll track this as a separate bug since the original #732937
issue is fixed, and this one is less serious.
The failing ioctl and error message are both coming from apt-get,
according to ktrace:
> 39983 apt-get CALL ioctl(0xb,0x20007461 ,0)
> 37015 apt-get CALL wait4(0x9c2f,0x7fffffffc610,0x1<WNOHANG>,0)
> 39983 apt-get RET ioctl -1 errno 6 No such device or address
> 37015 apt-get RET wait4 0
> 37015 apt-get CALL pselect(0xd,0x7fffffffc6a0,0,0,0x7fffffffc5a0,0x62f12c)
> 37015 apt-get RET pselect 1
> 39983 apt-get CALL write(0x2,0x800972670,0x20)
> 37015 apt-get CALL read(0xa,0x7fffffffc000,0x400)
> 37015 apt-get GIO fd 10 read 0 bytes
> ""
> 39983 apt-get GIO fd 2 wrote 32 bytes
> "ioctl(TIOCSCTTY) failed for fd: "
[...]
> "11"
Output text is then "stair-stepped", meaning with each newline there is
no carriage return:
> Unpacking hello (from .../hello_2.9-1_kfreebsd-amd64.deb) ...
> Processing triggers for install-info ...
> Processing triggers for man-db ...
> ioctl(TIOCSCTTY) failed for fd: 11
> Setting up hello (2.9-1) ...
> ====== How can you help? (doc: http://wiki.debian.org/how-can-i-help ) ======
Regards,
--
Steven Chamberlain
steven@pyro.eu.org
Reply to: