Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1250847

Bug#1108092: sbuild: [unshare] E: Sub-process cat >&11 returned an error code (2)

From Jochen Sprickerhof <jspricke@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1108092: sbuild: [unshare] E: Sub-process cat >&11 returned an error code (2)
Date 2025-06-23 08:30 +0200
Message-ID <L0IQN-cwXv-7@gated-at.bofh.it> (permalink)
References <KZKrE-bUga-3@gated-at.bofh.it> <KZKrE-bUga-3@gated-at.bofh.it>
Organization The Debian Project

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Frederic,

* Frederic-Emmanuel Picca <picca@debian.org> [2025-06-20 15:54]:
>I try to use sbuild unshare with a modified version of dht, the program call sbuild and it failed

I assume you mean dht from pkg-haskell-tools. Can you provide the 
modified version somewhere so we can test it?

>it end up with this error
>
>E: Sub-process cat >&11 returned an error code (2)
>E: Failure running script cat >&11
>E: apt download failed: E: apt-get --yes -oDebug::pkgDpkgPm=1 -oDir::Log=/dev/null -oAPT::Keep-Fds::=11 -oDPkg::Tools::options::'cat >&11'::InfoFD=11 -oDpkg::Pre-Install-Pkgs::=cat >&11 -oDebug::NoLocking=1 -oDpkg::Use-Pty=0 -oDPkg::Chroot-Directory= install ?narrow(?or(?archive(^unstable$),?codename(^unstable$)),?architecture(amd64),?essential) -oAPT::Status-Fd=<$fd> -oDpkg::Use-Pty=false failed: process exited with 100 and error in console output
>W: hooklistener errored out: E: received eof on socket

That looks like a follow up error and the real reason is "in console 
output" that is not included.

>it seems that this script is not sh compatible, especially the >&11 syntax.

That part is actually from mmdebstrap. You could try with a prebuild 
chroot.tar.

Cheers Jochen

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1108092: sbuild: [unshare] E: Sub-process cat >&11 returned an error code (2) Frederic-Emmanuel Picca <picca@debian.org> - 2025-06-20 16:00 +0200
  Bug#1108092: sbuild: [unshare] E: Sub-process cat >&11 returned an error code (2) Jochen Sprickerhof <jspricke@debian.org> - 2025-06-23 08:30 +0200
    Bug#1108092: sbuild: [unshare] E: Sub-process cat >&11 returned an error code (2) picca <picca@debian.org> - 2025-06-23 11:30 +0200
  Bug#1108092: Info received (Bug#1108092: sbuild: [unshare] E: Sub-process cat >&11 returned an error code (2)) picca <picca@debian.org> - 2025-06-23 11:30 +0200
    Bug#1108092: sbuild: [unshare] E: Sub-process cat >&11 returned an error code (2) Jochen Sprickerhof <jspricke@debian.org> - 2025-06-23 14:00 +0200
      Bug#1108092: sbuild: [unshare] E: Sub-process cat >&11 returned an error code (2) picca <picca@debian.org> - 2025-06-23 14:40 +0200
        Bug#1108092: sbuild: [unshare] E: Sub-process cat >&11 returned an error code (2) Jochen Sprickerhof <jspricke@debian.org> - 2025-06-23 14:50 +0200
          Bug#1108092: sbuild: [unshare] E: Sub-process cat >&11 returned an error code (2) picca <picca@debian.org> - 2025-06-23 15:00 +0200
            Bug#1108092: sbuild: [unshare] E: Sub-process cat >&11 returned an error code (2) Jochen Sprickerhof <jspricke@debian.org> - 2025-06-23 15:30 +0200
              Bug#1108092: sbuild: [unshare] E: Sub-process cat >&11 returned an error code (2) picca <picca@debian.org> - 2025-06-23 16:10 +0200
              Bug#1108092: sbuild: [unshare] E: Sub-process cat >&11 returned an error code (2) picca <picca@debian.org> - 2025-06-23 17:10 +0200
                Bug#1108092: sbuild: [unshare] E: Sub-process cat >&11 returned an error code (2) Jochen Sprickerhof <jspricke@debian.org> - 2025-06-23 20:30 +0200
                Bug#1108092: sbuild: [unshare] E: Sub-process cat >&11 returned an error code (2) picca <picca@debian.org> - 2025-06-24 15:00 +0200
                Bug#1108092: sbuild: [unshare] E: Sub-process cat >&11 returned an error code (2) Jochen Sprickerhof <jspricke@debian.org> - 2025-06-24 15:10 +0200
  Bug#1108092: sbuild: [unshare] E: Sub-process cat >&11 returned an error code (2) picca <picca@debian.org> - 2025-06-24 15:10 +0200

csiph-web