<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>14035</bug_id>
          
          <creation_ts>2020-09-02 08:14:52 +0000</creation_ts>
          <short_desc>master] icu-native fails to build on CentOS</short_desc>
          <delta_ts>2020-10-22 08:01:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>3.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc>https://errors.yoctoproject.org/Errors/Build/109491/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="akuster">akuster808</reporter>
          <assigned_to name="akuster">akuster808</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>workjagadeesh</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88075</commentid>
    <comment_count>0</comment_count>
    <who name="akuster">akuster808</who>
    <bug_when>2020-09-02 08:14:52 +0000</bug_when>
    <thetext>../../icu/source/common/utext.cpp:587:73: error: ‘max_align_t’ is not a member of ‘std’
|              spaceRequired = sizeof(ExtendedUText) + extraSpace - sizeof(std::max_align_t);</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88076</commentid>
    <comment_count>1</comment_count>
    <who name="akuster">akuster808</who>
    <bug_when>2020-09-02 08:18:22 +0000</bug_when>
    <thetext>I add CXXFLAGS_append_class-native = &quot; -std=gnu99&quot; &amp; c99 but it dump a different set of errors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88234</commentid>
    <comment_count>2</comment_count>
    <who name="Jagadeesh Krishnanjanappa">workjagadeesh</who>
    <bug_when>2020-09-25 02:36:16 +0000</bug_when>
    <thetext>Hi Armin,

In ICU 67.1 the deprecated C++ stddef.h has been replaced with cstddef header file and max_align_t is defined under std namespace.

The following commit has introduced this error.

https://github.com/unicode-org/icu/commit/a3078fb8c89b61c35ccebb04cf6b189bc81093b3.patch

If we revert that changes for CentOS 7.4 (which has g++ v4.8.5), then icu-native compiles.

Regards,
Jagadeesh</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88459</commentid>
    <comment_count>3</comment_count>
    <who name="akuster">akuster808</who>
    <bug_when>2020-10-22 08:01:35 +0000</bug_when>
    <thetext>this fails when buildtools is not installed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>