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#32852 - [makepkg] newline characters are preserved in .PKGINFO files

Attached to Project: Pacman
Opened by Jesus Alvarez (demizer) - Sunday, 25 November 2012, 19:58 GMT
Last edited by Allan McRae (Allan) - Friday, 14 December 2012, 02:46 GMT
Task Type Bug Report
Category Scripts & Tools
Status Closed
Assigned To Allan McRae (Allan)
Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version 4.0.3
Due in Version 4.1.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:

When updating a repository with 'repo-add --sign --delta', pkgdelta produces the following error:

/bin/pkgdelta: line 86: with: command not found
/usr/bin/pkgdelta: line 86: with: command not found

Steps to Reproduce:

repo-add -s -d archnetflix.db.tar.xz wine-silverlight-1.5.18-1-x86_64.pkg.tar.xz

==> Extracting database to a temporary location...
==> Adding package 'wine-silverlight-1.5.18-1-x86_64.pkg.tar.xz'
-> Adding package signature...
-> Computing checksums...
-> Removing existing entry 'wine-silverlight-1.5.17-2'...
-> Creating 'desc' db entry...
-> Creating 'depends' db entry...
/usr/bin/pkgdelta: line 86: with: command not found
/usr/bin/pkgdelta: line 86: with: command not found
-> Adding 'deltas' entry : wine-silverlight-1.5.17-2-x86_64.pkg.tar.xz -> wine
-silverlight-1.5.18-1-x86_64.pkg.tar.xz
==> Creating updated database file 'archnetflix.db.tar.xz'
==> Signing database...

You need a passphrase to unlock the secret key for
user: "Jesus Alvarez <jeezusjr@gmail.com>"
2048-bit RSA key, ID 0EE7A126, created 2012-10-24

-> Created signature file archnetflix.db.tar.xz.sig.


Notes:

* The delta created seems to be fine.

* The github source of this repository can be viewed here: https://github.com/demizer/archnetflix

* The repository is hosted at http://demizerone.com/archnetflix
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 14 December 2012, 02:46 GMT
Reason for closing:  Fixed
Additional comments about closing:  git commit c8417f33
Comment by Jesus Alvarez (demizer) - Sunday, 25 November 2012, 20:01 GMT
So sorry about the missing subject. It should be

[pkgdelta] sed pattern out of date, command not found
Comment by Dave Reisner (falconindy) - Sunday, 25 November 2012, 20:50 GMT
You have a newline in your pkgdesc= variable which causes this. We shouldn't be failing on that, persay, but I thought I'd point out why this error occurs.

The bug here is in makepkg, not pkgdelta. We shouldn't be allowing newline characters, or we should be convert them to whitespace.
Comment by Dave Reisner (falconindy) - Sunday, 25 November 2012, 21:08 GMT Comment by Jesus Alvarez (demizer) - Sunday, 25 November 2012, 22:39 GMT
HA! Damn vim autowrapping.

Loading...