[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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





On Wed, Jun 11, 2008 at 11:38 AM, Thomas Weber <thomas.weber.mail@gmail.com> wrote:
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
Hi Thomas,
I was getting stripped .oct files quite recently. PelicanHPC v1.5.1 is based on Lenny (made using live-helper), and it has Octave v3.0.1. It was released 20 May, using whatever was in Lenny at the time. I have already tried the changes in your mpitb.diff, and I still get large oct files. I don't think that the Makefile actually uses mkoctfile to compile, it uses it only to read configurations (maybe I'm wrong about that). Thus, this change has no effect on the .oct files that are produced.

When you say that this is an upstream isssue, do you know exactly what change has been made?

Best, Michael

Reply to: