Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop automatic inclusion of .pc file for baselibs. #1002

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

badshah400
Copy link

Fixes #724.

Avoid default inclusion of pkgconfig files in automatically generated baselibs configured biarch packages. This avoids the "have choice" issue seen with BuildRequires: pkgconfig(FOO) type dependencies on OBS for any dependents of a biarch FOO-devel package. It is wrong to ask every project supporting biarch devel packages to configure project macros to disfavour one pkgconfig based dependency in favour of another.

Packager may at their wish explicitly include the pkgconfig file in the biarch package explicitly by appropriately configure the associated baselibs.conf file, but as a default, this should be hardly ever required.

Fixes openSUSE#724.

Avoid default inclusion of pkgconfig files in automatically generated
baselibs configured biarch packages. This avoids the "have choice" issue
seen with `BuildRequires: pkgconfig(FOO)` type dependencies on OBS for
any dependents of a biarch FOO-devel package. It is wrong to ask every
project supporting biarch devel packages to configure project macros to
disfavour one pkgconfig based dependency in favour of another.

Packager may at their wish explicitly include the pkgconfig file in the
biarch package explicitly by appropriately configure the associated
baselibs.conf file, but as a default, this should be hardly ever
required.
@badshah400
Copy link
Author

Ping?

@mlschroe
Copy link
Member

See https://bugzilla.suse.com/show_bug.cgi?id=1172563, which asked for adding the .pc files.

@badshah400
Copy link
Author

Thanks for the reference. Looks to me like the missing piece of the puzzle — correct RPM autoprovides for baselibs — has been missing for a while. From reading that bug report, it seems everyone pretty much agrees that packaging .pc files for the baselibs without first correcting the autoprovs is a mistake that is haphazardly worked around in Factory but needs similar hackish workarounds for every project using these biarch libs.

I would still suggest skipping automatic inclusion of these .pc files.

@badshah400
Copy link
Author

Off the top of my head, the other option would be to turn off AutoProv for baslibs generated packages that do install .pc files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Have 32bit choice when build with pkgconfig
2 participants