Add a New Comment (Rich Markup)
Latest release of odepkg 0.8.5 works for me - added to mxe-octave - closing report
John I could install odepkg in mercurial version with your patch file #33856. Thanks!
Its having issues with parallelism - and then applying the patch multiple times. Windows is running --jobs 1 so doesnt have the issue. This patch made it work for me (includeds quoting FFLAGS from prev patch as well) (file #33586)
The previous post I have forgotten to the attach patch. This time patch is attached.
>> pkg install -verbose odepkg_to_debug.tar.gz mkdir (/tmp/oct-lXGc68) untar (odepkg_to_debug.tar.gz, /tmp/oct-lXGc68) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for mkoctfile... /opt/octave/4.0.0-rc2/bin/mkoctfile-4.0.0-rc2 --verbose g++ -c -fPIC -I/opt/octave/4.0.0-rc2/include/octave-4.0.0-rc2/octave/.. -I/opt/octave/4.0.0-rc2/include/octave-4.0.0-rc2/octave -I/opt/octave/4.0.0-rc2/include -pthread -fopenmp -g -O2 conftest.cc -o conftest.o g++ -shared -Wl,-Bsymbolic -o conftest.oct conftest.o -L/opt/octave/4.0.0-rc2/lib/octave/4.0.0-rc2 -L/opt/octave/4.0.0-rc2/lib -loctinterp -loctave retrieving compile and link flags from /opt/octave/4.0.0-rc2/bin/mkoctfile-4.0.0-rc2 --verbose checking for F77_FUNC... g++ -c -fPIC -I/opt/octave/4.0.0-rc2/include/octave-4.0.0-rc2/octave/..-I/opt/octave/4.0.0-rc2/include/octave-4.0.0-rc2/octave -I/opt/octave/4.0.0-rc2/include -pthread -fopenmp -g -O2 conftest.cc -o conftest.o yes checking for octave... /opt/octave/4.0.0-rc2/bin/octave-4.0.0-rc2 checking for OCTAVE_VERSION in Octave... 4.0.0-rc2 checking for octave_config_info('canonical_host_type') in Octave... x86_64-unknown-linux-gnu checking for octave_config_info('SHLEXT') in Octave... so checking whether ln -s works... yes checking for ranlib... ranlib checking for strip... strip configure: creating ./config.status config.status: creating Makeconf "$prefix" is /home/tatsuro/octave/odepkg-0.8.4 "$exec_prefix" is ${prefix} octave commands will install into the following directories: m-files: /opt/octave/4.0.0-rc2/share/octave/4.0.0-rc2/site/m/octave-forge oct-files: /opt/octave/4.0.0-rc2/lib/octave/4.0.0-rc2/site/oct/x86_64-unknown-linux-gnu/octave-forge binaries: /opt/octave/4.0.0-rc2/libexec/octave/4.0.0-rc2/site/exec/x86_64-unknown-linux-gnu alternatives: m-files: /opt/octave/4.0.0-rc2/share/octave/4.0.0-rc2/site/octave-forge-alternatives/m oct-files: /opt/octave/4.0.0-rc2/lib/octave/4.0.0-rc2/site/octave-forge-alternatives/oct/x86_64-unknown-linux-gnu shell commands will install into the following directories: binaries: ${exec_prefix}/bin man pages: ${datarootdir}/man libraries: ${exec_prefix}/lib headers: ${prefix}/include octave-forge is configured with octave: /opt/octave/4.0.0-rc2/bin/octave-4.0.0-rc2 (version 4.0.0-rc2) mkoctfile: /opt/octave/4.0.0-rc2/bin/mkoctfile-4.0.0-rc2 --verbose for Octave 0-rc2 find . -name NOINSTALL -print # shows which toolboxes won't be installed make: Entering directory `/tmp/oct-lXGc68/odepkg_to_debug/src' Unpacking external packages: hairer.tgz Unpacking external packages: hairer.tgz Unpacking external packages: cash.tgz Unpacking external packages: cash.tgz Unpacking external packages: daskr.tgz Unpacking external packages: daskr.tgz Applying patches from file: hairer.diff Applying patches from file: cash.diff (Stripping trailing CRs from patch; use --binary to disable.) Applying patches from file: hairer.diff patching file cash/mebdfdae.f Applying patches from file: cash.diff (Stripping trailing CRs from patch; use --binary to disable.) (Stripping trailing CRs from patch; use --binary to disable.) patching file cash/mebdfi.f patching file cash/mebdfdae.f Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 68 out of 68 hunks ignored -- saving rejects to file cash/mebdfdae.f.rej (Stripping trailing CRs from patch; use --binary to disable.) Applying patches from file: daskr.diff patching file cash/mebdfi.f Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. (Stripping trailing CRs from patch; use --binary to disable.) 68 out of 68 hunks ignored -- saving rejects to file cash/mebdfi.f.rej patching file daskr/ddaskr.f Applying patches from file: daskr.diff (Stripping trailing CRs from patch; use --binary to disable.) patching file daskr/dlinpk.f (Stripping trailing CRs from patch; use --binary to disable.) patching file daskr/ddaskr.f Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file daskr/ddaskr.f.rej (Stripping trailing CRs from patch; use --binary to disable.) patching file daskr/dlinpk.f Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file daskr/dlinpk.f.rej make: *** [cash] Error 1 make: *** Waiting for unfinished jobs.... Unpacking external packages: hairer.tgz Unpacking external packages: cash.tgz Unpacking external packages: daskr.tgz Applying patches from file: hairer.diff Applying patches from file: cash.diff (Stripping trailing CRs from patch; use --binary to disable.) patching file cash/mebdfdae.f (Stripping trailing CRs from patch; use --binary to disable.) patching file cash/mebdfi.f Applying patches from file: daskr.diff (Stripping trailing CRs from patch; use --binary to disable.) patching file daskr/ddaskr.f (Stripping trailing CRs from patch; use --binary to disable.) patching file daskr/dlinpk.f make: Leaving directory `/tmp/oct-lXGc68/odepkg_to_debug/src' pkg: error running `make' for the odepkg package. error: called from 'configure_make' in file /opt/octave/4.0.0-rc2/share/octave/4.0.0-rc2/m/pkg/private/configure_make.m near line 96, column 9
Tatsuro
Apology that this for mxe-ctave for windows but I cannot find other appropriate to place to disscuss. Can you build odepkg in mercurial version? I have tried it on octave-4.0.0-rc2 on Ubunu 14.04 (amd64) but build was in failure.
mkdir (/tmp/oct-WWm2s0) untar (odepkg_to_debug.tar.gz, /tmp/oct-WWm2s0) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for mkoctfile... /opt/octave/4.0.0-rc2/bin/mkoctfile-4.0.0-rc2 --verbose g++ -c -fPIC -I/opt/octave/4.0.0-rc2/include/octave-4.0.0-rc2/octave/.. -I/opt/octave/4.0.0-rc2/include/octave-4.0.0-rc2/octave -I/opt/octave/4.0.0-rc2/include -pthread -fopenmp -g -O2 conftest.cc -o conftest.o g++ -shared -Wl,-Bsymbolic -o conftest.oct conftest.o -L/opt/octave/4.0.0-rc2/lib/octave/4.0.0-rc2 -L/opt/octave/4.0.0-rc2/lib -loctinterp -loctave retrieving compile and link flags from /opt/octave/4.0.0-rc2/bin/mkoctfile-4.0.0-rc2 --verbose checking for F77_FUNC... g++ -c -fPIC -I/opt/octave/4.0.0-rc2/include/octave-4.0.0-rc2/octave/..-I/opt/octave/4.0.0-rc2/include/octave-4.0.0-rc2/octave -I/opt/octave/4.0.0-rc2/include -pthread -fopenmp -g -O2 conftest.cc -o conftest.o yes checking for octave... /opt/octave/4.0.0-rc2/bin/octave-4.0.0-rc2 checking for OCTAVE_VERSION in Octave... 4.0.0-rc2 checking for octave_config_info('canonical_host_type') in Octave... x86_64-unknown-linux-gnu checking for octave_config_info('SHLEXT') in Octave... so checking whether ln -s works... yes checking for ranlib... ranlib checking for strip... strip configure: creating ./config.status config.status: creating Makeconf "$prefix" is /home/tatsuro/octave/odepkg-0.8.4 "$exec_prefix" is ${prefix} octave commands will install into the following directories: m-files: /opt/octave/4.0.0-rc2/share/octave/4.0.0-rc2/site/m/octave-forge oct-files: /opt/octave/4.0.0-rc2/lib/octave/4.0.0-rc2/site/oct/x86_64-unknown-linux-gnu/octave-forge binaries: /opt/octave/4.0.0-rc2/libexec/octave/4.0.0-rc2/site/exec/x86_64-unknown-linux-gnu alternatives: m-files: /opt/octave/4.0.0-rc2/share/octave/4.0.0-rc2/site/octave-forge-alternatives/m oct-files: /opt/octave/4.0.0-rc2/lib/octave/4.0.0-rc2/site/octave-forge-alternatives/oct/x86_64-unknown-linux-gnu shell commands will install into the following directories: binaries: ${exec_prefix}/bin man pages: ${datarootdir}/man libraries: ${exec_prefix}/lib headers: ${prefix}/include octave-forge is configured with octave: /opt/octave/4.0.0-rc2/bin/octave-4.0.0-rc2 (version 4.0.0-rc2) mkoctfile: /opt/octave/4.0.0-rc2/bin/mkoctfile-4.0.0-rc2 --verbose for Octave 0-rc2 find . -name NOINSTALL -print # shows which toolboxes won't be installed make: Entering directory `/tmp/oct-WWm2s0/odepkg_to_debug/src' Unpacking external packages: hairer.tgz Unpacking external packages: hairer.tgz Unpacking external packages: cash.tgz Unpacking external packages: cash.tgz Unpacking external packages: daskr.tgz Unpacking external packages: daskr.tgz Applying patches from file: hairer.diff Applying patches from file: cash.diff Applying patches from file: hairer.diff (Stripping trailing CRs from patch; use --binary to disable.) patching file cash/mebdfdae.f Applying patches from file: cash.diff (Stripping trailing CRs from patch; use --binary to disable.) patching file cash/mebdfi.f Applying patches from file: daskr.diff (Stripping trailing CRs from patch; use --binary to disable.) (Stripping trailing CRs from patch; use --binary to disable.) patching file cash/mebdfdae.f Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. patching file daskr/ddaskr.f 68 out of 68 hunks ignored -- saving rejects to file cash/mebdfdae.f.rej (Stripping trailing CRs from patch; use --binary to disable.) patching file cash/mebdfi.f (Stripping trailing CRs from patch; use --binary to disable.) Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. patching file daskr/dlinpk.f 68 out of 68 hunks ignored -- saving rejects to file cash/mebdfi.f.rej Unpacking external packages: hairer.tgz Applying patches from file: daskr.diff (Stripping trailing CRs from patch; use --binary to disable.) patching file daskr/ddaskr.f Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file daskr/ddaskr.f.rej (Stripping trailing CRs from patch; use --binary to disable.) patching file daskr/dlinpk.f Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file daskr/dlinpk.f.rej make: *** [hairer] Error 1 make: *** Waiting for unfinished jobs.... Unpacking external packages: cash.tgz Unpacking external packages: daskr.tgz Applying patches from file: hairer.diff Applying patches from file: cash.diff (Stripping trailing CRs from patch; use --binary to disable.) patching file cash/mebdfdae.f (Stripping trailing CRs from patch; use --binary to disable.) patching file cash/mebdfi.f Applying patches from file: daskr.diff (Stripping trailing CRs from patch; use --binary to disable.) patching file daskr/ddaskr.f (Stripping trailing CRs from patch; use --binary to disable.) patching file daskr/dlinpk.f make: Leaving directory `/tmp/oct-WWm2s0/odepkg_to_debug/src' pkg: error running `make' for the odepkg package. error: called from 'configure_make' in file /opt/octave/4.0.0-rc2/share/octave/4.0.0-rc2/m/pkg/private/configure_make.m near line 96, column 9
In mercurial version of odepkg. Failure occurs in MKF77FILE calls as FFLAGS is multiple options. Placing quotes around the FFLAGS variable fixes issue. Patch attached
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only project members can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 5 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.12