Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729986 - dev-qt/qt-docs: multiple use flag issues.
Summary: dev-qt/qt-docs: multiple use flag issues.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal minor
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-28 10:39 UTC by xbjfk.github
Modified: 2020-07-02 10:51 UTC (History)
0 users

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


Attachments
build log with only html and/or qch use flag (build-1.log,1.75 KB, text/x-log)
2020-06-28 10:39 UTC, xbjfk.github
Details
build without core use flag (build-2.log,1.98 KB, text/x-log)
2020-06-28 10:40 UTC, xbjfk.github
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xbjfk.github 2020-06-28 10:39:26 UTC
Created attachment 646926 [details]
build log with only html and/or qch use flag

When trying to emerge any current dev-qt/qt-docs with only the html and/or qch use flags, portage throws an error:
The source directory '/var/tmp/portage/dev-qt/qt-docs-5.15.0_p202005140838/work/Docs/Qt-5.15.0' doesn't exist
[see build-1.log]

Maybe the ebuilds REQUIRED_USE should be update to require at least one of the other use flags.

The other problem is that when qt-docs is built without the core flag, the png is trying to be fixed, but the file that is being fixed is provided by the core flag. A if statement should be added to only run pngfix if the core flag is enabled.
[see build-2.log]
Comment 1 xbjfk.github 2020-06-28 10:40:19 UTC
Created attachment 646928 [details]
build without core use flag
Comment 2 Andreas Sturmlechner gentoo-dev 2020-06-28 17:21:49 UTC
Rather than adding an expensive REQUIRED_USE for that, it would probably be best to simply drop IUSE=core and install it unconditionally. Solves both issues.
Comment 3 Larry the Git Cow gentoo-dev 2020-07-02 10:51:46 UTC
The bug has been closed via the following commit(s):

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

commit 2b0c2a55e31f03f7d1b7175f6a15866f0b1b1c4d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-07-02 10:50:40 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-07-02 10:51:30 +0000

    dev-qt/qt-docs: Drop IUSE=core and install tarballs unconditionally
    
    It is probably not unreasonable for those components and solves two issues.
    
    Reported-by: <xbjfk.github@gmail.com>
    Closes: https://bugs.gentoo.org/729986
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qt-docs/qt-docs-5.15.0_p202005140838.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)