bugGNU Octave - Bugs: bug #44594, dev of-odepkg fails install in...

 
 

bug #44594: dev of-odepkg fails install in mxe-octave

Submitter:  John Donoghue <lostbard>
Submitted:  Fri 20 Mar 2015 08:38:13 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  lostbard
Originator Name:  johnd Open/Closed:  * Closed
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 21 May 2015 11:35:49 PM UTC, comment #5: 

Latest release of odepkg 0.8.5 works for me - added to mxe-octave - closing report

John Donoghue <lostbard>
Group Member
Wed 08 Apr 2015 01:58:10 AM UTC, comment #4: 

John

I could install odepkg in mercurial version with your patch file #33856.

Thanks!

Tatsuro MATSUOKA <tmacchant>
Wed 08 Apr 2015 12:29:31 AM UTC, comment #3: 

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)

John Donoghue <lostbard>
Group Member
Tue 07 Apr 2015 11:43:51 PM UTC, comment #2: 

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

Tatsuro MATSUOKA <tmacchant>
Tue 07 Apr 2015 11:36:33 PM UTC, comment #1: 

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


Tatsuro MATSUOKA <tmacchant>
Fri 20 Mar 2015 08:38:13 PM UTC, original submission:  

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


John Donoghue <lostbard>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #33586:  fixode.patch added by lostbard (1KiB - text/x-patch)
file #33414:  fixode.patch added by lostbard (747B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tmacchant (Posted a comment)
  • -email is unavailable- added by lostbard (Submitted the item)
  •  

    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 group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-05-21 lostbard StatusNone Fixed
        Assigned toNone lostbard
        Open/ClosedOpen Closed
    2015-04-08 lostbard Attached File- Added fixode.patch, #33586
    2015-03-20 lostbard Attached File- Added fixode.patch, #33414

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code