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).

The possible packages which may need fixing are:

     1  cowsay/rawhide/cowsay.spec      %global compdir %(pkg-config 
--variable=completionsdir bash-completion)
     2  creds/rawhide/creds.spec        %global bashcompdir %(pkg-config 
--variable=completionsdir bash-completion)
     3  datamash/rawhide/datamash.spec  pkg-config --variable=completionsdir 
bash-completion ||
     4  dracut/rawhide/dracut.spec                  
--bashcompletiondir=$(pkg-config --variable=completionsdir bash-completion) \
     5  eg/rawhide/eg.spec      bashcompdir=$(pkg-config 
--variable=completionsdir bash-completion || :)
     6  fedpkg/rawhide/fedpkg.spec      %define compdir %(pkg-config 
--variable=completionsdir bash-completion)
     7  git-annex/rawhide/git-annex.spec        
bash_completion_dir=%{buildroot}$(pkg-config --variable=completionsdir 
bash-completion)
     8  gromacs/rawhide/gromacs.spec    %define compdir %(pkg-config 
--variable=completionsdir bash-completion)
     9  kim-api/rawhide/kim-api.spec    %global b_compdir %(pkg-config 
--variable=completionsdir bash-completion)
    10  mpc/rawhide/mpc.spec    %global compdir %(pkg-config 
--variable=completionsdir bash-completion)
    11  mt-st/rawhide/mt-st.spec        COMPLETIONDIR=%{buildroot}$(pkg-config 
--variable=completionsdir bash-completion)
    12  pybugz/rawhide/pybugz.spec      %global bash_cmpl_dir %(pkg-config 
--variable=completionsdir bash-completion)
    13  python-django/rawhide/python-django.spec        
bashcompdir=$(pkg-config --variable=completionsdir bash-completion)
    14  python-vitrageclient/rawhide/python-vitrageclient.spec  
bashcompdir=$(pkg-config --variable=completionsdir bash-completion)
    15  tig/rawhide/tig.spec    %global bash_completion_dir %(pkg-config 
--variable=completionsdir bash-completion || echo /etc/bash_completion.d)/

Regards,
Mamoru
--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to