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#39173 - makepkg -i fails if folder name has space characters

Attached to Project: Pacman
Opened by Mateus Rodrigues Costa (CharlesAtum) - Wednesday, 05 March 2014, 00:44 GMT
Last edited by Allan McRae (Allan) - Wednesday, 05 March 2014, 01:41 GMT
Task Type Bug Report
Category makepkg
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 4.1.2
Due in Version 4.2.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The following happens:

[mateus@mateus-arch acpi test build]$ LC_ALL=C makepkg -i
==> WARNING: A package has already been built, installing existing package...
==> Installing package acpi with pacman -U...
[sudo] password for mateus:
loading packages...
error: '/home/mateus/Área': could not find or read package
error: 'de': could not find or read package
error: 'trabalho/acpi': could not find or read package
error: 'test': could not find or read package
error: 'build/acpi-1.7-1-x86_64.pkg.tar.xz': could not find or read package
==> WARNING: Failed to install built package(s).

Additional info:
* pacman 4.1.2-5

Steps to reproduce:
1 - Create a folder with spaces in its name
2 - Put a PKGBUILD inside it
3 - Run makepkg -i inside the folder
This task depends upon

Closed by  Allan McRae (Allan)
Wednesday, 05 March 2014, 01:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed for 4.2 in git commit af1c9863
Comment by Anatol Pomozov (anatolik) - Wednesday, 05 March 2014, 01:30 GMT
Confirm this:


$ makepkg -i
==> WARNING: A package has already been built, installing existing package...
==> Installing package ruby-rr with pacman -U...
loading packages...
error: could not open file /tmp/1: Error reading fd 5
error: '/tmp/1': cannot open package file
error: '1/ruby-rr-1.1.2-1-any.pkg.tar.xz': could not find or read package
==> WARNING: Failed to install built package(s).
Comment by Allan McRae (Allan) - Wednesday, 05 March 2014, 01:41 GMT
Probably not going to be another 4.1.x release, but this is fixed in git commit af1c9863 for 4.2.

Loading...