Summary: | sci-mathematics/octave-forge-2006.03.17 doesn't compile w/ gcc 4.1 [w/ patch] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Colin Macdonald <cbm> |
Component: | [OLD] GCC Porting | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | supermihi |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 136366 | ||
Bug Blocks: | 117482 | ||
Attachments: |
octave-2.1.72-gcc4.1-templates-octave-forge.patch
octave-2.1.72.ebuild |
Description
Colin Macdonald
2006-05-13 17:08:47 UTC
Created attachment 86780 [details, diff]
octave-2.1.72-gcc4.1-templates-octave-forge.patch
I tested the patch mentioned above. It fixes the problem for me. *NOTE*: patch is to be applied to *octave* not octave-forge. After rebuilding octave with this patch, the in-tree octave-forge builds correctly.
I have the same problem. But how should I use your patch? Should I skate over portage and compile octave by my own? I'm not used to the details of portage, so I don't know how to modify the octave ebuild to use your patch. :( Created attachment 88786 [details] octave-2.1.72.ebuild Devs: please ignore this attachment, it has nothing but a epatch line added to it. I'm just attaching it for the benefit of Comment #2, for others, sorry for the bug noise. Re: Comment #2: Bug reports are not the right place for tech support but here goes: No you don't need to compile octave yourself. You will need to learn a little bit about "overlays" (there must be some good docs on overlays, use google). Basically you need to create the following directory: /usr/local/portage/sci-mathematics/octave Then put the octave-2.1.72.ebuild that I just attached in there. Then create /usr/local/portage/sci-mathematics/octave/files and put the octave-2.1.72-gcc4.1-templates-octave-forge.patch in there. Now cd to /usr/local/portage/sci-mathematics/octave and run "ebuild octave-2.1.72.ebuild digest" Finally, add or modify the following line in your /etc/make.conf: PORTDIR_OVERLAY="/usr/local/portage" Then you can "emerge -vp octave", from which you should see: [ebuild R ] sci-mathematics/octave-2.1.72 USE="blas emacs readline zlib -debug -doc -hdf5 -mpi -static" 0 kB [1] Total size of downloads: 0 kB Portage overlays: [1] /usr/local/portage Note the [1] telling you that it is using the overlay. If it works, let us know. If all this sounds too complicated then just wait for a friendly dev to add this patch to the tree! Hi Colin, Thank you very much for your report and the patch. I just bumped octave to version 2.1.73 including the patch and octave-forge now compiles fine. Best, Markus Hi, first thanks to comment #3 for your explanation! octave-forge now also compiles for me with octave-2.1.73 installed, but emerge octave-forge wants to downgrade octave to 2.1.72. I used --nodeps and it worked. Synced an hour ago. |