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

pip install fails on Ilifu (astLib fails to build) #365

Open
physicistsam opened this issue Mar 2, 2025 · 6 comments
Open

pip install fails on Ilifu (astLib fails to build) #365

physicistsam opened this issue Mar 2, 2025 · 6 comments

Comments

@physicistsam
Copy link

Hi,
I am trying to install QuatiCal using virtual env, however astlib is failing to built. Any help ?

Stored in directory: /tmp/pip-ephem-wheel-cache-5qn7pui2/wheels/52/5b/aa/d2e3b26bd98eb698310c16a313e8da9f3b29fd47f7048aa550
  Building wheel for astlib (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for astlib (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [239 lines of output]
      <string>:8: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
      running bdist_wheel
      running build
      running build_py
      creating build/lib.linux-x86_64-cpython-311/astLib
      copying astLib/astImages.py -> build/lib.linux-x86_64-cpython-311/astLib
      copying astLib/astWCS.py -> build/lib.linux-x86_64-cpython-311/astLib
      copying astLib/astPlots.py -> build/lib.linux-x86_64-cpython-311/astLib
      copying astLib/astCoords.py -> build/lib.linux-x86_64-cpython-311/astLib
      copying astLib/astSED.py -> build/lib.linux-x86_64-cpython-311/astLib
      copying astLib/astCalc.py -> build/lib.linux-x86_64-cpython-311/astLib
      copying astLib/astStats.py -> build/lib.linux-x86_64-cpython-311/astLib
      copying astLib/__init__.py -> build/lib.linux-x86_64-cpython-311/astLib
      creating build/lib.linux-x86_64-cpython-311/PyWCSTools
      copying PyWCSTools/wcs.py -> build/lib.linux-x86_64-cpython-311/PyWCSTools
      copying PyWCSTools/wcscon.py -> build/lib.linux-x86_64-cpython-311/PyWCSTools
      copying PyWCSTools/__init__.py -> build/lib.linux-x86_64-cpython-311/PyWCSTools
      creating build/lib.linux-x86_64-cpython-311/astLib/data
      copying astLib/data/bohlin2006_Vega.sed -> build/lib.linux-x86_64-cpython-311/astLib/data
      copying astLib/data/sun_reference_stis_001.ascii -> build/lib.linux-x86_64-cpython-311/astLib/data
      running build_ext
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c tnxpos.c -o tnxpos.o
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c distort.c -o distort.o
      distort.c: In function ‘distortinit’:
      distort.c:77:48: warning: ‘_’ directive writing 1 byte into a region of size between 0 and 9 [-Wformat-overflow=]
         77 |                         sprintf (keyword, "A_%d_%d", i, j);
            |                                                ^
      In file included from /usr/include/stdio.h:894,
                       from distort.c:41:
      /usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 6 and 25 bytes into a destination of size 12
         38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         39 |                                   __glibc_objsize (__s), __fmt,
            |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         40 |                                   __va_arg_pack ());
            |                                   ~~~~~~~~~~~~~~~~~
      distort.c:94:48: warning: ‘_’ directive writing 1 byte into a region of size between 0 and 9 [-Wformat-overflow=]
         94 |                         sprintf (keyword, "B_%d_%d", i, j);
            |                                                ^
      In file included from /usr/include/stdio.h:894,
                       from distort.c:41:
      /usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 6 and 25 bytes into a destination of size 12
         38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         39 |                                   __glibc_objsize (__s), __fmt,
            |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         40 |                                   __va_arg_pack ());
            |                                   ~~~~~~~~~~~~~~~~~
      distort.c:111:47: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=]
        111 |                         sprintf (keyword, "AP_%d_%d", i, j);
            |                                               ^~
      distort.c:111:43: note: directive argument in the range [0, 2147483647]
        111 |                         sprintf (keyword, "AP_%d_%d", i, j);
            |                                           ^~~~~~~~~~
      In file included from /usr/include/stdio.h:894,
                       from distort.c:41:
      /usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 7 and 26 bytes into a destination of size 12
         38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         39 |                                   __glibc_objsize (__s), __fmt,
            |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         40 |                                   __va_arg_pack ());
            |                                   ~~~~~~~~~~~~~~~~~
      distort.c:128:47: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=]
        128 |                         sprintf (keyword, "BP_%d_%d", i, j);
            |                                               ^~
      distort.c:128:43: note: directive argument in the range [0, 2147483647]
        128 |                         sprintf (keyword, "BP_%d_%d", i, j);
            |                                           ^~~~~~~~~~
      In file included from /usr/include/stdio.h:894,
                       from distort.c:41:
      /usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 7 and 26 bytes into a destination of size 12
         38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         39 |                                   __glibc_objsize (__s), __fmt,
            |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         40 |                                   __va_arg_pack ());
            |                                   ~~~~~~~~~~~~~~~~~
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c hput.c -o hput.o
      hput.c: In function ‘hputnr8’:
      hput.c:156:30: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=]
        156 |         sprintf (format, "%%.%df", ndec);
            |                              ^~
      hput.c:156:26: note: directive argument in the range [0, 2147483647]
        156 |         sprintf (format, "%%.%df", ndec);
            |                          ^~~~~~~~
      In file included from /usr/include/stdio.h:894,
                       from hput.c:54:
      /usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 5 and 14 bytes into a destination of size 8
         38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         39 |                                   __glibc_objsize (__s), __fmt,
            |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         40 |                                   __va_arg_pack ());
            |                                   ~~~~~~~~~~~~~~~~~
      hput.c: In function ‘deg2str’:
      hput.c:1193:33: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size between 0 and 5 [-Wformat-overflow=]
       1193 |         sprintf (degform, "%%%d.%df", field, ndec);
            |                                 ^~
      hput.c:1193:27: note: directive argument in the range [1, 2147483647]
       1193 |         sprintf (degform, "%%%d.%df", field, ndec);
            |                           ^~~~~~~~~~
      In file included from /usr/include/stdio.h:894,
                       from hput.c:54:
      /usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 6 and 25 bytes into a destination of size 8
         38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         39 |                                   __glibc_objsize (__s), __fmt,
            |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         40 |                                   __va_arg_pack ());
            |                                   ~~~~~~~~~~~~~~~~~
      hput.c: In function ‘num2str’:
      hput.c:1238:35: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=]
       1238 |             sprintf (numform, "%%.%df", ndec);
            |                                   ^~
      hput.c:1238:31: note: directive argument in the range [1, 2147483647]
       1238 |             sprintf (numform, "%%.%df", ndec);
            |                               ^~~~~~~~
      In file included from /usr/include/stdio.h:894,
                       from hput.c:54:
      /usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 5 and 14 bytes into a destination of size 8
         38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         39 |                                   __glibc_objsize (__s), __fmt,
            |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         40 |                                   __va_arg_pack ());
            |                                   ~~~~~~~~~~~~~~~~~
      hput.c:1232:34: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=]
       1232 |             sprintf (numform, "%%%dd", field);
            |                                  ^~
      hput.c:1232:31: note: directive argument in the range [1, 2147483647]
       1232 |             sprintf (numform, "%%%dd", field);
            |                               ^~~~~~~
      In file included from /usr/include/stdio.h:894,
                       from hput.c:54:
      /usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 4 and 13 bytes into a destination of size 8
         38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         39 |                                   __glibc_objsize (__s), __fmt,
            |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         40 |                                   __va_arg_pack ());
            |                                   ~~~~~~~~~~~~~~~~~
      hput.c:1228:34: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=]
       1228 |             sprintf (numform, "%%%d.%df", field, ndec);
            |                                  ^~
      hput.c:1228:31: note: directive argument in the range [1, 2147483647]
       1228 |             sprintf (numform, "%%%d.%df", field, ndec);
            |                               ^~~~~~~~~~
      hput.c:1228:31: note: directive argument in the range [1, 2147483647]
      In file included from /usr/include/stdio.h:894,
                       from hput.c:54:
      /usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 6 and 24 bytes into a destination of size 8
         38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         39 |                                   __glibc_objsize (__s), __fmt,
            |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         40 |                                   __va_arg_pack ());
            |                                   ~~~~~~~~~~~~~~~~~
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c proj.c -o proj.o
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c dateutil.c -o dateutil.o
      dateutil.c: In function ‘dt2fd’:
      dateutil.c:447:30: warning: ‘%s’ directive writing up to 31 bytes into a region of size between 0 and 31 [-Wformat-overflow=]
        447 |         sprintf (string, "%sT%s", dstring, tstring);
            |                              ^~            ~~~~~~~
      In file included from /usr/include/stdio.h:894,
                       from dateutil.c:308:
      /usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 2 and 64 bytes into a destination of size 32
         38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         39 |                                   __glibc_objsize (__s), __fmt,
            |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         40 |                                   __va_arg_pack ());
            |                                   ~~~~~~~~~~~~~~~~~
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c platepos.c -o platepos.o
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c zpxpos.c -o zpxpos.o
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c fileutil.c -o fileutil.o
      fileutil.c: In function ‘next_line’:
      fileutil.c:357:20: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
        357 |             (void) fgets (line, ncmax, diskfile);
            |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      fileutil.c: In function ‘first_token’:
      fileutil.c:393:20: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
        393 |             (void) fgets (token, ncmax, diskfile);
            |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c imhfile.c -o imhfile.o
      imhfile.c: In function ‘irafwhead’:
      imhfile.c:913:12: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
        913 |     (void) ftruncate (fd, nbhead);
            |            ^~~~~~~~~~~~~~~~~~~~~~
      In file included from /usr/include/string.h:535,
                       from imhfile.c:83:
      In function ‘strncat’,
          inlined from ‘same_path’ at imhfile.c:1078:8:
      /usr/include/x86_64-linux-gnu/bits/string_fortified.h:138:10: warning: ‘__builtin___strncat_chk’ specified bound 255 equals destination size [-Wstringop-overflow=]
        138 |   return __builtin___strncat_chk (__dest, __src, __len,
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        139 |                                   __glibc_objsize (__dest));
            |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c worldpos.c -o worldpos.o
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c sph.c -o sph.o
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c hget.c -o hget.o
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c wcsinit.c -o wcsinit.o
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c iget.c -o iget.o
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c cel.c -o cel.o
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c wcs.c -o wcs.o
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c wcstrig.c -o wcstrig.o
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c lin.c -o lin.o
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c poly.c -o poly.o
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c imio.c -o imio.o
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c fitsfile.c -o fitsfile.o
      fitsfile.c: In function ‘fitsrhead’:
      fitsfile.c:293:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘off_t’ {aka ‘long int’} [-Wformat=]
        293 |             fprintf (stderr,"FITSRHEAD: %d bytes in header\n",ibhead);
            |                                         ~^                    ~~~~~~
            |                                          |                    |
            |                                          int                  off_t {aka long int}
            |                                         %ld
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c wcscon.c -o wcscon.o
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c dsspos.c -o dsspos.o
      gcc -DNDEBUG -g -fwrapv -O3 -fstack-protector -Wformat -c wcslib.c -o wcslib.o
      building 'PyWCSTools._wcscon' extension
      creating build/temp.linux-x86_64-cpython-311/PyWCSTools/wcssubs-3.9.5
      gcc -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector -Wformat -fPIC -I/idia/users/schatterjee/vnv_ilifu/vnvQcal/include -I/software/common/python/3.11.7/include/python3.11 -c PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c -o build/temp.linux-x86_64-cpython-311/PyWCSTools/wcssubs-3.9.5/wcscon_wrap.o
      PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c: In function ‘_wrap_wcscon’:
      PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c:3061:3: warning: implicit declaration of function ‘wcscon’; did you mean ‘wcstoq’? [-Wimplicit-function-declaration]
       3061 |   wcscon(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
            |   ^~~~~~
            |   wcstoq
      PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c: In function ‘_wrap_wcscsys’:
      PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c:3097:17: warning: implicit declaration of function ‘wcscsys’; did you mean ‘wcscspn’? [-Wimplicit-function-declaration]
       3097 |   result = (int)wcscsys(arg1);
            |                 ^~~~~~~
            |                 wcscspn
      gcc -shared build/temp.linux-x86_64-cpython-311/PyWCSTools/wcssubs-3.9.5/wcscon_wrap.o PyWCSTools/wcssubs-3.9.5/cel.o PyWCSTools/wcssubs-3.9.5/wcs.o PyWCSTools/wcssubs-3.9.5/proj.o PyWCSTools/wcssubs-3.9.5/distort.o PyWCSTools/wcssubs-3.9.5/wcsinit.o PyWCSTools/wcssubs-3.9.5/wcslib.o PyWCSTools/wcssubs-3.9.5/poly.o PyWCSTools/wcssubs-3.9.5/platepos.o PyWCSTools/wcssubs-3.9.5/zpxpos.o PyWCSTools/wcssubs-3.9.5/iget.o PyWCSTools/wcssubs-3.9.5/imio.o PyWCSTools/wcssubs-3.9.5/dsspos.o PyWCSTools/wcssubs-3.9.5/tnxpos.o PyWCSTools/wcssubs-3.9.5/wcscon.o PyWCSTools/wcssubs-3.9.5/fitsfile.o PyWCSTools/wcssubs-3.9.5/dateutil.o PyWCSTools/wcssubs-3.9.5/imhfile.o PyWCSTools/wcssubs-3.9.5/lin.o PyWCSTools/wcssubs-3.9.5/fileutil.o PyWCSTools/wcssubs-3.9.5/wcstrig.o PyWCSTools/wcssubs-3.9.5/sph.o PyWCSTools/wcssubs-3.9.5/worldpos.o PyWCSTools/wcssubs-3.9.5/hget.o PyWCSTools/wcssubs-3.9.5/hput.o -o build/lib.linux-x86_64-cpython-311/PyWCSTools/_wcscon.cpython-311-x86_64-linux-gnu.so
      /usr/bin/ld: PyWCSTools/wcssubs-3.9.5/proj.o: warning: relocation against `molfwd' in read-only section `.text'
      /usr/bin/ld: PyWCSTools/wcssubs-3.9.5/wcslib.o: relocation R_X86_64_PC32 against symbol `npcode' can not be used when making a shared object; recompile with -fPIC
      /usr/bin/ld: final link failed: bad value
      collect2: error: ld returned 1 exit status
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for astlib
Successfully built quartical
Failed to build astlib
ERROR: Failed to build installable wheels for some pyproject.toml based projects (astlib)

Suman

@JSKenyon
Copy link
Collaborator

JSKenyon commented Mar 2, 2025 via email

@physicistsam
Copy link
Author

physicistsam commented Mar 2, 2025

Thanks for getting back to me so promptly.
Python 3.11.7 (main, Jan 3 2024, 15:04:58) [GCC 11.4.0], I am trying to install it on ilifu.

I have used the following commands only:

python3 -m venv vnvQcal
source vnvQcal/bin/activate
pip install -U pip setuptools wheel
pip install quartical

So there should not be any other installation.

@JSKenyon
Copy link
Collaborator

JSKenyon commented Mar 3, 2025

I can reproduce the error on ilifu but not on my laptop. I have gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 locally. The ilifu version is gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0. The issue is that astLib fails to build i.e. the problem isn't with QuartiCal itself. I will see if I can throw together a Docker image which reproduces the error. That should make it easy to figure out if it is the gcc version or something more obscure.

@JSKenyon JSKenyon changed the title pip install fails pip install fails on Ilifu (astLib fails to build) Mar 3, 2025
@JSKenyon
Copy link
Collaborator

JSKenyon commented Mar 3, 2025

FROM ubuntu:22.04

RUN apt update && \
    apt install -y curl \
                   python3.10 \
                   libpython3.10-dev \
                   build-essential \
                   software-properties-common

RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
        && python3.10 get-pip.py

RUN pip install -U pip setuptools wheel

RUN pip install astlib

This Dockerfile attempts to replicate the setup on Ilifu. It uses Ubuntu 22.04 and gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0. The Python version is different (3.10.12), but I don't think that that is the issue. astLib is installed successfully in this case. I suspect there may be something environment specific on Ilifu which is causing the error.

@JSKenyon
Copy link
Collaborator

JSKenyon commented Mar 3, 2025

@physicistsam Perhaps you can reach out to the Ilifu helpdesk to see if they know how it install astLib. I am happy to make any changes required in QuartiCal but I don't have the time to chase this down any further this week.

@physicistsam
Copy link
Author

physicistsam commented Mar 3, 2025

Hi Jonathan,
Thanks for looking into it, let me see if the problem persists with other python versions available on ilifu. I shall get back to you with an update later this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants