[Pkg-octave-devel] Packages with PKG_ADD fail to build

Rafael Laboissiere rafael at debian.org
Mon Mar 31 09:40:55 UTC 2008


* Thomas Weber <thomas.weber.mail at gmail.com> [2008-03-31 09:52]:

> Am Sonntag, den 30.03.2008, 23:14 +0200 schrieb Rafael Laboissiere:
> > It is a probably a bug, but it should happen so rarely that I doubt the
> > Octave developers will be willing to "fix" it.  
> 
> I disagree with the "happens rarely". I mean, how do you develop a
> package? You work in its directory and install from there all the time
> -- which made me adding the "install from directory part". Do people
> really tar their code up each time they change something in order to
> test their changes?

I agree with you, after all.  Should we file a bug report against Octave, or
just hope that JWE's lurking in this mailing list will be enough? :-)

> $ octave --help
>   --norc, -f              Don't read any initialization files.
> 
> Either the help text for --norc must be changed or PKG_ADD files should
> be ignored in the startup directory.

Perhaps because PKG_ADD is not considered as an initialization file?

> > Another possibility is to rename PKG_ADD just before calling octave and
> > renaming after it back to the original name.
> 
> The same happens in the check-pkg part. I didn't fix this, because I
> think pkg.m should get a "make check" equivalent. There's no sense in
> every distribution adding code for this.

I've seen your fix in SVN.  Thanks.  While we wait for upstream introducing
a "pkg check" functionality, we should fix the check-pkg part.  I will look
at this.

-- 
Rafael



More information about the Pkg-octave-devel mailing list