Bug 5435 - Outdated version of RPM in build system
Summary: Outdated version of RPM in build system
Status: ASSIGNED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Build system (show other bugs)
Version: 4.3.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-17 17:44 CET by Karl Mikaelsson
Modified: 2023-04-11 14:55 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Karl Mikaelsson cendio 2015-02-17 17:44:25 CET
While investigating all the gritty details for bug 5285, I found that rpm >= 4.12.0 dropped support for building packages with _noPayloadPrefix=1 in the spec file.

This means that the eLux packages gains a dependency on "rpmlib(PayloadFilesHavePrefix) >= V4.0-1", and a "./" prefix for all file names in the package. The rpmlib dependency is incompatible with (at least) Elias 7.5.0, which will complain that nothing provides the rpmlib(..) feature.

I've found that no factory packages for eLux RP 4.7.1, RL 3.10.0, or RT 3.0.0 uses this feature.
Comment 1 Karl Mikaelsson cendio 2015-02-18 11:20:24 CET
(In reply to comment #0)
> This means that the eLux packages gains a dependency on
> "rpmlib(PayloadFilesHavePrefix) >= V4.0-1", and a "./" prefix for all file
> names in the package. The rpmlib dependency is incompatible with (at least)
> Elias 7.5.0, which will complain that nothing provides the rpmlib(..) feature.

In normal cases, our rpm2elux script will catch the rpmlib dependency and refuse to convert the RPM. In my testing, I had this check temporarily removed to see how Elias/eLux handled.
Comment 2 Pierre Ossman cendio 2015-02-24 11:53:40 CET
We'll start by trying to influence upstream to bring this feature back.
Comment 3 Peter Åstrand cendio 2016-01-07 16:25:54 CET
Upstream report, with a nice ticket number:

http://rpm.org/ticket/900
Comment 4 Karl Mikaelsson cendio 2016-01-21 12:32:23 CET
Reassigning for discussion on next development meeting.
Comment 5 Peter Åstrand cendio 2016-04-04 11:59:17 CEST
Patch available now, but forgot to handle PayloadFilesHavePrefix dependency.
Comment 7 Peter Åstrand cendio 2016-04-05 08:43:48 CEST
(In reply to comment #5)
> Patch available now, but forgot to handle PayloadFilesHavePrefix dependency.

This has been fixed now. RPM trunk (51348f5acee4ef8e2fa420fdab02a35af4cc8e76) seems to work correctly for building the eLux RPM. Eventually, when this fix is included in a release, we should upgrade.

Note You need to log in before you can comment on or make changes to this bug.