Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1136487

Summary: Octave 3.8 support for swig
Product: Red Hat Enterprise Linux 7 Reporter: Orion Poplawski <orion>
Component: swigAssignee: Jitka Plesnikova <jplesnik>
Status: CLOSED ERRATA QA Contact: Martin Cermak <mcermak>
Severity: medium Docs Contact: Tomas Capek <tcapek>
Priority: unspecified    
Version: 7.0CC: i, jorton, lmiksik, mcermak, ovasik, ppisar
Target Milestone: rcKeywords: EasyFix, FutureFeature, Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Release Note
Doc Text:
Support for Octave 3.8 used by _swig_ Previously, the Octave code generated by *swig* 2.0.10 did not work with Octave 3.8, because it contained deprecated bits such as variables and macros. This update ensures that *swig* produces code which works with Octave of versions 3.0.5, 3.2.4, 3.4.3, 3.6.4, and 3.8.0.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 01:05:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1191019, 1289025, 1305230    
Attachments:
Description Flags
Patch for support Octave 3.8.0 none

Description Orion Poplawski 2014-09-02 17:15:51 UTC
Description of problem:

swig 2.0.10 does not produce appropriate code for octave 3.8 (now in EPEL).  swig 3.0.0 has support via this commit https://github.com/swig/swig/commit/5b167cc12daf9ea275c17fedaefc975450613ab2.patch which probably could be backported fairly easily.

Version-Release number of selected component (if applicable):
2.0.10-4.el7

Comment 2 Jitka Plesnikova 2014-09-03 10:21:45 UTC
I can update the swig, but I am not able to check it properly for octave 3.8.0.
The build tests don't cover octave, because it isn't part of RHEL.

If you want to check it, you can use rpms at 
https://jplesnik.fedorapeople.org/swig-octave-3.8.0/

Comment 3 Jitka Plesnikova 2014-09-03 10:45:26 UTC
Created attachment 934039 [details]
Patch for support Octave 3.8.0

Comment 4 Orion Poplawski 2014-09-03 15:57:24 UTC
Jitka - Wow, that might be the quickest response I have ever received to a RHEL bug.  Thanks!

I built plplot with octave support just fine with your patched swig package, so that did the trick.  Thanks again.  Now I'm sorry I didn't file it back in January.

Comment 5 Jitka Plesnikova 2014-09-04 05:55:25 UTC
I cannot promise that the fix will be at RHEL 7.1.

Please contact Red Hat Product Support ( access.redhat.com ) - this can increase the chances for next minor release.

Comment 8 Jitka Plesnikova 2016-03-16 11:33:14 UTC
For tests I did:
* install octave-devel from EPEL 7 repository
* install all BRs (autoconf, automake, boost-devel, dos2unix, gawk, guile-devel, 
    pcre-devel, perl, perl(Test::More), perl-devel, python-devel, tcl-devel)
* rebuild source RPM, 
rpmbuild --rebuild swig-2.0.10-5.el7.src.rpm

Octave tests passed

Comment 15 errata-xmlrpc 2016-11-04 01:05:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2227.html