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#53068 - [git] PKGBUILD check() misses builddeps, assumes local environment

Attached to Project: Arch Linux
Opened by Matt Corallo (BlueMatt) - Thursday, 23 February 2017, 19:31 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 22 April 2017, 17:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

To actually pass the test suite git needs at least perl, man, and requires PATH to include /usr/bin/core_perl (for prove). Additionally, it requires that /dev/shm is not mounted with "noexec", which is a common option for /dev/shm.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Saturday, 22 April 2017, 17:22 GMT
Reason for closing:  Not a bug
Comment by Matt Corallo (BlueMatt) - Thursday, 23 February 2017, 19:32 GMT
It looks like "expect" is also required.
Comment by Doug Newgard (Scimmia) - Saturday, 25 February 2017, 15:49 GMT
I don't know what the issue here is. Perl is in the depends array, which has to be installed at build time, and adds the correct path. Custom mount options require custom changes, that's not a packaging ussue.
Comment by Matt Corallo (BlueMatt) - Monday, 27 February 2017, 22:11 GMT
Hmm, well it appears my system was not reading the /etc/profile.d file, which it probably should be - I'll file that under "my bug to fix".

In any case, the requirement for "/dev/shm" being non-noexec kinda sucks - it prevents systems from auto-building packages in VMs (well, ok, containers and the like) which often do not mount /dev/shm with exec. AFAICT there is relatively little disk write during test, so I'm not sure what the reason is to keep it (also pollutes host state instead of keeping all the build objects in one place).

As for why my builds were previously failing without expect/man-db, I suppose I had something else fucked, because they appear to now, ignore that.

Loading...