Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716028 - dev-libs/zziplib-0.13.69-r1 needs pkg_setup implemented to initialize python
Summary: dev-libs/zziplib-0.13.69-r1 needs pkg_setup implemented to initialize python
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-04-03 13:18 UTC by Bernd
Modified: 2020-04-05 19:47 UTC (History)
1 user (show)

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


Attachments
zziplib-0.13.69-r1:20200402-211607.log (zziplib-0.13.69-r1:20200402-211607.log,1.50 KB, text/plain)
2020-04-03 13:18 UTC, Bernd
Details
emerge-info.txt (emerge-info.txt,6.75 KB, text/plain)
2020-04-03 13:19 UTC, Bernd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd 2020-04-03 13:18:04 UTC
While fixing a CI issue for sci-libs/umfpack-5.6.2 this package gets pulled in whit USE=doc and fails to find a suitable python.
By implementing a pkg_setup() which calls python-any-r1_pkg_setup when USE=test is used on the package, the build succeeds.

Reproducible: Always

Steps to Reproduce:
1. USE=doc emerge -pv =sci-libs/umfpack-5.6.2
2.
3.



I'm going to address this together with the fix of a CI issue for sci-libs/umfpack.
Comment 1 Bernd 2020-04-03 13:18:53 UTC
Created attachment 629412 [details]
zziplib-0.13.69-r1:20200402-211607.log

build log
Comment 2 Bernd 2020-04-03 13:19:07 UTC
Created attachment 629414 [details]
emerge-info.txt
Comment 3 Larry the Git Cow gentoo-dev 2020-04-05 19:47:35 UTC
The bug has been closed via the following commit(s):

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

commit ff6cea676da4f54fac65665f8a8a0d4fcbc88274
Author:     Bernd Waibel <waebbl@gmail.com>
AuthorDate: 2020-04-02 21:39:36 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-04-05 19:47:16 +0000

    dev-libs/zziplib: add pkg_setup
    
    Package needs it, to ensure that python-any-r1_pkg_setup is only called
    when USE=test is set.
    
    Closes: https://bugs.gentoo.org/716028
    Package-Manager: Portage-2.3.96, Repoman-2.3.22
    Signed-off-by: Bernd Waibel <waebbl@gmail.com>
    See also: https://github.com/gentoo/gentoo/pull/15212
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-libs/zziplib/zziplib-0.13.69-r1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)