Bug 1224157

Summary: installing opi pulls in unneded? packages
Product: [openSUSE] openSUSE Tumbleweed Reporter: Kostadin Shishmanov <kocelfc>
Component: OtherAssignee: Michael Schröder <mls>
Status: REOPENED --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: i, pujos.michael
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
See Also: https://bugzilla.opensuse.org/show_bug.cgi?id=1217776
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Kostadin Shishmanov 2024-05-13 07:13:22 UTC
When I try to install opi with `zypper in --no-recommends opi` it tries to pull in cmake, some qt{5,6} -devel packages, and a bunch of other things. Is it expected to pull this much stuff in?

This is the entire list of things it pulls in. 
binutils cmake cmake-full debugedit dwz gcc gcc13 gcc13-c++ gcc-c++ gettext-tools glibc-devel jq libasan8 libctf0 libctf-nobfd0 libhwasan0 libitm1 libjq1 libjsoncpp25 liblsan0 libonig5 libqt5-qtdeclarative-tools libQt6JsonRpc6 libQt6LanguageServer6 libQt6QmlCompiler6 librhash1 librpmbuild10 libstdc++6-devel-gcc13 libtsan2 libxcrypt-devel linux-glibc-devel make ninja opi patch python311-packaging python311-rpm python311-termcolor python-rpm-macros python-rpm-packaging qml-autoreqprov qt6-base-common-devel qt6-declarative-tools qt6-macros rpm-build rpm-build-perl squashfs.

Using TW with KDE.
Comment 1 Michael Pujos 2024-05-13 10:12:59 UTC
It comes from opi requiring rpm-build which in turn requires a bunch of things (to list them: zypper if --requires rpm-build).
Comment 2 Michael Pujos 2024-05-13 10:30:18 UTC
Still no idea what is pulling Qt5/6.
Comment 3 Kostadin Shishmanov 2024-05-13 10:55:19 UTC
Looks like it's a duplicate of bug 1217776

*** This bug has been marked as a duplicate of bug 1217776 ***
Comment 4 Kostadin Shishmanov 2024-05-13 11:32:43 UTC
This bug was originally about it pulling in stuff that rpm-build itself pulls in, but it turns out rpm-build itself (and squashfs) is supposed to be optional and might've only been needed for the testsuite? https://build.opensuse.org/package/rdiff/utilities/opi?linkrev=base&rev=125
Comment 5 hui 2024-05-14 14:23:14 UTC
The spec file of opi shows that rpm-build is a hard require...