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

Containerized Third party build issues #20154

Open
biagas opened this issue Dec 19, 2024 · 0 comments
Open

Containerized Third party build issues #20154

biagas opened this issue Dec 19, 2024 · 0 comments
Labels
bug Something isn't working impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) likelihood medium Neither low nor high likelihood

Comments

@biagas
Copy link
Contributor

biagas commented Dec 19, 2024

Describe the bug

There are a few issues building some third party libraries in our containers:

Mili: RockyLinux 8 (gcc-10.3) , RockyLinux 9 (gcc -13.3)

Building Mili . . . (~2 minutes)
gcc  -m64 -fPIC  -O2 -O4   -DHAVEINT8     -o src/buildinfo.o\
         -DMILI_VERSION="\"V23_02_00\"" \
         -DCOMPILE_CMD="\"gcc  -m64 -fPIC  -O2 -O4   -DHAVEINT8     \"" \
         -DLINK_CMD="\"gcc  -m64 -fPIC  -O2 -O4    \"" \
         -DMAKE_CMD="\"opt\"" \
         -c src/buildinfo.c
gcc  -m64 -fPIC  -O2 -O4   src/buildinfo.o -o src/buildinfo
rm -f src/t.h
./src/buildinfo > src/t.h
/bin/sh: line 1:  7615 Segmentation fault      (core dumped) ./src/buildinfo > src/t.h
make: *** [Makefile:336: src/buildinfo.h] Error 139
Installing Mili . . .

PIDX: Ubuntu24 (gcc 14.2)

/home/visit/PIDX-0.9.3/pidx/PIDX_variable.c: In function ‘PIDX_variable_read_particle_data_layout’:
/home/visit/PIDX-0.9.3/pidx/PIDX_variable.c:219:72: error: assignment to ‘unsigned char **’ from incompatible pointer type ‘void **’ [-Wincompatible-pointer-types]
  219 |   variable->sim_patch[variable->sim_patch_count]->read_particle_buffer = write_to_this_buffer;
      |                                                                        ^
make[2]: *** [pidx/CMakeFiles/pidx.dir/build.make:1210: pidx/CMakeFiles/pidx.dir/PIDX_variable.c.o] Error 1

CFITSIO: Ubuntu24 (gcc 14.2)

Configuring CFITSIO . . .
+ env CXX=g++ CC=gcc 'CFLAGS= -m64 -fPIC -Wno-error=implicit-function-declaration' 'CXXFLAGS= -m64 -fPIC  -O2' ./configure --prefix=/home/visit/third-party/cfitsio/3006/linux-x86_64_gcc-14.2
creating cache ./config.cache
checking for uname... 1
checking for gcc... gcc
checking whether the C compiler (gcc  -m64 -fPIC -Wno-error=implicit-function-declaration ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
+ set +x
Building CFITSIO . . . (~2 minutes)
make: *** No targets specified and no makefile found.  Stop.
CFITSIO build failed. Giving up 

AdvIO: Ubuntu24 (gcc 14.2)

Invoking command to configure AdvIO
+ env CXX=g++ CC=gcc 'CFLAGS= -m64 -fPIC -Wno-error=implicit-function-declaration' 'CXXFLAGS= -m64 -fPIC  -O2' ./configure --prefix=/home/visit/third-party/AdvIO/1.2/linux-x86_64_gcc-14.2 --disable-gtktest
creating cache ./config.cache
checking host system type... configure: error: can not guess host type; you must specify one
+ set +x
Building AdvIO . . . (~1 minute)
make: *** No targets specified and no makefile found.  Stop.
@biagas biagas added bug Something isn't working likelihood medium Neither low nor high likelihood impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) likelihood medium Neither low nor high likelihood
Projects
None yet
Development

No branches or pull requests

1 participant