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

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

    <bug>
          <bug_id>45738</bug_id>
          
          <creation_ts>2023-04-03 11:24:32 +0300</creation_ts>
          <short_desc>fakeroot: не собирается на архитектуре LoongArch</short_desc>
          <delta_ts>2023-04-12 11:51:19 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>fakeroot</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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>
          
          <blocked>45802</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Sheplyakov">asheplyakov</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>asheplyakov</cc>
    
    <cc>glebfm</cc>
    
    <cc>iv</cc>
    
    <cc>ldv</cc>
    
    <cc>nir</cc>
    
    <cc>placeholder</cc>
    
    <cc>sin</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>223827</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Sheplyakov">asheplyakov</who>
    <bug_when>2023-04-03 11:24:32 +0300</bug_when>
    <thetext>In file included from ../libfakeroot.c:276:
./symver.h:9:28: error: &apos;sym___lxstat_ver&apos; undeclared here (not in a function); did you mean &apos;sym_wrap_lstat_ver&apos;?
    9 | #define sym_wrap_lstat_ver sym___lxstat_ver
      |                            ^~~~~~~~~~~~~~~~
./wrapstruct.h:7:50: note: in expansion of macro &apos;sym_wrap_lstat_ver&apos;
    7 |   {(void(*))&amp;NEXT_LSTAT_NOARG, WRAP_LSTAT_QUOTE, sym_wrap_lstat_ver},
      |                                                  ^~~~~~~~~~~~~~~~~~
./symver.h:12:27: error: &apos;sym___xstat_ver&apos; undeclared here (not in a function); did you mean &apos;sym_wrap_lstat_ver&apos;?
   12 | #define sym_wrap_stat_ver sym___xstat_ver
      |                           ^~~~~~~~~~~~~~~
./wrapstruct.h:8:48: note: in expansion of macro &apos;sym_wrap_stat_ver&apos;
    8 |   {(void(*))&amp;NEXT_STAT_NOARG, WRAP_STAT_QUOTE, sym_wrap_stat_ver},
      |                                                ^~~~~~~~~~~~~~~~~
./symver.h:4:28: error: &apos;sym___fxstat_ver&apos; undeclared here (not in a function); did you mean &apos;sym_wrap_stat_ver&apos;?
    4 | #define sym_wrap_fstat_ver sym___fxstat_ver
      |                            ^~~~~~~~~~~~~~~~
./wrapstruct.h:9:50: note: in expansion of macro &apos;sym_wrap_fstat_ver&apos;
    9 |   {(void(*))&amp;NEXT_FSTAT_NOARG, WRAP_FSTAT_QUOTE, sym_wrap_fstat_ver},
      |                                                  ^~~~~~~~~~~~~~~~~~
./symver.h:6:30: error: &apos;sym___fxstatat_ver&apos; undeclared here (not in a function); did you mean &apos;sym_wrap_fstatat_ver&apos;?
    6 | #define sym_wrap_fstatat_ver sym___fxstatat_ver
      |                              ^~~~~~~~~~~~~~~~~~
./wrapstruct.h:11:54: note: in expansion of macro &apos;sym_wrap_fstatat_ver&apos;
   11 |   {(void(*))&amp;NEXT_FSTATAT_NOARG, WRAP_FSTATAT_QUOTE, sym_wrap_fstatat_ver},
      |                                                      ^~~~~~~~~~~~~~~~~~~~
./symver.h:8:30: error: &apos;sym___lxstat64_ver&apos; undeclared here (not in a function); did you mean &apos;sym_wrap_lstat64_ver&apos;?
    8 | #define sym_wrap_lstat64_ver sym___lxstat64_ver
      |                              ^~~~~~~~~~~~~~~~~~

[skipped]

In file included from ../communicate.h:19,
                 from ../libfakeroot.c:65:
./config.h:365:20: error: conflicting types for &apos;mknod&apos;; have &apos;int(const char *, mode_t,  dev_t *)&apos; {aka &apos;int(const char *, unsigned int,  long unsigned int *)&apos;}
  365 | #define WRAP_MKNOD mknod
      |                    ^~~~~
../libfakeroot.c:1103:5: note: in expansion of macro &apos;WRAP_MKNOD&apos;
 1103 | int WRAP_MKNOD MKNOD_ARG(int ver UNUSED,
      |     ^~~~~~~~~~
In file included from ../communicate.h:85:
/usr/include/sys/stat.h:404:12: note: previous declaration of &apos;mknod&apos; with type &apos;int(const char *, __mode_t,  __dev_t)&apos; {aka &apos;int(const char *, unsigned int,  long unsigned int)&apos;}
  404 | extern int mknod (const char *__path, __mode_t __mode, __dev_t __dev)
      |            ^~~~~
./config.h:371:22: error: conflicting types for &apos;mknodat&apos;; have &apos;int(int,  const char *, mode_t,  dev_t *)&apos; {aka &apos;int(int,  const char *, unsigned int,  long unsigned int *)&apos;}
  371 | #define WRAP_MKNODAT mknodat
      |                      ^~~~~~~
../libfakeroot.c:1140:5: note: in expansion of macro &apos;WRAP_MKNODAT&apos;
 1140 | int WRAP_MKNODAT MKNODAT_ARG(int ver UNUSED,
      |     ^~~~~~~~~~~~
/usr/include/sys/stat.h:411:12: note: previous declaration of &apos;mknodat&apos; with type &apos;int(int,  const char *, __mode_t,  __dev_t)&apos; {aka &apos;int(int,  const char *, unsigned int,  long unsigned int)&apos;}
  411 | extern int mknodat (int __fd, const char *__path, __mode_t __mode,
      |            ^~~~~~~
../libfakeroot.c:1399:7: error: redefinition of &apos;lstat&apos;
 1399 |   int lstat(const char *file_name, struct stat *statbuf) {
      |       ^~~~~
/usr/include/sys/stat.h:313:12: note: previous definition of &apos;lstat&apos; with type &apos;int(const char * restrict,  struct stat * restrict)&apos;
  313 | extern int lstat (const char *__restrict __file,</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>223829</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Sheplyakov">asheplyakov</who>
    <bug_when>2023-04-03 11:46:56 +0300</bug_when>
    <thetext>#317936 TESTED #1 [test-only] sisyphus fakeroot.git=1.29-alt2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>224375</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Sheplyakov">asheplyakov</who>
    <bug_when>2023-04-12 11:50:38 +0300</bug_when>
    <thetext>#317936 EPERM #3 sisyphus fakeroot.git=1.29-alt4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>224376</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Sheplyakov">asheplyakov</who>
    <bug_when>2023-04-12 11:51:19 +0300</bug_when>
    <thetext>ICMP_ECHO_REQUEST</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>