Bug 878824 - dragonegg does not install on F18 branched
Summary: dragonegg does not install on F18 branched
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dragonegg
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Eric Smith
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-21 10:29 UTC by Haïkel Guémar
Modified: 2012-11-27 04:45 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-27 04:45:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Haïkel Guémar 2012-11-21 10:29:26 UTC
Description of problem: dragonegg installation fails due to bad requires


Version-Release number of selected component (if applicable): 3.1.9

How reproducible:


Steps to Reproduce:
1. yum install dragonegg # on fedora 18 branched
  
Actual results:
fails to install, error message: "requires : g

Expected results:
dragonegg should install nicely

Additional info:
It seems that the macros gcc_ver fails to expand properly
http://pkgs.fedoraproject.org/cgit/dragonegg.git/tree/dragonegg.spec#n41
http://kojipkgs.fedoraproject.org//packages/dragonegg/3.1/9.fc18/data/logs/i686/build.log

Comment 1 Haïkel Guémar 2012-11-21 10:44:54 UTC
After a discussion on irc, it might be due to missing BR at the moment where the macro is evaluated.

Since %global is evaluated at startup, you should try forcing lazy evaluation:
For instance: %global gcc_vr %%(gcc --version | python -c "import re; import sys; print(re.match(r'.*\\(Red Hat (.+)\\).*', sys.stdin.read()).group(1))")%{gcc_dist}

http://osdir.com/ml/fedora-packaging/2011-08/msg00018.html

Using %define would definitively work.

Comment 2 Fedora Update System 2012-11-23 00:27:47 UTC
dragonegg-3.1-10.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/dragonegg-3.1-10.fc18

Comment 3 Fedora Update System 2012-11-23 08:08:31 UTC
Package dragonegg-3.1-10.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dragonegg-3.1-10.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-18877/dragonegg-3.1-10.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-11-27 04:45:16 UTC
dragonegg-3.1-10.fc18 has been pushed to the Fedora 18 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.