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#10725 - makepkg fail to work when directory contains spaces in the name

Attached to Project: Pacman
Opened by Ionut Biru (wonder) - Saturday, 21 June 2008, 21:48 GMT
Last edited by Allan McRae (Allan) - Thursday, 26 June 2008, 06:46 GMT
Task Type Bug Report
Category makepkg
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 3.1.4
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:
makepkg fail to work when directory contains spaces in the name


Steps to Reproduce:

/home/wonder/packages/untitled folder/freetype2

makepkg fails at cd $startdir/freetype-${pkgver}

if i put that in " " then that line will work but then will fail on compiling

after configure

make: Nothing to be done for `unix'.
config.mk:36: /home/wonder/packages/untitled: No such file or directory
config.mk:36: folder/freetype2-ubuntu/src/freetype-2.3.6/builds/freetype.mk: No such file or directory
config.mk:57: /home/wonder/packages/untitled: No such file or directory
config.mk:57: folder/freetype2-ubuntu/src/freetype-2.3.6/builds/unix/install.mk: No such file or directory
builds/toplevel.mk:158: /home/wonder/packages/untitled: No such file or directory
builds/toplevel.mk:158: folder/freetype2-ubuntu/src/freetype-2.3.6/builds/modules.mk: No such file or directory
make: *** No rule to make target `folder/freetype2-ubuntu/src/freetype-2.3.6/builds/modules.mk'. Stop.
This task depends upon

Closed by  Allan McRae (Allan)
Thursday, 26 June 2008, 06:46 GMT
Reason for closing:  Implemented
Additional comments about closing:  Fix makepkg in git repo. PKGBUILD and upstream build files need to be fixed by their maintainers.
Comment by Allan McRae (Allan) - Sunday, 22 June 2008, 04:10 GMT
I see this was fixed in the the git version but I reintroduced some problems when adding the source packaging...
Comment by Xavier (shining) - Thursday, 26 June 2008, 06:19 GMT
Is that really a problem in makepkg and not in the configure script?
I think directories/filenames with space are in general not appreciated by lunix softwares.
Comment by Allan McRae (Allan) - Thursday, 26 June 2008, 06:44 GMT
Yes, this specific example is because of the PKGBUILD not supporting spaces and the package build scripts not supporting spaces. So not a problem of makepkg.

I am closing this as all the internal makepkg support for directories with spaces is fixed in git. Not much we can do about the others.

Loading...