Bug 679948
Summary: | Octave headers is in wrong directory. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | D Haley <mycae> |
Component: | swig | Assignee: | Adam Tkac <atkac> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | alex, atkac, mmahut, orion, ovasik, rpandit, susi.lehtola |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | swig-2.0.4-2.fc15 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-11-25 01:58:26 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: |
Description
D Haley
2011-02-23 22:54:12 UTC
This is no different then before (/usr/include/octave-3.2.4/octave). Although it seems that octave-config -p OCTINCLUDEDIR behaves different: [root@orca ~]# octave-config -p OCTINCLUDEDIR /usr/include/octave-3.2.4 [root@vmrawhide ~]# octave-config -p OCTINCLUDEDIR /usr/include/octave-3.4.0/octave Hmmm. Intentional behavior: https://mailman.cae.wisc.edu/pipermail/help-octave/2011-January/044272.html Sorry to be a jerk, but i have to re-open this. The change breaks swig generated cpp files. generated with swig -octave -c++ inputfile.i I've CCd the swig maintainers. I could dynamically patch this by modifying the makefiles to sed the include, but that seems stupid. I'm not surprised the change has broken things. But this is the expected, upstream defined behavior. Either file a bug with octave upstream and convince them it is a bad change, or swig will need to be modified to adapt to the changes. Sorry, don't quite get it -- the swig maintainer is CCd on this thread, and should thus be aware of the problem, and might want to weigh in -- is there anything else that needs to be done until then? I will modify swig to use correct include directory. Swig upstream addressed Octave 3.4.0 compatibility in this ticket: http://sourceforge.net/tracker/?func=detail&aid=3387394&group_id=1645&atid=301645 I will include the fix in next swig but you will have to add -I/usr/include/octave-3.4.0/octave to the g++ command line to make generated source compilable... swig-2.0.4-4.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/swig-2.0.4-4.fc16 swig-2.0.4-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/swig-2.0.4-2.fc15 Package swig-2.0.4-4.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 swig-2.0.4-4.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-15909 then log in and leave karma (feedback). swig-2.0.4-4.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. swig-2.0.4-2.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |