FS#36999 - [pacman] makepkg --nobuild doesn't check make dependencies

Attached to Project: Pacman
Opened by Patrick Smits (PS0) - Friday, 20 September 2013, 07:29 GMT
Last edited by Allan McRae (Allan) - Saturday, 09 August 2014, 06:17 GMT
Task Type Bug Report
Category makepkg
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version 4.1.2
Due in Version 4.2.0
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
Some packages, like chromium, have a PKGBUILD with a prepare function which depends on one or more packages listed in 'makedepends'. However, 'makedepends' is not checked by makepkg if you run it with the --nobuild option. This can cause an error. In case of chromium, the package 'nacl-toolchain-newlib' is required in the prepare function. A quick scan on /var/abs showed that the packages 'gendesk' and 'optipng' are sometimes required in prepare functions.

Additional info:
makepkg/pacman version 4.1.2
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 09 August 2014, 06:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  git commit dce82f9d
Comment by Allan McRae (Allan) - Sunday, 29 June 2014, 13:01 GMT
As an aside... gendesk and optipng should be used in build() and not prepare().

Loading...