Skip to contentSkip to conversation

libsolv: fix a kernel-devsrc installation issue

PATCH In review [email protected] 2 participants 5 messages Oct 2, 2017 – Oct 12, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libsolv: fix a kernel-devsrc installation issue

From: Ming Liu <[email protected]>

This patch aims to fix a kernel-devsrc rpm installation failure on target, I had sent the patch to libsolv upstream, but its maintainers rejected it with the reason:
...
we probably want to sync these values with RPM code...
...

I am not a rpm expert, would somebody please comment on this? Is this a issue also should be addressed in rpm?

Ming Liu (1):
libsolv: fix a kernel-devsrc installation issue

 ....c-increase-MAX_HDR_CNT-and-MAX_HDR_DSIZE.patch | 35 ++++++++++++++++++++++
 meta/recipes-extended/libsolv/libsolv_0.6.28.bb    |  3 +-
 2 files changed, 37 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-extended/libsolv/libsolv/0001-repo_rpmdb.c-increase-MAX_HDR_CNT-and-MAX_HDR_DSIZE.patch
Signature · 1 line
2.7.4
#1 lore raw
Quoted 11 lines · On 10/02/2017 08:08 AM, [email protected] wrote:

From: Ming Liu <[email protected]>

This patch aims to fix a kernel-devsrc rpm installation failure on target, I had sent the patch to libsolv upstream, but its maintainers rejected it with the reason:
...
we probably want to sync these values with RPM code...
...

I am not a rpm expert, would somebody please comment on this? Is this a issue also should be addressed in rpm?

Note that they did not reject the pull request, but merely commented on it; it is still open.

What the upstream probably meant is that rpm could also be defining these values somewhere, and so instead of just re-defining them blindly to arbitrary values in libsolv, you should take them from rpm header files, or otherwise figure out how the header limits are handled in rpm.

Alex

author
#2 lore raw

Hi, Alexander:

Thanks for the input, I will then try to investigate the rpm code for tweaking the values.

//Ming Liu

2017-10-02 13:37 GMT+02:00 Alexander Kanavin <
[email protected]>:

Quoted 25 lines · On 10/02/2017 08:08 AM, [email protected] wrote:
Quoted 10 lines

From: Ming Liu <[email protected]>

This patch aims to fix a kernel-devsrc rpm installation failure on target, I had sent the patch to libsolv upstream, but its maintainers rejected it with the reason:
...
we probably want to sync these values with RPM code...
...

Quoted 3 lines

I am not a rpm expert, would somebody please comment on this? Is this a issue also should be addressed in rpm?

Note that they did not reject the pull request, but merely commented on it; it is still open.

What the upstream probably meant is that rpm could also be defining these values somewhere, and so instead of just re-defining them blindly to arbitrary values in libsolv, you should take them from rpm header files, or otherwise figure out how the header limits are handled in rpm.

Alex

author
#3 lore raw

Ping, this patch had been merged to libsolv upstream.

//Ming Liu

2017-10-03 5:59 GMT+02:00 Ming Liu <[email protected]>:

Quoted 37 lines

Hi, Alexander:

Thanks for the input, I will then try to investigate the rpm code for tweaking the values.

//Ming Liu

2017-10-02 13:37 GMT+02:00 Alexander Kanavin <alexander.kanavin@linux. intel.com>:

Quoted 25 lines · On 10/02/2017 08:08 AM, [email protected] wrote:
Quoted 10 lines

From: Ming Liu <[email protected]>

This patch aims to fix a kernel-devsrc rpm installation failure on target, I had sent the patch to libsolv upstream, but its maintainers rejected it with the reason:
...
we probably want to sync these values with RPM code...
...

Quoted 3 lines

I am not a rpm expert, would somebody please comment on this? Is this a issue also should be addressed in rpm?

Note that they did not reject the pull request, but merely commented on it; it is still open.

What the upstream probably meant is that rpm could also be defining these values somewhere, and so instead of just re-defining them blindly to arbitrary values in libsolv, you should take them from rpm header files, or otherwise figure out how the header limits are handled in rpm.

Alex

#4 lore raw
Quoted 1 line · Ming Liu

Ping, this patch had been merged to libsolv upstream.

You can now backport the patch, or wait for the upstream to release a new version.

Alex