You are not logged in.
Pages: 1
Topic closed
I have a fresh arch installation (installed a few days ago) and building packages worked fine. But today i wanted to install a few programs with yaourt and from the abs (wine,xbmc-git,archey3,zathura-git) and makepkg fails everytime. The programs are always compiled without problems.
...
==> Entering fakeroot environment...
/usr/bin/makepkg: line 1466: cannot create temp file for here-document: Success
/usr/bin/makepkg: line 1475: cannot create temp file for here-document: Success
==> Starting build()...
==> Connecting to GIT server....
Cloning into 'archey3'...
error: Unable to create /tmp/yaourt-tmp-sysrmr/aur-archey3/src/archey3/.git/HEAD
warning: unable to unlink /tmp/yaourt-tmp-sysrmr/aur-archey3/src/archey3/.git/HEAD.lock: Success
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build archey3.
The makepkg errors (line 1466,1475) are always there. The Errors after Starting build() always change but always something with file permissions.
/usr/bin/makepkg Line 1466 is the same like Line 1475:
eval i=\"$(sed 's/^\(['\''"]\)\(.*\)\1$/\2/' <<< "${i%%+([[:space:]])}")\"
Wine also has the error: /usr/bin/makepkg: line 1553: cannot create temp file for here-document: Success
Line 1553:
eval file=\"$(sed 's/^\(['\''"]\)\(.*\)\1$/\2/' <<< "$file")\"
Offline
Hi,
have you checked whether you've got enought free disk space in /tmp? I remember having had a similar error once, and deleting some unused files plus clearing my package cache (yaourt -Scc) fixed the problem.
Offline
@X - Plenty of free space on /tmp
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Lets take a guess... /tmp is mounted noexec?
Does it work without yaourt? Or building outside of tmp?
Offline
have enough free space.
no /tmp is mounted without noexec. also tried with and without own tmpfs partition.
no doesnt work with yaourt and also same error if i build the package in my home dir.
deleted the yaourt tmp directory and deleting /usr/bin/makepkg and reinstalling also not helped.
i downgraded sed (was updated 1 or 2 days ago), because it was used in the makepkg lines with the error. but the error is still there
Offline
Offline
The fakeroot example works without problems. But yes it seems fakeroot is the problem. Disabling fakeroot in makepkg makes it work. Removing and reinstalling fakeroot doesn't help.
Offline
Same here. Whenever I try to build any package the error occur. An example with the dropbox AUR package:
/usr/bin/makepkg: line 1915: 24182 Bus error (core dumped) ${COMPRESSXZ[@]:-xz -c -z -}
bsdtar: Write error
==> ERROR: Failed to create package file.
==> ERROR: Makepkg was unable to build dropbox.
Offline
You say 'same here' but you have a different error. Did disabling fakeroot in makepkg work?
What's the output of 'df -h' and 'df -ih'?
Are you using some AUR helper?
Offline
Sorry, i said that because I'm having the same problem that is not being able to build a package.
So, I have plenty of space in my tmp, disabling fakeroot changed nothing.
What do you mean with AUR helper?
Offline
I'm asking how exactly are you building the package, what command do you use? Pure makepkg, yaourt or something else?
Last edited by karol (2013-08-14 03:45:50)
Offline
I'm using yaourt.
Offline
$df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 9.3G 7.7G 1.2G 88% /
dev 1005M 0 1005M 0% /dev
run 1006M 1.2M 1005M 1% /run
tmpfs 1006M 0 1006M 0% /dev/shm
tmpfs 1006M 0 1006M 0% /sys/fs/cgroup
tmpfs 1006M 118M 889M 12% /tmp
/dev/sda1 30M 17M 12M 59% /boot
/dev/sda4 1.8T 1.1T 704G 60% /home
I'm not out of space.
Offline
Same problem today with freshly installed Antergos.
Try:
pacman -Sy base-devel
Last edited by Alphanumerix (2013-12-07 15:10:28)
Offline
$df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 9.3G 7.7G 1.2G 88% / dev 1005M 0 1005M 0% /dev run 1006M 1.2M 1005M 1% /run tmpfs 1006M 0 1006M 0% /dev/shm tmpfs 1006M 0 1006M 0% /sys/fs/cgroup tmpfs 1006M 118M 889M 12% /tmp /dev/sda1 30M 17M 12M 59% /boot /dev/sda4 1.8T 1.1T 704G 60% /home
I'm not out of space.
I don't think it's the problem here but it's possible to get the same errors even with lots of disk space if you're out of inodes. You can use 'df -i' to verify
Offline
Same problem today with freshly installed Antergos.
Try:pacman -Sy base-devel
That is actually poor advice. One should not use the -Sy without u.
Edit: BTW, welcome to the Arch Linux forums. Just be aware that you are not running a pure Arch installation, so we won't really be able to provide support.
Last edited by ewaller (2013-12-07 16:31:08)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
In my case, I had `nosuid` set in my /etc/fstab entry for tmpfs on /tmp. Resolved the issue, thanks since the `noexec` comment in this thread hinted me in the right direction.
Offline
I had `nosuid` set in my /etc/fstab entry for tmpfs on /tmp. Resolved the issue (...)
Sorry, did *adding* or *removing* nosuid resolve your issue?
Offline
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed