On Thu, Mar 17, 2011 at 2:20 PM, Orion Poplawski <or...@cora.nwra.com> wrote:
> Hmm, this really was only intended for packaging octave packages like those
> at the octave forge site http://octave.sourceforge.net/.  Those do conform
> to the standard for octave packages though.  Can you post a srpm?  I might
> be able to rework %octave_pkg_build to have the ability to take an argument.

A spec file and an SRPM are here: http://jjames.fedorapeople.org/csdp/

The spec file has all the macros from /etc/rpm/macros.octave pasted at
the top, because I'm working on a Fedora 14 machine.  I tried erasing
all of that and building on an F-15 virtual machine, but the build
failed at the step where I did "%octave_cmd pkg build '-verbose'
%{_tmppath}/%{name}-%{version}-%{release}.%{_arch} csdp", like this:

+ octave -H -q --no-site-file --eval 'pkg build '\''-verbose'\''
/var/tmp/csdp-6.1.1-1.fc15.x86_64 csdp'
warning: creating build directory /var/tmp/csdp-6.1.1-1.fc15.x86_64
mkdir (/tmp/oct-DUg3Jt)
untar (csdp, /tmp/oct-DUg3Jt)
unpack: FILETYPE must be gunzip for a directory
error: called from `unpack' in file
/usr/share/octave/3.4.0/m/miscellaneous/unpack.m near line 47, column
9
error: called from:
error:   /usr/share/octave/3.4.0/m/pkg/pkg.m at line 729, column 5
error:   /usr/share/octave/3.4.0/m/pkg/pkg.m at line 592, column 3
error:   /usr/share/octave/3.4.0/m/pkg/pkg.m at line 464, column 7

error: Bad exit status from /var/tmp/rpm-tmp.LSJPC4 (%build)

You were asking for help, and here I am taking up your time.  Please
don't spend much effort on this.  I just need the Csdp library, not
the Octave interface, so if this looks too hairy I can drop Octave
support for now.
-- 
Jerry James
http://www.jamezone.org/
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to