Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-22105

Support Ubuntu 19.04 in LN builds

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2.14
    • Component/s: Plugins
    • Labels:
      None

      Description

      Similar icu support on Ubuntu 19.04
      Builds failed on EE, LN LN/Plugins LN/Spark
      Build errors:errors:
      00:07:12.177 [ 42%] Building CXX object plugins/saltlib/CMakeFiles/saltlib.dir/saltlib.cpp.o
      00:07:13.168 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:852:5: error: ‘UnicodeString’ does not name a type; did you mean ‘elideString’?
      00:07:13.168 UnicodeString ustring_;
      00:07:13.168 ^~~~~~~~~~~~~
      00:07:13.168 elideString
      00:07:13.168 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:857:26: error: ‘BreakIterator’ has not been declared
      00:07:13.168 void doCreateUPCList(BreakIterator& cbi) {
      00:07:13.168 ^~~~~~~~~~~~~
      00:07:13.168 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:873:26: error: expected ‘)’ before ‘&’ token
      00:07:13.168 UPCList(BreakIterator& cbi, const UnicodeString & source)
      00:07:13.168 ~ ^
      00:07:13.168 )
      00:07:13.175 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:923:11: error: ‘UnicodeString’ does not name a type; did you mean ‘elideString’?
      00:07:13.175 const UnicodeString& getString() const

      {return ustring_;}

      00:07:13.175 ^~~~~~~~~~~~~
      00:07:13.175 elideString
      00:07:13.175 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp: In member function ‘void nsSaltlib::UPCList::doCreateUPCList(int&)’:
      00:07:13.175 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:859:20: error: ‘ustring_’ was not declared in this scope
      00:07:13.175 capacity_= ustring_.length()+1; // the number of characters is always less or equal to the string length
      00:07:13.175 ^~~~~~~~
      00:07:13.180 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:859:20: note: suggested alternative: ‘cString’
      00:07:13.180 capacity_= ustring_.length()+1; // the number of characters is always less or equal to the string length
      00:07:13.180 ^~~~~~~~
      00:07:13.180 cString
      00:07:13.180 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:862:13: error: request for member ‘setText’ in ‘cbi’, which is of non-class type ‘int’
      00:07:13.180 cbi.setText(ustring_);
      00:07:13.180 ^~~~~~~
      00:07:13.181 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:863:28: error: request for member ‘first’ in ‘cbi’, which is of non-class type ‘int’
      00:07:13.181 next_[index] = cbi.first();
      00:07:13.181 ^~~~~
      00:07:13.181 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:864:32: error: request for member ‘next’ in ‘cbi’, which is of non-class type ‘int’
      Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:1663:73: error: ‘RuleBasedBreakIterator’ has not been declared
      00:07:13.235 int unicodeMatchBagofwords(const char * localename, BreakIterator& cbi, RuleBasedBreakIterator& bi, NumberFormat& fmt, UnicodeString& left, UnicodeString& right, unsigned mode, unsigned score_mode )
      00:07:13.235
      ...
      00:07:13.559 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp: In function ‘void ulUnicodeLocaleGetRangeOfWords(unsigned int&, UChar*&, unsigned int, const UChar*, unsigned int, unsigned int, const char*)’:
      00:07:13.559 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:3074:5: error: ‘RuleBasedBreakIterator’ was not declared in this scope
      00:07:13.559 RuleBasedBreakIterator* bi = queryRBBreakIterator(localename);
      00:07:13.559 ^~~~~~~~~~~~~~~~~~~~~~
      00:07:13.561 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:3074:5: note: suggested alternative:
      00:07:13.561 In file included from /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:37:
      00:07:13.561 /usr/include/unicode/rbbi.h:53:20: note: ‘icu_63::RuleBasedBreakIterator’
      00:07:13.561 class U_COMMON_API RuleBasedBreakIterator /U_FINAL/ : public BreakIterator {
      00:07:13.561 ^~~~~~~~~~~~~~~~~~~~~~
      00:07:13.561 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:3074:29: error: ‘bi’ was not declared in this scope
      00:07:13.561 RuleBasedBreakIterator* bi = queryRBBreakIterator(localename);
      00:07:13.561 ^~
      00:07:13.564 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:3074:34: error: ‘queryRBBreakIterator’ was not declared in this scope
      00:07:13.564 RuleBasedBreakIterator* bi = queryRBBreakIterator(localename);
      00:07:13.564 ^~~~~~~~~~~~~~~~~~~~
      00:07:13.575 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:3074:34: note: suggested alternative: ‘UBreakIterator’
      00:07:13.575 RuleBasedBreakIterator* bi = queryRBBreakIterator(localename);
      00:07:13.575 ^~~~~~~~~~~~~~~~~~~~
      00:07:13.575 UBreakIterator
      00:07:13.575 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:3078:5: error: ‘UnicodeString’ was not declared in this scope
      00:07:13.575 UnicodeString uText(text, textLen);
      00:07:13.575 ^~~~~~~~~~~~~
      00:07:13.576 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:3078:5: note: suggested alternative:
      00:07:13.576 In file included from /usr/include/unicode/utext.h:145,
      00:07:13.576 from /usr/include/unicode/ubrk.h:15,
      00:07:13.576 from /usr/include/unicode/usearch.h:21,
      00:07:13.576 from /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:30:
      00:07:13.576 /usr/include/unicode/unistr.h:289:20: note: ‘icu_63::UnicodeString’
      00:07:13.576 class U_COMMON_API UnicodeString : public Replaceable
      00:07:13.576 ^~~~~~~~~~~~~
      00:07:13.576 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:3079:5: error: ‘uText’ was not declared in this scope
      00:07:13.576 uText.trim();
      00:07:13.576 ^~~~~
      00:07:13.578 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:3079:5: note: suggested alternative: ‘UText’
      00:07:13.578 uText.trim();
      00:07:13.578 ^~~~~
      00:07:13.578 UText
      00:07:13.578 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:3080:18: error: expected ‘;’ before ‘word’
      00:07:13.578 UnicodeString word = getRangeOfWords(*bi, uText, start_index, end_index);
      00:07:13.578 ^~~~~
      00:07:13.578 ;
      00:07:13.578 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:3081:8: error: ‘word’ was not declared in this scope
      00:07:13.578 if(word.length()>0)
      00:07:13.578 ^~~~
      00:07:13.580 /mnt/disk1/jenkins/workspace/LN-Candidate-with-Plugins-7.2.12-rc1/LN/ubuntu-19.04-amd64/LN/plugins/saltlib/saltlib.cpp:3081:8: note: suggested alternative: ‘fork’
      00:07:13.580 if(word.length()>0)
      00:07:13.580 ^~~~
      00:07:13.580 fork
      00:07:13.684 make[2]: *** [plugins/saltlib/CMakeFiles/saltlib.dir/build.make:63: plugins/saltlib/CMakeFiles/saltlib.dir/saltlib.cpp.o] Err

        Attachments

          Activity

            People

            • Assignee:
              richardkchapman Richard Chapman
              Reporter:
              xwang2713 Xiaoming Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: