Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 488534 - =app-portage/g-octave-0.4.1 - Fix *.oct installation path.
Summary: =app-portage/g-octave-0.4.1 - Fix *.oct installation path.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rafael Martins (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
: 454632 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-10-18 21:54 UTC by Fabio Rossi
Modified: 2013-10-20 00:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
g-octave-0.4.1-fix-Makefile.patch (g-octave-0.4.1-fix-Makefile.patch,461 bytes, patch)
2013-10-18 21:54 UTC, Fabio Rossi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Rossi 2013-10-18 21:54:00 UTC
Created attachment 361272 [details, diff]
g-octave-0.4.1-fix-Makefile.patch

g-octave uses a Makefile from upstream in its g-octave.eclass for the installation of the packages. What happens is that *.oct file are installed in wrong locations which are not automatically included by pkg("load", "auto") during octave startup. The result is that a package using an external *.oct will not work correctly.

The problem is located in the Makefile which contains an error. I have already reported in http://savannah.gnu.org/bugs/?39045 but upstream is not interested in fixing it because no package uses anymore that file. As g-octave is using that file I strongly suggest to include a fix in portage.

The proposed patch here attached is quite simple and it would solve problems like the one reported in #454632.
Comment 1 Rafael Martins (RETIRED) gentoo-dev 2013-10-19 21:03:24 UTC
+*g-octave-0.4.1-r4 (19 Oct 2013)
+
+  19 Oct 2013; Rafael G. Martins <rafaelmartins@gentoo.org>
+  +files/g-octave-0.4.1-fix-Makefile.patch, +g-octave-0.4.1-r4.ebuild,
+  -g-octave-0.4.1-r3.ebuild:
+  Fix .oct installation path. Thanks to Fabio Rossi (bug #488534).
+

Can you please submit your patch through git to https://github.com/rafaelmartins/g-octave ?

Thanks
Comment 2 Fabio Rossi 2013-10-19 22:05:29 UTC
(In reply to Rafael G. Martins from comment #1)

> Can you please submit your patch through git to
> https://github.com/rafaelmartins/g-octave ?
> 
> Thanks

Done, thanks.
Comment 3 Fabio Rossi 2013-10-20 00:03:40 UTC
*** Bug 454632 has been marked as a duplicate of this bug. ***