* Package: sys-cluster/charm-6.8.2:0 * Repository: gentoo * Maintainer: nicolasbock@gentoo.org sci@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc examples kernel_linux * 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 charm-6.8.2.tar.gz to /var/tmp/portage/sys-cluster/charm-6.8.2/work >>> Source unpacked in /var/tmp/portage/sys-cluster/charm-6.8.2/work >>> Preparing source in /var/tmp/portage/sys-cluster/charm-6.8.2/work/charm-v6.8.2 ... >>> Source prepared. * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/sys-cluster/charm-6.8.2/work/charm-v6.8.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-cluster/charm-6.8.2/work/charm-v6.8.2 ... * running ./build charm++ net-linux-amd64 --build-shared -j4 Creating dir: net-linux-amd64 Creating dir: net-linux-amd64/tmp Copying src/scripts/Makefile to net-linux-amd64/tmp Soft-linking over bin Soft-linking over lib Soft-linking over lib_so Soft-linking over include Soft-linking over tmp Generating net-linux-amd64/tmp/conv-mach-pre.sh Generating net-linux-amd64/tmp/conv-mach-opt.h, conv-mach-opt.sh Performing '/usr/bin/gmake -j 4 basics OPTS= QUIET= CONFIG_OPTS=' in net-linux-amd64/tmp pwd /var/tmp/portage/sys-cluster/charm-6.8.2/work/charm-v6.8.2/net-linux-amd64/tmp find . -type l -exec rm {} \; rm -rf QuickThreads rm -rf libs rm -rf ../bin ; mkdir ../bin if case `cat .vdir` in *win32*) true;; *win64*) true;; *-win-*) true;; *) false;; esac; then \ cp -f ../../src/arch/`cat .vdir | awk -F- '{print $2}'`/unix2nt* ../bin; \ cp -f ../../src/arch/win32/createlink.exe ../bin; \ fi rm -rf ../lib ; mkdir ../lib rm -rf ../lib_so ; mkdir ../lib_so; touch ../lib_so/.charmso rm -rf ../examples rm -rf ../tests rm -rf ../doc ; ln -s ../doc ../doc ../../src/scripts/gatherflat ../../src/scripts . ./gatherflat ../../src/conv-core . ./gatherflat ../../src/conv-ldb . ./gatherflat ../../src/conv-ccs . ./gatherflat ../../src/conv-perf . ./gatherflat ../../src/ck-core . ./gatherflat ../../src/ck-perf . ./gatherflat ../../src/ck-pics . ./gatherflat ../../src/ck-tune . ./gatherflat ../../src/ck-ldb . ./gatherflat ../../src/ck-cp . ./gatherflat ../../src/langs/simplemsg . ./gatherflat ../../src/langs/pvmc . ./gatherflat ../../src/langs/bluegene . ./gatherflat ../../src/langs/f90charm . ./gatherflat ../../src/xlatcpm . ./gathertree ../../src/QuickThreads QuickThreads ./gathertree ../../src/libs libs ./gathertree ../../src/arch/util . ./gathertree ../../src/util . ./gathertree ../../src/langs langs ./gathertree ../../src/langs/jade langs/jade ./gathertree ../../src/arch/common . ./gathertree ../../src/arch/`cat .gdir` . test -f ../../src/arch/`cat .gdir`/gdir_link && cat ../../src/arch/`cat .gdir`/gdir_link > .gdir.new && ./gathertree ../../src/arch/`cat .gdir.new` . || true ./gatherflat ../../src/arch/`cat .vdir` . ./gathertree ../../src/../examples ../examples ./gathertree ../../src/../tests ../tests rm -f ../bin/dep.pl ; cp dep.pl ../bin/ chmod +x charmc ./system_ln ../tmp/charmc ../bin/ ./system_ln ../../src/scripts/testrun ../bin/ ./system_ln ../tmp/tree.txt ../bin/ ./system_ln ../tmp/fuzzytree.txt ../bin/ rm -rf ../include ; mkdir ../include ./system_ln ../tmp/conv-*.*h ../include ./system_ln ../tmp/cc-*.*h ../include ./system_ln ../tmp/conv-mach-opt.sh ../include if [ -x ./special.sh ] ; then SRCBASE=../../src ./special.sh ; fi ../include/conv-mach-gfortran.sh: line 16: [: too many arguments ../include/conv-mach-gfortran.sh: line 20: and: command not found dirname: missing operand Try 'dirname --help' for more information. ../include/conv-mach-gfortran.sh: line 21: and: command not found dirname: missing operand Try 'dirname --help' for more information. if [ ! -f conv-common.h ] ; then ( touch conv-common.h ) ; fi touch dirs+sources /usr/bin/gmake -C topomanager -f Makefile_charm headers gmake[1]: Entering directory '/var/tmp/portage/sys-cluster/charm-6.8.2/work/charm-v6.8.2/net-linux-amd64/tmp/topomanager' /bin/cp TopoManager.h ../../include /bin/cp BGQTorus.h ../../include /bin/cp XTTorus.h ../../include echo "//empty" > topomanager_config.h /bin/cp topomanager_config.h ../../include gmake[1]: Leaving directory '/var/tmp/portage/sys-cluster/charm-6.8.2/work/charm-v6.8.2/net-linux-amd64/tmp/topomanager' /usr/bin/gmake charmxi gmake[1]: Entering directory '/var/tmp/portage/sys-cluster/charm-6.8.2/work/charm-v6.8.2/net-linux-amd64/tmp' ./conv-mach-gfortran.sh: line 16: [: too many arguments ./conv-mach-gfortran.sh: line 20: and: command not found dirname: missing operand Try 'dirname --help' for more information. ./conv-mach-gfortran.sh: line 21: and: command not found dirname: missing operand Try 'dirname --help' for more information. ./conv-mach-gfortran.sh: line 16: [: too many arguments ./conv-mach-gfortran.sh: line 20: and: command not found dirname: missing operand Try 'dirname --help' for more information. ./conv-mach-gfortran.sh: line 21: and: command not found dirname: missing operand Try 'dirname --help' for more information. ./conv-mach-gfortran.sh: line 16: [: too many arguments ./conv-mach-gfortran.sh: line 20: and: command not found dirname: missing operand Try 'dirname --help' for more information. ./conv-mach-gfortran.sh: line 21: and: command not found dirname: missing operand Try 'dirname --help' for more information. ./configure ./conv-mach-gfortran.sh: line 16: [: too many arguments ./conv-mach-gfortran.sh: line 20: and: command not found dirname: missing operand Try 'dirname --help' for more information. ./conv-mach-gfortran.sh: line 21: and: command not found dirname: missing operand Try 'dirname --help' for more information. Error checking is enabled AMPI error checking is enabled Statistics collection is enabled Charm tracing is enabled Charm tracing communication thread is disabled CharmDebug is enabled Charm record/replay is enabled CCS is enabled Charm control point is enabled Charm LB user data is disabled Charm shrink expand is disabled Setting load balancing timer type as 'double' checking machine name... net-linux-amd64 checking "cp command as"... cp -p checking "C++ compiler as"... "g++ -DCMK_GFORTRAN " checking "whether C++ compiler works"... "ok" checking "C++ linker as"... "g++ " checking "whether linker works"... "ok" checking "Native C++ compiler as"... "g++ " checking "Sequential C++ compiler as"... "g++ " checking "whether compiler accept -fno-stack-protector"... "ok" checking "whether C++ compiler supports C++11 without flags"... "yes" checking "whether C++ compiler accepts -fno-lifetime-dse"... "no" grep: warning: --unix-byte-offsets (-u) is obsolete Setting charm++ envelope refnum field to unsigned short Configuring support for message priorities of arbitrary size (bitvectors) checking "whether compiler generates code for 64-bit"... "yes" checking "whether compiler supports std::is_constructible"... "yes" checking "whether compiler supports std::alignment_of"... "yes" checking "whether has values.h "... "yes" checking "whether has stdint.h "... "yes" checking "whether has malloc.h "... "yes" checking "whether has alloca.h "... "yes" checking "whether has regex.h "... "yes" checking "whether long long works"... "yes" checking "whether __int64 works"... "no" checking "whether __int128 (128-bit integer) works"... "yes" checking "whether __int128_t (128-bit integer) works"... "yes" checking "whether C++ library has "... "yes" checking "whether long double works"... "yes" checking "whether ucontext has FPU pointer"... "yes" checking "whether ucontext uses uc_regs"... "no" checking "whether ucontext has pointer (v_regs) of vector type"... "no" checking "whether ibverbs ibv_port_attr has link_layer field"... "no" checking "whether inline works in C"... "yes" checking "whether C++ signed char and char differ"... "yes" checking "whether C++ allows declaration of varsize array"... "yes" checking "whether typeinfo/typeid works"... "ok" checking "whether std::iterator_traits is defined"... "ok" checking "whether std::distance is defined"... "ok" checking "whether std::inserter is defined"... "ok" checking "whether std::unordered_map is defined"... "ok" checking "whether anon structs are permitted"... "yes" checking "whether operator delete can be overloaded in same class"... "ok" checking "whether offsetof is defined"... "yes" checking "whether GCC x86 assembly works"... "yes" checking "whether GCC x86 assembly for atomic increment works"... "yes" checking "whether asm eieio assembly works"... "no" checking "whether __thread (Thread Local Storage) is supported"... "yes" checking "whether synchronization primitives (__sync_add_and_fetch) works in C"... "yes" checking "whether synchronization primitives (__sync_synchronize) works in C"... "yes" checking "whether switching TLS register (64-bit) is supported"... "yes" checking "whether getrusage accepts RUSAGE_THREAD"... "yes" checking "whether has asctime"... "yes" checking "whether has log2"... "yes" checking "whether has sqrtf"... "yes" checking "whether has fabsf"... "yes" checking "whether has mkstemp"... "yes" checking "whether has system"... "yes" checking "whether has sync()"... "yes" checking "whether has fsync()"... "yes" checking "whether has fdatasync()"... "yes" checking "whether has sbrk"... "yes" checking "whether has _setjmp/_longjmp"... "yes" checking "whether has mstats"... "no" checking "whether has mallinfo"... "yes" checking "whether has popen"... "yes" checking "whether has poll"... "yes" checking "whether has getpagesize"... "yes" checking "whether has getpid"... "yes" checking "whether has kill"... "yes" checking "whether has setpriority"... "yes" checking "whether to use signal-safe system() "... "no" checking "whether sched_setaffinity call exists"... "yes" checking "whether pthread_setaffinity_np call exists"... "no" checking "whether pthread_spin_lock exists"... "yes" checking "whether bindprocessor call exists"... "no" checking "whether dlopen links without -ldl"... "yes" checking "whether dlopen links with -ldl"... "yes" checking "whether gethostname call exists"... "yes" checking "whether getProcAddress works"... "no" checking "whether has socklen_t"... "yes" checking "whether getifaddrs call exists"... "yes" checking "whether the mmap() syscall exists"... "yes" checking "whether mmap() accepts MAP_ANON"... "yes" checking "whether mmap() accepts MAP_NORESERVE"... "yes" checking "whether has get_myaddress"... "no" checking "whether has mprotect"... "yes" checking "whether glibc backtrace works"... "yes" checking "whether has sleep "... "yes" checking "whether has usleep "... "yes" checking "whether personality() and ADDR_NO_RANDOMIZE exist"... "yes" checking "whether has zlib"... "yes" checking "whether has elf.h "... "yes" checking "whether has Multiprocessing.h for Apple "... "no" checking "whether ntohl is available"... "yes" checking "whether has libjpeg"... "yes" checking "whether Python is installed"... "no" checking "whether can build shared library"... "yes" checking for sync... sync checking "F77 compiler as"... "and distribute this program is protected by the GPL. -fPIC -fno-second-underscore -fdollar-ok " checking "whether Fortran 77 compiler works"... "no" checking "F90 compiler as"... "and distribute this program is protected by the GPL. -fPIC -fno-second-underscore -fdollar-ok " checking "whether Fortran 90 compiler works"... "no" checking subroutine name used by Fortran 90 compiler... "Fortran compiler not working" configure: creating ./config.status config.status: creating libs/ck-libs/ampi/ampiCC config.status: creating conv-autoconfig.h config.status: executing config-cleanup commands config.status: executing default commands ../bin/charmc -host -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I. -I/usr/include/tirpc -c -o xi-main.o ../../src/xlat-i/xi-main.C ../bin/charmc -host -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I. -I/usr/include/tirpc -c -o xi-grammar.tab.o ../../src/xlat-i/xi-grammar.tab.C ../bin/charmc -host -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I. -DYY_NEVER_INTERACTIVE -I/usr/include/tirpc -c -o xi-scan.o ../../src/xlat-i/xi-scan.C ../bin/charmc -host -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I. -I/usr/include/tirpc -c -o xi-Template.o ../../src/xlat-i/xi-Template.C ../bin/../include/conv-mach-gfortran.sh: line 16: [: too many arguments ../bin/../include/conv-mach-gfortran.sh: line 20: and: command not found ../bin/../include/conv-mach-gfortran.sh: line 16: [: too many arguments ../bin/../include/conv-mach-gfortran.sh: line 16: [: too many arguments ../bin/../include/conv-mach-gfortran.sh: line 20: and: command not found dirname: missing operand Try 'dirname --help' for more information. ../bin/../include/conv-mach-gfortran.sh: line 16: [: too many arguments ../bin/../include/conv-mach-gfortran.sh: line 20: and: command not found ../bin/../include/conv-mach-gfortran.sh: line 20: and: command not found ../bin/../include/conv-mach-gfortran.sh: line 21: and: command not found dirname: dirname: missing operand Try 'dirname --help' for more information. missing operand Try 'dirname --help' for more information. dirname: missing operand Try 'dirname --help' for more information. dirname: missing operand Try 'dirname --help' for more information. ../bin/../include/conv-mach-gfortran.sh: line 21: and: command not found ../bin/../include/conv-mach-gfortran.sh: line 21: and: command not found ../bin/../include/conv-mach-gfortran.sh: line 21: and: command not found dirname: missing operand Try 'dirname --help' for more information. dirname: missing operand Try 'dirname --help' for more information. dirname: missing operand Try 'dirname --help' for more information. lex.yy.c:1034:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1034 | register yy_state_type yy_current_state; | ^~~~~~~~ lex.yy.c:1035:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1035 | register char *yy_cp, *yy_bp; | ^~~~~~~~ lex.yy.c:1035:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1035 | register char *yy_cp, *yy_bp; | ^~~~~~~~ lex.yy.c:1036:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1036 | register int yy_act; | ^~~~~~~~ lex.yy.c:1094:4: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1094 | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; | ^~~~~~~~ lex.yy.c:1364:6: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1364 | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; | ^~~~~~~~ lex.yy.c:1365:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1365 | register char *source = (yytext_ptr); | ^~~~~~~~ lex.yy.c:1366:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1366 | register int number_to_move, i; | ^~~~~~~~ lex.yy.c:1366:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1366 | register int number_to_move, i; | ^~~~~~~~ lex.yy.c:1469:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1469 | register yy_state_type yy_current_state; | ^~~~~~~~ lex.yy.c:1470:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1470 | register char *yy_cp; | ^~~~~~~~ lex.yy.c:1479:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1479 | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_... | ^~~~~~~~ lex.yy.c:1500:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1500 | register int yy_is_jam; | ^~~~~~~~ lex.yy.c:1502:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1502 | register YY_CHAR yy_c = 1; | ^~~~~~~~ lex.yy.c:1517:33: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1517 | static void yyunput (int c, register char * yy_bp ) | ^~~~~~~~ lex.yy.c:1519:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1519 | register char *yy_cp; | ^~~~~~~~ lex.yy.c:1529:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1529 | register int number_to_move = (yy_n_chars) + 2; | ^~~~~~~~ lex.yy.c:1530:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1530 | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ | ^~~~~~~~ lex.yy.c:1532:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1532 | register char *source = | ^~~~~~~~ 19 errors generated. ../bin/charmc -host -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I. -I/usr/include/tirpc -c -o xi-AstNode.o ../../src/xlat-i/xi-AstNode.C Fatal Error by charmc in directory /var/tmp/portage/sys-cluster/charm-6.8.2/work/charm-v6.8.2/net-linux-amd64/tmp Command g++ -I../bin/../include -D__CHARMC__=1 -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I. -DYY_NEVER_INTERACTIVE -I/usr/include/tirpc -c ../../src/xlat-i/xi-scan.C -o xi-scan.o returned error code 1 charmc exiting... gmake[1]: *** [: xi-scan.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... ../bin/../include/conv-mach-gfortran.sh: line 16: [: too many arguments ../bin/../include/conv-mach-gfortran.sh: line 20: and: command not found dirname: missing operand Try 'dirname --help' for more information. ../bin/../include/conv-mach-gfortran.sh: line 21: and: command not found dirname: missing operand Try 'dirname --help' for more information. gmake[1]: Leaving directory '/var/tmp/portage/sys-cluster/charm-6.8.2/work/charm-v6.8.2/net-linux-amd64/tmp' gmake: *** [Makefile:281: headers] Error 2 ------------------------------------------------- Charm++ NOT BUILT. Either cd into net-linux-amd64/tmp and try to resolve the problems yourself, visit http://charm.cs.illinois.edu/ for more information. Otherwise, email the developers at charm@cs.illinois.edu * ERROR: sys-cluster/charm-6.8.2::gentoo failed (compile phase): * Failed to build charm++ * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 2130: Called die * The specific snippet of code: * ./build charm++ ${build_commandline} || die "Failed to build charm++"; * * If you need support, post the output of `emerge --info '=sys-cluster/charm-6.8.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-cluster/charm-6.8.2::gentoo'`. * The complete build log is located at '/var/log/portage/sys-cluster:charm-6.8.2:20231201-164311.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-cluster/charm-6.8.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-cluster/charm-6.8.2/temp/environment'. * Working directory: '/var/tmp/portage/sys-cluster/charm-6.8.2/work/charm-v6.8.2' * S: '/var/tmp/portage/sys-cluster/charm-6.8.2/work/charm-v6.8.2'