You are not logged in.

#1 2013-05-18 10:35:08

leniviy
Member
Registered: 2009-05-23
Posts: 177

build disk space hint in PKGBUILD for big packages like qt

I like to build packages in /tmp/ , but some of them require more space.

df -h /tmp/
Avail
1003M

Why not add a new optional variable in PKGBUILD, e.g.: "makespace=1500M"
that would cause makepkg die if not enough space?
makepkg wrappers could analyze this variable and choose a proper place for build.


Arch 64, xfce4

Offline

#2 2013-05-18 10:50:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: build disk space hint in PKGBUILD for big packages like qt

You can add a regular comment and leave it up to the users to build outside /tmp if needed.

Offline

#3 2015-01-22 16:02:02

Lekensteyn
Member
From: Netherlands
Registered: 2012-06-19
Posts: 192
Website

Re: build disk space hint in PKGBUILD for big packages like qt

FWIW, qt5 5.4.0-3 with OPTIONS+=(debug) and -ggdb -fno-omit-frame-pointer in DEBUG_C{,XX}FLAGS still had a space shortage after src/ consumed 12G (the build failed).

OT: makespace=... would not be sufficient if you are building it on your main system because many packages auto-detect additional functionality.

It would be nice if Arch keeps a build log for (recent) packages.

Offline

Board footer

Powered by FluxBB