bugGNU Octave - Bugs: bug #42811, mxe-octave gdcm build failure in...

 
 

bug #42811: mxe-octave gdcm build failure in native build

Submitter:  Tatsuro MATSUOKA <tmacchant>
Submitted:  Sat 19 Jul 2014 06:56:57 AM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  lostbard
Originator Name:  Open/Closed:  * Closed
Release:  * 3.8.1 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Tue 29 Jul 2014 11:48:06 PM UTC, comment #8: 


> I fixed pstoedit as well - pushed to mxe-octave


The changeset makes petoedit was built successfully and it runs on Windows XP.

Tatsuro MATSUOKA <tmacchant>
Mon 28 Jul 2014 12:46:31 AM UTC, comment #7: 

I fixed pstoedit as well - pushed to mxe-octave - basically the same patch, however in addition a couple of source files were changed to include cppcomp.h

John Donoghue <lostbard>
Group Member
Sun 27 Jul 2014 11:44:14 PM UTC, comment #6: 

With the changeset, gdcm was successfully built.  I cannot find the  reason why similar patch was not effective to pstoedit.

Anyway this post can be closed.

Tatsuro MATSUOKA <tmacchant>
Sun 27 Jul 2014 12:32:20 PM UTC, comment #5: 
John Donoghue <lostbard>
Group Member
Sat 26 Jul 2014 04:34:53 PM UTC, comment #4: 

This patch in the mxe-octave/src directory works for me.

(file #31777)

John Donoghue <lostbard>
Group Member
Sun 20 Jul 2014 01:36:19 PM UTC, comment #3: 

ok - I have gcc 4.7.2 - an older version of mingw, which was no issues.

I guess I need to try the latest version of everything.

John Donoghue <lostbard>
Group Member
Sat 19 Jul 2014 10:28:07 PM UTC, comment #2: 

I am using gcc-4.8.2 (32bit) from Mingw-w64.4

Tatsuro MATSUOKA <tmacchant>
Sat 19 Jul 2014 11:21:08 AM UTC, comment #1: 

Out of interest what mingw do you have installed?

John Donoghue <lostbard>
Group Member
Sat 19 Jul 2014 06:56:57 AM UTC, original submission:  

For post octave build (packages for octave-forge), gdcm build failed in native mxe-octave.

Failed to build package gdcm!
------------------------------------------------------------
make[3]: * [Source/Common/CMakeFiles/gdcmCommon.dir/all] Error 2
make[3]: Leaving directory `/e/usr/Tatsu/mingw32work/octave/mxe-octave/mxe-octave/tmp-gdcm/.build'


The log file attached.


[  4%] Building CXX object Source/Common/CMakeFiles/gdcmCommon.dir/gdcmFilename.cxx.obj
In file included from c:/MinGW/i686-w64-mingw32/include/_mingw.h:13:0,
                 from c:/MinGW/i686-w64-mingw32/include/crtdefs.h:10,
                 from c:/MinGW/i686-w64-mingw32/include/assert.h:15,
                 from c:/MinGW/i686-w64-mingw32/include/c++/cassert:43,
                 from e:/usr/Tatsu/mingw32work/octave/mxe-octave/mxe-octave/tmp-gdcm/gdcm-2.0.19/Source/Common/gdcmException.h:17,
                 from e:/usr/Tatsu/mingw32work/octave/mxe-octave/mxe-octave/tmp-gdcm/gdcm-2.0.19/Source/Common/gdcmLegacyMacro.h:21,
                 from e:/usr/Tatsu/mingw32work/octave/mxe-octave/mxe-octave/tmp-gdcm/gdcm-2.0.19/Source/Common/gdcmTypes.h:19,
                 from e:/usr/Tatsu/mingw32work/octave/mxe-octave/mxe-octave/tmp-gdcm/gdcm-2.0.19/Source/Common/gdcmFilename.h:17,
                 from e:/usr/Tatsu/mingw32work/octave/mxe-octave/mxe-octave/tmp-gdcm/gdcm-2.0.19/Source/Common/gdcmFilename.cxx:14:
c:/MinGW/i686-w64-mingw32/include/sec_api/string_s.h: In function 'errno_t gdcm::strcpy_s(char (&)[__size], const char*)':
c:/MinGW/i686-w64-mingw32/include/sec_api/string_s.h:28:3: error: '::strcpy_s' has not been declared
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,strcpy_s,char,,_Dst,size_t,,_SizeInBytes,const char *,,_Src)



However, strcpy_s is not found anywhere.

Tatsuro MATSUOKA <tmacchant>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #31777:  gdcm-1-nosecapi.patch added by lostbard (515B - application/octet-stream)
file #31747:  gdcm added by tmacchant (16KiB - 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 lostbard (Posted a comment)
  • -email is unavailable- added by tmacchant (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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-07-28 lostbard StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2014-07-27 lostbard StatusPatch Submitted Ready For Test
    2014-07-26 lostbard Attached File- Added gdcm-1-nosecapi.patch, #31777
        StatusNone Patch Submitted
        Assigned toNone lostbard
    2014-07-19 tmacchant Attached File- Added gdcm, #31747

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code