Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#15866 - makepkg of latest rev 3.3.0-3 erros

Attached to Project: Arch Linux
Opened by Carbon (carbonjiao) - Sunday, 09 August 2009, 01:57 GMT
Last edited by Allan McRae (Allan) - Sunday, 09 August 2009, 03:14 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

when use "makepkg -R" to repack a package after delete the old .PKGINFO, errors as below:
-> Compressing package...
bsdtar: Failed to set default locale
bsdtar: .PKGINFO: Cannot stat: No such file or directory
bsdtar: Error exit delayed from previous errors.

Additional info:
* /usr/bin/makepkg is owned by pacman 3.3.0-3

Steps to solve:

Add "cd $pkgdir" to function write_pkginfo.

Below the diff info.

--- makepkg.orig 2009-08-06 19:19:46.000000000 +0800
+++ makepkg 2009-08-09 09:56:55.000000000 +0800
@@ -873,6 +873,7 @@
}

write_pkginfo() {
+ cd $pkgdir
local builddate=$(date -u "+%s")
if [ -n "$PACKAGER" ]; then
local packager="$PACKAGER"

This task depends upon

Closed by  Allan McRae (Allan)
Sunday, 09 August 2009, 03:14 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#15851 

Loading...