FS#48397 - [libarchive] LZO, test case has typo and fails build

Attached to Project: Arch Linux
Opened by Dylon Edwards (deltaecho) - Wednesday, 02 March 2016, 03:23 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 18 June 2016, 12:23 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
A typo in the unit test for test_extract_cpio_lzo causes makepkg to fail.

Additional info:
* This line, https://github.com/libarchive/libarchive/blob/v3.1.2/cpio/test/test_extract_cpio_lzo.c#L30, should be changed to its current version: https://github.com/libarchive/libarchive/blob/master/cpio/test/test_extract_cpio_lzo.c#L30
* The typo probably resulted from copying and modifying the unit test for lrzip, i.e. https://github.com/libarchive/libarchive/blob/master/cpio/test/test_extract_cpio_lrz.c#L30
* I've included a patch to address the issue


Steps to reproduce:
1. Copy the PKGBUILD and its related files to some build directory
2. Run "makepkg"
3. "makepkg" fails the check step, due to the aforementioned typo
This task depends upon

Closed by  Dave Reisner (falconindy)
Saturday, 18 June 2016, 12:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  libarchive-3.2.0

Loading...