On Fri, Apr 5, 2019 at 3:38 PM Markus Neteler <nete...@osgeo.org> wrote: > > On Mon, Apr 1, 2019 at 11:17 PM Andrew C Aitchison > <and...@aitchison.me.uk> wrote: > > On Mon, 1 Apr 2019, Markus Neteler wrote: > > > Now I am stuck at > > > ... > > > > > > BUILD SUCCESSFUL > > > Total time: 10 seconds > > > + popd > > > + %mvn_artifact swig/java/build/maven/gdal-2.3.2.pom > > > swig/java/build/maven/gdal-2.3.2.jar > > > ~/build/BUILD/gdal-2.3.2-fedora > > > /var/tmp/rpm-tmp.R4QpDm: line 139: fg: no job control > > > error: Bad exit status from /var/tmp/rpm-tmp.R4QpDm (%build) > > > .... > > > > That is probably a bug in the rpm .spec file > > https://www.redhat.com/archives/rpm-list/2002-October/msg00271.html > > suggests that it is a % character being passed to the shell. > > Thanks Andrew, > > I made further attempts but I am stuck. > Maybe the Python-3 support needs to be kicked out as well? > > The current state is here > https://copr.fedorainfracloud.org/coprs/neteler/GDAL/build/876548/ > - SPEC file: https://copr-be.cloud.fedoraproject.org/results/neteler/GDAL/epel-7-x86_64/00876548-gdal/gdal.spec > - Log file: https://copr-be.cloud.fedoraproject.org/results/neteler/GDAL/epel-7-x86_64/00876548-gdal/builder-live.log
In the log, there is File "/usr/lib/python3.6/site-packages/copr_rpmbuild/builders/mock.py", line 40, in run where is python 3.6 with /usr/lib/python3.6/site-packages/ coming from in your build environment? Centos 7 comes with python 3.4 and gdal uses on Centos 7 python -> python2. Maybe you need to drop this custom python3.6 installation. I never had any problems compiling gdal 2.x on derivates of RHEL 7. Markus M > > I'll continue with low priority, happily accepting support by > more-than-me SPEC file experts. > > Best, > Markus > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev