<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>43019</bug_id>
          
          <creation_ts>2022-06-19 19:32:45 +0300</creation_ts>
          <short_desc>Выводит ошибку lchmod из-за недостающего флага компиляции</short_desc>
          <delta_ts>2022-12-01 16:27:20 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Branch p10</product>
          <component>unzip</component>
          <version>не указана</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Александр">x-kin</reporter>
          <assigned_to name="Victor Forsyuk">force</assigned_to>
          <cc>shilovps</cc>
          
          <qa_contact name="qa-p10@altlinux.org">qa-p10</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>211880</commentid>
    <comment_count>0</comment_count>
    <who name="Александр">x-kin</who>
    <bug_when>2022-06-19 19:32:45 +0300</bug_when>
    <thetext>Воспроизвести можно, скачав архив Android NDK с официального сайта (android-ndk-r23c-linux.zip):
  inflating: /opt/android-ndk-r23c/shader-tools/linux-x86_64/spirv-link  
  inflating: /opt/android-ndk-r23c/shader-tools/linux-x86_64/spirv-reduce  
  inflating: /opt/android-ndk-r23c/shader-tools/linux-x86_64/spirv-cfg  
  inflating: /opt/android-ndk-r23c/shader-tools/linux-x86_64/spirv-opt  
    linking: /opt/android-ndk-r23c/shader-tools/linux-x86_64/libc++.so.1  -&gt; ../../toolchains/llvm/prebuilt/linux-x86_64/lib64/libc++.so.1 
  inflating: /opt/android-ndk-r23c/shader-tools/linux-x86_64/glslc  
  inflating: /opt/android-ndk-r23c/shader-tools/linux-x86_64/spirv-dis  
  inflating: /opt/android-ndk-r23c/shader-tools/linux-x86_64/spirv-lesspipe.sh  
finishing deferred symbolic links:
  /opt/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/arm-linux-androideabi/bin/as -&gt; ../../bin/arm-linux-androideabi-as
lchmod (file attributes) error: Function not implemented
  /opt/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/i686-linux-android/bin/as -&gt; ../../bin/i686-linux-android-as
lchmod (file attributes) error: Function not implemented
  /opt/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -&gt; clang-12

Пишут, что это из-за недостающего флага компиляции (-DNO_LCHMOD), мол вызов lchmod нужен во FreeBSD.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>218242</commentid>
    <comment_count>1</comment_count>
    <who name="Pavel Shilov">shilovps</who>
    <bug_when>2022-12-01 16:27:20 +0300</bug_when>
    <thetext>По шагам: 
1. скачать архив с версией android-ndk-r23c-linux
2. распаковать используя команду
$ unzip  android-ndk-r23c-linux.zip
3. проверить распаковку
$ l android-ndk-r23c/
итого 1516
4. скопировать каталог в папку opt/ 

Ошибок не воспроизвелось. 
версия пакета unzip-6.0-alt5.x86_64</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>