Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cgnslib emerge fail is halting systyem update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 114

PostPosted: Fri Oct 04, 2024 11:22 pm    Post subject: cgnslib emerge fail is halting systyem update Reply with quote

Been struggling for days with system update that includes freecad but looks like cgnslib is first block to the process.
Build log for cgnslib included below. Sorry for the size.

If you have any insights, pass them on. thanks, tom kosvic



Code:

gentooVM ~ # cat /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/temp/build.log
 * Package:    sci-libs/cgnslib-4.4.0-r1:0/4.4
 * Repository: gentoo
 * Maintainer: sci@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc fortran hdf5 kernel_linux tools
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Using following Fortran compiler:
 *   F77: x86_64-pc-linux-gnu-gfortran
 *   FC:  x86_64-pc-linux-gnu-gfortran
>>> Unpacking source...
>>> Unpacking cgnslib-4.4.0.tar.gz to /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work
>>> Source unpacked in /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work
>>> Preparing source in /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build"
 * Hardcoded definition(s) removed in CMakeLists.txt:
 *      set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build." F
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build"
cmake -C /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCGNS_BUILD_SHARED=ON -DCGNS_USE_SHARED=ON -DCGNS_BUILD_CGNSTOOLS=yes -DCGNS_ENABLE_BASE_SCOPE=no -DCGNS_ENABLE_FORTRAN=yes -DCGNS_ENABLE_HDF5=yes -DCGNS_ENABLE_LEGACY=no -DCGNS_ENABLE_SCOPING=no -DCGNS_ENABLE_MEM_DEBUG=no -DCGNS_ENABLE_TESTS=no -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build/gentoo_toolchain.cmake /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0
loading initial cache file /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 14.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of long
-- Check size of long - done
-- Check size of off_t
-- Check size of off_t - done
-- The Fortran compiler identification is GNU 14.2.1
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /usr/bin/x86_64-pc-linux-gnu-gfortran - skipped
-- Detecting Fortran/C Interface
-- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling
-- Fortran name mangling convention: LOWERCASE_
-- HDF5 find comps: C;shared
-- Could NOT find HDF5 (missing: HDF5_DIR)
-- HDF5 C libs:0 static: and shared:
-- Found HDF5: /usr/lib64/libhdf5.so;/usr/lib64/libz.so;/usr/lib64/libdl.a;/usr/lib64/libm.so (found version "1.14.4-3")
-- HDF5-1.14.4-3 found: INC=/usr/include TOOLS=/../bin HDF5_BUILD_SHARED_LIBS=1
-- HDF5 link libs: /usr/lib64/libhdf5.so;/usr/lib64/libz.so;/usr/lib64/libdl.a;/usr/lib64/libm.so
-- Checking C compiler flag -std=gnu99
-- Performing Test std-gnu99
-- Performing Test std-gnu99 - Success
-- Testing Fortran Fortran2003 - OK
-- Testing Fortran Fortran2008TS - OK
-- Testing Fortran Fortran2008 - OK
-- Testing Fortran Sizeof_int - OK
-- Testing Fortran FortranConcat - Fail
-- Testing HDF5 Multi_Dataset - OK
-- Testing HDF5 Collective_metadata - NOT FOUND
-- Testing HDF5 H5Pset_file_space_strategy - OK
-- Performing Test CHECK_HAVE_STAT64_STRUCT
-- Performing Test CHECK_HAVE_STAT64_STRUCT - Failed
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found OpenGL: /usr/lib64/libOpenGL.so
-- Found Tclsh: /usr/bin/tclsh (found version "8.6")
-- Found TCL: /usr/lib64/libtcl.so
-- Found TCLTK: /usr/lib64/libtcl.so
-- Found TK: /usr/lib64/libtk.so
-- <<< Gentoo configuration >>>
Build type      RelWithDebInfo
Install path    /usr
Compiler flags:
C               -march=native -O2 -pipe
C++             
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
Module          -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
Shared          -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs

-- Configuring done (4.9s)
-- Generating done (0.1s)
-- Build files have been written to: /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build"
ninja -v -j3 -l0
[1/148] /usr/bin/x86_64-pc-linux-gnu-gfortran -cpp  -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build/src -march=native -O2 -pipe -fallow-argument-mismatch -DNO_CONCATENATION -Jsrc -fPIC -E /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgns_f.F90 -o src/CMakeFiles/cgns_f2c.dir/cgns_f.F90-pp.f90 && /usr/bin/cmake -E cmake_ninja_depends --tdi=src/CMakeFiles/cgns_f2c.dir/FortranDependInfo.json --lang=Fortran --src=src/CMakeFiles/cgns_f2c.dir/cgns_f.F90-pp.f90 --out=src/CMakeFiles/cgns_f2c.dir/cgns_f.F90-pp.f90 --dep=src/CMakeFiles/cgns_f2c.dir/cgns_f.F90-pp.f90.d --obj=src/CMakeFiles/cgns_f2c.dir/cgns_f.F90.o --ddi=src/CMakeFiles/cgns_f2c.dir/cgns_f.F90.o.ddi --src-orig=/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgns_f.F90
[2/148] /usr/bin/cmake -E cmake_ninja_dyndep --tdi=src/CMakeFiles/cgns_f2c.dir/FortranDependInfo.json --lang=Fortran --dd=src/CMakeFiles/cgns_f2c.dir/Fortran.dd @src/CMakeFiles/cgns_f2c.dir/Fortran.dd.rsp
[3/148] /usr/bin/x86_64-pc-linux-gnu-gcc -DH5_BUILT_AS_DYNAMIC_LIB -Dcgns_shared_EXPORTS -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build/src -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src  -march=native -O2 -pipe -std=gnu99 -std=gnu99 -fPIC -MD -MT src/CMakeFiles/cgns_shared.dir/cgns_error.c.o -MF src/CMakeFiles/cgns_shared.dir/cgns_error.c.o.d -o src/CMakeFiles/cgns_shared.dir/cgns_error.c.o -c /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgns_error.c
[4/148] /usr/bin/x86_64-pc-linux-gnu-gfortran -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build/src -march=native -O2 -pipe -march=native -O2 -pipe -fallow-argument-mismatch -DNO_CONCATENATION -Jsrc -fPIC -fpreprocessed -o src/CMakeFiles/cgns_f2c.dir/cgns_f.F90.o -c src/CMakeFiles/cgns_f2c.dir/cgns_f.F90-pp.f90
[5/148] /usr/bin/x86_64-pc-linux-gnu-gcc -DH5_BUILT_AS_DYNAMIC_LIB -Dcgns_shared_EXPORTS -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build/src -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src  -march=native -O2 -pipe -std=gnu99 -std=gnu99 -fPIC -MD -MT src/CMakeFiles/cgns_shared.dir/cgns_io.c.o -MF src/CMakeFiles/cgns_shared.dir/cgns_io.c.o.d -o src/CMakeFiles/cgns_shared.dir/cgns_io.c.o -c /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgns_io.c
[6/148] /usr/bin/x86_64-pc-linux-gnu-gcc -DH5_BUILT_AS_DYNAMIC_LIB -Dcgns_shared_EXPORTS -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build/src -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src  -march=native -O2 -pipe -std=gnu99 -std=gnu99 -fPIC -MD -MT src/CMakeFiles/cgns_shared.dir/cg_hashmap.c.o -MF src/CMakeFiles/cgns_shared.dir/cg_hashmap.c.o.d -o src/CMakeFiles/cgns_shared.dir/cg_hashmap.c.o -c /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cg_hashmap.c
[7/148] /usr/bin/x86_64-pc-linux-gnu-gcc -DH5_BUILT_AS_DYNAMIC_LIB -Dcgns_shared_EXPORTS -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build/src -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src  -march=native -O2 -pipe -std=gnu99 -std=gnu99 -fPIC -MD -MT src/CMakeFiles/cgns_shared.dir/adf/ADF_interface.c.o -MF src/CMakeFiles/cgns_shared.dir/adf/ADF_interface.c.o.d -o src/CMakeFiles/cgns_shared.dir/adf/ADF_interface.c.o -c /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/adf/ADF_interface.c
[8/148] /usr/bin/x86_64-pc-linux-gnu-gcc -DH5_BUILT_AS_DYNAMIC_LIB -Dcgns_shared_EXPORTS -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build/src -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src  -march=native -O2 -pipe -std=gnu99 -std=gnu99 -fPIC -MD -MT src/CMakeFiles/cgns_shared.dir/adf/ADF_internals.c.o -MF src/CMakeFiles/cgns_shared.dir/adf/ADF_internals.c.o.d -o src/CMakeFiles/cgns_shared.dir/adf/ADF_internals.c.o -c /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/adf/ADF_internals.c
[9/148] /usr/bin/x86_64-pc-linux-gnu-gcc -DH5_BUILT_AS_DYNAMIC_LIB -Dcgns_shared_EXPORTS -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build/src -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src  -march=native -O2 -pipe -std=gnu99 -std=gnu99 -fPIC -MD -MT src/CMakeFiles/cgns_shared.dir/adfh/ADFH.c.o -MF src/CMakeFiles/cgns_shared.dir/adfh/ADFH.c.o.d -o src/CMakeFiles/cgns_shared.dir/adfh/ADFH.c.o -c /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/adfh/ADFH.c
[10/148] /usr/bin/x86_64-pc-linux-gnu-gcc -DH5_BUILT_AS_DYNAMIC_LIB -Dcgns_shared_EXPORTS -DLOWERCASE_ -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build/src -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src  -march=native -O2 -pipe -std=gnu99 -std=gnu99 -fPIC -MD -MT src/CMakeFiles/cgns_shared.dir/cg_ftoc.c.o -MF src/CMakeFiles/cgns_shared.dir/cg_ftoc.c.o.d -o src/CMakeFiles/cgns_shared.dir/cg_ftoc.c.o -c /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cg_ftoc.c
[11/148] /usr/bin/x86_64-pc-linux-gnu-gcc -DH5_BUILT_AS_DYNAMIC_LIB -Dcgns_shared_EXPORTS -DLOWERCASE_ -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build/src -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src  -march=native -O2 -pipe -std=gnu99 -std=gnu99 -fPIC -MD -MT src/CMakeFiles/cgns_shared.dir/cgio_ftoc.c.o -MF src/CMakeFiles/cgns_shared.dir/cgio_ftoc.c.o.d -o src/CMakeFiles/cgns_shared.dir/cgio_ftoc.c.o -c /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgio_ftoc.c
[12/148] /usr/bin/x86_64-pc-linux-gnu-gcc -DH5_BUILT_AS_DYNAMIC_LIB -Dcgns_shared_EXPORTS -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build/src -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src  -march=native -O2 -pipe -std=gnu99 -std=gnu99 -fPIC -MD -MT src/CMakeFiles/cgns_shared.dir/cgnslib.c.o -MF src/CMakeFiles/cgns_shared.dir/cgnslib.c.o.d -o src/CMakeFiles/cgns_shared.dir/cgnslib.c.o -c /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgnslib.c
/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgnslib.c: In function ‘cg_1to1_write’:
/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgnslib.c:8568:9: warning: ‘cgi_write_ptset’ accessing 33 bytes in a region of size 11 [-Wstringop-overflow=]
 8568 |     if (cgi_write_ptset(one21->id, "PointRange", &one21->ptset, (int)index_dim,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 8569 |         (void *)range)) return CG_ERROR;
      |         ~~~~~~~~~~~~~~
/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgnslib.c:8568:9: note: referencing argument 2 of type ‘char[33]’
In file included from /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgnslib.c:52:
/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgns_header.h:1160:5: note: in a call to function ‘cgi_write_ptset’
 1160 | int cgi_write_ptset(double id, char_33 name, cgns_ptset *ptset,
      |     ^~~~~~~~~~~~~~~
/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgnslib.c:8572:9: warning: ‘cgi_write_ptset’ accessing 33 bytes in a region of size 16 [-Wstringop-overflow=]
 8572 |     if (cgi_write_ptset(one21->id, "PointRangeDonor", &one21->dptset, (int)index_dim,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 8573 |         (void *)donor_range)) return CG_ERROR;
      |         ~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgnslib.c:8572:9: note: referencing argument 2 of type ‘char[33]’
/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgns_header.h:1160:5: note: in a call to function ‘cgi_write_ptset’
 1160 | int cgi_write_ptset(double id, char_33 name, cgns_ptset *ptset,
      |     ^~~~~~~~~~~~~~~
[13/148] /usr/bin/x86_64-pc-linux-gnu-gcc -DH5_BUILT_AS_DYNAMIC_LIB -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build/src -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src  -march=native -O2 -pipe -std=gnu99 -std=gnu99 -MD -MT src/cgnstools/calclib/CMakeFiles/calclib.dir/calc.c.o -MF src/cgnstools/calclib/CMakeFiles/calclib.dir/calc.c.o.d -o src/cgnstools/calclib/CMakeFiles/calclib.dir/calc.c.o -c /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgnstools/calclib/calc.c
[14/148] /usr/bin/x86_64-pc-linux-gnu-gcc -DH5_BUILT_AS_DYNAMIC_LIB -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build/src -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src  -march=native -O2 -pipe -std=gnu99 -std=gnu99 -MD -MT src/cgnstools/calclib/CMakeFiles/calclib.dir/vecsym.c.o -MF src/cgnstools/calclib/CMakeFiles/calclib.dir/vecsym.c.o.d -o src/cgnstools/calclib/CMakeFiles/calclib.dir/vecsym.c.o -c /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgnstools/calclib/vecsym.c
[15/148] /usr/bin/x86_64-pc-linux-gnu-gcc  -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgnstools/tkogl/../common  -march=native -O2 -pipe -std=gnu99 -std=gnu99 -MD -MT src/cgnstools/cgnsplot/tkogl/CMakeFiles/tkogl.dir/tkogl.c.o -MF src/cgnstools/cgnsplot/tkogl/CMakeFiles/tkogl.dir/tkogl.c.o.d -o src/cgnstools/cgnsplot/tkogl/CMakeFiles/tkogl.dir/tkogl.c.o -c /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgnstools/tkogl/tkogl.c
FAILED: src/cgnstools/cgnsplot/tkogl/CMakeFiles/tkogl.dir/tkogl.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc  -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgnstools/tkogl/../common  -march=native -O2 -pipe -std=gnu99 -std=gnu99 -MD -MT src/cgnstools/cgnsplot/tkogl/CMakeFiles/tkogl.dir/tkogl.c.o -MF src/cgnstools/cgnsplot/tkogl/CMakeFiles/tkogl.dir/tkogl.c.o.d -o src/cgnstools/cgnsplot/tkogl/CMakeFiles/tkogl.dir/tkogl.c.o -c /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgnstools/tkogl/tkogl.c
/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgnstools/tkogl/tkogl.c: In function ‘OGLwinCmd’:
/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgnstools/tkogl/tkogl.c:602:8: error: implicit declaration of function ‘TkWmAddToColormapWindows’ [-Wimplicit-function-declaration]
  602 |        TkWmAddToColormapWindows(tkwin);
      |        ^~~~~~~~~~~~~~~~~~~~~~~~
[16/148] /usr/bin/x86_64-pc-linux-gnu-gcc -DH5_BUILT_AS_DYNAMIC_LIB -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build/src -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src  -march=native -O2 -pipe -std=gnu99 -std=gnu99 -MD -MT src/cgnstools/calclib/CMakeFiles/calclib.dir/vec.c.o -MF src/cgnstools/calclib/CMakeFiles/calclib.dir/vec.c.o.d -o src/cgnstools/calclib/CMakeFiles/calclib.dir/vec.c.o -c /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgnstools/calclib/vec.c
[17/148] /usr/bin/x86_64-pc-linux-gnu-gcc -DH5_BUILT_AS_DYNAMIC_LIB -Dcgns_shared_EXPORTS -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build/src -I/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src  -march=native -O2 -pipe -std=gnu99 -std=gnu99 -fPIC -MD -MT src/CMakeFiles/cgns_shared.dir/cgns_internals.c.o -MF src/CMakeFiles/cgns_shared.dir/cgns_internals.c.o.d -o src/CMakeFiles/cgns_shared.dir/cgns_internals.c.o -c /var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0/src/cgns_internals.c
ninja: build stopped: subcommand failed.
 * ERROR: sci-libs/cgnslib-4.4.0-r1::gentoo failed (compile phase):
 *   ninja -v -j3 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2278:  Called cmake_src_compile
 *   environment, line  997:  Called cmake_build
 *   environment, line  964:  Called eninja
 *   environment, line 1446:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=sci-libs/cgnslib-4.4.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-libs/cgnslib-4.4.0-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0_build'
 * S: '/var/tmp/portage/sci-libs/cgnslib-4.4.0-r1/work/CGNS-4.4.0'
gentooVM ~ #



Code:

gentooVM ~ # emerge --info
Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-14, glibc-2.40-r4, 6.11.0-gentoo x86_64)
=================================================================
System uname: Linux-6.11.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-5820K_CPU_@_3.30GHz-with-glibc2.40
KiB Mem:     8147420 total,   1646552 free
KiB Swap:    6537212 total,   6487156 free
Timestamp of repository gentoo: Fri, 04 Oct 2024 21:00:00 +0000
Head commit of repository gentoo: e7ee697a31ec4b8d90421e3aafd6bc9649675633
Timestamp of repository guru: Fri, 04 Oct 2024 10:33:25 +0000
Head commit of repository guru: 7dc7e51ed084621d9b0378d75adf0724a4677826

Timestamp of repository haskell: Tue, 24 Sep 2024 12:19:11 +0000
Head commit of repository haskell: 5f350878e8b0cda0f8f7648cd47255327042f780

Timestamp of repository science: Wed, 02 Oct 2024 09:19:09 +0000
Head commit of repository science: b7cc92184c09b98c0b25661fab9500ec8d33eea7

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p2) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.17-r1::gentoo
dev-build/cmake:           3.30.4::gentoo
dev-build/libtool:         2.5.3::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.5.2::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.10.15_p1::gentoo, 3.11.10_p1::gentoo, 3.12.7_p1::gentoo, 3.13.0_rc3::gentoo
dev-lang/rust-bin:         1.81.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.55.1::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.43-r1::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 18.1.8::gentoo
sys-devel/gcc:             14.2.1_p20240921::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo
sys-devel/llvm:            15.0.7-r7::gentoo, 18.1.8-r4::gentoo, 19.1.0::gentoo
sys-kernel/linux-headers:  6.10::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r4::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

haskell
    location: /var/db/repos/haskell
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/haskell.git
    masters: gentoo
    volatile: False

science
    location: /var/db/repos/science
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/science.git
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirrors.mit.edu/gentoo-distfiles/     https://mirrors.rit.edu/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j3"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 base bluetooth branding bzip2 cairo caps cdda cdr cet chromium concurrent crypt cups custom-modes cxx dbus dri dts dvd dvdr elogind encode exif flac fortran gdbm geos gif gles2 gpm gtk gtk3 gui hdf5 iconv icu ipv6 jack java jpeg json jumbo-build kf6compat lcms libnotify libtirpc lua5-4 lzma mad mmx mng mp3 mp4 mpeg multilib ncurses network nls ogg opengl openmp opus pam pango pcre pcre32 pdf pkcs11 png policykit positioning ppds printsupport proprietary-codecs pulseaudio python qml qt5 qt6 quick readline script sdl seccomp sound spell split-usr sql ssl startup-notification svg test-rust testlib tiff tools truetype udev udisks unicode upower usb vorbis vtk vulkan wayland webchannel webengine webp widevine widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12 python3_11" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="virtio" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

gentooVM ~ #
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31221
Location: here

PostPosted: Mon Oct 07, 2024 5:20 am    Post subject: Reply with quote

The problem seems gcc-14, try to apply this upstream patch.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1914

PostPosted: Mon Oct 07, 2024 5:42 am    Post subject: Reply with quote

See bug 934122.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum