Bug 744635 - without shared build fails on unpackaged data files
Summary: without shared build fails on unpackaged data files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ghc-colour
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-09 21:44 UTC by Henrik Nordström
Modified: 2011-10-25 03:31 UTC (History)
3 users (show)

Fixed In Version: ghc-colour-2.3.1-11.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-22 08:26:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Henrik Nordström 2011-10-09 21:44:23 UTC
README & CHANGELOG do not get included in the filelist when ghc-colour is built on armv7hl, causing rpm build to fail due to unpackaged files.

http://arm-temp.ausil.us/pub/fedora-arm/stage4/ghc-colour-2.3.1-6.fc15.0.arm1/info.html

A mainline scratch rebuild of the same version seems to work fine and installs these files in the same location

http://koji.fedoraproject.org/koji/taskinfo?taskID=3418201

Same version of ghc-rpm-macros is used in both builds from what I can tell. But they differ in some other packages that may be relevant:

                      armv7hl          (mainline scratch build)
  redhat-rpm-config   9.1.0-14.fc15    (9.1.0-8.fc15)
  ghc                 7.0.2-16.5.fc15  (7.0.2-16.3.fc15)
  hscolour            1.17-11.fc15     (1.17-8.fc15)

Comment 1 Henrik Nordström 2011-10-09 21:59:07 UTC
This bug report was meant for Jens Petersen. It's probably not an issue in ghc-colour itself.

Comment 2 Henrik Nordström 2011-10-09 22:17:20 UTC
Tried an x86_64 local build with same ghc, hscolour and redhat-rpm-config versions and it seems to work fine. Odd.

Comment 3 Henrik Nordström 2011-10-09 22:21:36 UTC
Hmmm.. contents of ghc-rpm-macros-0.13.11-1.fc15 seem to differ between x86_64 and armv7hl..??

Comment 4 Henrik Nordström 2011-10-09 22:29:53 UTC
If I install the macros from armv7hl then same problem is seen on x86_64.

The difference between ghc-rpm-macros on armv7 compared to x86_64 are:

 # shared libraries are only supported on primary intel archs
 %ghc_without_dynamic 1
 %ghc_without_shared 1

Comment 5 Jens Petersen 2011-10-13 01:37:48 UTC
Can also be reproduced on any arch by adding

%global ghc_without_shared 1

near top of a .spec file.

Will build a fix soon.

Comment 6 Fedora Update System 2011-10-13 04:13:58 UTC
ghc-colour-2.3.1-11.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/ghc-colour-2.3.1-11.fc15

Comment 7 Fedora Update System 2011-10-13 04:14:06 UTC
ghc-colour-2.3.1-11.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/ghc-colour-2.3.1-11.fc16

Comment 8 Jens Petersen 2011-10-13 04:16:29 UTC
Those doc files shouldn't be in datadir anyway, but that is really
Cabal's fault.

Comment 9 Henrik Nordström 2011-10-13 14:11:29 UTC
Thanks. Builds fine on armv7hl.

Comment 10 Fedora Update System 2011-10-13 18:14:21 UTC
Package ghc-colour-2.3.1-11.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ghc-colour-2.3.1-11.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-14290
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2011-10-22 08:26:00 UTC
ghc-colour-2.3.1-11.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2011-10-25 03:31:51 UTC
ghc-colour-2.3.1-11.fc16 has been pushed to the Fedora 16 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.