Bug 751807

Summary: graphviz.spec fixes for rebuilding on fc16 and rawhide (also libpng15)
Product: [Fedora] Fedora Reporter: John Ellson <john.ellson>
Component: graphvizAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: alex, jima, jskarvad, tremble
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: graphviz-2.28.0-11.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-02 21:51:29 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:
Attachments:
Description Flags
proposed changes to graphviz.spec none

Description John Ellson 2011-11-07 16:20:03 UTC
Created attachment 532090 [details]
proposed changes to graphviz.spec

Description of problem:
I was just looking for any problems in graphviz related to libpng15, but was unable to rebuild graphviz on fc16 or rawhide due to unrelated issues:
- built but unshipped files in /usr/share/graphviz/gvedit/*
- problem resulting from PHPs continually evolving abi versioning mechanisms
  which caused the graphviz-php.x86_64 binary to try to install dependencies for i686

Version-Release number of selected component (if applicable):
graphvis-2.28.0-9

How reproducible:
100%    NB. The PHP problem affects fc16 as well as rawhide.

Steps to Reproduce:
1. (fix DevIL - see Bug # 751585)
2. rpmbuild -ba graphviz.spec
3.
  
Actual results:
build failed, then (after that was fixed)  graphviz-php.x86_64 install failed

Expected results:
Successful build and install

Additional info:
A real libpng15 fix was needed to DevIL before graphviz could be built:  See Bug #751583

Also, gd and gdk-pixpuf2 had to be rebuilt with libpng15, but no changes were needed.

After these fixes, graphviz built, installed, ran, successfully with libpng15 on rawhide

Comment 1 Jaroslav Škarvada 2011-12-08 14:31:33 UTC
(In reply to comment #0)
I cannot reproduce.

> - built but unshipped files in /usr/share/graphviz/gvedit/*
>
It seems your buildroot was not clean. Gvedit is built if there is qt-devel installed. After checking the build log, it seems we could enable even more components. I will check this and probably create new subpackages. But this is more like RFE than a bug. It rebuilds OK in clean root in koji or mock.

> - problem resulting from PHPs continually evolving abi versioning mechanisms
>   which caused the graphviz-php.x86_64 binary to try to install dependencies
> for i686
> 
I cannot reproduce. I thought that the:
Requires:	php(zend-abi) = %{php_zend_api}
Requires:	php(api) = %{php_core_api}
is enough. If not, please could you clarify this?

Comment 2 Jaroslav Škarvada 2011-12-08 14:51:42 UTC
After some investigation, it seems that the php(api) now expands to:
20090626-x86-64
and the php_ver to:
20090626
in rawhide.

I think we should follow the php(api). I think that the dependency problem was caused by temporal inconsistency in buildroot / update repo - i.e. I think in the repo there was i686 php with newer versioning and x86_64 php with older versioning in the same time.

Comment 3 Fedora Update System 2011-12-11 21:24:29 UTC
graphviz-2.28.0-11.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/graphviz-2.28.0-11.fc16

Comment 4 Fedora Update System 2011-12-12 21:58:07 UTC
Package graphviz-2.28.0-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 graphviz-2.28.0-11.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-17018/graphviz-2.28.0-11.fc16
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-01-02 21:51:29 UTC
graphviz-2.28.0-11.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.