https://bugzilla.redhat.com/show_bug.cgi?id=1132275
Bug ID: 1132275
Summary: ghc-rpm-macros should run ghc-deps.sh using a
fileattrs file
Product: Fedora
Version: rawhide
Component: ghc-rpm-macros
Severity: high
Assignee: petersen(a)redhat.com
Reporter: petersen(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: extras-qa(a)fedoraproject.org,
haskell-devel(a)lists.fedoraproject.org,
jzeleny(a)redhat.com, novyjindrich(a)gmail.com,
packaging-team-maint(a)redhat.com, petersen(a)redhat.com,
philip(a)tecnocode.co.uk, pknirsch(a)redhat.com,
pmatilai(a)redhat.com
Depends On: 1131892
Blocks: 1129484
+++ This bug was initially created as a clone of Bug #1131892 +++
In the Fedora 21 and 22 build slaves, `rpmdeps --provides` crashes when
building bustle-0.4.7:
http://koji.fedoraproject.org/koji/taskinfo?taskID=7407823
http://koji.fedoraproject.org/koji/taskinfo?taskID=7407826
Here’s the relevant bit of the log:
Finding Provides: /usr/lib/rpm/find-provides
/usr/lib/rpm/find-provides: line 3: 15767 Segmentation fault
/usr/lib/rpm/rpmdeps --provides
error: /usr/lib/rpm/find-provides failed: 8b00
error: Failed to find Provides:
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(post): /bin/sh
Requires(postun): /bin/sh
Requires(posttrans): /bin/sh
RPM build errors:
/usr/lib/rpm/find-provides failed: 8b00
Failed to find Provides:
Child return code was: 1
I can’t reproduce this locally (but I’m on F19 and can’t upgrade at the moment)
so I can’t get a backtrace. Is there a sensible way of getting one?
bustle.spec is here:
http://pkgs.fedoraproject.org/cgit/bustle.git/tree/bustle.spec (from bug
#1129484).
--- Additional comment from Panu Matilainen on 2014-08-20 18:05:17 JST ---
Fix is being built.
However any package tripping up on this should reviewed as to why the external
dependency generator is being used. Its possible there are some real usecases
for that still, but 99% the cases are filtering hacks that are either no longer
needed or would be better of using native filtering
(
http://rpm.org/wiki/PackagerDocs/DependencyGenerator)
--- Additional comment from Panu Matilainen on 2014-08-20 18:11:58 JST ---
Oh and as for bustle, its not guilty of anything in itself. The problem (of
using the deprecated external dependency generator) comes from ghc-rpm-macros.
--- Additional comment from Panu Matilainen on 2014-08-20 18:17:01 JST ---
Fixed in rpm-4.12.0-0.beta1.4.fc22 (and fc21 once it finishes building):
http://koji.fedoraproject.org/koji/taskinfo?taskID=7429952
http://koji.fedoraproject.org/koji/taskinfo?taskID=7429979
--- Additional comment from Jens Petersen on 2014-08-21 00:29:26 JST ---
Thanks! - I ran into this earlier today when doing a ghc scratch build.
I will see what changes should be made to ghc-rpm-macros.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1129484
[Bug 1129484] Review Request: bustle - Draw pretty sequence diagrams of
D-Bus traffic
https://bugzilla.redhat.com/show_bug.cgi?id=1131892
[Bug 1131892] rpmdeps --provides crashes when building bustle-0.4.7
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=DRgVJvvce2&a=cc_unsubscribe