Bug 1811358
Summary: | CPackRPM:Debug: *** error: Unknown tag: Suggests: | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Eugene Kanter <ekanter> |
Component: | cmake3 | Assignee: | Björn 'besser82' Esser <besser82> |
Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | epel7 | CC: | anto.trande, besser82, demeeste |
Target Milestone: | --- | Keywords: | Bugfix, Reopened, Upgrades |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | cmake3-3.17.1-2.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-05-13 06:37:45 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Eugene Kanter
2020-03-07 23:58:00 UTC
@Björn `CPACK_RPM_PACKAGE_SUGGESTS` variable is already in CMake-3.14. Or am i wrong? https://cmake.org/cmake/help/v3.14/cpack_gen/rpm.html#cpack_gen:CPack%20RPM%20Generator The variable is present, rpm spec file is properly generated, however epel provided 3.14 fails while the same code on fedora 31 3.16 does not. Could the error be related to RPM version?... > Could the error be related to RPM version?
Please, check the output of these commands where the variable does not work.
$ rpm --version --querytags
$ rpm --querytags | grep -i "suppl\|enhanc\|recom\|sugg"
This is RHEL7, rpm output look good to me. $ rpm --querytags | grep -i "suppl\|enhanc\|recom\|sugg" ENHANCEFLAGS ENHANCENAME ENHANCES ENHANCEVERSION RECOMMENDFLAGS RECOMMENDNAME RECOMMENDS RECOMMENDVERSION SUGGESTFLAGS SUGGESTNAME SUGGESTS SUGGESTVERSION SUPPLEMENTFLAGS SUPPLEMENTNAME SUPPLEMENTS SUPPLEMENTVERSION any plans to update epel cmake3 to match latest Fedora? The related patch needs many work and time. This weekend, maybe. FEDORA-EPEL-2020-b6a455afdf has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-b6a455afdf FEDORA-EPEL-2020-b6a455afdf has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-b6a455afdf See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2020-b6a455afdf has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-b6a455afdf FEDORA-EPEL-2020-b6a455afdf has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-b6a455afdf See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2020-b6a455afdf has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report. I see updated cmake3-3.17 package but the same error still present: CPack3: Create package CPackRPM: Will use GENERATED spec file: /builddir/project/build/_CPack_Packages/Linux/RPM/SPECS/project.spec CPackRPM:Debug: You may consult rpmbuild logs in: CPackRPM:Debug: - /builddir/project/build/_CPack_Packages/Linux/RPM/rpmbuildproject.err CPackRPM:Debug: *** error: line 24: Unknown tag: Suggests: xterm <mock-chroot> sh-4.2# cmake3 -version cmake3 version 3.17.2 CMake suite maintained and supported by Kitware (kitware.com/cmake). Hi, I'm working on CentOS 7 or RHEL 7. This is still not fixed 3 years later ... # rpm -qa cmake3 cmake3-3.17.5-1.el7.x86_64 CPack3: Create package CPackRPM: Will use GENERATED spec file: /home/user/soft/build/_CPack_Packages/Linux/RPM/SPECS/ac.spec CPackRPM:Debug: You may consult rpmbuild logs in: CPackRPM:Debug: - /home/user/soft/build/_CPack_Packages/Linux/RPM/rpmbuildac.err CPackRPM:Debug: *** erreur : ligne 24 : tag inconnu : Suggests: bc, gnupg, httpd, ipa-gothic-fonts, ipa-mincho-fonts, libreoffice-headless, libreoffice-writer, libreoffice-calc, postgresql-libs, perl-libxml-perl, perl-XML-Writer, spamassassin, unzip, zip Please advise Thank you |