bugGNU Octave - Bugs: bug #45815, [octave-forge] tisean package...

 
 

bug #45815: [octave-forge] tisean package fails build in windows

Submitted by:  John Donoghue <lostbard>
Submitted on:  Mon 24 Aug 2015 05:37:16 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: JohnDOpen/Closed: Closed
Release: devOperating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Fri 04 Sep 2015 04:30:03 PM UTC, comment #11:

builds fine.

marco atzeri <matzeri>
Thu 03 Sep 2015 05:02:06 PM UTC, comment #10:

How about this

(file #34804)

John Donoghue <lostbard>
Project Member
Thu 03 Sep 2015 02:40:12 PM UTC, comment #9:

depending on arch

$ octave-config -p CANONICAL_HOST_TYPE
x86_64-unknown-cygwin

$ octave-config -p CANONICAL_HOST_TYPE
i686-pc-cygwin

marco atzeri <matzeri>
Thu 03 Sep 2015 02:34:27 PM UTC, comment #8:

Looks same issue as mingw had with requiring the fortran libs.
what is the output of:

octave-config -p CANONICAL_HOST_TYPE

John Donoghue <lostbard>
Project Member
Thu 03 Sep 2015 02:24:37 PM UTC, comment #7:

failing point with last patch

/usr/bin/mkoctfile-4.0.0.exe --verbose -ggdb -O2 -pipe -fdebug-prefix-map=/pub/devel/octave-forge/32bit/new/octave-tisean-0.2.3-1.i686/build=/usr/src/debug/octave-tisean-0.2.3-1 -fdebug-prefix-map=/pub/devel/octave-forge/32bit/new/octave-tisean-0.2.3-1.i686/src/tisean-0.2.3=/usr/src/debug/octave-tisean-0.2.3-1 -std=gnu++11 lazy.cc source_f/ts_surrogates.o source_f/d1.o source_f/istdio.o source_f/store_spec.o source_f/neigh.o source_f/rank.o source_f/ts_upo.o source_f/ts_lazy.
o source_f/normal.o source_f/libsla.a -o lazy.oct
g++ -c -I/usr/include/octave-4.0.0/octave/.. -I/usr/include/octave-4.0.0/octave -fopenmp -mieee-fp -ggdb -O2 -pipe -fdebug-prefix-map=/pub/devel/octave-forge/32bit/new/octave-tisean-0.2.3-1.i686/build=/usr/src/debug/octave-tisean-0.2.3-1
-fdebug-prefix-map=/pub/devel/octave-forge/32bit/new/octave-tisean-0.2.3-1.i686/src/tisean-0.2.3=/usr/src/debug/octave-tisean-0.2.3-1 -std=gnu++11 -ggdb -O2 -p
ipe -fdebug-prefix-map=/pub/devel/octave-forge/32bit/new/octave-tisean-0.2.3-1.i686/build=/usr/src/debug/octave-tisean-0.2.3-1 -fdebug-prefix-map=/pub/devel/octave-forge/32bit/new/octave-tisean-0.2.3-1.i686/src/tisean-0.2.3=/usr/src/debug/octave-tisean-0.2.3-1 -std=gnu++11 lazy.cc -o lazy.o
source_f/d1.o: In function `d1_':
/tmp/oct-F7OuW5/tisean-0.2.3/src/source_f/d1.f:48: undefined reference to `_gfortran_st_write'
/tmp/oct-F7OuW5/tisean-0.2.3/src/source_f/d1.f:48: undefined reference to `_gfortran_transfer_character_write'

marco atzeri <matzeri>
Wed 02 Sep 2015 08:16:03 PM UTC, comment #6:

Adding dev in CC

Juan Pablo Carbajal <juanpi>
Project Member
Wed 02 Sep 2015 06:22:21 PM UTC, comment #5:

I would imagine a similar addition for Cygwin will be needed as is added for mingw.

Do you have the build output?

John Donoghue <lostbard>
Project Member
Wed 02 Sep 2015 04:24:51 PM UTC, comment #4:

Sorry guys, in CYGWIN does not work.

marco atzeri <matzeri>
Tue 25 Aug 2015 09:14:09 PM UTC, comment #3:

John thanks. The second patch work in linux as well.
I am applying this patch to the devel branch in SF.
Lets see if more Windows reports confirm that the bug was fixed.

Juan Pablo Carbajal <juanpi>
Project Member
Tue 25 Aug 2015 02:03:40 PM UTC, comment #2:

ok - if windows only issue then perhaps as attached.

(file #34720)

John Donoghue <lostbard>
Project Member
Tue 25 Aug 2015 08:59:42 AM UTC, comment #1:

Hi,
The patch breaks compilation in Linux. Piotr Held is looking into it as we speak. Expect a patch very soon.

Juan Pablo Carbajal <juanpi>
Project Member
Mon 24 Aug 2015 05:37:16 PM UTC, original submission:

Trying to compile with octave 4.1.0+, the tsean package fails during compile with errors:

The errors appear to all be related to the fac that the gfortran library is not being linked in.

Patching the file as attached, enables successful build.

John Donoghue <lostbard>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #34804:  tisean-1-fixes.patch added by lostbard (1KiB - application/octet-stream)
file #34720:  f77fix4.patch added by lostbard (1KiB - application/octet-stream)
file #34713:  f77fix.patch added by lostbard (1KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by juanpi
  • -unavailable- added by matzeri (Posted a comment)
  • -unavailable- added by juanpi (Posted a comment)
  • -unavailable- added by lostbard (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 03 Sep 2015 05:02:06 PM UTClostbardAttached File-=>Added tisean-1-fixes.patch, #34804
    Wed 02 Sep 2015 08:16:03 PM UTCjuanpiCarbon-Copy-=>Added -unavailable-
    Tue 25 Aug 2015 10:28:05 PM UTCcarandraugStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 25 Aug 2015 02:03:40 PM UTClostbardAttached File-=>Added f77fix4.patch, #34720
    Mon 24 Aug 2015 05:37:16 PM UTClostbardAttached File-=>Added f77fix.patch, #34713

    Back to the top


    Powered by Savane 3.1-cleanup1