Bug 65459 - pkg-config file missing but still referenced by tcnative.spec
Summary: pkg-config file missing but still referenced by tcnative.spec
Status: RESOLVED FIXED
Alias: None
Product: Tomcat Native
Classification: Unclassified
Component: Library (show other bugs)
Version: 1.2.30
Hardware: All Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-20 23:22 UTC by Tim Mooney
Modified: 2021-08-26 14:37 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Mooney 2021-07-20 23:22:17 UTC
Prior versions of tomcat-native 1.2.x generated and installed a pkg-config file (tcnative-1.pc) as part of the install process for the native library.

The source file is no longer included in the distribution and the install procedure no longer generates or installs it.

There's no mention of it being discontinued in the top-level CHANGELOG.txt, and the native/tcnative.spec file still references it.

That leaves an end user or a package builder in the confusing situation of not knowing whether it's been intentionally removed or accidentally forgotten.
Comment 1 Michael Osipov 2021-07-20 23:36:32 UTC
Are you referring to https://github.com/apache/tomcat-native/blob/main/native/build/rpm/tcnative.spec.in#L89?

If so, it was simply forgotten by me.
Comment 2 Tim Mooney 2021-07-20 23:38:33 UTC
Hi Michael-

Yes, I am referring to that.

And that there's no mention in the CHANGELOG.txt that pkg-config has been intentionally removed.
Comment 3 Michael Osipov 2021-07-20 23:47:08 UTC
(In reply to Tim Mooney from comment #2)
> Hi Michael-
> 
> Yes, I am referring to that.
> 
> And that there's no mention in the CHANGELOG.txt that pkg-config has been
> intentionally removed.

Well, it seems it wasn't good enough. See:
* https://github.com/apache/tomcat-native/commit/853a2abcd54cc58cf19aaddb093a9f46ff248336
* Bug 64260

It should have been two distincts tickets. Please create a PR and I will merge it.
Comment 4 Mark Thomas 2021-08-26 14:37:00 UTC
Reference removed.