Open mloskot opened 12 years ago
Unfortunately this patch doesn't apply anymore, but the problem still occurs:
$ packer -Syu --noconfirm
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
there is nothing to do
:: Synchronizing aur database...
aur 72 72 [###############################]100%
:: Starting full aur upgrade...
Aur Targets (1): hipchat
Proceed with installation? [Y/n]
==> Making package: hipchat 2.2.1270-2 (Mon Dec 1 09:10:11 CET 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading hipchat-2.2.1270-x86_64.pkg.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 43.2M 100 43.2M 0 0 1793k 0 0:00:24 0:00:24 --:--:-- 1827k
==> Validating source files with sha1sums...
hipchat-2.2.1270-x86_64.pkg.tar.xz ... Passed
==> Extracting sources...
-> Extracting hipchat-2.2.1270-x86_64.pkg.tar.xz with bsdtar
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Purging unwanted files...
-> Removing libtool files...
-> Removing static library files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package "hipchat"...
-> Generating .PKGINFO file...
-> Adding install file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: hipchat 2.2.1270-2 (Mon Dec 1 09:11:48 CET 2014)
loading packages...
error: 'hipchat-2.2.1270-x86_64.pkg.tar.xz': duplicate target
I had a look to see if I could re-roll the patch, but I didn't understand the code well enough. What can we do to get this fixed?
New version of the patch - https://github.com/azat-archive/packer/commit/dbcace7e2058ceb8ccc82389b9bb0df0203caeee
...requent warning/error: duplicate target of xyz. Based on patch posted to https://bbs.archlinux.org/viewtopic.php?pid=907691#p907691
This helps to avoid errors like: