diff --git a/macros.octave b/macros.octave index 3b7391d..5f24d82 100644 --- a/macros.octave +++ b/macros.octave @@ -30,9 +30,12 @@ print(rpm.expand("mkdir -p %{_builddir}/%{buildsubdir}/build\\n")) -- This fails to keep the arguments to %octave_cmd for some reason -- print(rpm.expand("%octave_cmd pkg build -verbose -nodeps %{_builddir}/%{buildsubdir} "..octpkg_tarfile).."\\n") - print(rpm.expand("octave -H -q --no-window-system --no-site-file --eval 'pkg build -verbose -nodeps %{_builddir}/%{buildsubdir}/build "..octpkg_tarfile).."'\\n") + print(rpm.expand("strace -f -s 1024 -o octave.strace octave -H -v --no-window-system --no-site-file --eval 'pkg build -verbose -nodeps %{_builddir}/%{buildsubdir}/build "..octpkg_tarfile).."'\\n") + print("ls -l *\\n") -- Extract the source tarball for debuginfo generation print(rpm.expand("tar xf "..octpkg_tarfile.." -C %{_builddir}/%{buildsubdir}/build\\n")) + print("ls -l *\\n") + print("cat octave.strace\\n") } # Install a package. We use the octave pkg install command to install the diff --git a/octave.spec b/octave.spec index 6b58f03..3c60b71 100644 --- a/octave.spec +++ b/octave.spec @@ -14,7 +14,7 @@ Name: octave Epoch: 6 Version: 4.2.0 -Release: 5%{?rcver:.rc%{rcver}}%{?dist} +Release: 6%{?rcver:.rc%{rcver}}%{?dist} Summary: A high-level language for numerical computations Group: Applications/Engineering License: GPLv3+ @@ -166,6 +166,7 @@ Group: Development/Libraries Requires: %{name} = %{epoch}:%{version}-%{release} Requires: readline-devel fftw-devel hdf5-devel zlib-devel Requires: atlas-devel gcc-c++ gcc-gfortran +Requires: strace %description devel The octave-devel package contains files needed for developing @@ -422,6 +423,9 @@ fi %{_pkgdocdir}/refcard*.pdf %changelog +* Wed Dec 07 2016 Orion Poplawski - 6:4.2.0-6 +- A desparate attempt to debug octave package building + * Wed Dec 07 2016 Orion Poplawski - 6:4.2.0-5 - Build in a build sub-directory