[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: obs dependencies (suse)


On 12/16/24 08:48, Bruce Steers wrote:


On Fri, 13 Dec 2024 at 18:59, T Lee Davidson <t.lee.davidson@xxxxxxxxx <mailto:t.lee.davidson@xxxxxxxxx>> wrote:

    On 12/13/24 10:35, T Lee Davidson wrote:
     >> Otherwise I don't understand why there are some development packages (qt6 for example?). They are not in the 'spec'
    file, they
     >> must be indirect dependencies.
     >>
     >> Which command did you use exactly to install all that?
     >
     > I simply used the instructions on OBS:
     > zypper addrepo https://download.opensuse.org/repositories/home:gambas:master/openSUSE_Leap_15.6/home:gambas:master.repo
    <https://download.opensuse.org/repositories/home:gambas:master/openSUSE_Leap_15.6/home:gambas:master.repo>
     > zypper refresh
     > zypper install gambas3
     >

    I did a system rollback and then executed `zypper install --no-recommends gambas3`.

    This time, zypper proposed to install only 204 new packages, and it listed no *-devel packages. I copied the package list and
    reformatted it for easier readability: packages-no-recommends.txt attached.

    I am now focusing on which of the 18 recommended packages might be responsible for triggering installation of the Qt6 devel
    package.

    Note: The 18 currently recommended packages according to zypper:
    autoconf
    automake
    bison-lang
    gcc
    gnome-keyring
    gnome-keyring-pam
    gstreamer-plugins-bad
    gstreamer-plugins-good
    gstreamer-plugins-good-gtk
    make-lang
    patch
    python-rpm-generators
    qt6-imageformats
    qt6-translations
    rlwrap
    rpm-build
    secret-tool
    translate-shell


-- Lee


I take back what i said now.
Sorry i installed from a fresh os setup and got similar results this time to Lee.

I guess the previous time it was "updating" all those devel files previously installed due to compiling gambas and was not "installing" them.

Sorry for the fuss
BruceS

I don't think it's a fuss, Bruce. Unless the install command is given the '--no-recommends' option, openSUSE *does* install '-devel' packages that should not be needed. In my case it was over 300 total packages.

At least one of the 18 recommended packages, through its direct or indirect dependencies, is triggering the installation of those '-devel' packages. And, I think that zypper's dependency solver just might pull in unneeded packages.

I tried to do a reverse dependency search and found packages that were automatically installed, supposedly to satisfy a dependency, but for which there was no installed package that required or recommended it. So it appeared that there was no reason for it to be automatically installed.

Even though if openSUSE does have an issue, your post highlighted it which is helpful for us when creating the installation instructions for the OBS repo on the Wiki.


--
Lee

--- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ----
--- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----


Follow-Ups:
Re: obs dependencies (suse)Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
References:
obs dependencies (suse)Bruce Steers <bsteers4@xxxxxxxxx>
Re: obs dependencies (suse)Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: obs dependencies (suse)T Lee Davidson <t.lee.davidson@xxxxxxxxx>
Re: obs dependencies (suse)Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: obs dependencies (suse)T Lee Davidson <t.lee.davidson@xxxxxxxxx>
Re: obs dependencies (suse)T Lee Davidson <t.lee.davidson@xxxxxxxxx>
Re: obs dependencies (suse)Bruce Steers <bsteers4@xxxxxxxxx>