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: py-polars #44190

Open
Pandapip1 opened this issue May 14, 2024 · 0 comments
Open

Installation issue: py-polars #44190

Pandapip1 opened this issue May 14, 2024 · 0 comments

Comments

@Pandapip1
Copy link
Contributor

Steps to reproduce the issue

gavinjohn@login:~ $ spack spec -I py-polars
Input spec
--------------------------------
 -   py-polars

Concretized
--------------------------------
 -   py-polars@0.20.5%gcc@13.2.0 build_system=python_pip arch=linux-rocky8-x86_64
[+]      ^gcc-runtime@13.2.0%gcc@13.2.0 build_system=generic arch=linux-rocky8-x86_64
[e]      ^glibc@2.28%gcc@13.2.0 build_system=autotools arch=linux-rocky8-x86_64
[+]      ^py-maturin@1.5.1%gcc@13.2.0 build_system=python_pip arch=linux-rocky8-x86_64
[+]          ^py-setuptools@69.2.0%gcc@13.2.0 build_system=generic arch=linux-rocky8-x86_64
[+]          ^py-setuptools-rust@1.6.0%gcc@13.2.0 build_system=python_pip arch=linux-rocky8-x86_64
[+]              ^py-semantic-version@2.10.0%gcc@13.2.0 build_system=python_pip arch=linux-rocky8-x86_64
[+]                  ^py-pip@23.0%gcc@13.2.0 build_system=generic arch=linux-rocky8-x86_64
[+]              ^py-typing-extensions@4.8.0%gcc@13.2.0 build_system=python_pip arch=linux-rocky8-x86_64
[+]                  ^py-flit-core@3.9.0%gcc@13.2.0 build_system=python_pip arch=linux-rocky8-x86_64
[+]      ^py-pip@23.1.2%gcc@13.2.0 build_system=generic arch=linux-rocky8-x86_64
[+]      ^py-wheel@0.41.2%gcc@13.2.0 build_system=generic arch=linux-rocky8-x86_64
[+]      ^python@3.11.7%gcc@13.2.0+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=13fa8bf,b0615b2,ebdca64,f2fd060 arch=linux-rocky8-x86_64
[+]          ^bzip2@1.0.8%gcc@13.2.0~debug~pic+shared build_system=generic arch=linux-rocky8-x86_64
[+]              ^diffutils@3.10%gcc@13.2.0 build_system=autotools arch=linux-rocky8-x86_64
[+]          ^expat@2.6.2%gcc@13.2.0+libbsd build_system=autotools arch=linux-rocky8-x86_64
[+]              ^libbsd@0.12.1%gcc@13.2.0 build_system=autotools arch=linux-rocky8-x86_64
[+]                  ^libmd@1.0.4%gcc@13.2.0 build_system=autotools arch=linux-rocky8-x86_64
[+]          ^gdbm@1.23%gcc@13.2.0 build_system=autotools arch=linux-rocky8-x86_64
[+]          ^gettext@0.22.5%gcc@13.2.0+bzip2+curses+git~libunistring+libxml2+pic+shared+tar+xz build_system=autotools arch=linux-rocky8-x86_64
[+]              ^libxml2@2.10.3%gcc@13.2.0+pic~python+shared build_system=autotools arch=linux-rocky8-x86_64
[+]              ^tar@1.34%gcc@13.2.0 build_system=autotools zip=pigz arch=linux-rocky8-x86_64
[+]                  ^pigz@2.8%gcc@13.2.0 build_system=makefile arch=linux-rocky8-x86_64
[+]                  ^zstd@1.5.6%gcc@13.2.0+programs build_system=makefile compression=none libs=shared,static arch=linux-rocky8-x86_64
[+]          ^gmake@4.4.1%gcc@13.2.0~guile build_system=generic arch=linux-rocky8-x86_64
[+]          ^libffi@3.4.6%gcc@13.2.0 build_system=autotools arch=linux-rocky8-x86_64
[+]          ^libxcrypt@4.4.35%gcc@13.2.0~obsolete_api build_system=autotools patches=4885da3 arch=linux-rocky8-x86_64
[+]              ^perl@5.38.0%gcc@13.2.0+cpanm+opcode+open+shared+threads build_system=generic patches=714e4d1 arch=linux-rocky8-x86_64
[+]                  ^berkeley-db@18.1.40%gcc@13.2.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-rocky8-x86_64
[+]          ^ncurses@6.5%gcc@13.2.0~symlinks+termlib abi=none build_system=autotools patches=7a351bc arch=linux-rocky8-x86_64
[+]          ^openssl@3.3.0%gcc@13.2.0~docs+shared build_system=generic certs=mozilla arch=linux-rocky8-x86_64
[+]              ^ca-certificates-mozilla@2023-05-30%gcc@13.2.0 build_system=generic arch=linux-rocky8-x86_64
[+]          ^pkgconf@2.2.0%gcc@13.2.0 build_system=autotools arch=linux-rocky8-x86_64
[+]          ^readline@8.2%gcc@13.2.0 build_system=autotools patches=bbf97f1 arch=linux-rocky8-x86_64
[+]          ^sqlite@3.43.2%gcc@13.2.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-rocky8-x86_64
[+]          ^util-linux-uuid@2.38.1%gcc@13.2.0 build_system=autotools arch=linux-rocky8-x86_64
[+]          ^xz@5.4.6%gcc@13.2.0~pic build_system=autotools libs=shared,static arch=linux-rocky8-x86_64
[+]          ^zlib-ng@2.1.6%gcc@13.2.0+compat+new_strategies+opt+pic+shared build_system=autotools arch=linux-rocky8-x86_64
[+]      ^python-venv@1.0%gcc@13.2.0 build_system=generic arch=linux-rocky8-x86_64
[+]      ^rust@1.78.0%gcc@13.2.0~dev~docs+src build_system=generic arch=linux-rocky8-x86_64
[+]          ^cmake@3.27.9%gcc@13.2.0~doc+ncurses+ownlibs build_system=generic build_type=Release arch=linux-rocky8-x86_64
[+]          ^curl@8.7.1%gcc@13.2.0~gssapi~ldap~libidn2~librtmp~libssh~libssh2+nghttp2 build_system=autotools libs=shared,static tls=openssl arch=linux-rocky8-x86_64
[+]              ^nghttp2@1.57.0%gcc@13.2.0 build_system=autotools arch=linux-rocky8-x86_64
[+]          ^libgit2@1.7.2%gcc@13.2.0~curl~ipo+mmap+ssh build_system=cmake build_type=Release generator=make https=system arch=linux-rocky8-x86_64
[+]              ^pcre@8.45%gcc@13.2.0~jit+multibyte+pic+shared+static+utf build_system=autotools arch=linux-rocky8-x86_64
[+]          ^libssh2@1.11.0%gcc@13.2.0+shared build_system=autotools crypto=openssl patches=011d926 arch=linux-rocky8-x86_64
[+]          ^ninja@1.11.1%gcc@13.2.0+re2c build_system=generic arch=linux-rocky8-x86_64
[+]              ^re2c@2.2%gcc@13.2.0 build_system=generic arch=linux-rocky8-x86_64
[+]          ^rust-bootstrap@1.78.0%gcc@13.2.0 build_system=generic arch=linux-rocky8-x86_64

Error message

Error message 1
```
==> Error: ProcessError: Command exited with status 1:
    '/ref/djslab/software/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/python-venv-1.0-bt7wnubacmfkdwezj6kczpmmugvujugx/bin/python3' '-m' 'pip' '-vvv' '--no-input' '--no-cache-dir' '--disable-pip-version-check' 'install' '--no-deps' '--ignore-installed' '--no-build-isolation' '--no-warn-script-location' '--no-index' '--prefix=/ref/djslab/software/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/py-polars-0.20.5-7alnsbolayqohhnu64nb5q5hexpk2crv' '.'

1 error found in build log:
     256        CMAKE = None
     257        running: cd "/tmp/gavinjohn/spack-stage/spack-stage-py-polars-0.20.5-7alnsbolayqohhnu64nb5q5hexpk2crv/spack-src/target/release/build/libz-ng-sy
            s-0c4793036e2b7906/out/build" && CMAKE_PREFIX_PATH="/ref/djslab/software/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/py-wheel-0.41.2-qkmdr7pr5gzwc3y45
            cozmjtqcumtp3m6:/ref/djslab/software/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/py-pip-23.1.2-mh5yowwz33bfvd2mrh27wf4jsjkylqva:/ref/djslab/software/o
            pt/spack/linux-rocky8-x86_64/gcc-13.2.0/py-maturin-1.5.1-2ycoy6pddpkdaxy3xb6ffz3ts6tkzmes:/ref/djslab/software/opt/spack/linux-rocky8-x86_64/gcc-13
            .2.0/rust-1.78.0-e3s4pm3tbkimf4bwuohffx6rfy5ukc7q:/ref/djslab/software/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/python-venv-1.0-bt7wnubacmfkdwezj6k
            czpmmugvujugx:/ref/djslab/software/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/python-3.11.7-wado6z2cuzoyinkn2hr3qgjzf7d4smuo:/ref/djslab/software/opt
            /spack/linux-rocky8-x86_64/gcc-13.2.0/gcc-runtime-13.2.0-l7iuzcvlhpwm24dt6ctf6bpqcbft4dzx" "cmake" "/home/gavinjohn/.cargo/registry/src/index.crate
            s.io-6f17d22bba15001f/libz-ng-sys-1.1.12/src/zlib-ng" "-DBUILD_SHARED_LIBS=OFF" "-DZLIB_COMPAT=OFF" "-DZLIB_ENABLE_TESTS=OFF" "-DWITH_GZFILEOP=ON" 
            "-DCMAKE_INSTALL_PREFIX=/tmp/gavinjohn/spack-stage/spack-stage-py-polars-0.20.5-7alnsbolayqohhnu64nb5q5hexpk2crv/spack-src/target/release/build/lib
            z-ng-sys-0c4793036e2b7906/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/ref/djslab/software/spack-rol
            ling/lib/spack/env/gcc/gcc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/ref/djslab/software/spack-ro
            lling/lib/spack/env/gcc/g++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/ref/djslab/software/spack-r
            olling/lib/spack/env/gcc/gcc" "-DCMAKE_BUILD_TYPE=Release"
     258    
     259        --- stderr
     260        thread 'main' panicked at /home/gavinjohn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.50/src/lib.rs:1098:5:
     261    
  >> 262    failed to execute command: No such file or directory (os error 2)
     263        is `cmake` not installed?
     264    
     265        build script failed, must exit now
     266        note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
     267      warning: build failed, waiting for other jobs to finish...
     268      💥 maturin failed

See build log for details:
  /tmp/gavinjohn/spack-stage/spack-stage-py-polars-0.20.5-7alnsbolayqohhnu64nb5q5hexpk2crv/spack-build-out.txt

srun: error: n001: task 0: Exited with exit code 1
```

After running eval $(spack load --sh cmake@3.27.9):

Error message 2
```
==> Error: ProcessError: Command exited with status 1:
    '/ref/djslab/software/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/python-venv-1.0-bt7wnubacmfkdwezj6kczpmmugvujugx/bin/python3' '-m' 'pip' '-vvv' '--no-input' '--no-cache-dir' '--disable-pip-version-check' 'install' '--no-deps' '--ignore-installed' '--no-build-isolation' '--no-warn-script-location' '--no-index' '--prefix=/ref/djslab/software/opt/spack/linux-rocky8-x86_64/gcc-13.2.0/py-polars-0.20.5-7alnsbolayqohhnu64nb5q5hexpk2crv' '.'
See build log for details:
  /tmp/gavinjohn/spack-stage/spack-stage-py-polars-0.20.5-7alnsbolayqohhnu64nb5q5hexpk2crv/spack-build-out.txt

srun: error: n001: task 0: Exited with exit code 1
```

Information on your system

gavinjohn@login:~ $ spack debug report
* **Spack:** 0.23.0.dev0 (0ce8bd4bf93a8c0def10dcef28e59b332f6f4030)
* **Python:** 3.6.8
* **Platform:** linux-rocky8-cascadelake
* **Concretizer:** clingo
* ```

### Additional information

Oddly enough, they aren't present.

### General information

- [X] I have run `spack debug report` and reported the version of Spack/Python/Platform
- [X] I have run `spack maintainers <name-of-the-package>` and **@mentioned** any maintainers
- [X] I have uploaded the build log and environment files
- [X] I have searched the issues of this repo and believe this is not a duplicate
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

1 participant