Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation issue: openbabel #43556

Open
4 tasks done
skylerpaulus opened this issue Apr 9, 2024 · 10 comments
Open
4 tasks done

Installation issue: openbabel #43556

skylerpaulus opened this issue Apr 9, 2024 · 10 comments

Comments

@skylerpaulus
Copy link

skylerpaulus commented Apr 9, 2024

Steps to reproduce the issue

$ spack install openbabel
...

Error message

Error message
$ spack install openbabel
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/bzip2-1.0.8-ss6qnnnb2jc3pzckctwa47vahnzezlsw
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/xz-5.4.1-nspysnil6toiugzgoq3pdkkjbrjunqg6
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/zlib-ng-2.1.5-wbwhp4spbwn2xsvuskhrr5dyw26o4g6k
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/zstd-1.5.5-zvxveix5ngu4p2tvbch2zfejwxidvbc4
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/font-util-1.4.0-sfwat7he5ik7nzpgyofh3zczyrltfrd7
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/libiconv-1.17-eh6wgi6gbbazprxuwraajo5ks27bxg5m
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/util-linux-uuid-2.38.1-6psym7biafovmin2y6g6j26dw7tzptj6
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/ncurses-6.4-yjlxwprperm4e7drp3sc5gloyjqpcg3k
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/pkgconf-1.9.5-56dlotyzsvlza33jf6bbszygmsshdkmp
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/libffi-3.4.4-oswqmd6kjvhtuy6tepjjqbni53ny7jac
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/pcre2-10.42-rvx6bksym4ggklytsziep7n7nkgertpy
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/berkeley-db-18.1.40-sflltu6xbrssa3v62bjqpc2p67qaviio
[+] /opt/ohpc/pub/apps/python3/3.9.16 (external python-3.9.16-4n5gh2n3f7phywrqqpslvbxpknszequb)
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/eigen-3.4.0-5x3dbwlmyoeuqtauzn7j7rqjolaasona
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/gmake-4.4.1-mnrolzjc5rx3pgvda2vhyzdxukkt7d6h
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/boost-1.83.0-plifjr6gknx7at4ad47nsykx2pzoh2wt
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/fribidi-1.0.12-vdrqbdmdawru6bhgijxhveufkoc2hmoi
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/xtrans-1.4.0-6yg7zxo7aviwiqkc5rcdn4hsxwoiqalb
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/nghttp2-1.57.0-wx4ck5dhzpdwbtd2d7q4owh7som2xt27
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/pigz-2.7-6dsbfkbb2m2pwfudam2gn6zetahswxno
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/readline-8.2-6xfnoyeiecwiasdvqycact7ga5sn3kmt
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/xproto-7.0.31-xkrhas2slhfa4wkyihstpodlgwlgtsky
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/swig-4.1.1-q4kn5ryuoqn6jd2yzy5djpvbaa4z6dy3
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/icu4c-67.1-kw4e7jstcyk4tzntvcxlfzsuoowggr3u
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/rapidjson-1.2.0-2022-03-09-2rtdtfqmgrwl2kbibqy2sdbs4htcyhh5
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/libxml2-2.10.3-zp2t4dm2ugu7oui6rzeocbkkjfmx4u2q
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/libpng-1.6.39-bfx7zoh3mwuzlszxoopdoxuisv4245dj
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/openssl-3.1.3-vocf6ejdr4cjsw3jsjzfatwsi72jzqys
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/tar-1.34-ob5weonjgh5q4ou4sjonss4c6llvalbq
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/gdbm-1.23-fz462h7hv6pagshhfmkuqpuo22oxlh6o
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/libice-1.0.9-hlns3yctdjpv35v3rhtywn6iouevv7xw
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/pixman-0.42.2-qdxhrcccn7iimakvjxbkjtejfsxxbils
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/freetype-2.11.1-f3xcfauuyvne5lgbmhbmdvqjjwadhmok
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/curl-8.4.0-jaggwhwtazvibu4lt3bmfyuihupmnb6i
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/gettext-0.22.4-hyqbyassrylr724ohf7oqim5cmolt2pt
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/perl-5.38.0-z4z5di7d7y6aoclrw23atluy5rrk4qdf
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/libsm-1.2.3-h7gj6ydx7egz7xaddvlbze6riwwidx3o
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/fontconfig-2.14.2-rk2tr7bigkujrxixaeoxx326iagoelmf
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/cmake-3.27.9-i3t3cdlrp5wdfv23ltq2lzbhoztyuhor
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/elfutils-0.190-kgtcjwmss7b66f43chorkotqewmkkaj3
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/glib-2.78.0-njmuf44uibpskg525diefdtnfqj3h6jr
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/cairo-1.16.0-alilhmqv3tof7nggq2h6di3lb5jyyvpi
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/gobject-introspection-1.76.1-x6nvtqtlnhmqifp5a5ip4ujkiyqu2sqg
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/harfbuzz-7.3.0-fkntulwn35mb5hpcdevvlywcneehwma5
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/json-glib-1.6.6-sesiok6dt64oxkclrjt74gqoqubuhtbr
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/pango-1.50.13-fsvis6aflyearchhwg5trdpxd2i463yi
==> Installing openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj [47/47]
==> No binary for openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj found: installing from source
==> Using cached archive: /opt/ohpc/pub/spack/var/spack/cache/_source-cache/git//openbabel/openbabel.git/cbd4db43f8908b874864280fdc03bf92569eebc1.tar.gz
==> Warning: Fetching from mirror without a checksum!
  This package is normally checked out from a version control system, but it has been archived on a spack mirror.  This means we cannot know a checksum for the tarball in advance. Be sure that your connection to this mirror is secure!
==> No patches needed for openbabel
==> openbabel: Executing phase: 'cmake'
==> openbabel: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
    'make' '-j8'

6 errors found in build log:
     1319          |                   ^~~~~~~~~~~~~~~
     1320    /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-9.4.0/gcc-13.2.0-amrg7qqakxemynqsg5y3h2pn3cy3xnzf/lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/stl_function.h:
             131:12: note: declared here
     1321      131 |     struct binary_function
     1322          |            ^~~~~~~~~~~~~~~
     1323    In file included from /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src/src/depict/asciipainter.cpp:18:
     1324    /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src/include/openbabel/obutil.h: In member function 'void OpenBabel::OBStopwatch::Start()':
  >> 1325    /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src/include/openbabel/obutil.h:65:14: error: 'clock' was not declared in this scope
     1326       65 |       start= clock();
     1327          |              ^~~~~
     1328    /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src/include/openbabel/obutil.h:40:1: note: 'clock' is defined in header ''; did you forget to
              '#include '?
     1329       39 | #include 
     1330      +++ |+#include 
     1331       40 |
     1332    /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src/include/openbabel/obutil.h: In member function 'double OpenBabel::OBStopwatch::Lap()':
  >> 1333    /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src/include/openbabel/obutil.h:70:13: error: 'clock' was not declared in this scope
     1334       70 |       stop= clock();
     1335          |             ^~~~~
     1336    /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src/include/openbabel/obutil.h:70:13: note: 'clock' is defined in header ''; did you forget t
             o '#include '?
  >> 1337    /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src/include/openbabel/obutil.h:71:40: error: 'CLOCKS_PER_SEC' was not declared in this scope
     1338       71 |       return((stop - start) / (double) CLOCKS_PER_SEC);
     1339          |                                        ^~~~~~~~~~~~~~
     1340    /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src/include/openbabel/obutil.h:71:40: note: the macro 'CLOCKS_PER_SEC' had not yet been defined
     1341    In file included from /usr/include/time.h:33,
     1342                     from /usr/include/pthread.h:24,
     1343                     from /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-9.4.0/gcc-13.2.0-amrg7qqakxemynqsg5y3h2pn3cy3xnzf/lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.
             0/x86_64-pc-linux-gnu/bits/gthr-default.h:35,

     ...

     1382    In file included from /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-9.4.0/gcc-13.2.0-amrg7qqakxemynqsg5y3h2pn3cy3xnzf/lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.
             0/string:49,
     1383                     from /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src/include/openbabel/dlhandler.h:24,
     1384                     from /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src/include/openbabel/plugin.h:23:
     1385    /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-9.4.0/gcc-13.2.0-amrg7qqakxemynqsg5y3h2pn3cy3xnzf/lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/stl_function.h:
             131:12: note: declared here
     1386      131 |     struct binary_function
     1387          |            ^~~~~~~~~~~~~~~
  >> 1388    make[2]: *** [src/formats/CMakeFiles/asciiformat.dir/build.make:93: src/formats/CMakeFiles/asciiformat.dir/__/depict/asciipainter.cpp.o] Error 1
     1389    make[2]: *** Waiting for unfinished jobs....
     1390    make  -f src/formats/CMakeFiles/MNAformat.dir/build.make src/formats/CMakeFiles/MNAformat.dir/depend
     1391    make[2]: Entering directory '/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-build-drixo3k'
     1392    cd /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-build-drixo3k && /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/cmake-3.27.9-i3t3cd
             lrp5wdfv23ltq2lzbhoztyuhor/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src /tmp/spack/spack-stage/sp
             ack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src/src/formats /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-build-drixo3k /tmp/
             spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-build-drixo3k/src/formats /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fc
             ynuj/spack-build-drixo3k/src/formats/CMakeFiles/MNAformat.dir/DependInfo.cmake "--color="
     1393    make[2]: Leaving directory '/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-build-drixo3k'
     1394    make  -f src/formats/CMakeFiles/MNAformat.dir/build.make src/formats/CMakeFiles/MNAformat.dir/build
     1395    make[2]: Entering directory '/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-build-drixo3k'
     1396    [ 30%] Building CXX object src/formats/CMakeFiles/MNAformat.dir/MNAformat.cpp.o
     1397    cd /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-build-drixo3k/src/formats && /opt/ohpc/pub/spack/lib/spack/env/gcc/g++ -DBUILD_LINK_AS_DLL -DHAVE
             _EIGEN -DHAVE_EIGEN3 -DHAVE_LIBZ -DHAVE_RADPIJSON -DHAVE_SHARED_POINTER -DMNAformat_EXPORTS -DUSING_DYNAMIC_LIBS -I/opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/zlib-ng-2.1.5-
             wbwhp4spbwn2xsvuskhrr5dyw26o4g6k/include -I/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-build-drixo3k/include -I/tmp/spack/spack-stage/spack-stag
             e-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src/data -I/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src/include -I/opt/ohpc/pub/spac
             k/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/eigen-3.4.0-5x3dbwlmyoeuqtauzn7j7rqjolaasona/include/eigen3 -I/opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/boost-1.83.0-plifjr6gknx
             7at4ad47nsykx2pzoh2wt/include -I/opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/rapidjson-1.2.0-2022-03-09-2rtdtfqmgrwl2kbibqy2sdbs4htcyhh5/include -I/opt/ohpc/pub/spack/opt/spa
             ck/linux-rocky8-x86_64/gcc-13.2.0/cairo-1.16.0-alilhmqv3tof7nggq2h6di3lb5jyyvpi/include/cairo -I/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src/
             include/inchi -I/opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/libxml2-2.10.3-zp2t4dm2ugu7oui6rzeocbkkjfmx4u2q/include/libxml2 -O3 -DNDEBUG -O3 -DNDEBUG -std=gnu++11 -fPIC -pth
             read -MD -MT src/formats/CMakeFiles/MNAformat.dir/MNAformat.cpp.o -MF CMakeFiles/MNAformat.dir/MNAformat.cpp.o.d -o CMakeFiles/MNAformat.dir/MNAformat.cpp.o -c /tmp/spack/spack-stage/spack-s
             tage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src/src/formats/MNAformat.cpp
     1398    make[2]: Leaving directory '/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-build-drixo3k'
  >> 1399    make[1]: *** [CMakeFiles/Makefile2:1608: src/formats/CMakeFiles/asciiformat.dir/all] Error 2
     1400    make[1]: *** Waiting for unfinished jobs....
     1401    [ 30%] Building CXX object src/CMakeFiles/plugin_charges.dir/charges/qtpie.cpp.o
     1402    cd /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-build-drixo3k/src && /opt/ohpc/pub/spack/lib/spack/env/gcc/g++ -DHAVE_EIGEN -DHAVE_EIGEN3 -DHAVE_
             LIBZ -DHAVE_RADPIJSON -DHAVE_SHARED_POINTER -DUSING_DYNAMIC_LIBS -Dplugin_charges_EXPORTS -I/opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/zlib-ng-2.1.5-wbwhp4spbwn2xsvuskhrr5d
             yw26o4g6k/include -I/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-build-drixo3k/include -I/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo
             3krctotza7prydmvit755fcynuj/spack-src/data -I/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src/include -I/opt/ohpc/pub/spack/opt/spack/linux-rocky
             8-x86_64/gcc-13.2.0/eigen-3.4.0-5x3dbwlmyoeuqtauzn7j7rqjolaasona/include/eigen3 -I/opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/boost-1.83.0-plifjr6gknx7at4ad47nsykx2pzoh2wt/i
             nclude -I/opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/rapidjson-1.2.0-2022-03-09-2rtdtfqmgrwl2kbibqy2sdbs4htcyhh5/include -O3 -DNDEBUG -O3 -DNDEBUG -std=gnu++11 -fPIC -pthrea
             d -MD -MT src/CMakeFiles/plugin_charges.dir/charges/qtpie.cpp.o -MF CMakeFiles/plugin_charges.dir/charges/qtpie.cpp.o.d -o CMakeFiles/plugin_charges.dir/charges/qtpie.cpp.o -c /tmp/spack/spa
             ck-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src/src/charges/qtpie.cpp
     1403    In file included from /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src/include/openbabel/format.h:22,
     1404                     from /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src/include/openbabel/obconversion.h:37,
     1405                     from /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-src/src/formats/copyformat.cpp:14:

     ...

     1757    [ 35%] Linking CXX shared module ../lib/plugin_charges.so
     1758    cd /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-build-drixo3k/src && /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/cmake-3.27.9-i3
             t3cdlrp5wdfv23ltq2lzbhoztyuhor/bin/cmake -E cmake_link_script CMakeFiles/plugin_charges.dir/link.txt --verbose=1
     1759    /opt/ohpc/pub/spack/lib/spack/env/gcc/g++ -fPIC -O3 -DNDEBUG -O3 -DNDEBUG -Wl,--enable-new-dtags -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc  -shared  -o ../lib/plugin
             _charges.so CMakeFiles/plugin_charges.dir/charges/eem.cpp.o CMakeFiles/plugin_charges.dir/charges/gasteiger.cpp.o CMakeFiles/plugin_charges.dir/charges/none.cpp.o CMakeFiles/plugin_charges.d
             ir/charges/mmff94.cpp.o CMakeFiles/plugin_charges.dir/charges/fromfile.cpp.o CMakeFiles/plugin_charges.dir/charges/eqeq.cpp.o CMakeFiles/plugin_charges.dir/charges/qeq.cpp.o CMakeFiles/plugi
             n_charges.dir/charges/qtpie.cpp.o  -Wl,-rpath,/opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/zlib-ng-2.1.5-wbwhp4spbwn2xsvuskhrr5dyw26o4g6k/lib:/tmp/spack/spack-stage/spack-sta
             ge-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-build-drixo3k/lib:::::: -lm -ldl /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/zlib-ng-2.1.5-wbwhp4spbwn2xsvuskhrr5dy
             w26o4g6k/lib/libz.so ../lib/libopenbabel.so.7.0.0 -lm -ldl /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/zlib-ng-2.1.5-wbwhp4spbwn2xsvuskhrr5dyw26o4g6k/lib/libz.so -pthread
     1760    make[2]: Leaving directory '/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-build-drixo3k'
     1761    [ 35%] Built target plugin_charges
     1762    make[1]: Leaving directory '/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-build-drixo3k'
  >> 1763    make: *** [Makefile:149: all] Error 2

See build log for details:
  /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-drixo3krctotza7prydmvit755fcynuj/spack-build-out.txt

Information on your system

  • Spack: 0.22.0.dev0 (013f0d3)
  • Python: 3.6.8
  • Platform: linux-rocky8-zen2
  • Concretizer: clingo

Additional information

spack-build-env.txt
spack-build-out.txt
@RMeli

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have run spack maintainers <name-of-the-package> and @mentioned any maintainers
  • I have uploaded the build log and environment files
  • I have searched the issues of this repo and believe this is not a duplicate
@RMeli
Copy link
Member

RMeli commented Apr 9, 2024

Related to openbabel/openbabel#2533?

@RMeli
Copy link
Member

RMeli commented Apr 9, 2024

Can you please try to use the master branch and see if it works? 3.1.1 is quite old, unfortunately (from 2020).

@skylerpaulus
Copy link
Author

It did not work :(

==> Installing openbabel-master-3pm43vknmevwhgturyt2nhlzl62zzghm [47/47]
==> No binary for openbabel-master-3pm43vknmevwhgturyt2nhlzl62zzghm found: installing from source
==> No patches needed for openbabel
==> openbabel: Executing phase: 'cmake'
==> openbabel: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
    'make' '-j8'

5 errors found in build log:
     10509    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(parser.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared obje
              ct; recompile with -fPIC
     10510    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(pegen.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared objec
              t; recompile with -fPIC
     10511    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(parse.o): relocation R_X86_64_32 against hidden symbol `_PyPegen_expect_token' can not be used when
              making a shared object
     10512    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(parse_string.o): relocation R_X86_64_32S against symbol `_Py_ctype_table' can not be used when makin
              g a shared object; recompile with -fPIC
     10513    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(myreadline.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared
              object; recompile with -fPIC
     10514    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(getcompiler.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared
               object; recompile with -fPIC
  >> 10515    /usr/bin/ld: final link failed: Nonrepresentable section on output
  >> 10516    collect2: error: ld returned 1 exit status
  >> 10517    make[2]: *** [scripts/CMakeFiles/bindings_python.dir/build.make:109: /tmp/spack/spack-stage/spack-stage-openbabel-master-3pm43vknmevwhgturyt2nhlzl62zzghm/spack-src/sc
              ripts/python/openbabel/_openbabel.so] Error 1
     10518    make[2]: Leaving directory '/tmp/spack/spack-stage/spack-stage-openbabel-master-3pm43vknmevwhgturyt2nhlzl62zzghm/spack-build-3pm43vk'
  >> 10519    make[1]: *** [CMakeFiles/Makefile2:5392: scripts/CMakeFiles/bindings_python.dir/all] Error 2
     10520    make[1]: Leaving directory '/tmp/spack/spack-stage/spack-stage-openbabel-master-3pm43vknmevwhgturyt2nhlzl62zzghm/spack-build-3pm43vk'
  >> 10521    make: *** [Makefile:149: all] Error 2

See build log for details:
  /tmp/spack/spack-stage/spack-stage-openbabel-master-3pm43vknmevwhgturyt2nhlzl62zzghm/spack-build-out.txt```

@RMeli
Copy link
Member

RMeli commented Apr 10, 2024

spack install openbabel works for me with %gcc@11.4.0. I'll look into patching 3.1.1 with openbabel/openbabel#2493.

@skylerpaulus
Copy link
Author

I attempted both 3.1.1 and master versions with gcc@11.4.0 but both failed.

spack install openbabel %gcc@11.4.0
[+] /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-11.4.0/pango-1.50.13-vqp2jmwyssx5ordy4sskxkk3phgd2g4g
==> Installing openbabel-3.1.1-u4ujc4ikljjokxod4bwmp77usrttq3gg [69/69]
==> No binary for openbabel-3.1.1-u4ujc4ikljjokxod4bwmp77usrttq3gg found: installing from source
==> Using cached archive: /opt/ohpc/pub/spack/var/spack/cache/_source-cache/git//openbabel/openbabel.git/cbd4db43f8908b874864280fdc03bf92569eebc1.tar.gz
==> Warning: Fetching from mirror without a checksum!
  This package is normally checked out from a version control system, but it has been archived on a spack mirror.  This means we cannot know a checksum for the tarball in advance. Be sure that your connection to this mirror is secure!
==> No patches needed for openbabel
==> openbabel: Executing phase: 'cmake'
==> openbabel: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
    'make' '-j8'

5 errors found in build log:
     2747    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(parser.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile wit
             h -fPIC
     2748    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(pegen.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with
              -fPIC
     2749    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(parse.o): relocation R_X86_64_32 against hidden symbol `_PyPegen_expect_token' can not be used when making a shared o
             bject
     2750    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(parse_string.o): relocation R_X86_64_32S against symbol `_Py_ctype_table' can not be used when making a shared object
             ; recompile with -fPIC
     2751    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(myreadline.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile
              with -fPIC
     2752    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(getcompiler.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompil
             e with -fPIC
  >> 2753    /usr/bin/ld: final link failed: Nonrepresentable section on output
  >> 2754    collect2: error: ld returned 1 exit status
  >> 2755    make[2]: *** [scripts/CMakeFiles/bindings_python.dir/build.make:111: lib/_openbabel.so] Error 1
     2756    make[2]: Leaving directory '/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-u4ujc4ikljjokxod4bwmp77usrttq3gg/spack-build-u4ujc4i'
  >> 2757    make[1]: *** [CMakeFiles/Makefile2:5337: scripts/CMakeFiles/bindings_python.dir/all] Error 2
     2758    make[1]: Leaving directory '/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-u4ujc4ikljjokxod4bwmp77usrttq3gg/spack-build-u4ujc4i'
  >> 2759    make: *** [Makefile:149: all] Error 2

See build log for details:
  /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-u4ujc4ikljjokxod4bwmp77usrttq3gg/spack-build-out.txt
spack install openbabel@master %gcc@11.4.0
  ==> Installing openbabel-master-p5icaaxlh5yzkmccpebesoqhc4yu4cpl [47/47]
==> No binary for openbabel-master-p5icaaxlh5yzkmccpebesoqhc4yu4cpl found: installing from source
==> No patches needed for openbabel
==> openbabel: Executing phase: 'cmake'
==> openbabel: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
    'make' '-j8'

5 errors found in build log:
     11039    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(parser.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile wi
              th -fPIC
     11040    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(pegen.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile wit
              h -fPIC
     11041    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(parse.o): relocation R_X86_64_32 against hidden symbol `_PyPegen_expect_token' can not be used when making a shared
              object
     11042    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(parse_string.o): relocation R_X86_64_32S against symbol `_Py_ctype_table' can not be used when making a shared objec
              t; recompile with -fPIC
     11043    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(myreadline.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompil
              e with -fPIC
     11044    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(getcompiler.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompi
              le with -fPIC
  >> 11045    /usr/bin/ld: final link failed: Nonrepresentable section on output
  >> 11046    collect2: error: ld returned 1 exit status
  >> 11047    make[2]: *** [scripts/CMakeFiles/bindings_python.dir/build.make:109: /tmp/spack/spack-stage/spack-stage-openbabel-master-p5icaaxlh5yzkmccpebesoqhc4yu4cpl/spack-src/scripts/python/ope
              nbabel/_openbabel.so] Error 1
     11048    make[2]: Leaving directory '/tmp/spack/spack-stage/spack-stage-openbabel-master-p5icaaxlh5yzkmccpebesoqhc4yu4cpl/spack-build-p5icaax'
  >> 11049    make[1]: *** [CMakeFiles/Makefile2:5392: scripts/CMakeFiles/bindings_python.dir/all] Error 2
     11050    make[1]: Leaving directory '/tmp/spack/spack-stage/spack-stage-openbabel-master-p5icaaxlh5yzkmccpebesoqhc4yu4cpl/spack-build-p5icaax'
  >> 11051    make: *** [Makefile:149: all] Error 2

See build log for details:
  /tmp/spack/spack-stage/spack-stage-openbabel-master-p5icaaxlh5yzkmccpebesoqhc4yu4cpl/spack-build-out.txt```

@RMeli
Copy link
Member

RMeli commented Apr 12, 2024

I can't reproduce those issues unfortunately. Are you using Python as an external package? I am only using the compiler from the system, everything else is built with Spack.

@RMeli
Copy link
Member

RMeli commented Apr 12, 2024

#43612 should fix the original issue, can you please give it a try? Thanks

@RMeli
Copy link
Member

RMeli commented Apr 15, 2024

Closing since #43612 has been merged. Please feel free to re-open if this fix does not work for you.

@RMeli RMeli closed this as completed Apr 15, 2024
@skylerpaulus
Copy link
Author

Still not working for me :( I am using the systems python version as well.

openbabel@master %gcc@11.4.0

==> Installing openbabel-master-pv5muw7t7lzrr6cf7wravobhx6mkqn3i [50/50]
==> No binary for openbabel-master-pv5muw7t7lzrr6cf7wravobhx6mkqn3i found: installing from source
==> No patches needed for openbabel
==> openbabel: Executing phase: 'cmake'
==> openbabel: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
    'make' '-j8'

5 errors found in build log:
     11046    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(parser.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be us
              ed when making a shared object; recompile with -fPIC
     11047    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(pegen.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be use
              d when making a shared object; recompile with -fPIC
     11048    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(parse.o): relocation R_X86_64_32 against hidden symbol `_PyPegen_expect_
              token' can not be used when making a shared object
     11049    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(parse_string.o): relocation R_X86_64_32S against symbol `_Py_ctype_table
              ' can not be used when making a shared object; recompile with -fPIC
     11050    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(myreadline.o): relocation R_X86_64_32 against `.rodata.str1.1' can not b
              e used when making a shared object; recompile with -fPIC
     11051    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(getcompiler.o): relocation R_X86_64_32 against `.rodata.str1.1' can not
              be used when making a shared object; recompile with -fPIC
  >> 11052    /usr/bin/ld: final link failed: Nonrepresentable section on output
  >> 11053    collect2: error: ld returned 1 exit status
  >> 11054    make[2]: *** [scripts/CMakeFiles/bindings_python.dir/build.make:109: /tmp/spack/spack-stage/spack-stage-openbabel-master-pv5muw7t7lzrr6cf7
              wravobhx6mkqn3i/spack-src/scripts/python/openbabel/_openbabel.so] Error 1
     11055    make[2]: Leaving directory '/tmp/spack/spack-stage/spack-stage-openbabel-master-pv5muw7t7lzrr6cf7wravobhx6mkqn3i/spack-build-pv5muw7'
  >> 11056    make[1]: *** [CMakeFiles/Makefile2:5392: scripts/CMakeFiles/bindings_python.dir/all] Error 2
     11057    make[1]: Leaving directory '/tmp/spack/spack-stage/spack-stage-openbabel-master-pv5muw7t7lzrr6cf7wravobhx6mkqn3i/spack-build-pv5muw7'
  >> 11058    make: *** [Makefile:149: all] Error 2

See build log for details:
  /tmp/spack/spack-stage/spack-stage-openbabel-master-pv5muw7t7lzrr6cf7wravobhx6mkqn3i/spack-build-out.txt

openbabel %gcc@11.4.0

==> Installing openbabel-3.1.1-fzw4n52wmlawqrryqrx6b23iapanm2fd [50/50]
==> No binary for openbabel-3.1.1-fzw4n52wmlawqrryqrx6b23iapanm2fd found: installing from source
==> Using cached archive: /opt/ohpc/pub/spack/var/spack/cache/_source-cache/git//openbabel/openbabel.git/cbd4db43f8908b874864280fdc03bf92569eebc1.tar.gz
==> Warning: Fetching from mirror without a checksum!
  This package is normally checked out from a version control system, but it has been archived on a spack mirror.  This means we cannot know a checksum for the tarball in advance. Be sure that your connection to this mirror is secure!
==> No patches needed for openbabel
==> openbabel: Executing phase: 'cmake'
==> openbabel: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
    'make' '-j8'

5 errors found in build log:
     2433    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(parse_string.o): relocation R_X86_64_32S against symbol `_Py_ctype_table'
              can not be used when making a shared object; recompile with -fPIC
     2434    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(myreadline.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be
              used when making a shared object; recompile with -fPIC
     2435    /usr/bin/ld: /opt/ohpc/pub/apps/python3/3.9.16/lib/libpython3.9.a(getcompiler.o): relocation R_X86_64_32 against `.rodata.str1.1' can not b
             e used when making a shared object; recompile with -fPIC
     2436    [ 86%] Linking CXX shared module ../../lib/posformat.so
     2437    cd /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-fzw4n52wmlawqrryqrx6b23iapanm2fd/spack-build-fzw4n52/src/formats && /opt/ohpc/pub/spa
             ck/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/cmake-3.27.9-bi45zierr6vdglmhcddso43k6nu37dfw/bin/cmake -E cmake_link_script CMakeFiles/posform
             at.dir/link.txt --verbose=1
     2438    /opt/ohpc/pub/spack/lib/spack/env/gcc/g++ -fPIC -O3 -DNDEBUG -O3 -DNDEBUG -Wl,--enable-new-dtags -Wl,--enable-new-dtags -Wl,--fatal-warning
             s -Wl,--no-undefined -lc  -shared  -o ../../lib/posformat.so CMakeFiles/posformat.dir/posformat.cpp.o  -Wl,-rpath,/opt/ohpc/pub/spack/opt/s
             pack/linux-rocky8-x86_64/gcc-13.2.0/zlib-ng-2.1.6-fw4ot6ifbdpsy6op6mjobyz5nuacq3xm/lib:/opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gc
             c-13.2.0/cairo-1.16.0-kctvk5qx4pvxzkdsw7y3p4pt43gmoenp/lib:/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-fzw4n52wmlawqrryqrx6b23iapanm
             2fd/spack-build-fzw4n52/lib:::::: -lm -ldl /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/zlib-ng-2.1.6-fw4ot6ifbdpsy6op6mjob
             yz5nuacq3xm/lib/libz.so /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/cairo-1.16.0-kctvk5qx4pvxzkdsw7y3p4pt43gmoenp/lib/libc
             airo.so ../../lib/libinchi.so.0.4.1 -lm ../../lib/libopenbabel.so.7.0.0 /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/cairo-
             1.16.0-kctvk5qx4pvxzkdsw7y3p4pt43gmoenp/lib/libcairo.so -lc -lm -lm -ldl /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/zlib-
             ng-2.1.6-fw4ot6ifbdpsy6op6mjobyz5nuacq3xm/lib/libz.so -pthread
  >> 2439    /usr/bin/ld: final link failed: Nonrepresentable section on output
  >> 2440    collect2: error: ld returned 1 exit status
  >> 2441    make[2]: *** [scripts/CMakeFiles/bindings_python.dir/build.make:111: lib/_openbabel.so] Error 1
     2442    make[2]: Leaving directory '/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-fzw4n52wmlawqrryqrx6b23iapanm2fd/spack-build-fzw4n52'
  >> 2443    make[1]: *** [CMakeFiles/Makefile2:5337: scripts/CMakeFiles/bindings_python.dir/all] Error 2
     2444    make[1]: *** Waiting for unfinished jobs....
     2445    make[2]: Leaving directory '/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-fzw4n52wmlawqrryqrx6b23iapanm2fd/spack-build-fzw4n52'
     2446    [ 86%] Built target posformat
     2447    [ 87%] Linking CXX shared module ../../lib/shelxformat.so
     2448    cd /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-fzw4n52wmlawqrryqrx6b23iapanm2fd/spack-build-fzw4n52/src/formats && /opt/ohpc/pub/spa
             ck/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/cmake-3.27.9-bi45zierr6vdglmhcddso43k6nu37dfw/bin/cmake -E cmake_link_script CMakeFiles/shelxfo
             rmat.dir/link.txt --verbose=1
     2449    /opt/ohpc/pub/spack/lib/spack/env/gcc/g++ -fPIC -O3 -DNDEBUG -O3 -DNDEBUG -Wl,--enable-new-dtags -Wl,--enable-new-dtags -Wl,--fatal-warning
             s -Wl,--no-undefined -lc  -shared  -o ../../lib/shelxformat.so CMakeFiles/shelxformat.dir/shelxformat.cpp.o  -Wl,-rpath,/opt/ohpc/pub/spack
             /opt/spack/linux-rocky8-x86_64/gcc-13.2.0/zlib-ng-2.1.6-fw4ot6ifbdpsy6op6mjobyz5nuacq3xm/lib:/opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86
             _64/gcc-13.2.0/cairo-1.16.0-kctvk5qx4pvxzkdsw7y3p4pt43gmoenp/lib:/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-fzw4n52wmlawqrryqrx6b23
             iapanm2fd/spack-build-fzw4n52/lib:::::: -lm -ldl /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/zlib-ng-2.1.6-fw4ot6ifbdpsy6o
             p6mjobyz5nuacq3xm/lib/libz.so /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/cairo-1.16.0-kctvk5qx4pvxzkdsw7y3p4pt43gmoenp/li
             b/libcairo.so ../../lib/libinchi.so.0.4.1 -lm ../../lib/libopenbabel.so.7.0.0 /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/
             cairo-1.16.0-kctvk5qx4pvxzkdsw7y3p4pt43gmoenp/lib/libcairo.so -lc -lm -lm -ldl /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0
             /zlib-ng-2.1.6-fw4ot6ifbdpsy6op6mjobyz5nuacq3xm/lib/libz.so -pthread

     ...

     2474    [ 88%] Linking CXX shared module ../lib/plugin_ops.so
     2475    cd /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-fzw4n52wmlawqrryqrx6b23iapanm2fd/spack-build-fzw4n52/src && /opt/ohpc/pub/spack/opt/s
             pack/linux-rocky8-x86_64/gcc-13.2.0/cmake-3.27.9-bi45zierr6vdglmhcddso43k6nu37dfw/bin/cmake -E cmake_link_script CMakeFiles/plugin_ops.dir/
             link.txt --verbose=1
     2476    /opt/ohpc/pub/spack/lib/spack/env/gcc/g++ -fPIC -O3 -DNDEBUG -O3 -DNDEBUG -Wl,--enable-new-dtags -Wl,--enable-new-dtags -Wl,--fatal-warning
             s -Wl,--no-undefined -lc  -shared  -o ../lib/plugin_ops.so CMakeFiles/plugin_ops.dir/ops/addfilename.cpp.o CMakeFiles/plugin_ops.dir/ops/ad
             dinindex.cpp.o CMakeFiles/plugin_ops.dir/ops/addpolarh.cpp.o CMakeFiles/plugin_ops.dir/ops/addnonpolarh.cpp.o CMakeFiles/plugin_ops.dir/ops
             /canonical.cpp.o CMakeFiles/plugin_ops.dir/ops/changecell.cpp.o CMakeFiles/plugin_ops.dir/ops/delpolarh.cpp.o CMakeFiles/plugin_ops.dir/ops
             /delnonpolarh.cpp.o CMakeFiles/plugin_ops.dir/ops/gen2D.cpp.o CMakeFiles/plugin_ops.dir/ops/fillUC.cpp.o CMakeFiles/plugin_ops.dir/ops/forc
             efield.cpp.o CMakeFiles/plugin_ops.dir/ops/gen3d.cpp.o CMakeFiles/plugin_ops.dir/ops/largest.cpp.o CMakeFiles/plugin_ops.dir/ops/loader.cpp
             .o CMakeFiles/plugin_ops.dir/ops/neutralize.cpp.o CMakeFiles/plugin_ops.dir/ops/opsplit.cpp.o CMakeFiles/plugin_ops.dir/ops/optransform.cpp
             .o CMakeFiles/plugin_ops.dir/ops/partialcharges.cpp.o CMakeFiles/plugin_ops.dir/ops/readconformers.cpp.o CMakeFiles/plugin_ops.dir/ops/sort
             .cpp.o CMakeFiles/plugin_ops.dir/ops/opisomorph.cpp.o CMakeFiles/plugin_ops.dir/ops/ophighlight.cpp.o CMakeFiles/plugin_ops.dir/ops/xout.cp
             p.o CMakeFiles/plugin_ops.dir/ops/conformer.cpp.o CMakeFiles/plugin_ops.dir/ops/opalign.cpp.o CMakeFiles/plugin_ops.dir/ops/opconfab.cpp.o
              -Wl,-rpath,/opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/zlib-ng-2.1.6-fw4ot6ifbdpsy6op6mjobyz5nuacq3xm/lib:/tmp/spack/spac
             k-stage/spack-stage-openbabel-3.1.1-fzw4n52wmlawqrryqrx6b23iapanm2fd/spack-build-fzw4n52/lib:::::: -lm -ldl /opt/ohpc/pub/spack/opt/spack/l
             inux-rocky8-x86_64/gcc-13.2.0/zlib-ng-2.1.6-fw4ot6ifbdpsy6op6mjobyz5nuacq3xm/lib/libz.so ../lib/libopenbabel.so.7.0.0 -lm -ldl /opt/ohpc/pu
             b/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/zlib-ng-2.1.6-fw4ot6ifbdpsy6op6mjobyz5nuacq3xm/lib/libz.so -pthread
     2477    make[2]: Leaving directory '/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-fzw4n52wmlawqrryqrx6b23iapanm2fd/spack-build-fzw4n52'
     2478    [ 88%] Built target plugin_ops
     2479    make[1]: Leaving directory '/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-fzw4n52wmlawqrryqrx6b23iapanm2fd/spack-build-fzw4n52'
  >> 2480    make: *** [Makefile:149: all] Error 2

See build log for details:
  /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-fzw4n52wmlawqrryqrx6b23iapanm2fd/spack-build-out.txt

openbabel using gcc@13.2.0

==> Installing openbabel-3.1.1-vyxaozk7jiz64ud4nfbiwwejgnj6drwp [73/73]
==> No binary for openbabel-3.1.1-vyxaozk7jiz64ud4nfbiwwejgnj6drwp found: installing from source
==> Using cached archive: /opt/ohpc/pub/spack/var/spack/cache/_source-cache/git//openbabel/openbabel.git/cbd4db43f8908b874864280fdc03bf92569eebc1.tar.gz
==> Warning: Fetching from mirror without a checksum!
  This package is normally checked out from a version control system, but it has been archived on a spack mirror.  This means we cannot know a checksum for the tarball in advance. Be sure that your connection to this mirror is secure!
==> No patches needed for openbabel
==> openbabel: Executing phase: 'cmake'
==> openbabel: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
    'make' '-j8'

6 errors found in build log:
     1146    [ 28%] Building CXX object src/CMakeFiles/plugin_charges.dir/charges/fro
             mfile.cpp.o
     1147    cd /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7jiz64ud4nf
             biwwejgnj6drwp/spack-build-vyxaozk/src && /opt/ohpc/pub/spack/lib/spack/
             env/gcc/g++ -DHAVE_EIGEN -DHAVE_EIGEN3 -DHAVE_LIBZ -DHAVE_RADPIJSON -DHA
             VE_SHARED_POINTER -DUSING_DYNAMIC_LIBS -Dplugin_charges_EXPORTS -I/opt/o
             hpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/zlib-ng-2.1.6-fw4
             ot6ifbdpsy6op6mjobyz5nuacq3xm/include -I/tmp/spack/spack-stage/spack-sta
             ge-openbabel-3.1.1-vyxaozk7jiz64ud4nfbiwwejgnj6drwp/spack-build-vyxaozk/
             include -I/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7jiz
             64ud4nfbiwwejgnj6drwp/spack-src/data -I/tmp/spack/spack-stage/spack-stag
             e-openbabel-3.1.1-vyxaozk7jiz64ud4nfbiwwejgnj6drwp/spack-src/include -I/
             opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/eigen-3.4.0-
             kpl25faoh3ain6sfykfspygyiknzzafr/include/eigen3 -I/opt/ohpc/pub/spack/op
             t/spack/linux-rocky8-x86_64/gcc-13.2.0/boost-1.84.0-vc2x4jju67dvc27scwoh
             ia47rmjxeme7/include -I/opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64
             /gcc-13.2.0/rapidjson-1.2.0-2022-03-09-y3m2hm652e3qdil5qfhpnds63drs7n5w/
             include -O3 -DNDEBUG -O3 -DNDEBUG -std=gnu++11 -fPIC -pthread -MD -MT sr
             c/CMakeFiles/plugin_charges.dir/charges/fromfile.cpp.o -MF CMakeFiles/pl
             ugin_charges.dir/charges/fromfile.cpp.o.d -o CMakeFiles/plugin_charges.d
             ir/charges/fromfile.cpp.o -c /tmp/spack/spack-stage/spack-stage-openbabe
             l-3.1.1-vyxaozk7jiz64ud4nfbiwwejgnj6drwp/spack-src/src/charges/fromfile.
             cpp
     1148    [ 28%] Linking CXX shared module ../../lib/smilesformat.so
     1149    cd /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7jiz64ud4nf
             biwwejgnj6drwp/spack-build-vyxaozk/src/formats && /opt/ohpc/pub/spack/op
             t/spack/linux-rocky8-x86_64/gcc-13.2.0/cmake-3.27.9-bi45zierr6vdglmhcdds
             o43k6nu37dfw/bin/cmake -E cmake_link_script CMakeFiles/smilesformat.dir/
             link.txt --verbose=1
     1150    In file included from /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1
             -vyxaozk7jiz64ud4nfbiwwejgnj6drwp/spack-src/src/depict/asciipainter.cpp:
             18:
     1151    /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7jiz64ud4nfbiw
             wejgnj6drwp/spack-src/include/openbabel/obutil.h: In member function 'vo
             id OpenBabel::OBStopwatch::Start()':
  >> 1152    /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7jiz64ud4nfbiw
             wejgnj6drwp/spack-src/include/openbabel/obutil.h:65:14: error: 'clock' w
             as not declared in this scope
     1153       65 |       start= clock();
     1154          |              ^~~~~
     1155    /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7jiz64ud4nfbiw
             wejgnj6drwp/spack-src/include/openbabel/obutil.h:40:1: note: 'clock' is
             defined in header '<ctime>'; did you forget to '#include <ctime>'?
     1156       39 | #include <math.h>
     1157      +++ |+#include <ctime>
     1158       40 |
     1159    /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7jiz64ud4nfbiw
             wejgnj6drwp/spack-src/include/openbabel/obutil.h: In member function 'do
             uble OpenBabel::OBStopwatch::Lap()':
  >> 1160    /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7jiz64ud4nfbiw
             wejgnj6drwp/spack-src/include/openbabel/obutil.h:70:13: error: 'clock' w
             as not declared in this scope
     1161       70 |       stop= clock();
     1162          |             ^~~~~
     1163    /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7jiz64ud4nfbiw
             wejgnj6drwp/spack-src/include/openbabel/obutil.h:70:13: note: 'clock' is
              defined in header '<ctime>'; did you forget to '#include <ctime>'?
  >> 1164    /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7jiz64ud4nfbiw
             wejgnj6drwp/spack-src/include/openbabel/obutil.h:71:40: error: 'CLOCKS_P
             ER_SEC' was not declared in this scope
     1165       71 |       return((stop - start) / (double) CLOCKS_PER_SEC);
     1166          |                                        ^~~~~~~~~~~~~~
     1167    /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7jiz64ud4nfbiw
             wejgnj6drwp/spack-src/include/openbabel/obutil.h:71:40: note: the macro
             'CLOCKS_PER_SEC' had not yet been defined
     1168    In file included from /usr/include/time.h:33,
     1169                     from /usr/include/pthread.h:24,
     1170                     from /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/
             gcc-9.4.0/gcc-13.2.0-amrg7qqakxemynqsg5y3h2pn3cy3xnzf/lib/gcc/x86_64-pc-
             linux-gnu/13.2.0/../../../../include/c++/13.2.0/x86_64-pc-linux-gnu/bits
             /gthr-default.h:35,

     ...

     1234                     from /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/
             gcc-9.4.0/gcc-13.2.0-amrg7qqakxemynqsg5y3h2pn3cy3xnzf/lib/gcc/x86_64-pc-
             linux-gnu/13.2.0/../../../../include/c++/13.2.0/ostream:40,
     1235                     from /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/
             gcc-9.4.0/gcc-13.2.0-amrg7qqakxemynqsg5y3h2pn3cy3xnzf/lib/gcc/x86_64-pc-
             linux-gnu/13.2.0/../../../../include/c++/13.2.0/iostream:41,
     1236                     from /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1
             -vyxaozk7jiz64ud4nfbiwwejgnj6drwp/spack-src/include/openbabel/obconversi
             on.h:24:
     1237    /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-9.4.0/gcc-13.2.0-a
             mrg7qqakxemynqsg5y3h2pn3cy3xnzf/lib/gcc/x86_64-pc-linux-gnu/13.2.0/../..
             /../../include/c++/13.2.0/bits/stl_function.h:131:12: note: declared her
             e
     1238      131 |     struct binary_function
     1239          |            ^~~~~~~~~~~~~~~
  >> 1240    make[2]: *** [src/formats/CMakeFiles/asciiformat.dir/build.make:93: src/
             formats/CMakeFiles/asciiformat.dir/__/depict/asciipainter.cpp.o] Error 1
     1241    make[2]: *** Waiting for unfinished jobs....
     1242    make[2]: Leaving directory '/tmp/spack/spack-stage/spack-stage-openbabel
             -3.1.1-vyxaozk7jiz64ud4nfbiwwejgnj6drwp/spack-build-vyxaozk'
     1243    [ 29%] Building CXX object src/CMakeFiles/plugin_charges.dir/charges/eqe
             q.cpp.o
     1244    cd /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7jiz64ud4nf
             biwwejgnj6drwp/spack-build-vyxaozk/src && /opt/ohpc/pub/spack/lib/spack/
             env/gcc/g++ -DHAVE_EIGEN -DHAVE_EIGEN3 -DHAVE_LIBZ -DHAVE_RADPIJSON -DHA
             VE_SHARED_POINTER -DUSING_DYNAMIC_LIBS -Dplugin_charges_EXPORTS -I/opt/o
             hpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/zlib-ng-2.1.6-fw4
             ot6ifbdpsy6op6mjobyz5nuacq3xm/include -I/tmp/spack/spack-stage/spack-sta
             ge-openbabel-3.1.1-vyxaozk7jiz64ud4nfbiwwejgnj6drwp/spack-build-vyxaozk/
             include -I/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7jiz
             64ud4nfbiwwejgnj6drwp/spack-src/data -I/tmp/spack/spack-stage/spack-stag
             e-openbabel-3.1.1-vyxaozk7jiz64ud4nfbiwwejgnj6drwp/spack-src/include -I/
             opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/eigen-3.4.0-
             kpl25faoh3ain6sfykfspygyiknzzafr/include/eigen3 -I/opt/ohpc/pub/spack/op
             t/spack/linux-rocky8-x86_64/gcc-13.2.0/boost-1.84.0-vc2x4jju67dvc27scwoh
             ia47rmjxeme7/include -I/opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64
             /gcc-13.2.0/rapidjson-1.2.0-2022-03-09-y3m2hm652e3qdil5qfhpnds63drs7n5w/
             include -O3 -DNDEBUG -O3 -DNDEBUG -std=gnu++11 -fPIC -pthread -MD -MT sr
             c/CMakeFiles/plugin_charges.dir/charges/eqeq.cpp.o -MF CMakeFiles/plugin
             _charges.dir/charges/eqeq.cpp.o.d -o CMakeFiles/plugin_charges.dir/charg
             es/eqeq.cpp.o -c /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxa
             ozk7jiz64ud4nfbiwwejgnj6drwp/spack-src/src/charges/eqeq.cpp
     1245    [ 29%] Built target smilesformat
     1246    In file included from /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1
             -vyxaozk7jiz64ud4nfbiwwejgnj6drwp/spack-src/include/openbabel/format.h:2
             2,

     ...

     1271    /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-9.4.0/gcc-13.2.0-a
             mrg7qqakxemynqsg5y3h2pn3cy3xnzf/lib/gcc/x86_64-pc-linux-gnu/13.2.0/../..
             /../../include/c++/13.2.0/bits/stl_function.h:131:12: note: declared her
             e
     1272      131 |     struct binary_function
     1273          |            ^~~~~~~~~~~~~~~
     1274    [ 29%] Building CXX object src/CMakeFiles/plugin_descriptors.dir/descrip
             tors/smartsdescriptors.cpp.o
     1275    cd /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7jiz64ud4nf
             biwwejgnj6drwp/spack-build-vyxaozk/src && /opt/ohpc/pub/spack/lib/spack/
             env/gcc/g++ -DHAVE_EIGEN -DHAVE_EIGEN3 -DHAVE_LIBZ -DHAVE_RADPIJSON -DHA
             VE_SHARED_POINTER -DUSING_DYNAMIC_LIBS -Dplugin_descriptors_EXPORTS -I/o
             pt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/zlib-ng-2.1.6
             -fw4ot6ifbdpsy6op6mjobyz5nuacq3xm/include -I/tmp/spack/spack-stage/spack
             -stage-openbabel-3.1.1-vyxaozk7jiz64ud4nfbiwwejgnj6drwp/spack-build-vyxa
             ozk/include -I/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk
             7jiz64ud4nfbiwwejgnj6drwp/spack-src/data -I/tmp/spack/spack-stage/spack-
             stage-openbabel-3.1.1-vyxaozk7jiz64ud4nfbiwwejgnj6drwp/spack-src/include
              -I/opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/eigen-3.
             4.0-kpl25faoh3ain6sfykfspygyiknzzafr/include/eigen3 -I/opt/ohpc/pub/spac
             k/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/boost-1.84.0-vc2x4jju67dvc27s
             cwohia47rmjxeme7/include -I/opt/ohpc/pub/spack/opt/spack/linux-rocky8-x8
             6_64/gcc-13.2.0/rapidjson-1.2.0-2022-03-09-y3m2hm652e3qdil5qfhpnds63drs7
             n5w/include -O3 -DNDEBUG -O3 -DNDEBUG -std=gnu++11 -fPIC -pthread -MD -M
             T src/CMakeFiles/plugin_descriptors.dir/descriptors/smartsdescriptors.cp
             p.o -MF CMakeFiles/plugin_descriptors.dir/descriptors/smartsdescriptors.
             cpp.o.d -o CMakeFiles/plugin_descriptors.dir/descriptors/smartsdescripto
             rs.cpp.o -c /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7j
             iz64ud4nfbiwwejgnj6drwp/spack-src/src/descriptors/smartsdescriptors.cpp
     1276    make[2]: Leaving directory '/tmp/spack/spack-stage/spack-stage-openbabel
             -3.1.1-vyxaozk7jiz64ud4nfbiwwejgnj6drwp/spack-build-vyxaozk'
  >> 1277    make[1]: *** [CMakeFiles/Makefile2:1608: src/formats/CMakeFiles/asciifor
             mat.dir/all] Error 2
     1278    make[1]: *** Waiting for unfinished jobs....
     1279    [ 29%] Building CXX object src/CMakeFiles/plugin_ops.dir/ops/delpolarh.c
             pp.o
     1280    cd /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7jiz64ud4nf
             biwwejgnj6drwp/spack-build-vyxaozk/src && /opt/ohpc/pub/spack/lib/spack/
             env/gcc/g++ -DHAVE_EIGEN -DHAVE_EIGEN3 -DHAVE_LIBZ -DHAVE_RADPIJSON -DHA
             VE_SHARED_POINTER -DUSING_DYNAMIC_LIBS -Dplugin_ops_EXPORTS -I/opt/ohpc/
             pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/zlib-ng-2.1.6-fw4ot6i
             fbdpsy6op6mjobyz5nuacq3xm/include -I/tmp/spack/spack-stage/spack-stage-o
             penbabel-3.1.1-vyxaozk7jiz64ud4nfbiwwejgnj6drwp/spack-build-vyxaozk/incl
             ude -I/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7jiz64ud
             4nfbiwwejgnj6drwp/spack-src/data -I/tmp/spack/spack-stage/spack-stage-op
             enbabel-3.1.1-vyxaozk7jiz64ud4nfbiwwejgnj6drwp/spack-src/include -I/opt/
             ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/eigen-3.4.0-kpl2
             5faoh3ain6sfykfspygyiknzzafr/include/eigen3 -I/opt/ohpc/pub/spack/opt/sp
             ack/linux-rocky8-x86_64/gcc-13.2.0/boost-1.84.0-vc2x4jju67dvc27scwohia47
             rmjxeme7/include -I/opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc
             -13.2.0/rapidjson-1.2.0-2022-03-09-y3m2hm652e3qdil5qfhpnds63drs7n5w/incl
             ude -O3 -DNDEBUG -O3 -DNDEBUG -std=gnu++11 -fPIC -pthread -MD -MT src/CM
             akeFiles/plugin_ops.dir/ops/delpolarh.cpp.o -MF CMakeFiles/plugin_ops.di
             r/ops/delpolarh.cpp.o.d -o CMakeFiles/plugin_ops.dir/ops/delpolarh.cpp.o
              -c /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7jiz64ud4n
             fbiwwejgnj6drwp/spack-src/src/ops/delpolarh.cpp
     1281    In file included from /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1
             -vyxaozk7jiz64ud4nfbiwwejgnj6drwp/spack-src/include/openbabel/chargemode
             l.h:24,
     1282                     from /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1
             -vyxaozk7jiz64ud4nfbiwwejgnj6drwp/spack-src/src/charges/fromfile.cpp:21:
     1283    /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7jiz64ud4nfbiw
             wejgnj6drwp/spack-src/include/openbabel/plugin.h:41:42: warning: 'templa
             te<class _Arg1, class _Arg2, class _Result> struct std::binary_function'
              is deprecated [-Wdeprecated-declarations]

     ...

     1734    [ 35%] Linking CXX shared module ../lib/plugin_charges.so
     1735    cd /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7jiz64ud4nf
             biwwejgnj6drwp/spack-build-vyxaozk/src && /opt/ohpc/pub/spack/opt/spack/
             linux-rocky8-x86_64/gcc-13.2.0/cmake-3.27.9-bi45zierr6vdglmhcddso43k6nu3
             7dfw/bin/cmake -E cmake_link_script CMakeFiles/plugin_charges.dir/link.t
             xt --verbose=1
     1736    /opt/ohpc/pub/spack/lib/spack/env/gcc/g++ -fPIC -O3 -DNDEBUG -O3 -DNDEBU
             G -Wl,--enable-new-dtags -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl
             ,--no-undefined -lc  -shared  -o ../lib/plugin_charges.so CMakeFiles/plu
             gin_charges.dir/charges/eem.cpp.o CMakeFiles/plugin_charges.dir/charges/
             gasteiger.cpp.o CMakeFiles/plugin_charges.dir/charges/none.cpp.o CMakeFi
             les/plugin_charges.dir/charges/mmff94.cpp.o CMakeFiles/plugin_charges.di
             r/charges/fromfile.cpp.o CMakeFiles/plugin_charges.dir/charges/eqeq.cpp.
             o CMakeFiles/plugin_charges.dir/charges/qeq.cpp.o CMakeFiles/plugin_char
             ges.dir/charges/qtpie.cpp.o  -Wl,-rpath,/opt/ohpc/pub/spack/opt/spack/li
             nux-rocky8-x86_64/gcc-13.2.0/zlib-ng-2.1.6-fw4ot6ifbdpsy6op6mjobyz5nuacq
             3xm/lib:/tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7jiz64
             ud4nfbiwwejgnj6drwp/spack-build-vyxaozk/lib:::::: -lm -ldl /opt/ohpc/pub
             /spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/zlib-ng-2.1.6-fw4ot6ifbd
             psy6op6mjobyz5nuacq3xm/lib/libz.so ../lib/libopenbabel.so.7.0.0 -lm -ldl
              /opt/ohpc/pub/spack/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/zlib-ng-2.
             1.6-fw4ot6ifbdpsy6op6mjobyz5nuacq3xm/lib/libz.so -pthread
     1737    make[2]: Leaving directory '/tmp/spack/spack-stage/spack-stage-openbabel
             -3.1.1-vyxaozk7jiz64ud4nfbiwwejgnj6drwp/spack-build-vyxaozk'
     1738    [ 35%] Built target plugin_charges
     1739    make[1]: Leaving directory '/tmp/spack/spack-stage/spack-stage-openbabel
             -3.1.1-vyxaozk7jiz64ud4nfbiwwejgnj6drwp/spack-build-vyxaozk'
  >> 1740    make: *** [Makefile:149: all] Error 2

See build log for details:
  /tmp/spack/spack-stage/spack-stage-openbabel-3.1.1-vyxaozk7jiz64ud4nfbiwwejgnj6drwp/spack-build-out.txt

@RMeli
Copy link
Member

RMeli commented Apr 15, 2024

Right, looks like I solved a different issue with GCC12, which I had installed. I did not have GCC 13 installed. I just installed it, and I can indeed reproduce your issue. Looks like an Open Babel problem (see openbabel/openbabel#2688 (comment)) rather than a Spack-specific problem. I'd recommend to ping the developers there directly and see if they have a solution.

I can't reproduce you issue with Python unfortunately, but as I said I'm not using the system Python (I installed everything but GCC with Spack).

@RMeli RMeli reopened this Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants