[Pkg-octave-devel] large .oct files with latest version in testing

Thomas Weber thomas.weber.mail at gmail.com
Wed Jun 11 09:38:10 UTC 2008


Am Mittwoch, den 11.06.2008, 10:57 +0200 schrieb Michael Creel:
> Hello Octave packagers,
> First of all, thanks for your work on packaging Octave for Debian.
> I've been benefiting from the results for a long time now. I notice
> that .oct files are a lot larger now than they were a few weeks ago,
> using octave3.0 in Lenny. It seems to me that the change occurred when
> moving from octave3.0 package version 1:3.0.1-2 to 1:3.0.1:3. 

During the 2.9 series, we did change mkoctfile to strip .oct files. This
was more of an oversight than by intention, I guess (we wanted to
strip .oct files shipped with Octave itself and the corresponding flag
floated into mkoctfile). This was changed at 2.9.14.

> I have only the octave3.0 and octave3.0-headers packages installed. I
> guess that the new version is not stripping debug information, while
> the previous version did so. If I were compiling a single .oct file, I
> know how to use --strip to solve the problem. My difficulty is that
> I'm compiling a large package that uses a Makefile of its own, and I
> don't see how to do the stripping. The package is MPITB for Octave
> (http://atc.ugr.es/javier-bin/mpitb).

Diff attached, it's against the 2.9.12 directory in
mpitb-beta-FC6-OCT2912-LAM713-OMPI123.tar.bz2


> I don't expect help from this list on how to modify that Makefile,
> that's not your job of course. I just want to make sure that octave3.0
> now includes debug symbols into .oct files by default, and that this
> change is intended. 

This is upstream's (ie John's) default, and it helps me when debugging
other stuff, so yes, it is intended. 

A different option to the diff might be some sort of
	$ find -name "*.oct" -exec strip '{}' \;

Regards
	Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpitb.diff
Type: text/x-patch
Size: 834 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-octave-devel/attachments/20080611/6904ad85/attachment.bin 


More information about the Pkg-octave-devel mailing list