bugShell Archive Utilities - Bugs: bug #56802, git version does not compile

 
 

bug #56802: git version does not compile

Submitter:  Tomasz Kłoczko <kloczek>
Submitted:  Sun 25 Aug 2019 01:49:31 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 25 Aug 2019 01:49:31 PM UTC, original submission:  

make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/sharutils-4.15.2/src'
gcc -Wno-format-contains-nul -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -Wno-format-contains-nul  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -o shar shar.o encode.o scribble.o shar-opts.o ../libopts/libopts.a ../lib/libgnu.a ../lib/libgnu.a    
gcc -Wno-format-contains-nul -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -Wno-format-contains-nul  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -o unshar unshar.o encode.o unshar-opts.o ../libopts/libopts.a ../lib/libgnu.a ../lib/libgnu.a    
gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I../libopts -I. -I.. -I../lib -I../lib -I../intl  -Wno-format-contains-nul -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -Wno-format-contains-nul -c -o uuencode.o uuencode.c
In file included from uuencode-opts.h:49,
                 from uuencode.c:65:
uuencode.c: In function ‘process_opts’:
uuencode-opts.h:90:51: error: ‘INDEX_OPT_MODE’ undeclared (first use in this function); did you mean ‘INDEX_OPT_HELP’?
   90 | #define         DESC(n) (uuencodeOptions.pOptDesc[INDEX_OPT_## n])
      |                                                   ^~~~~~~~~~
../libopts/autoopts/options.h:319:34: note: in definition of macro ‘UNUSED_OPT’
  319 | #define UNUSED_OPT(  _od)     (((_od)->fOptState & OPTST_SET_MASK) == 0)
      |                                  ^~~
uuencode-opts.h:92:41: note: in expansion of macro ‘DESC’
   92 | #define     HAVE_OPT(n) (! UNUSED_OPT(& DESC(n)))
      |                                         ^~~~
uuencode.c:254:7: note: in expansion of macro ‘HAVE_OPT’
  254 |   if (HAVE_OPT(MODE))
      |       ^~~~~~~~
uuencode-opts.h:90:51: note: each undeclared identifier is reported only once for each function it appears in
   90 | #define         DESC(n) (uuencodeOptions.pOptDesc[INDEX_OPT_## n])
      |                                                   ^~~~~~~~~~
../libopts/autoopts/options.h:319:34: note: in definition of macro ‘UNUSED_OPT’
  319 | #define UNUSED_OPT(  _od)     (((_od)->fOptState & OPTST_SET_MASK) == 0)
      |                                  ^~~
uuencode-opts.h:92:41: note: in expansion of macro ‘DESC’
   92 | #define     HAVE_OPT(n) (! UNUSED_OPT(& DESC(n)))
      |                                         ^~~~
uuencode.c:254:7: note: in expansion of macro ‘HAVE_OPT’
  254 |   if (HAVE_OPT(MODE))
      |       ^~~~~~~~
uuencode.c:256:44: error: ‘MODE_RUSR’ undeclared (first use in this function)
  256 | #     define FLAG_OKAY(f)  ((S_I##_f) == (MODE##_f))
      |                                            ^~~~~
uuencode.c:258:15: note: in expansion of macro ‘FLAG_OKAY’
  258 |              (FLAG_OKAY(RUSR) && FLAG_OKAY(WUSR) && FLAG_OKAY(XUSR) &&
      |               ^~~~~~~~~
uuencode.c:256:44: error: ‘MODE_WUSR’ undeclared (first use in this function)
  256 | #     define FLAG_OKAY(f)  ((S_I##_f) == (MODE##_f))
      |                                            ^~~~~
uuencode.c:258:34: note: in expansion of macro ‘FLAG_OKAY’
  258 |              (FLAG_OKAY(RUSR) && FLAG_OKAY(WUSR) && FLAG_OKAY(XUSR) &&
      |                                  ^~~~~~~~~
uuencode.c:256:44: error: ‘MODE_XUSR’ undeclared (first use in this function)
  256 | #     define FLAG_OKAY(f)  ((S_I##_f) == (MODE##_f))
      |                                            ^~~~~
uuencode.c:258:53: note: in expansion of macro ‘FLAG_OKAY’
  258 |              (FLAG_OKAY(RUSR) && FLAG_OKAY(WUSR) && FLAG_OKAY(XUSR) &&
      |                                                     ^~~~~~~~~
uuencode.c:256:44: error: ‘MODE_RGRP’ undeclared (first use in this function)
  256 | #     define FLAG_OKAY(f)  ((S_I##_f) == (MODE##_f))
      |                                            ^~~~~
uuencode.c:259:15: note: in expansion of macro ‘FLAG_OKAY’
  259 |               FLAG_OKAY(RGRP) && FLAG_OKAY(WGRP) && FLAG_OKAY(XGRP) &&
      |               ^~~~~~~~~
uuencode.c:256:44: error: ‘MODE_WGRP’ undeclared (first use in this function)
  256 | #     define FLAG_OKAY(f)  ((S_I##_f) == (MODE##_f))
      |                                            ^~~~~
uuencode.c:259:34: note: in expansion of macro ‘FLAG_OKAY’
  259 |               FLAG_OKAY(RGRP) && FLAG_OKAY(WGRP) && FLAG_OKAY(XGRP) &&
      |                                  ^~~~~~~~~
uuencode.c:256:44: error: ‘MODE_XGRP’ undeclared (first use in this function)
  256 | #     define FLAG_OKAY(f)  ((S_I##_f) == (MODE##_f))
      |                                            ^~~~~
uuencode.c:259:53: note: in expansion of macro ‘FLAG_OKAY’
  259 |               FLAG_OKAY(RGRP) && FLAG_OKAY(WGRP) && FLAG_OKAY(XGRP) &&
      |                                                     ^~~~~~~~~
uuencode.c:256:44: error: ‘MODE_ROTH’ undeclared (first use in this function)
  256 | #     define FLAG_OKAY(f)  ((S_I##_f) == (MODE##_f))
      |                                            ^~~~~
uuencode.c:260:15: note: in expansion of macro ‘FLAG_OKAY’
  260 |               FLAG_OKAY(ROTH) && FLAG_OKAY(WOTH) && FLAG_OKAY(XOTH)) };
      |               ^~~~~~~~~
uuencode.c:256:44: error: ‘MODE_WOTH’ undeclared (first use in this function)
  256 | #     define FLAG_OKAY(f)  ((S_I##_f) == (MODE##_f))
      |                                            ^~~~~
uuencode.c:260:34: note: in expansion of macro ‘FLAG_OKAY’
  260 |               FLAG_OKAY(ROTH) && FLAG_OKAY(WOTH) && FLAG_OKAY(XOTH)) };
      |                                  ^~~~~~~~~
uuencode.c:256:44: error: ‘MODE_XOTH’ undeclared (first use in this function)
  256 | #     define FLAG_OKAY(f)  ((S_I##_f) == (MODE##_f))
      |                                            ^~~~~
uuencode.c:260:53: note: in expansion of macro ‘FLAG_OKAY’
  260 |               FLAG_OKAY(ROTH) && FLAG_OKAY(WOTH) && FLAG_OKAY(XOTH)) };
      |                                                     ^~~~~~~~~
uuencode.c:262:15: error: ‘OPT_VALUE_MODE’ undeclared (first use in this function)
  262 |       int m = OPT_VALUE_MODE;
      |               ^~~~~~~~~~~~~~
uuencode.c:264:17: error: ‘MODE_RWXO’ undeclared (first use in this function)
  264 |         if (m & MODE_RWXO)
      |                 ^~~~~~~~~
uuencode.c:267:17: error: ‘MODE_RWXG’ undeclared (first use in this function)
  267 |         if (m & MODE_RWXG)
      |                 ^~~~~~~~~
uuencode.c:270:17: error: ‘MODE_RWXU’ undeclared (first use in this function)
  270 |         if (m & MODE_RWXU)
      |                 ^~~~~~~~~
uuencode.c:273:17: error: ‘MODE_XALL’ undeclared (first use in this function)
  273 |         if (m & MODE_XALL)
      |                 ^~~~~~~~~
uuencode.c:276:17: error: ‘MODE_WALL’ undeclared (first use in this function)
  276 |         if (m & MODE_WALL)
      |                 ^~~~~~~~~
uuencode.c:279:17: error: ‘MODE_RALL’ undeclared (first use in this function)
  279 |         if (m & MODE_RALL)
      |                 ^~~~~~~~~
At top level:
uuencode.c:2:19: warning: ‘cright_years_z’ defined but not used [-Wunused-const-variable=]
    2 | static const char cright_years_z[] =
      |                   ^~~~~~~~~~~~~~
make[2]: * [Makefile:1416: uuencode.o] Error 1
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/sharutils-4.15.2/src'
make[1]: * [Makefile:1306: all-recursive] Error 1

Tomasz Kłoczko <kloczek>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by kloczek (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code