Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#23545 - [makepkg] cannot create temp file for here-document

Attached to Project: Pacman
Opened by tiziano (monotiz) - Friday, 01 April 2011, 09:32 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 06 April 2011, 17:35 GMT
Task Type Bug Report
Category makepkg
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Medium
Priority Normal
Reported Version 3.5.1
Due in Version 3.5.2
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I can't compile with makepkg. The error is:
/usr/bin/makepkg: line 289: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 293: cannot create temp file for here-document: Successo

This is my /tmp permission:
drwxrwxrwt 9 root root 12288 1 apr 11.25 tmp

I tried to unistall and re-install the base-devel meta-pkg.

Steps to reproduce:
trying for compile with yaourt or makepkg I obtain this error.
This task depends upon

Closed by  Dan McGee (toofishes)
Wednesday, 06 April 2011, 17:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.5.2, commit a164c8405a0fb08cc
Comment by Dan McGee (toofishes) - Friday, 01 April 2011, 17:34 GMT
  • Field changed: Attached to Project (Arch Linux → Pacman)
Wrong project. You also haven't provided a version of makepkg you are running.
Comment by Allan McRae (Allan) - Friday, 01 April 2011, 22:12 GMT
Hmm... those lines are:

local needle=$(tr '[:upper:]' '[:lower:]' <<< $1); shift
opt=$(tr '[:upper:]' '[:lower:]' <<< $opt)

which are actually removed from the next version of makepkg. So this will solve itself....


Anyway, I think this is unrelated to makepkg. This error is generally a sign of a filesystem permissions issue (although the "Success" message is confusing me). I would like to see the output of "df" and "cat /proc/mounts".
Comment by tiziano (monotiz) - Saturday, 02 April 2011, 10:43 GMT
Solved by delete the 2 lines.

Loading...