Bug 1513175
Summary: | Review Request: ghc-natural-transformation - A natural transformation package | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Shea <dshea> |
Component: | Package Review | Assignee: | Robert-André Mauchin 🐧 <zebob.m> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | mrunge, omer.anson, package-review, zebob.m |
Target Milestone: | --- | Flags: | zebob.m:
fedora-review+
|
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-11-28 16:22:36 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1514057 |
Description
David Shea
2017-11-14 21:41:57 UTC
Hi, rpmlint says the following for the srpm: Error checking signature of ghc-natural-transformation-0.4-1.fc27.src.rpm: ghc-natural-transformation-0.4-1.fc27.src.rpm: digests SIGNATURES NOT OK rpm -Kv complains about: Header V3 RSA/SHA1 Signature, key ID 76551145: NOKEY V3 RSA/SHA1 Signature, key ID 76551145: NOKEY The changelog in the spec file does not match the contents in the package site. (In reply to Omer Anson from comment #1) > Hi, > > rpmlint says the following for the srpm: > Error checking signature of ghc-natural-transformation-0.4-1.fc27.src.rpm: > ghc-natural-transformation-0.4-1.fc27.src.rpm: digests SIGNATURES NOT OK > > rpm -Kv complains about: > Header V3 RSA/SHA1 Signature, key ID 76551145: NOKEY > V3 RSA/SHA1 Signature, key ID 76551145: NOKEY > > The changelog in the spec file does not match the contents in the package > site. I can not reproduce the issue, but build on f27 fails + export LDFLAGS + '[' -x Setup ']' + ghc --make -no-user-package-db -dynamic Setup /usr/lib64/ghc-8.0.2/package.conf.d/package.cache: openBinaryFile: does not exist (No such file or directory) RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.GFG8gK (%build) Bad exit status from /var/tmp/rpm-tmp.GFG8gK (%build) Child return code was: 1 EXCEPTION: [Error()] (In reply to Omer Anson from comment #1) > Hi, > > rpmlint says the following for the srpm: > Error checking signature of ghc-natural-transformation-0.4-1.fc27.src.rpm: > ghc-natural-transformation-0.4-1.fc27.src.rpm: digests SIGNATURES NOT OK > > rpm -Kv complains about: > Header V3 RSA/SHA1 Signature, key ID 76551145: NOKEY > V3 RSA/SHA1 Signature, key ID 76551145: NOKEY Packages in COPR are signed with a repo-specific key, so you need to have that imported if you want to check the signatures. The one for this repo is at https://copr-be.cloud.fedoraproject.org/results/@weldr/bdcs-haskell-deps/pubkey.gpg The packages are, of course, not signed with the Fedora package key. That's part of what this bug is for. > The changelog in the spec file does not match the contents in the package > site. I'm not seeing that. $ curl -s https://raw.githubusercontent.com/weldr/bdcs-copr/master/ghc-natural-transformation/ghc-natural-transformation.spec | grep -A 3 '^%changelog' %changelog * Fri Sep 29 2017 Fedora Haskell SIG <haskell.org> - 0.4-1 - spec file generated by cabal-rpm-0.11.2 $ rpm -q -p --changelog https://copr-be.cloud.fedoraproject.org/results/@weldr/bdcs-haskell-deps/fedora-27-x86_64/00611297-ghc-natural-transformation/ghc-natural-transformation-0.4-1.fc27.src.rpm * Fri Sep 29 2017 Fedora Haskell SIG <haskell.org> - 0.4-1 - spec file generated by cabal-rpm-0.11.2 (In reply to Matthias Runge from comment #2) > I can not reproduce the issue, but build on f27 fails > + export LDFLAGS > + '[' -x Setup ']' > + ghc --make -no-user-package-db -dynamic Setup > /usr/lib64/ghc-8.0.2/package.conf.d/package.cache: openBinaryFile: does not > exist (No such file or directory) > RPM build errors: > error: Bad exit status from /var/tmp/rpm-tmp.GFG8gK (%build) > Bad exit status from /var/tmp/rpm-tmp.GFG8gK (%build) > Child return code was: 1 > EXCEPTION: [Error()] How are you building the package? This looks similar to an issue we had with mock --newchroot. Up until very recently (recently enough that I don't think a new version has hit 27 yet), --newchroot ran the buildroot setup without /proc mounted, which is a problem for the ghc-* package scriptlets, causing the ghc package database to not be generated. Obviously it can be built for F27, as evidenced by the COPR build. No issue, packaqe accepted. (In reply to Matthias Runge from comment #2) > > I can not reproduce the issue, but build on f27 fails > + export LDFLAGS > + '[' -x Setup ']' > + ghc --make -no-user-package-db -dynamic Setup > /usr/lib64/ghc-8.0.2/package.conf.d/package.cache: openBinaryFile: does not > exist (No such file or directory) > RPM build errors: > error: Bad exit status from /var/tmp/rpm-tmp.GFG8gK (%build) > Bad exit status from /var/tmp/rpm-tmp.GFG8gK (%build) > Child return code was: 1 > EXCEPTION: [Error()] There's a bug in mock which will be fixed in the next release (https://github.com/rpm-software-management/mock/commit/b8b721b76adb7ed7338066e6cb4f6a091b5fc675 / bug #1467299). Meanwhile use --old-chroot to bypass this error. (fedrepo-req-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/ghc-natural-transformation (In reply to David Shea from comment #3) > (In reply to Matthias Runge from comment #2) > > I can not reproduce the issue, but build on f27 fails > > + export LDFLAGS > > + '[' -x Setup ']' > > + ghc --make -no-user-package-db -dynamic Setup > > /usr/lib64/ghc-8.0.2/package.conf.d/package.cache: openBinaryFile: does not > > exist (No such file or directory) > > RPM build errors: > > error: Bad exit status from /var/tmp/rpm-tmp.GFG8gK (%build) > > Bad exit status from /var/tmp/rpm-tmp.GFG8gK (%build) > > Child return code was: 1 > > EXCEPTION: [Error()] > > How are you building the package? This looks similar to an issue we had with > mock --newchroot. Up until very recently (recently enough that I don't think > a new version has hit 27 yet), --newchroot ran the buildroot setup without > /proc mounted, which is a problem for the ghc-* package scriptlets, causing > the ghc package database to not be generated. > > Obviously it can be built for F27, as evidenced by the COPR build. I was using fedora-review -b 1513175, which builds in mock. ghc-natural-transformation-0.4-1.fc27 has been pushed to the Fedora 27 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-2017-994b8f9a8d ghc-natural-transformation-0.4-1.fc26 has been pushed to the Fedora 26 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-2017-d7e631e3f2 ghc-natural-transformation-0.4-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report. ghc-natural-transformation-0.4-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. |