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#17460 - [srcpac] can't find PKGBUILDs under /var/abs

Attached to Project: Pacman
Opened by Phillip Michael (oopsicrappe) - Friday, 11 December 2009, 01:52 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 06 March 2010, 22:39 GMT
Task Type Bug Report
Category Scripts & Tools
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Medium
Priority Normal
Reported Version git
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:
When I try to use srcpac to build a package (in this case mpd) from source, it gives me this error:
Error: Could not find "mpd-0.15.6" under /var/abs/

My abs tree is up to date.
This happens with both version 0.6 and the latest git.

Steps to Reproduce:
# srcpac -Sy
# srcpac -Sb mpd

Source Targets: mpd-0.15.6

Proceed? [Y/n]y
Error: Could not find "mpd-0.15.6" under /var/abs/
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Saturday, 06 March 2010, 22:39 GMT
Reason for closing:  Fixed
Additional comments about closing:  on git
Comment by Phillip Michael (oopsicrappe) - Saturday, 12 December 2009, 05:49 GMT
If I mv the directory /var/abs/extra/mpd/ to /var/abs/extra/mpd-0.15.6/ srcpac is able to find it.
Comment by Andrea Scarpino (BaSh) - Saturday, 12 December 2009, 12:10 GMT
srcpac-git works fine here
   log (2.2 KiB)
Comment by Phillip Michael (oopsicrappe) - Saturday, 12 December 2009, 17:38 GMT
This is strange. Srcpac is also unable to install binary packages for me:
# srcpac -Su
apvlv-0.0.8.0 package not found, searching for group...
error: 'apvlv-0.0.8.0': not found in sync db
Comment by Phillip Michael (oopsicrappe) - Sunday, 13 December 2009, 09:50 GMT
I found the problem. I have PKGEXT='.pkg.tar.xz' in my makepkg.conf so the packages I build are compressed with xz. The problem is, get_pkgname is trying to strip $PKGEXT from the name of the name of the package, but the url from pacman -Sp ends in .pkg.tar.gz.
Comment by Phillip Michael (oopsicrappe) - Tuesday, 02 March 2010, 19:16 GMT
This is causing a bigger problem now that some packages in the official repos have the .pkg.tar.xz extension. For instance, right now if I do srcpac -Su, I get:
filesystem-2010.02 package not found, searching for group...
error: 'filesystem-2010.02': not found in sync db

Loading...