Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686078 - app-misc/zygrib-8.0.1-r1 w/ >=sci-libs/proj-6: /.../proj_api.h:37:2: error: #error To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H
Summary: app-misc/zygrib-8.0.1-r1 w/ >=sci-libs/proj-6: /.../proj_api.h:37:2: error: #...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Marc Schiffbauer
URL: https://github.com/opengribs/XyGrib/i...
Whiteboard:
Keywords:
Depends on:
Blocks: PROJ-8
  Show dependency tree
 
Reported: 2019-05-16 07:38 UTC by Toralf Förster
Modified: 2020-07-15 12:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.72 KB, text/plain)
2019-05-16 07:38 UTC, Toralf Förster
Details
app-misc:zygrib-8.0.1-r1:20190515-213255.log (app-misc:zygrib-8.0.1-r1:20190515-213255.log,18.30 KB, text/plain)
2019-05-16 07:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,189.43 KB, text/plain)
2019-05-16 07:38 UTC, Toralf Förster
Details
environment (environment,83.25 KB, text/plain)
2019-05-16 07:38 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.13 KB, application/x-bzip)
2019-05-16 07:38 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.00 KB, application/x-bzip)
2019-05-16 07:38 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-05-16 07:38:21 UTC
                 from curvedrawer/CurveDrawer.h:20,
                 from curvedrawer/CurveDrawer.cpp:13:
/usr/include/proj_api.h:37:2: error: #error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
   37 | #error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
      |  ^~~~~
g++ -c -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -Icurvedrawer -isystem /usr/include/qwt6 -Ig2clib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -Iobjs -isystem /usr/include/libdrm -IGUI -I/usr/lib64/qt5/mkspecs/linux-g++ -o objs/Astro.o Astro.cpp

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-desktop-gnome-systemd_libressl_20190510-215014

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.34.1 *
  [2]   rust-1.34.2
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.12.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO app-misc/zygrib
[ebuild  N    ] app-misc/zygrib-8.0.1-r1  USE="maps"
Comment 1 Toralf Förster gentoo-dev 2019-05-16 07:38:23 UTC
Created attachment 576830 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-05-16 07:38:26 UTC
Created attachment 576832 [details]
app-misc:zygrib-8.0.1-r1:20190515-213255.log
Comment 3 Toralf Förster gentoo-dev 2019-05-16 07:38:29 UTC
Created attachment 576834 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-05-16 07:38:32 UTC
Created attachment 576836 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-05-16 07:38:35 UTC
Created attachment 576838 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-05-16 07:38:38 UTC
Created attachment 576840 [details]
temp.tbz2
Comment 7 eNca 2020-04-21 10:49:44 UTC
Just a note:

It seems that zyGrib project is not maintained (the last version 4 years ago) but there is a maintained fork called xyGrib - see https://opengribs.org/

Maybe it's a good idea to create ebuild for xyGrib instead of fixing the old zyGrib.
Comment 8 Andreas Sturmlechner gentoo-dev 2020-07-15 11:59:17 UTC
This package is broken for a long time. Should it be treecleaned?
Comment 9 Larry the Git Cow gentoo-dev 2020-07-15 12:28:29 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27ae2afb66dadac740568bd610446231fd56756a

commit 27ae2afb66dadac740568bd610446231fd56756a
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-07-15 12:16:04 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-07-15 12:27:36 +0000

    app-misc/zygrib: Fix build with >=sci-libs/proj-6
    
    One interwebz search later...
    
    This is just a life-support commit and will break again with PROJ-8.
    
    Bug: https://bugs.gentoo.org/686078
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 app-misc/zygrib/files/zygrib-8.0.1-proj-6.patch | 20 ++++++++++++++++++++
 app-misc/zygrib/zygrib-8.0.1-r1.ebuild          |  5 ++++-
 2 files changed, 24 insertions(+), 1 deletion(-)