bugGNU Octave - Bugs: bug #56039, [octave forge] (octproj) Support...


bug #56039: [octave forge] (octproj) Support for PROJ 6.0.0

Submitted by:  Bas Couwenberg <sebastic>
Submitted on:  Sun 31 Mar 2019 06:44:19 AM UTC  
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  other Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

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


Sat 13 Apr 2019 08:45:58 AM UTC, comment #4: 

The "Make compatible with PROJ 6.0" changes still cause a build failure.

The attached proj6.patch resolves that by adding the flag to LDFLAGS.

(file #46761)

Bas Couwenberg <sebastic>
Tue 02 Apr 2019 01:48:49 PM UTC, comment #3: 

Thanks for the update, José.

FTR, I'm the maintainer of the proj package in Debian.

At the moment only OpenSUSE Tumblweed has updated to PROJ 6.0.0.

After the Debian buster release we'll plan the proj transition and add -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H to all packages that don't have support for proj.h yet nor add the flag themselves.

The status of the proj.h adoption is tracked by the proj.4 community on their wiki:


Bas Couwenberg <sebastic>
Tue 02 Apr 2019 01:35:02 PM UTC, comment #2: 

I've made the changes in order to still using proj_api.h because some systems such as Debian have does not yet migrated to PROJ 6.0. I'try to migrate the package to the new API before 2020...

I've uploaded the changes to https://bitbucket.org/jgpallero/octproj/src/default/ At this moment I'm very busy at my jod, so I can't make the Octave in order to upload it, but the user can use the new code downloading it an comprising it. Then normal install via pkg

José Luis García Pallero <jgpallero>
Mon 01 Apr 2019 06:15:00 PM UTC, comment #1: 

cc'ing package maintainer.

Philip Nienhuis <philipnienhuis>
Project Member
Sun 31 Mar 2019 06:44:19 AM UTC, original submission:  

octproj still uses `proj_api.h` which is deprecated in PROJ 6.0.0 and will be removed in PROJ 7.0.0 (scheduled for March 2020).

When using `proj_api.h` with PROJ 6.0.0 `-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1` needs to be added to `CFLAGS` to prevent a compiler error.

octproj should be updated to (also) support the `proj.h` API.

Bas Couwenberg <sebastic>


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

Attach Files:

Attached Files
file #46761:  proj6.patch added by sebastic (833B - text/x-patch)


Depends on the following items: None found

   bug dependencies.


Carbon-Copy List
  • -email is unavailable- added by jgpallero (Posted a comment)
  • -email is unavailable- added by philipnienhuis
  • -email is unavailable- added by sebastic (Submitted the item)

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

    Only project members can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-09-11 mtmiller Dependencies- => bugs #56882 is dependent
    2019-04-13 sebastic Attached File- => Added proj6.patch, #46761
    2019-04-01 philipnienhuis Carbon-Copy- => Added jgpallero@gmail.com

    Back to the top

    Powered by Savane 3.5