I would like to build open64 but i have errors when i try to build it:
checking CLANG_HOME is set ...yes
CLANG_HOME = /clang/11.0.0/release
Removing intermediate container 14d053589b53
---> beff23ecaa00
Step 18/31 : RUN make -j1 && make install
---> Running in 0f9092d59d30
make first
make[1]: Entering directory '/open64/obj'
make[1]: Nothing to be done for 'first'.
make[1]: Leaving directory '/open64/obj'
make phony_targets
make[1]: Entering directory '/open64/obj'
make -C osprey/targdir/include
make[2]: Entering directory '/open64/obj/osprey/targdir/include'
echo '#ifndef __pathscale_defs_h' > pathscale_defs.h
echo '#define __pathscale_defs_h' >> pathscale_defs.h
echo '#define OPEN64_NAME_PREFIX "open"' >> pathscale_defs.h
echo '#define OPEN64_MAJOR_VERSION_NUM 5' >> pathscale_defs.h
echo '#define OPEN64_MINOR_VERSION_NUM 0' >> pathscale_defs.h
echo '#define OPEN64_MAJOR_VERSION "5"' >> pathscale_defs.h
echo '#define OPEN64_MINOR_VERSION "0"' >> pathscale_defs.h
echo '#define OPEN64_FULL_VERSION "5.0"' >> pathscale_defs.h
echo '#define OPEN64_GCC_VERSION "3.3.1"' >> pathscale_defs.h
echo '#define OPEN64_GCC40_VERSION "4.0.2"' >> pathscale_defs.h
echo '#define OPEN64_GCC42_VERSION "4.2.0"' >> pathscale_defs.h
echo '#define OPEN64_INSTALL_PREFIX "/usr"' >> pathscale_defs.h
echo '#define OPEN64_TARGET ""' >> pathscale_defs.h
echo '#define OPEN64_PATCH_LEVEL ""' >> pathscale_defs.h
echo "#endif" >> pathscale_defs.h
Making sys
Making cmplrs
Making libelf
make[2]: Leaving directory '/open64/obj/osprey/targdir/include'
make -C osprey/targdir/driver
make[2]: Entering directory '/open64/obj/osprey/targdir/driver'
abort: no repository found in '/open64/obj/osprey/targdir/driver' (.hg not found)!
make first
make[3]: Entering directory '/open64/obj/osprey/targdir/driver'
abort: no repository found in '/open64/obj/osprey/targdir/driver' (.hg not found)!
make[3]: Nothing to be done for 'first'.
make[3]: Leaving directory '/open64/obj/osprey/targdir/driver'
make driver
make[3]: Entering directory '/open64/obj/osprey/targdir/driver'
abort: no repository found in '/open64/obj/osprey/targdir/driver' (.hg not found)!
C /open64/obj/osprey/targdir/driver/../../../../osprey/driver/errors.c
C /open64/obj/osprey/targdir/driver/../../../../osprey/driver/file_utils.c
C /open64/obj/osprey/targdir/driver/../../../../osprey/driver/lang_defs.c
C /open64/obj/osprey/targdir/driver/../../../../osprey/driver/string_utils.c
gcc -m64 -D_SGI_SOURCE -D_LANGUAGE_C -Wformat -funsigned-char -D__GNU_BUG_WORKAROUND -Wno-unused-result -E -P -DX8664 -DOPEN64_PRODNAME='"Compiler"' -DGCC_CONFIGURE_TARG=\"x86_64-linux-gnu\" -DGCC_DIR=\"osprey-gcc-4.2.0\" -DBUILD_SRC=\"/open64/obj/..\" -DOPEN64_BUILD_DATE='"2021-06-11/09:52:56"' -DOPSCSUB -DLITTLE_ENDIAN_HOST -DHOST_IA32 -DNOOPT -fPIC -DTARG_X8664 -D__STDC_LIMIT_MACROS -DKEY -DOSP_OPT -DPATHSCALE_MERGE -DPSC_TO_OPEN64 -DSHARED_BUILD -x c ../../../../osprey/driver/OPTIONS > OPTIONS.P
C /open64/obj/osprey/targdir/driver/../../../../osprey/driver/table.c
LD /open64/obj/osprey/targdir/driver/table
RUN /open64/obj/osprey/targdir/driver/OPTIONS.P
touch generated
C /open64/obj/osprey/targdir/driver/implicits.c
C /open64/obj/osprey/targdir/driver/../../../../osprey/driver/main.c
C /open64/obj/osprey/targdir/driver/../../../../osprey/driver/options.c
C /open64/obj/osprey/targdir/driver/../../../../osprey/driver/option_seen.c
C /open64/obj/osprey/targdir/driver/../../../../osprey/driver/get_options.c
C /open64/obj/osprey/targdir/driver/../../../../osprey/driver/opt_actions.c
../../../../osprey/driver/opt_actions.c: In function 'run_from_build':
../../../../osprey/driver/opt_actions.c:1170:18: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
1170 | new_ld_path[0] = NULL;
| ^
../../../../osprey/driver/opt_actions.c:1184:25: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
1184 | new_path[builddir_len] = NULL;
| ^
../../../../osprey/driver/opt_actions.c:1187:25: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
1187 | new_path[builddir_len] = NULL;
| ^
../../../../osprey/driver/opt_actions.c:1192:25: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
1192 | new_path[builddir_len] = NULL;
| ^
../../../../osprey/driver/opt_actions.c:1197:25: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
1197 | new_path[builddir_len] = NULL;
| ^
../../../../osprey/driver/opt_actions.c:1202:25: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
1202 | new_path[builddir_len] = NULL;
| ^
../../../../osprey/driver/opt_actions.c:1206:25: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
1206 | new_path[builddir_len] = NULL;
| ^
../../../../osprey/driver/opt_actions.c:1210:25: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
1210 | new_path[builddir_len] = NULL;
| ^
../../../../osprey/driver/opt_actions.c:1214:25: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
1214 | new_path[builddir_len] = NULL;
| ^
../../../../osprey/driver/opt_actions.c:1218:25: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
1218 | new_path[builddir_len] = NULL;
| ^
../../../../osprey/driver/opt_actions.c:1222:25: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
1222 | new_path[builddir_len] = NULL;
| ^
../../../../osprey/driver/opt_actions.c:1226:25: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
1226 | new_path[builddir_len] = NULL;
| ^
../../../../osprey/driver/opt_actions.c: In function 'print_file_path':
../../../../osprey/driver/opt_actions.c:1531:3: warning: missing sentinel in function call [-Wformat=]
1531 | execlp(argv[0], argv[0], argv[1], argv[2], argv[3]);
| ^~~~~~
../../../../osprey/driver/opt_actions.c: In function 'print_multi_lib':
../../../../osprey/driver/opt_actions.c:1548:3: warning: missing sentinel in function call [-Wformat=]
1548 | execlp(argv[0], argv[0], argv[1], argv[2]);
| ^~~~~~
../../../../osprey/driver/opt_actions.c: In function 'Process_Hugepage_Group':
../../../../osprey/driver/opt_actions.c:2187:31: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration]
2187 | if (!(*p) || !isdigit(*p))
| ^~~~~~~
C /open64/obj/osprey/targdir/driver/../../../../osprey/driver/file_names.c
../../../../osprey/driver/file_names.c: In function 'create_temp_file_name':
../../../../osprey/driver/file_names.c:231:25: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
231 | sprintf(pathbuf, "%s/%s", tmpdir, buf); /* full path of tmp files */
| ^
../../../../osprey/driver/file_names.c:231:2: note: 'sprintf' output 2 or more bytes (assuming 513) into a destination of size 512
231 | sprintf(pathbuf, "%s/%s", tmpdir, buf); /* full path of tmp files */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C /open64/obj/osprey/targdir/driver/../../../../osprey/driver/objects.c
C /open64/obj/osprey/targdir/driver/../../../../osprey/driver/phases.c
C /open64/obj/osprey/targdir/driver/../../../../osprey/driver/run.c
C /open64/obj/osprey/targdir/driver/../../../../osprey/driver/special_options.c
GEN version_hg.c
C /open64/obj/osprey/targdir/driver/version_hg.c
LD /open64/obj/osprey/targdir/driver/driver
/usr/bin/ld: options.o:(.bss+0x0): multiple definition of `dump_outfile_to_stdout'; main.o:(.bss+0x58): first defined here
/usr/bin/ld: get_options.o:(.bss+0x18): multiple definition of `dump_outfile_to_stdout'; main.o:(.bss+0x58): first defined here
/usr/bin/ld: opt_actions.o:(.bss+0x3c): multiple definition of `dump_outfile_to_stdout'; main.o:(.bss+0x58): first defined here
/usr/bin/ld: file_names.o:(.bss+0x14): multiple definition of `dump_outfile_to_stdout'; main.o:(.bss+0x58): first defined here
/usr/bin/ld: objects.o:(.bss+0x10): multiple definition of `dump_outfile_to_stdout'; main.o:(.bss+0x58): first defined here
/usr/bin/ld: phases.o:(.bss+0xd4): multiple definition of `dump_outfile_to_stdout'; main.o:(.bss+0x58): first defined here
/usr/bin/ld: run.o:(.bss+0x3c): multiple definition of `dump_outfile_to_stdout'; main.o:(.bss+0x58): first defined here
/usr/bin/ld: special_options.o:(.bss+0x0): multiple definition of `dump_outfile_to_stdout'; main.o:(.bss+0x58): first defined here
/usr/bin/ld: file_names.o: in function `get_object_file':
file_names.c:(.text+0x858): warning: the use of `tempnam' is dangerous, better use `mkstemp'
collect2: error: ld returned 1 exit status
make[3]: *** [../../../../osprey/driver/Makefile.gbase:301: driver] Error 1
make[3]: Leaving directory '/open64/obj/osprey/targdir/driver'
make[2]: *** [../../../../osprey/driver/Makefile.gbase:226: default] Error 2
make[2]: Leaving directory '/open64/obj/osprey/targdir/driver'
make[1]: Leaving directory '/open64/obj'
make[1]: *** [Makefile:229: driver] Error 2
make: *** [Makefile:344: build] Error 2
The command '/bin/sh -c make -j1 && make install' returned a non-zero code: 2
I would like to build open64 but i have errors when i try to build it: