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: RESOLVED FIXED
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: PMASKED
Depends on:
Blocks: PROJ-8
  Show dependency tree
 
Reported: 2019-05-16 07:38 UTC by Toralf Förster
Modified: 2022-08-29 08:07 UTC (History)
3 users (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(-)
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-05 05:39:16 UTC
I'd really like to look at unmasking PROJ 8 soon, if possible.
Comment 11 Larry the Git Cow gentoo-dev 2021-10-27 06:33:24 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50c2672205be2a102bbd5f5f34e1c26887143dd8

commit 50c2672205be2a102bbd5f5f34e1c26887143dd8
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-27 06:33:01 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-27 06:33:01 +0000

    app-misc/zygrib: depend on < PROJ 8 for now
    
    Bug: https://bugs.gentoo.org/686078
    Signed-off-by: Sam James <sam@gentoo.org>

 app-misc/zygrib/{zygrib-8.0.1-r1.ebuild => zygrib-8.0.1-r2.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-27 06:33:52 UTC
(In reply to eNca from comment #7)
> 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.

Ping, mschiff please look at doing this if it's feasible.
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-16 03:17:42 UTC
(In reply to Sam James from comment #12)
> (In reply to eNca from comment #7)
> > 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.
> 
> Ping, mschiff please look at doing this if it's feasible.

ping
Comment 14 Marc Schiffbauer gentoo-dev 2022-01-16 03:41:59 UTC
I had the same idea regarding xygrib. Thanks for the ping, will look into it asap
Comment 15 Marc Schiffbauer gentoo-dev 2022-01-30 22:12:22 UTC
I started creating an ebuild for xygrib, but its a bit more work than I'd expected and I do not have an ETA when it will be finished now.

So to speed things up, I would be OK with lastriting ZyGrib now, so its not in the way anymore.
What do you think?
Comment 16 Larry the Git Cow gentoo-dev 2022-07-30 03:48:46 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6643741dc23ca9a56ad6eb15e9241e83a7323fe0

commit 6643741dc23ca9a56ad6eb15e9241e83a7323fe0
Author:     Marc Schiffbauer <mschiff@gentoo.org>
AuthorDate: 2022-07-30 03:45:21 +0000
Commit:     Marc Schiffbauer <mschiff@gentoo.org>
CommitDate: 2022-07-30 03:45:21 +0000

    profiles: last-rite app-misc/zygrib
    
    Bug: https://bugs.gentoo.org/637150
    Bug: https://bugs.gentoo.org/686078
    Bug: https://bugs.gentoo.org/733066
    Bug: https://bugs.gentoo.org/733068
    Bug: https://bugs.gentoo.org/828986
    Bug: https://bugs.gentoo.org/854744
    Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>

 profiles/package.mask | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 17 Larry the Git Cow gentoo-dev 2022-08-29 08:07:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=871c9b356e0c940d25c204726fca91b300c94604

commit 871c9b356e0c940d25c204726fca91b300c94604
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2022-08-29 08:06:11 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2022-08-29 08:07:21 +0000

    app-misc/zygrib: treeclean
    
    Closes: https://bugs.gentoo.org/637150
    Closes: https://bugs.gentoo.org/828986
    Closes: https://bugs.gentoo.org/854744
    Closes: https://bugs.gentoo.org/686078
    Closes: https://bugs.gentoo.org/733066
    Closes: https://bugs.gentoo.org/733068
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 app-misc/zygrib/Manifest                         |  6 --
 app-misc/zygrib/files/zygrib-8.0.1-libs.patch    | 20 -------
 app-misc/zygrib/files/zygrib-8.0.1-proj-6.patch  | 20 -------
 app-misc/zygrib/files/zygrib-8.0.1-qt-5.15.patch | 38 -------------
 app-misc/zygrib/files/zygrib.desktop             | 11 ----
 app-misc/zygrib/metadata.xml                     | 10 ----
 app-misc/zygrib/zygrib-8.0.1-r2.ebuild           | 71 ------------------------
 profiles/package.mask                            |  7 ---
 8 files changed, 183 deletions(-)