bugGNU Octave - Bugs: bug #56882, [octave forge] (octproj) fails to...

 
 

bug #56882: [octave forge] (octproj) fails to build with undefined macro error

Submitter:  Philip Nienhuis <philipnienhuis>
Submitted:  Wed 11 Sep 2019 07:41:09 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Duplicate Assigned to:  None
Originator Name:  Philip Nienhuis Open/Closed:  * Closed
Release:  * other Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 11 Sep 2019 09:37:55 PM UTC, comment #2: 

I think you meant the "octproj" package, not "octclip", and this is a duplicate of bug #56039.

Mike Miller <mtmiller>
Group Member
Wed 11 Sep 2019 07:56:43 PM UTC, comment #1: 

The attached patch, based on:

https://github.com/opengribs/XyGrib/issues/181

fixes the build error for me and all .m-file tests pass.


(file #47490)

Philip Nienhuis <philipnienhuis>
Group Member
Wed 11 Sep 2019 07:41:09 PM UTC, original submission:  


>> pkg install -verbose octproj-1.1.5.tar.gz
mkdir (C:\Users\philip\AppData\Local\Temp\oct-WYhYxP)
untar (octproj-1.1.5.tar.gz, C:\Users\philip\AppData\Local\Temp\oct-WYhYxP)
make: Entering directory '/c/Users/philip/AppData/Local/Temp/oct-WYhYxP/octproj-1.1.5/src'
mkoctfile -c projwrap.c -o projwrap.o
In file included from projwrap.h:26:0,
                 from projwrap.c:19:
c:\programs\octave\octave~1.0_2\mingw64\include\proj_api.h:37:2: error: #error 'To use the pro
j_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
 #error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
  ^~~~~
make: *** [Makefile:23: compile] Error 1
make: Leaving directory '/c/Users/philip/AppData/Local/Temp/oct-WYhYxP/octproj-1.1.5/src'

pkg: error running 'make' for the octproj package.
error: called from
    configure_make at line 99 column 9
    install at line 190 column 7
    pkg at line 476 column 9


Philip Nienhuis <philipnienhuis>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #47490:  octproj-1.1.5_bug#55862.patch added by philipnienhuis (507B - application/octet-stream)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by philipnienhuis (Submitted the item)
  • -email is unavailable- added by philipnienhuis
  •  

    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
    2019-09-11 mtmiller Dependencies- Depends on bugs #56039
    2019-09-11 mtmiller StatusPatch Submitted Duplicate
        Open/ClosedOpen Closed
        Summary[octave forge] (octclip) OF-octclip fails to build with undefined macro error [octave forge] (octproj) fails to build with undefined macro error
    2019-09-11 philipnienhuis Attached File- Added octproj-1.1.5_bug#55862.patch, #47490
        StatusNone Patch Submitted
    2019-09-11 philipnienhuis Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code