Bug 1650920 - Lazarus build failures
Summary: Lazarus build failures
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lazarus
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Joost van der Sluis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-17 16:03 UTC by Mattia Verga
Modified: 2018-11-28 02:45 UTC (History)
3 users (show)

Fixed In Version: lazarus-1.8.4-2.fc29 lazarus-1.8.4-2.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-28 02:42:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mattia Verga 2018-11-17 16:03:21 UTC
The latest builds of Lazarus in F29 and F28 failed due to a bad entry in .spec file.

When the qt5pas subpackage was added in .spec file, it was configured with its own version and release numbers. This is really bad, because if the maintainer forget to change release number of the subpackage or an automatic rebuild is triggered the build will fail:

https://koji.fedoraproject.org/koji/taskinfo?taskID=29159682
DETAIL:  Key (name, version, release, arch, external_repo_id)=(qt5pas, 2.6, 4, armv7hl, 0) already exists.

Please set, at least, the release number of qt5pas subpackage to follow the release number of the master package.

Comment 1 Artur Frenszek-Iwicki 2018-11-17 16:10:57 UTC
Sorry, I've known of this for some time (since I'm the one who added qt5pas to the Lazarus package), but haven't gotten around to fixing it, yet.

I think that a good solution might be to use "Release: %{qt5pas_release}.%{lazarus_release}". This way qt5pas won't fail to build when a new Lazarus release is made, and the %{qt5pas_release} value will only have to get bumped when a new Lazarus version is released.

Comment 2 Artur Frenszek-Iwicki 2018-11-17 17:44:32 UTC
I've dusted off my knowledge of Bash trickery, and made it so the release number for qt5pas will be auto-generated from the Lazarus version.release number, e.g. Lazarus 1.8.4-2 will build qt5pas 2.6-1080402.

I will fire F29 and F28 koji builds and submit them to bodhi tomorrow or today evening.

Comment 3 Fedora Update System 2018-11-18 06:32:44 UTC
lazarus-1.8.4-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-3966765771

Comment 4 Fedora Update System 2018-11-18 06:33:27 UTC
lazarus-1.8.4-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-33c4e589d5

Comment 5 Fedora Update System 2018-11-19 04:31:19 UTC
lazarus-1.8.4-2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-33c4e589d5

Comment 6 Fedora Update System 2018-11-19 04:57:27 UTC
lazarus-1.8.4-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-3966765771

Comment 7 Fedora Update System 2018-11-28 02:42:24 UTC
lazarus-1.8.4-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2018-11-28 02:45:58 UTC
lazarus-1.8.4-2.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.


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