Issues

Select view

Select search mode

 
28 of 28

Modify package to include missing development files

Done

Description

Hello.

Unfortunately package percona-server-devel.x86_64 (checked versions from 8.0.13-4.1.el7 to 8.0.19-10.1.el7 ) does not provide required headers files.

One of missed files is "my_config_x86_64.h", it's included in /usr/include/mysql/my_config.h

Without this file is impossible to build program, which depends on mysql.

Environment

None

Smart Checklist

Details

Assignee

Reporter

Time tracking

1d 1h logged

Components

Fix versions

Affects versions

Priority

Smart Checklist

Created April 15, 2020 at 12:05 PM
Updated March 6, 2024 at 11:13 AM
Resolved April 21, 2020 at 12:39 PM

Activity

Show:

Jira Bot May 26, 2020 at 8:55 PM

To:
CC:

Hi, I'm jira-bot, Percona's Jira automation tool. I've detected that someone from
Percona has made an edit to the Summary field of an issue that you reported.

I'm not sentient (yet) so I'm not sure whether the person fixed a typo, changed
a few words, or completely rewrote the text. In any case, it is Percona Engineering's
intention to make the Summary and Description of an issue as accurate as possible
so that we're fixing the actual problem you're encountering, and to avoid
misunderstandings about symptoms and causes.

If the current Summary does not accurately reflect the problem you are reporting,
or if you feel the change was otherwise inappropriate in some way, please add a
new comment explaining things and we'll address it as soon as we can.

This message will be added only once per issue, regardless of how many times
the Summary is edited.

message-code:summary-edited

illia.pshonkin April 24, 2020 at 8:55 AM

It's not recommended as MySQL upstream changelog clearly says that application should use `mysql.h` header file. Instead of making a symlink it's better to open a ticket at application's bugtracker and report it with link to changelog.

uMzwX8An9-kG April 21, 2020 at 12:46 PM

Is it possible to add to packages symlink for save backward capability?

This symlink fixes the error and old application build successful. 

illia.pshonkin April 21, 2020 at 12:39 PM

As `my_config_%{_arch}.h` was removed in upstream(8.0.2 version), we remove our `my_config.h`, which points to obsolete header. `mysql.h` should be used instead

illia.pshonkin April 21, 2020 at 12:28 PM

Hi

As upstream MySQL deprecated my_config.h in version 8.0.2, which is no longer included into official builds.
Applications should use mysql.h header for building instead

See: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-2.html