SliTaz SliTaz Forum

You are not logged in.

#1 2021-12-26 18:14:48

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

cpio: write error: No space left on device (in a chroot)

Hello,

I wanted to build a new version of libdrm/libdrm-radeon packages.

From release 2.4.101, libdrm needs meson and ninja as build dependences.

I modified the receipt but when cook installed the meson dependences I got this message:

[c][...]

Installing (web/cache): ninja-1.10.0

Installing (web/cache): xorg-libXss-1.2.3

Installing (web/cache): tcl-8.6.10

Installing (web/cache): tk-8.6.10

Installing (web/cache): py3k-3.7.0

cpio: write error: No space left on device

Extracting package...                                                  Failed

sh: write error: No space left on device

[...][/c]

Though there still was 90GB free on the disk. My understanding of this is that [c]cook[/c] use a limited cache space to install the build dependences of the package to build and this space is limited, right?

Just curious and I would to know.

Installing manually py3k in the chroot before running [c]cook libdrm[/c] solved the problem.

Offline

#2 2021-12-27 06:37:13

HGT
Administrator
From: Germany
Registered: 2016-03-25
Posts: 170

Re: cpio: write error: No space left on device (in a chroot)

By default, file systems of type aufs are created as file systems of type tmpfs with half the size of the real memory; disk space is not relevant.

The size can be changed as follows:

[c]# mount -o remount,size=newsize /dev/shm[/c]

Packages that are already installed in the "real" filesystem need not be installed in the aufs.

Offline

#3 2021-12-27 14:50:32

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: cpio: write error: No space left on device (in a chroot)

Thank you, HGT.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]