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


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

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

From picca <picca@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 11:30 +0200
Message-ID <L0LEZ-cyMS-7@gated-at.bofh.it> (permalink)
References <KZKrE-bUga-3@gated-at.bofh.it> <L0IQN-cwXv-7@gated-at.bofh.it> <KZKrE-bUga-3@gated-at.bofh.it> <L0IQN-cwXv-7@gated-at.bofh.it>
Organization Miaouh

Show all headers | View raw


Le 2025-06-23 08:24, Jochen Sprickerhof a écrit :
> 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?

Hello, I pushed my code here

git clone https://salsa.debian.org/picca/pkg-haskell-tools

to reproduce the issue

create a p directory in the repository
cd pkg-haskell-tools
mkdir p
cd p && apt source ufo-core
cd ..
cabal run make-all -- --unshare

With no chroot under ~.cache/sbuild/ so sbuild need to create a new one.

> 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.

With a prebuild schroot it works...


Fred

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