Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708342 - app-arch/lbzip2-2.5_p20181227-r1 - src_test(): /bin/sh: ../build-aux/test-driver: No such file or directory
Summary: app-arch/lbzip2-2.5_p20181227-r1 - src_test(): /bin/sh: ../build-aux/test-dri...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matt Turner
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-02-05 13:44 UTC by Étienne Buira
Modified: 2020-02-21 20:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Étienne Buira 2020-02-05 13:44:51 UTC
This version does not run test, because upstream commit https://github.com/kjn/lbzip2/commit/aac5d7688167ea3301d4f68705e718732c4710e6 looks partially applied.

Also, is there a valid reason to use sources from ~whissi instead of upstream (maybe with some patching)?

Reproducible: Always

Steps to Reproduce:
FEATURES="test" emerge =app-arch/lbzip2-2.5_p20181227-r1

...
/bin/sh: ../build-aux/test-driver: No such file or directory
...
Actual Results:  
Error:
/bin/sh: ../build-aux/test-driver: No such file or directory

Expected Results:  
Successfull build & tests
Comment 1 Larry the Git Cow gentoo-dev 2020-02-21 20:33:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=038d05af9bc94a6ed14ffe96592536986c7b6186

commit 038d05af9bc94a6ed14ffe96592536986c7b6186
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2020-02-21 19:54:54 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2020-02-21 20:33:47 +0000

    app-arch/lbzip2: Run eautoreconf to fix tests
    
    Closes: https://bugs.gentoo.org/708342
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 app-arch/lbzip2/lbzip2-2.5_p20181227-r1.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 2 Matt Turner gentoo-dev 2020-02-21 20:37:30 UTC
(In reply to Étienne Buira from comment #0)
> This version does not run test, because upstream commit
> https://github.com/kjn/lbzip2/commit/
> aac5d7688167ea3301d4f68705e718732c4710e6 looks partially applied.
> 
> Also, is there a valid reason to use sources from ~whissi instead of
> upstream (maybe with some patching)?

There was a bzip2 change that broken lbzip2. lbzip2 was fixed, but in a large series of commits done after the last release (v2.5). The fix did not cherry-pick easily, so we decided to make a snapshot tarball instead.

I regenerated a tarball (with make dist) and it passes the test suite when I run make check manually. For reasons I don't understand it fails in exactly the same manner you describe when run from portage.

So I don't know... easy fix committed -- just run eautoreconf.