[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#806475: apt: Breaks debian-installer build, select with no read/write fds?



Cyril Brulebois <kibi@debian.org> (2015-11-27):
> We're currently missing d-i daily builds, apparently because apt-get is
> stuck. Trying to replicate the issue in one of my devel schroots, it
> seems to be trying to call select with strange parameters:
> | 9996  select(1, [], [], NULL, {0, 498491}) = 0 (Timeout)
> | 9996  rt_sigprocmask(SIG_BLOCK, [WINCH], [], 8) = 0
> | 9996  rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> | 9996  write(1, "\r0% [Working]", 13)    = 13
> | 9996  select(1, [], [], NULL, {0, 500000}) = 0 (Timeout)
> | 9996  rt_sigprocmask(SIG_BLOCK, [WINCH], [], 8) = 0
> | 9996  rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> | 9996  write(1, "\r0% [Working]", 13)    = 13
> | 9996  select(1, [], [], NULL, {0, 500000}) = 0 (Timeout)
> | 9996  rt_sigprocmask(SIG_BLOCK, [WINCH], [], 8) = 0
> | 9996  rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> | 9996  write(1, "\r0% [Working]", 13)    = 13
> | 9996  select(1, [], [], NULL, {0, 500000}) = 0 (Timeout)

This part seems to be fixed with:
|  apt (1.1.1) unstable; urgency=medium
|  .
|    [ Michael Vogt ]
|    * Deal with killed acquire methods properly instead of hanging
|      (Closes: #806406)

that I grabbed from incoming.

I'm now getting this with an http://localhost/debian deb line in my
sources.list (which gets used to determine what to put in the local
sources.list.udeb used in d-i's build system):
| (sid-amd64-devel)kibi@wodi:~/debian-installer/installer$ make -C build build_netboot-gtk USE_UDEBS_FROM=sid 
| make: Entering directory '/home/kibi/debian-installer/installer/build'
| Using generated sources.list.udeb:
|    deb [trusted=yes] copy:/home/kibi/debian-installer/installer/build/ localudebs/
|    deb http://localhost/debian sid main/debian-installer
| make[2]: 'sources.list.udeb' is up to date.
| Running APT_GET (else)
| Reading package lists... Done
| E: Method gave invalid 400 URI Failure message: Could not get new groups - getgroups (22: Invalid argument)
| E: Method gave invalid 400 URI Failure message: Could not get new groups - getgroups (22: Invalid argument)
| E: Method copy has died unexpectedly!
| E: Sub-process copy returned an error code (112)

and slightly differently with a file:///srv/mirrors/debian deb line:
| (sid-amd64-devel)kibi@wodi:~/debian-installer/installer$ make -C build build_netboot-gtk USE_UDEBS_FROM=sid 
| make: Entering directory '/home/kibi/debian-installer/installer/build'
| Using generated sources.list.udeb:
|    deb [trusted=yes] copy:/home/kibi/debian-installer/installer/build/ localudebs/
|    deb copy:///srv/mirrors/debian sid main/debian-installer
| make[2]: 'sources.list.udeb' is up to date.
| Running APT_GET (else)
| Reading package lists... Done
| E: Method gave invalid 400 URI Failure message: Could not get new groups - getgroups (22: Invalid argument)
| E: Method copy has died unexpectedly!
| E: Sub-process copy returned an error code (112)

Coming to think of it, I vaguely remember groups-related issues below
schroot from the early systemd days (I kept sysvinit for a while because
of this), but that disappeared a long while ago.


Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: