Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792801 - sci-geosciences/grass-7.8.5 fails to compile
Summary: sci-geosciences/grass-7.8.5 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: mario.haustein
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-05-29 10:58 UTC by Agostino Sarubbo
Modified: 2021-05-29 17:46 UTC (History)
3 users (show)

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


Attachments
build.log.xz (build.log.xz,139.28 KB, application/x-xz)
2021-05-29 10:58 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-05-29 10:58:30 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-geosciences/grass-7.8.5 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-05-29 10:58:33 UTC
Created attachment 712179 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2021-05-29 10:58:34 UTC
Possible context of error(s):

Details: <[Errno 2] No such file or directory: 'g.gui.dbmgr'>
Details: <[Errno 2] No such file or directory: 'i.atcorr'>
Details: <[Errno 2] No such file or directory: 'i.fft'>
Details: <[Errno 2] No such file or directory: 'i.ifft'>
Details: <[Errno 2] No such file or directory: 'i.zc'>
Details: <[Errno 2] No such file or directory: 'm.nviz.image'>
Details: <[Errno 2] No such file or directory: 'r.in.lidar'>
Details: <[Errno 2] No such file or directory: 'r.in.png'>
Details: <[Errno 2] No such file or directory: 'r.out.png'>
Details: <[Errno 2] No such file or directory: 'r.surf.fractal'>
Details: <[Errno 2] No such file or directory: 'r.terraflow'>
Details: <[Errno 2] No such file or directory: 'r.viewshed'>
Details: <[Errno 2] No such file or directory: 'v.buffer'>
Details: <[Errno 2] No such file or directory: 'v.hull'>
Details: <[Errno 2] No such file or directory: 'v.in.lidar'>
Details: <[Errno 2] No such file or directory: 'v.out.postgis'>
Error: x86_64-pc-linux-gnu-gcc -E        -I/var/tmp/portage/sci-geosciences/grass-7.8.5/work/grass-7.8.5/dist.x86_64-pc-linux-gnu/include -I/var/tmp/portage/sci-geosciences/grass-7.8.5/work/grass-7.8.5/dist.x86_64-pc-linux-gnu/include -D__GLIBC_HAVE_LONG_LONG: /var/tmp/portage/sci-geosciences/grass-7.8.5/work/grass-7.8.5/dist.x86_64-pc-linux-gnu/include/grass/gprojects.h:32:14: fatal error: ogr_srs_api.h: No such file or directory
ModuleNotFoundError: No module named 'wx'
Error: x86_64-pc-linux-gnu-gcc -E        -I/var/tmp/portage/sci-geosciences/grass-7.8.5/work/grass-7.8.5/dist.x86_64-pc-linux-gnu/include -I/var/tmp/portage/sci-geosciences/grass-7.8.5/work/grass-7.8.5/dist.x86_64-pc-linux-gnu/include -D__GLIBC_HAVE_LONG_LONG: /var/tmp/portage/sci-geosciences/grass-7.8.5/work/grass-7.8.5/dist.x86_64-pc-linux-gnu/include/grass/gprojects.h:32:14: fatal error: ogr_srs_api.h: No such file or directory
Comment 3 Larry the Git Cow gentoo-dev 2021-05-29 17:46:22 UTC
The bug has been closed via the following commit(s):

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

commit d849efc7539748cecb34c3d6e69ca30e0a58f5b4
Author:     Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
AuthorDate: 2021-05-29 17:35:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-29 17:45:46 +0000

    sci-geosciences/grass: fix build failure with GCC 11
    
    Closes: https://bugs.gentoo.org/792801
    Package-Manager: Portage-3.0.18, Repoman-3.0.2
    Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
    Closes: https://github.com/gentoo/gentoo/pull/21039
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-geosciences/grass/files/grass-7.8.5-bool.patch | 164 +++++++++++++++++++++
 sci-geosciences/grass/grass-7.8.5.ebuild           |   4 +-
 2 files changed, 167 insertions(+), 1 deletion(-)