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#5057 - Makepkg fails when extracting archive if files already exist

Attached to Project: Pacman
Opened by Casey McGinty (cmcginty) - Monday, 17 July 2006, 06:33 GMT
Last edited by Judd Vinet (judd) - Friday, 04 August 2006, 05:43 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I noticed that the 'makepkg' command will fail if I try to run it more than once on the linux26 package. Here is the output of the second run:

==> Validating source files with MD5sums
linux-2.6.17.tar.bz2 ... Passed
patch-2.6.17.6.bz2 ... Passed
linux-r1000(103).zip ... Passed
r1000-build.patch ... Passed
config ... Passed
config.x86_64 ... Passed
logo_linux_clut224.ppm ... Passed
logo_linux_mono.pbm ... Passed
logo_linux_vga16.ppm ... Passed
mkinitcpio-kernel26.conf ... Passed
powernow-k7.patch ... Passed
acpi-dsdt-initrd-v0.8.1-2.6.16.patch ... Passed
pata-fix.diff ... Passed
pwc-2.6.18-backport.patch.bz2 ... Passed
pcspeaker_x86_64.patch ... Passed
==> Extracting Sources...
==> tar --use-compress-program=bzip2 -xf linux-2.6.17.tar.bz2
==> bunzip2 patch-2.6.17.6.bz2
bunzip2: Output file patch-2.6.17.6 already exists.
==> ERROR: Failed to extract patch-2.6.17.6.bz2
==> Aborting...


I think that if the file already exists it should be overridden without an error message. The command actually already does this (extraction of linux source code worked), but in this situation (patch file) it causes a failure.

This task depends upon

Closed by  Aaron Griffin (phrakture)
Wednesday, 03 January 2007, 06:43 GMT
Reason for closing:  Implemented
Additional comments about closing:  Fixed in CVS
Comment by Casey McGinty (cmcginty) - Tuesday, 18 July 2006, 02:01 GMT
The fix is to add '-f' to bunzip2 command. Also should update other decompressors that do not have 'force' flag set.

Loading...