spack / spack

A flexible package manager that supports multiple versions, configurations, platforms, and compilers.
https://spack.io
Other
4.28k stars 2.27k forks source link

pyopencl build fails in ocl-icd build due to xsltproc returning non-zero status (ubuntu 18.04 / RedHat 8.4 - gcc 8.4 - spack 0.16)) #31208

Open JeromeDuboisPro opened 2 years ago

JeromeDuboisPro commented 2 years ago

Hi all, I am trying to install py-pyopencl on ubuntu-18.04 or redhat 8.4 with spack 0.16, with system gcc (8.4)

spack install py-pyopencl

Please find attached the build log: spack-build-out.txt I can very easily reproduce, and I tried to change libxslt version to no success. As a side note, spack_organizer is an internal project providing some settings for compilers/variants for our internal packages or servers.

Any idea?

Thanks. J.

    227    a2x: ERROR: "xsltproc"  --stringparam callout.graphics 0 --stringpa
       ram navig.graphics 0 --stringparam admon.textlabel 1 --stringparam
      admon.graphics 0  "/path/to/spack/opt/spack/linux-rhel8-zen/gcc-8.3.0/asciidoc-py3-9.0
       .3-mqmon6w5eqwgtrpmih5idqn2hw7wiuwa/etc/asciidoc/docbook-xsl/manpag
       e.xsl" "/tmp/my_user/spack016-cache/build_stage/spack-stage-ocl-icd
       -2.2.13-s3m22kn5vosritbyvzc3ilu6glfi47ka/spack-src/doc/libOpenCL.7.
       xml" returned non-zero exit status 5
JeromeDuboisPro commented 2 years ago

With an up to date spack, installation works flawlessly. My problem arises with our spack_organizer based on spack 0.16. Update is on its way, but that's out of mine ;-).

So as it is, spack install py-pyopencl works with last version of spack.

Maybe this issue can be closed... I'll leave it to you.

Sorry for all the noise!