Welcome to the Pacman bug tracker. Please search the current bugs and feature requests before filing a new one! Use advanced search and select "Search in Comments".

* Please select the correct category and version.
* Write a descriptive summary, background info, and provide a reproducible test case whenever possible.

FS#29106 - source cache — conflicts of different files with same name

Attached to Project: Pacman
Opened by pumbur (pumbur) - Sunday, 25 March 2012, 10:27 GMT
Last edited by Dan McGee (toofishes) - Sunday, 25 March 2012, 20:08 GMT
Task Type Bug Report
Category makepkg
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version 4.0.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No



1. enable source cache. (SRCDEST variable in makepkg.conf)
2. build this package:
3. try to build this package:

both packages are valid, problem is that makepkg save all files by their original names in one directory.

need to add checksum for file names, somthing like this: "${original_filename}.${checksum}"
This task depends upon

Closed by  Dan McGee (toofishes)
Sunday, 25 March 2012, 20:08 GMT
Reason for closing:  Won't implement
Additional comments about closing:  Functionality exists to work around the problem; KISS.
Comment by Allan McRae (Allan) - Sunday, 25 March 2012, 10:33 GMT
Use the facilities already available for giving files a unique name. See "man PKGBUILD" and read about the source array.
Comment by Dan McGee (toofishes) - Sunday, 25 March 2012, 20:07 GMT
Sane source files usually have unique names with a version number in them, so I'm not too concerned about this- as Allan noted, we have functionality in place to allow renaming of source files, so that is an easy workaround in this case.
Comment by pumbur (pumbur) - Monday, 26 March 2012, 15:45 GMT
are you sure?)

there many packages with this bug. (at least 4 in extra, more than 30 in community and hundreds in aur).
i think that fix bug in makepkg once is "simple" than fix these packages.