https://bugzilla.redhat.com/show_bug.cgi?id=1513175



--- Comment #3 from David Shea <[email protected]> ---
(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 <[email protected]> - 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 <[email protected]> - 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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to