Skip to content

installation fails with Intel C++ (ICC) 2021.8.0  #99

@natalie-perlin

Description

@natalie-perlin

Installing rocoto on a new NCAR/UCAR Derecho, installation fails with the errors:

xmlIO.c(1450): error: identifier "LZMA_OK" is undefined
      ret =  (__libxml2_xzclose((xzFile) context) == LZMA_OK ) ? 0 : -1;
                                                     ^

xmlIO.c(2044): warning #3179: deprecated conversion of string literal to char* (should be const char*)
      char *			content_type = (char *) "text/xml";
            			               ^

xmlIO.c(2044): warning #3179: deprecated conversion of string literal to char* (should be const char*)
      char *			content_type = (char *) "text/xml";
            			               ^

xmlIO.c(2056): warning #3179: deprecated conversion of string literal to char* (should be const char*)
  	content_encoding = (char *) "Content-Encoding: gzip";
  	                   ^

xmlIO.c(2056): warning #3179: deprecated conversion of string literal to char* (should be const char*)
  	content_encoding = (char *) "Content-Encoding: gzip";
  	                 ^

compilation aborted for xmlIO.c (code 2)
make[2]: *** [Makefile:1248: xmlIO.lo] Error 1
make[2]: Leaving directory '/glade/work/epicufsrt/contrib/derecho/rocoto/build/libxml2-2.9.4'
make[1]: *** [Makefile:1440: all-recursive] Error 1
make[1]: Leaving directory '/glade/work/epicufsrt/contrib/derecho/rocoto/build/libxml2-2.9.4'
make: *** [Makefile:859: all] Error 2

Using develop branch of rocoto (version 1.3.3 has the same issues),
compilers: icc (ICC) 2021.8.0 20221119 and icpc (ICC) 2021.8.0 20221119
ruby: ruby 3.1.0p0 installed under /glade/u/apps/derecho/23.06/opt/bin/ruby or
ruby 2.5.9p229 installed under /usr/bin/ruby (same errors result)

Any suggestions on resolving the compile issue?..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions