Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99781 - sci-mathematics/octave-forge-2004-11-16-r1 does not enforce the right version of octave
Summary: sci-mathematics/octave-forge-2004-11-16-r1 does not enforce the right version...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-21 04:26 UTC by Federico Zenith
Modified: 2005-08-22 16:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Federico Zenith 2005-07-21 04:26:41 UTC
Octave-forge-2004-11-16 is meant _solely_ for octave 2.1.62. It will not work on
neither previous NOR LATER versions. Current version of octave in portage is 2.1.69.
See http://sourceforge.net/project/showfiles.php?group_id=2888

Replicable: always. If you "emerge octave octave-forge" with e.g. an x86
keyword, you will not be able to use forge functions as interp1, unique and others.

Solution: in sci-mathematics/octave-forge-2004-11-16-r1.ebuild, change the line
    DEPEND=">=sci-mathematics/octave-2.1.62
to 
    DEPEND="=sci-mathematics/octave-2.1.62
This will make sure that the correct version is installed.

A corresponding equality constraint should be maintained for future octave-forge
ebuilds too.
Comment 1 Colin Macdonald 2005-07-21 11:38:54 UTC
Can you provide a reference for "it will not work on neither previous NOR LATER
versions"?  My interpretation of the release information is that the
octave-forge developers *tested* 2004-11-16 with octave-2.1.62 and 2006-06-13
(bug #99783) with octave-2.1.69.  They also say "Many functions will also work
on earlier versions of Octave."  In my (limited) experience, many function also
work with later releases of Octave.
Comment 2 Federico Zenith 2005-07-21 12:59:34 UTC
Well, one pointer is that octave-forge is repackages every time there is a
release of octave; in theory the projects should not need to be synchronised.

More specifically, however, you should try to install octave and octave-forge as
they are in portage now, and try to access a forge function like interp1 or
unique (or any other).

It is possible that the compiling process of octave-forge has some hidden
borkage that makes it install in a predetermined octave-X.y.z folder, no matter
where octave really is, but I'm not sure.

However, this happened to me a couple of times before with other combinations of
octave and octave-forge, but I thought it was my system or some other problem.
Comment 3 Olivier Fisette (RETIRED) gentoo-dev 2005-08-20 12:07:02 UTC
This is not obvious. The project announces some releases as compatible with    
one specific version, and others as compatible with a given version and all    
later versions. The configure script never seems to complain, though.  
    
To be on the safe side, I added octave-forge 2005-06-13 to Portage and made it    
depend specifically on Octave 2.1.69.  
   
Thanks for the hint. 
Comment 4 Colin Macdonald 2005-08-20 18:28:28 UTC
The ebuild you added to the tree needs the "Randmtzig patch" from Comment #3 of
bug #99783.  Also, the name of the patch as 2004.11.16.patch is misleading.  I'm
partial to the name "${PV}-mex-DESTDIR.patch" or something else thats
descriptive.  Anyway, please see bug #99783.
Comment 5 Federico Zenith 2005-08-22 00:58:14 UTC
Hi, in portage, as of monday 22nd of August, 9:50 CET,  
octave-forge-2004.11.16-r1 still has a >= dependency on Octave-2.1.62. Since 
2.1.62 was removed, so should octave-forge-2004.11.16-r1, which is useless 
without it. 
The newer version of Octave-forge seems stable (have it on my machine). 
Comment 6 Olivier Fisette (RETIRED) gentoo-dev 2005-08-22 16:42:32 UTC
Thanks for the notice, Frederico, but we do not apply fixes retroactively  
unless it is necessary. As octave-forge-2004.11.16 seems to work  
fine with Octave, I am satisfied with the current state of affairs. 
 
The only solution would be, as you suggest, to remove octave-forge-2004.11.16 
from the tree, but as it is the last stable version available for two 
architectures, this is out of the question. Once a newer version is marked 
stable, the ebuild will be removed. 
 
In the meantime, users who do not trust some combinations of 
Octave/octave-forge may elect to use the testing branch. 
 
Regards,