Summary: | sci-geosciences/grass-7.0.1[gdal,opencl]: sandbox access violation when built against sci-libs/gdal[opencl] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christian Schmitt <chrschmitt> |
Component: | Current packages | Assignee: | Sam Jorna (wraeth) (RETIRED) <wraeth> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | proxy-maint, sci-geosciences |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log for grass-7.0.1-r1 |
Description
Christian Schmitt
2015-10-23 08:26:36 UTC
Please attach the build log. ...I wish I could. Can't upload the build.log.gz file at the moment. The site does not respond. It may be the size of the log file that is causing an issue - uncompressed, build.log for grass is generally around 3-3.5MB. Try compressing the build.log with gzip and attaching that instead. Created attachment 415344 [details]
build log for grass-7.0.1-r1
...here we go
I have tried rebuilding grass with a number of different configurations of USE, FEATURES and CFLAGS and have been unable to reproduce this issue. For now I will close this bug, however can you ensure your system is up to date and try identifying a particular option or configuration that may be triggering this. If you can provide more information, please reopen this bug and let me know. I dug deeper into this and what I figured out is the following error matrix: All USE flags set as mentioned in #1 with the following alternations: 1.) +gdal, -postgis: access violation 2.) -gdal, -postgis: compiles fine 3.) -gdal, +postgis: compile error in v.external module (missing ogr_api.h header file). No access violation error. The last error looks like an upstream bug to me, as it should not build v.external if no GDAL is available. It does so since v.external also works with postgis. I will report the last case upstream and would be happy if anyone could confirm the remaining two cases. It clearly is triggered by the GDAL option. Question remains: what calls /dev/dri/renderD128 ? It must be something within (wx)python... Case 3 now works with the patch from the GRASS bug URL. I'm getting closer to the root of the issue: sci-libs/gdal-2.0.0-r1 compiled with opencl exhibits the access violation in GRASS. Without it GRASS compiles fine (even with opencl enabled in GRASS). Could you try again to reproduce it? I've replicated this thanks to your information and will get a fix ready soon. I have also split the build failure caused by the missing header into bug 564188 as it is a separate issue. Author: Amy Winston <amynka@gentoo.org> Date: Wed Oct 28 16:03:38 2015 +0100 sci-geosciences/grass: revbump to 7.0.1-r3 Fixes sandbox violation when build with USE=opencl, remove USE=gdal and add hard dependency based on upstream requirements to resolve build failure, tidy patches into to PATCHES array, ebuild submitted by wraeth. Gentoo-bug: 563854 Gentoo-bug: 564188 |