FS#24146 - [makepkg] no version retrieval in clean chroot

Attached to Project: Pacman
Opened by Andrwe (Andrwe) - Saturday, 07 May 2011, 14:41 GMT
Last edited by Allan McRae (Allan) - Saturday, 07 May 2011, 23:13 GMT
Task Type Bug Report
Category makepkg
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version 3.5.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:

makepkg doesn't retrieve VCS version if run in a clean chroot using makechrootpkg.
The reason for this is that the VCS tools doesn't exist at the time they are called to get the version.
They are installed later when the makedepends are installed.

A possible solution would be to check for the needed tools before devel_check is run and install if missing.

Steps to Reproduce:

1) Create clean chroot
2) modify VCS-using PKGBUILD and comment the VCS update/clone part
3) run makechrootpkg
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 07 May 2011, 23:13 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#13727 
Comment by Andrwe (Andrwe) - Saturday, 07 May 2011, 14:45 GMT
A nice site effect if devel_check in a clean chroot succeed would be a unification of PKGBUILD for normal and VCS packages.

Loading...