Re: [Solved] Re: PKGBUILD ERROR

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



On Fri, Sep 11, 2015 at 2:08 PM, Ralf Mardorf <ralf.mardorf@xxxxxxxxxxxxxx>
wrote:

> >FWIW I'm using yaourt and usually it doesn't fail. There's just one
> >issue I encounter from time to time, but that also happens when using
> >makepkg. By default I set up makepkg to build in tmpfs and it
> >sometimes is too small. One time building a kernel failed, but usually
> >building default Arch kernels works with around 2 GiB tmpfs. If I build
> >a bloated web browser, such as e.g. firefox, the around 2 GiB tmpfs
> >don't provide the needed space. IMO building in tmpfs isn't really
> >faster, but I like it, because I don't need to tidy up tmpfs ;). Btw.
> >makepkg is set up to save the packages not in the tmpfs, but in a cache
> >to archive packages.
>
> My apologies. Just for fun I read the "Clean build" entry.
>
> That's correct! The setting to build in tmpfs is for yaourt, I just
> tend to run makepkg in tmpfs too. However, indeed, if it fails I build
> outside tmpfs using makepkg.
>

I don't see your first email...

Anyway, if I were you I'd do something like:

TMPDIR=/var/aur-build/ yaourt -S some-package
Package will be built in: /var/aur-build/yaourt-tmp-$USER/
instead of in: /tmp/yaourt-tmp-$USER/

yaourt helpfully includes useful environment variables for exactly this
purpose. :)

-- Eli Schwartz


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux