Re: Follow up for bash-completion pkgconfig file packaging change

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

 



On Mon, 18 Mar 2024 17:07:08 +0100
Fabio Valentini <decathorpe@xxxxxxxxx> wrote:

> On Mon, Mar 18, 2024 at 4:33 PM Mamoru TASAKA <mtasaka@xxxxxxxxxxxxxxxxx> wrote:
> >
> > Hello, all:
> >
> > After investigating the recent Fedora-Security-Live livespin compose failure
> > on F-41, it is found that this is caused because:
> >
> > - Recently on F-41, bash-completion packaging changed so that pkgconfig file
> >    is moved into -devel subpackage: (bash-completion-2.11-15.fc41)
> >    https://src.fedoraproject.org/rpms/bash-completion/c/d1f5dc48c0440cc68efdd519b78fccca416cad94?branch=rawhide
> >
> > - A package (lynis) installing bash-completion file into the directory
> >    $(pkg-config --variable=completionsdir bash-completion), had "BuildRequires: bash-completion",
> >    but did not have "BuildRequires: pkgconfig(bash-completion)".
> >
> > - So after the above bash-completion side packaging change, the above command line was
> >    expanded to the empty string, so the completion file was installed into the wrong directory,
> >    which caused conflict with filesystem rpm.
> >
> >
> > So on F-41(rawhide), the packages
> >
> > * trying to install bash-completion file using $(pkg-config --variable=completionsdir bash-completion)
> > * which have "BuildRequires: bash-completion", but do NOT have "BuildRequires: pkgconfig(bash-completion)"
> >
> > may be installing completion file into wrong directories after rebuild.
> > (At least, I tried rebuilding cowsay and actually it installs completion file into the wrong
> >   directory).
> 
> I wonder why these packages rely in pkg-config and don't just install
> to `%{bash_completions_dir}`?

because it hasn't always exist? Or it's mentioned in some guidelines?


		Dan

> This macro is defined in the default buildroot, regardless of
> BuildRequires, and always expands to the correct location for
> installing bash completions.
> 
> Fabio
> --
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux