Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 857117 Details for
Bug 900673
sci-geosciences/gmt-5.4.4 fails to compile (GCC-13-SYSTEM): cmTC_4f334: H5CS.c:224: H5CS_pop: Assertion fstack->nused > 0 failed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
1-CMakeError.log
1-CMakeError.log (text/plain), 16.14 KB, created by
Agostino Sarubbo
on 2023-03-10 09:34:29 UTC
(
hide
)
Description:
1-CMakeError.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2023-03-10 09:34:29 UTC
Size:
16.14 KB
patch
obsolete
>Determining if the include file io.h exists failed with the following output: >Change Dir: /var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-NuQNp1 > >Run Build Command(s):/usr/bin/ninja cmTC_61595 && [1/2] Building C object CMakeFiles/cmTC_61595.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_61595.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fcommon -fopenmp -o CMakeFiles/cmTC_61595.dir/CheckIncludeFile.c.o -c /var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-NuQNp1/CheckIncludeFile.c >/var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-NuQNp1/CheckIncludeFile.c:1:10: fatal error: io.h: No such file or directory > 1 | #include <io.h> > | ^~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file direct.h exists failed with the following output: >Change Dir: /var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-0fm8AB > >Run Build Command(s):/usr/bin/ninja cmTC_9ead7 && [1/2] Building C object CMakeFiles/cmTC_9ead7.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_9ead7.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fcommon -fopenmp -o CMakeFiles/cmTC_9ead7.dir/CheckIncludeFile.c.o -c /var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-0fm8AB/CheckIncludeFile.c >/var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-0fm8AB/CheckIncludeFile.c:1:10: fatal error: direct.h: No such file or directory > 1 | #include <direct.h> > | ^~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file process.h exists failed with the following output: >Change Dir: /var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-ATB4yy > >Run Build Command(s):/usr/bin/ninja cmTC_d2c90 && [1/2] Building C object CMakeFiles/cmTC_d2c90.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_d2c90.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fcommon -fopenmp -o CMakeFiles/cmTC_d2c90.dir/CheckIncludeFile.c.o -c /var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-ATB4yy/CheckIncludeFile.c >/var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-ATB4yy/CheckIncludeFile.c:1:10: fatal error: process.h: No such file or directory > 1 | #include <process.h> > | ^~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the function stricmp exists failed with the following output: >Change Dir: /var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-Dpj1FU > >Run Build Command(s):/usr/bin/ninja cmTC_cadef && [1/2] Building C object CMakeFiles/cmTC_cadef.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_cadef >FAILED: cmTC_cadef >: && /usr/bin/x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fcommon -fopenmp -DCHECK_FUNCTION_EXISTS=stricmp -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_cadef.dir/CheckFunctionExists.c.o -o cmTC_cadef && : >/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_cadef.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `stricmp' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function strnicmp exists failed with the following output: >Change Dir: /var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-K5CT3F > >Run Build Command(s):/usr/bin/ninja cmTC_49ade && [1/2] Building C object CMakeFiles/cmTC_49ade.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_49ade >FAILED: cmTC_49ade >: && /usr/bin/x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fcommon -fopenmp -DCHECK_FUNCTION_EXISTS=strnicmp -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_49ade.dir/CheckFunctionExists.c.o -o cmTC_49ade && : >/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_49ade.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `strnicmp' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Performing C SOURCE FILE Test HAVE_SC_NPROC_ONLN failed with the following output: >Change Dir: /var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-i09u7t > >Run Build Command(s):/usr/bin/ninja cmTC_0e322 && [1/2] Building C object CMakeFiles/cmTC_0e322.dir/src.c.o >FAILED: CMakeFiles/cmTC_0e322.dir/src.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_SC_NPROC_ONLN -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__EXTENSIONS__ -std=gnu99 -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fcommon -fopenmp -o CMakeFiles/cmTC_0e322.dir/src.c.o -c /var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-i09u7t/src.c >/var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-i09u7t/src.c: In function âmainâ: >/var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-i09u7t/src.c:4:35: error: â_SC_NPROC_ONLNâ undeclared (first use in this function); did you mean âHAVE_SC_NPROC_ONLNâ? > 4 | sysconf(_SC_NPROC_ONLN); > | ^~~~~~~~~~~~~~ > | HAVE_SC_NPROC_ONLN >/var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-i09u7t/src.c:4:35: note: each undeclared identifier is reported only once for each function it appears in >ninja: build stopped: subcommand failed. > > >Source file was: > > #include <unistd.h> > int main() { > sysconf(_SC_NPROC_ONLN); > } > > >Performing C SOURCE FILE Test HAVE_SYSCTL_HW_NCPU failed with the following output: >Change Dir: /var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-fPEWr2 > >Run Build Command(s):/usr/bin/ninja cmTC_d5c7f && [1/2] Building C object CMakeFiles/cmTC_d5c7f.dir/src.c.o >FAILED: CMakeFiles/cmTC_d5c7f.dir/src.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_SYSCTL_HW_NCPU -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__EXTENSIONS__ -std=gnu99 -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fcommon -fopenmp -o CMakeFiles/cmTC_d5c7f.dir/src.c.o -c /var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-fPEWr2/src.c >/var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-fPEWr2/src.c:3:26: fatal error: sys/sysctl.h: No such file or directory > 3 | #include <sys/sysctl.h> > | ^~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > >Source file was: > > #include <stddef.h> > #include <sys/sysctl.h> > int main () { > int count; > size_t size = sizeof(count); > int mib[] = { CTL_HW, HW_NCPU }; > sysctl(mib, 2, &count, &size, NULL, 0); > } > > >Determining size of bool failed with the following output: >Change Dir: /var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-S2WUt0 > >Run Build Command(s):/usr/bin/ninja cmTC_2e754 && [1/2] Building C object CMakeFiles/cmTC_2e754.dir/SIZEOF_BOOL.c.o >FAILED: CMakeFiles/cmTC_2e754.dir/SIZEOF_BOOL.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__EXTENSIONS__ -std=gnu99 -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fcommon -fopenmp -o CMakeFiles/cmTC_2e754.dir/SIZEOF_BOOL.c.o -c /var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-S2WUt0/SIZEOF_BOOL.c >/var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-S2WUt0/SIZEOF_BOOL.c:27:22: error: âboolâ undeclared here (not in a function) > 27 | #define SIZE (sizeof(bool)) > | ^~~~ >/var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-S2WUt0/SIZEOF_BOOL.c:29:12: note: in expansion of macro âSIZEâ > 29 | ('0' + ((SIZE / 10000)%10)), > | ^~~~ >/var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-S2WUt0/SIZEOF_BOOL.c:4:1: note: âboolâ is defined in header â<stdbool.h>â; did you forget to â#include <stdbool.h>â? > 3 | #include <stddef.h> > +++ |+#include <stdbool.h> > 4 | >ninja: build stopped: subcommand failed. > > >SIZEOF_BOOL.c: >#include <sys/types.h> >#include <stdint.h> >#include <stddef.h> > > >#undef KEY >#if defined(__i386) ># define KEY '_','_','i','3','8','6' >#elif defined(__x86_64) ># define KEY '_','_','x','8','6','_','6','4' >#elif defined(__PPC64__) ># define KEY '_','_','P','P','C','6','4','_','_' >#elif defined(__ppc64__) ># define KEY '_','_','p','p','c','6','4','_','_' >#elif defined(__PPC__) ># define KEY '_','_','P','P','C','_','_' >#elif defined(__ppc__) ># define KEY '_','_','p','p','c','_','_' >#elif defined(__aarch64__) ># define KEY '_','_','a','a','r','c','h','6','4','_','_' >#elif defined(__ARM_ARCH_7A__) ># define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' >#elif defined(__ARM_ARCH_7S__) ># define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' >#endif > >#define SIZE (sizeof(bool)) >static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', > ('0' + ((SIZE / 10000)%10)), > ('0' + ((SIZE / 1000)%10)), > ('0' + ((SIZE / 100)%10)), > ('0' + ((SIZE / 10)%10)), > ('0' + (SIZE % 10)), > ']', >#ifdef KEY > ' ','k','e','y','[', KEY, ']', >#endif > '\0'}; > >#ifdef __CLASSIC_C__ >int main(argc, argv) int argc; char *argv[]; >#else >int main(int argc, char *argv[]) >#endif >{ > int require = 0; > require += info_size[argc]; > (void)argv; > return require; >} > > >Determining if the include file floatingpoint.h exists failed with the following output: >Change Dir: /var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-TXX3j2 > >Run Build Command(s):/usr/bin/ninja cmTC_d1982 && [1/2] Building C object CMakeFiles/cmTC_d1982.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_d1982.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__EXTENSIONS__ -std=gnu99 -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fcommon -fopenmp -o CMakeFiles/cmTC_d1982.dir/CheckIncludeFile.c.o -c /var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-TXX3j2/CheckIncludeFile.c >/var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-TXX3j2/CheckIncludeFile.c:1:10: fatal error: floatingpoint.h: No such file or directory > 1 | #include <floatingpoint.h> > | ^~~~~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file ieeefp.h exists failed with the following output: >Change Dir: /var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-qYEkFh > >Run Build Command(s):/usr/bin/ninja cmTC_66afd && [1/2] Building C object CMakeFiles/cmTC_66afd.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_66afd.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__EXTENSIONS__ -std=gnu99 -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fcommon -fopenmp -o CMakeFiles/cmTC_66afd.dir/CheckIncludeFile.c.o -c /var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-qYEkFh/CheckIncludeFile.c >/var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-qYEkFh/CheckIncludeFile.c:1:10: fatal error: ieeefp.h: No such file or directory > 1 | #include <ieeefp.h> > | ^~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the function cos exists failed with the following output: >Change Dir: /var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-dBA9h3 > >Run Build Command(s):/usr/bin/ninja cmTC_b82f4 && [1/2] Building C object CMakeFiles/cmTC_b82f4.dir/CheckFunctionExists.c.o ><command-line>: warning: conflicting types for built-in function âcosâ; expected âdouble(double)â [-Wbuiltin-declaration-mismatch] >/var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-dBA9h3/CheckFunctionExists.c:7:3: note: in expansion of macro âCHECK_FUNCTION_EXISTSâ > 7 | CHECK_FUNCTION_EXISTS(void); > | ^~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-dBA9h3/CheckFunctionExists.c:1:1: note: âcosâ is declared in header â<math.h>â > +++ |+#include <math.h> > 1 | #ifdef CHECK_FUNCTION_EXISTS >[2/2] Linking C executable cmTC_b82f4 >FAILED: cmTC_b82f4 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fcommon -fopenmp -DCHECK_FUNCTION_EXISTS=cos -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_b82f4.dir/CheckFunctionExists.c.o -o cmTC_b82f4 && : >/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_b82f4.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `cos' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the isnand exist failed with the following output: >Change Dir: /var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-nnfJHB > >Run Build Command(s):/usr/bin/ninja cmTC_0bc04 && [1/2] Building C object CMakeFiles/cmTC_0bc04.dir/CheckSymbolExists.c.o >FAILED: CMakeFiles/cmTC_0bc04.dir/CheckSymbolExists.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__EXTENSIONS__ -std=gnu99 -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fcommon -fopenmp -o CMakeFiles/cmTC_0bc04.dir/CheckSymbolExists.c.o -c /var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-nnfJHB/CheckSymbolExists.c >/var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-nnfJHB/CheckSymbolExists.c: In function âmainâ: >/var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-nnfJHB/CheckSymbolExists.c:9:19: error: âisnandâ undeclared (first use in this function); did you mean âisnanlâ? > 9 | return ((int*)(&isnand))[argc]; > | ^~~~~~ > | isnanl >/var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/CMakeFiles/CMakeScratch/TryCompile-nnfJHB/CheckSymbolExists.c:9:19: note: each undeclared identifier is reported only once for each function it appears in >ninja: build stopped: subcommand failed. > > >File CheckSymbolExists.c: >/* */ >#include <math.h> >#include <float.h> > >int main(int argc, char** argv) >{ > (void)argv; >#ifndef isnand > return ((int*)(&isnand))[argc]; >#else > (void)argc; > return 0; >#endif >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 900673
:
857115
| 857117 |
857119