Ticket #4593 (assigned defect) — at Version 1

Opened 12 days ago

Last modified 9 hours ago

Midnight Commander Git (Today) possible Regression

Reported by: Axanar Owned by: andrew_b
Priority: major Milestone: 4.8.33
Component: compilation Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset:

Description (last modified by zaytsev) (diff)

Hi,

Trying to rebuild Midnight Commander from Git toda on Fedora 41.
I received the following output by simply issuing

./autogen.sh
./configure --prefix=/usr
make

I've seen that there are a few changes made in the past 48hrs. Maybe something got overseen.

It would be nice, if someone could have a look at it.

make[4]: Entering directory '/root/rpmbuild/BUILD/mc-4.8.33-build/mc-4.8.33/src/vfs/tar'
  CC       tar-sparse.lo
tar-sparse.c: In function 'pax_decode_header':
tar-sparse.c:85:29: error: implicit declaration of function '_GL_TYPE_WIDTH' [-Wimplicit-function-declaration]
   85 |     (INT_BITS_STRLEN_BOUND (_GL_TYPE_WIDTH (t) - _GL_SIGNED_TYPE_OR_EXPR (t)) \
      |                             ^~~~~~~~~~~~~~
tar-sparse.c:73:37: note: in definition of macro 'INT_BITS_STRLEN_BOUND'
   73 | #define INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485)
      |                                     ^
tar-sparse.c:90:31: note: in expansion of macro 'INT_STRLEN_BOUND'
   90 | #define INT_BUFSIZE_BOUND(t) (INT_STRLEN_BOUND (t) + 1)
      |                               ^~~~~~~~~~~~~~~~
tar-sparse.c:92:31: note: in expansion of macro 'INT_BUFSIZE_BOUND'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                               ^~~~~~~~~~~~~~~~~
tar-sparse.c:557:19: note: in expansion of macro 'UINTMAX_STRSIZE_BOUND'
  557 |         char nbuf[UINTMAX_STRSIZE_BOUND];
      |                   ^~~~~~~~~~~~~~~~~~~~~
tar-sparse.c:85:29: warning: nested extern declaration of '_GL_TYPE_WIDTH' [-Wnested-externs]
   85 |     (INT_BITS_STRLEN_BOUND (_GL_TYPE_WIDTH (t) - _GL_SIGNED_TYPE_OR_EXPR (t)) \
      |                             ^~~~~~~~~~~~~~
tar-sparse.c:73:37: note: in definition of macro 'INT_BITS_STRLEN_BOUND'
   73 | #define INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485)
      |                                     ^
tar-sparse.c:90:31: note: in expansion of macro 'INT_STRLEN_BOUND'
   90 | #define INT_BUFSIZE_BOUND(t) (INT_STRLEN_BOUND (t) + 1)
      |                               ^~~~~~~~~~~~~~~~
tar-sparse.c:92:31: note: in expansion of macro 'INT_BUFSIZE_BOUND'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                               ^~~~~~~~~~~~~~~~~
tar-sparse.c:557:19: note: in expansion of macro 'UINTMAX_STRSIZE_BOUND'
  557 |         char nbuf[UINTMAX_STRSIZE_BOUND];
      |                   ^~~~~~~~~~~~~~~~~~~~~
tar-sparse.c:92:50: error: expected expression before 'uintmax_t'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                                                  ^~~~~~~~~
tar-sparse.c:73:37: note: in definition of macro 'INT_BITS_STRLEN_BOUND'
   73 | #define INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485)
      |                                     ^
tar-sparse.c:90:31: note: in expansion of macro 'INT_STRLEN_BOUND'
   90 | #define INT_BUFSIZE_BOUND(t) (INT_STRLEN_BOUND (t) + 1)
      |                               ^~~~~~~~~~~~~~~~
tar-sparse.c:92:31: note: in expansion of macro 'INT_BUFSIZE_BOUND'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                               ^~~~~~~~~~~~~~~~~
tar-sparse.c:557:19: note: in expansion of macro 'UINTMAX_STRSIZE_BOUND'
  557 |         char nbuf[UINTMAX_STRSIZE_BOUND];
      |                   ^~~~~~~~~~~~~~~~~~~~~
tar-sparse.c:85:50: error: implicit declaration of function '_GL_SIGNED_TYPE_OR_EXPR' [-Wimplicit-function-declaration]
   85 |     (INT_BITS_STRLEN_BOUND (_GL_TYPE_WIDTH (t) - _GL_SIGNED_TYPE_OR_EXPR (t)) \
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~
tar-sparse.c:73:37: note: in definition of macro 'INT_BITS_STRLEN_BOUND'
   73 | #define INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485)
      |                                     ^
tar-sparse.c:90:31: note: in expansion of macro 'INT_STRLEN_BOUND'
   90 | #define INT_BUFSIZE_BOUND(t) (INT_STRLEN_BOUND (t) + 1)
      |                               ^~~~~~~~~~~~~~~~
tar-sparse.c:92:31: note: in expansion of macro 'INT_BUFSIZE_BOUND'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                               ^~~~~~~~~~~~~~~~~
tar-sparse.c:557:19: note: in expansion of macro 'UINTMAX_STRSIZE_BOUND'
  557 |         char nbuf[UINTMAX_STRSIZE_BOUND];
      |                   ^~~~~~~~~~~~~~~~~~~~~
tar-sparse.c:85:50: warning: nested extern declaration of '_GL_SIGNED_TYPE_OR_EXPR' [-Wnested-externs]
   85 |     (INT_BITS_STRLEN_BOUND (_GL_TYPE_WIDTH (t) - _GL_SIGNED_TYPE_OR_EXPR (t)) \
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~
tar-sparse.c:73:37: note: in definition of macro 'INT_BITS_STRLEN_BOUND'
   73 | #define INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485)
      |                                     ^
tar-sparse.c:90:31: note: in expansion of macro 'INT_STRLEN_BOUND'
   90 | #define INT_BUFSIZE_BOUND(t) (INT_STRLEN_BOUND (t) + 1)
      |                               ^~~~~~~~~~~~~~~~
tar-sparse.c:92:31: note: in expansion of macro 'INT_BUFSIZE_BOUND'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                               ^~~~~~~~~~~~~~~~~
tar-sparse.c:557:19: note: in expansion of macro 'UINTMAX_STRSIZE_BOUND'
  557 |         char nbuf[UINTMAX_STRSIZE_BOUND];
      |                   ^~~~~~~~~~~~~~~~~~~~~
tar-sparse.c:92:50: error: expected expression before 'uintmax_t'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                                                  ^~~~~~~~~
tar-sparse.c:73:37: note: in definition of macro 'INT_BITS_STRLEN_BOUND'
   73 | #define INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485)
      |                                     ^
tar-sparse.c:90:31: note: in expansion of macro 'INT_STRLEN_BOUND'
   90 | #define INT_BUFSIZE_BOUND(t) (INT_STRLEN_BOUND (t) + 1)
      |                               ^~~~~~~~~~~~~~~~
tar-sparse.c:92:31: note: in expansion of macro 'INT_BUFSIZE_BOUND'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                               ^~~~~~~~~~~~~~~~~
tar-sparse.c:557:19: note: in expansion of macro 'UINTMAX_STRSIZE_BOUND'
  557 |         char nbuf[UINTMAX_STRSIZE_BOUND];
      |                   ^~~~~~~~~~~~~~~~~~~~~
tar-sparse.c:92:50: error: expected expression before 'uintmax_t'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                                                  ^~~~~~~~~
tar-sparse.c:86:36: note: in definition of macro 'INT_STRLEN_BOUND'
   86 |         + _GL_SIGNED_TYPE_OR_EXPR (t))
      |                                    ^
tar-sparse.c:92:31: note: in expansion of macro 'INT_BUFSIZE_BOUND'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                               ^~~~~~~~~~~~~~~~~
tar-sparse.c:557:19: note: in expansion of macro 'UINTMAX_STRSIZE_BOUND'
  557 |         char nbuf[UINTMAX_STRSIZE_BOUND];
      |                   ^~~~~~~~~~~~~~~~~~~~~
tar-sparse.c:92:50: error: expected expression before 'uintmax_t'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                                                  ^~~~~~~~~
tar-sparse.c:73:37: note: in definition of macro 'INT_BITS_STRLEN_BOUND'
   73 | #define INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485)
      |                                     ^
tar-sparse.c:90:31: note: in expansion of macro 'INT_STRLEN_BOUND'
   90 | #define INT_BUFSIZE_BOUND(t) (INT_STRLEN_BOUND (t) + 1)
      |                               ^~~~~~~~~~~~~~~~
tar-sparse.c:92:31: note: in expansion of macro 'INT_BUFSIZE_BOUND'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                               ^~~~~~~~~~~~~~~~~
tar-sparse.c:103:26: note: in expansion of macro 'UINTMAX_STRSIZE_BOUND'
  103 |         if (dst == buf + UINTMAX_STRSIZE_BOUND - 1)                      \
      |                          ^~~~~~~~~~~~~~~~~~~~~
tar-sparse.c:571:9: note: in expansion of macro 'COPY_BUF'
  571 |         COPY_BUF (archive, blk, nbuf, p);
      |         ^~~~~~~~
tar-sparse.c:92:50: error: expected expression before 'uintmax_t'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                                                  ^~~~~~~~~
tar-sparse.c:73:37: note: in definition of macro 'INT_BITS_STRLEN_BOUND'
   73 | #define INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485)
      |                                     ^
tar-sparse.c:90:31: note: in expansion of macro 'INT_STRLEN_BOUND'
   90 | #define INT_BUFSIZE_BOUND(t) (INT_STRLEN_BOUND (t) + 1)
      |                               ^~~~~~~~~~~~~~~~
tar-sparse.c:92:31: note: in expansion of macro 'INT_BUFSIZE_BOUND'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                               ^~~~~~~~~~~~~~~~~
tar-sparse.c:103:26: note: in expansion of macro 'UINTMAX_STRSIZE_BOUND'
  103 |         if (dst == buf + UINTMAX_STRSIZE_BOUND - 1)                      \
      |                          ^~~~~~~~~~~~~~~~~~~~~
tar-sparse.c:571:9: note: in expansion of macro 'COPY_BUF'
  571 |         COPY_BUF (archive, blk, nbuf, p);
      |         ^~~~~~~~
tar-sparse.c:92:50: error: expected expression before 'uintmax_t'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                                                  ^~~~~~~~~
tar-sparse.c:86:36: note: in definition of macro 'INT_STRLEN_BOUND'
   86 |         + _GL_SIGNED_TYPE_OR_EXPR (t))
      |                                    ^
tar-sparse.c:92:31: note: in expansion of macro 'INT_BUFSIZE_BOUND'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                               ^~~~~~~~~~~~~~~~~
tar-sparse.c:103:26: note: in expansion of macro 'UINTMAX_STRSIZE_BOUND'
  103 |         if (dst == buf + UINTMAX_STRSIZE_BOUND - 1)                      \
      |                          ^~~~~~~~~~~~~~~~~~~~~
tar-sparse.c:571:9: note: in expansion of macro 'COPY_BUF'
  571 |         COPY_BUF (archive, blk, nbuf, p);
      |         ^~~~~~~~
tar-sparse.c:92:50: error: expected expression before 'uintmax_t'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                                                  ^~~~~~~~~
tar-sparse.c:73:37: note: in definition of macro 'INT_BITS_STRLEN_BOUND'
   73 | #define INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485)
      |                                     ^
tar-sparse.c:90:31: note: in expansion of macro 'INT_STRLEN_BOUND'
   90 | #define INT_BUFSIZE_BOUND(t) (INT_STRLEN_BOUND (t) + 1)
      |                               ^~~~~~~~~~~~~~~~
tar-sparse.c:92:31: note: in expansion of macro 'INT_BUFSIZE_BOUND'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                               ^~~~~~~~~~~~~~~~~
tar-sparse.c:103:26: note: in expansion of macro 'UINTMAX_STRSIZE_BOUND'
  103 |         if (dst == buf + UINTMAX_STRSIZE_BOUND - 1)                      \
      |                          ^~~~~~~~~~~~~~~~~~~~~
tar-sparse.c:592:13: note: in expansion of macro 'COPY_BUF'
  592 |             COPY_BUF (archive, blk, nbuf, p);
      |             ^~~~~~~~
tar-sparse.c:92:50: error: expected expression before 'uintmax_t'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                                                  ^~~~~~~~~
tar-sparse.c:73:37: note: in definition of macro 'INT_BITS_STRLEN_BOUND'
   73 | #define INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485)
      |                                     ^
tar-sparse.c:90:31: note: in expansion of macro 'INT_STRLEN_BOUND'
   90 | #define INT_BUFSIZE_BOUND(t) (INT_STRLEN_BOUND (t) + 1)
      |                               ^~~~~~~~~~~~~~~~
tar-sparse.c:92:31: note: in expansion of macro 'INT_BUFSIZE_BOUND'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                               ^~~~~~~~~~~~~~~~~
tar-sparse.c:103:26: note: in expansion of macro 'UINTMAX_STRSIZE_BOUND'
  103 |         if (dst == buf + UINTMAX_STRSIZE_BOUND - 1)                      \
      |                          ^~~~~~~~~~~~~~~~~~~~~
tar-sparse.c:592:13: note: in expansion of macro 'COPY_BUF'
  592 |             COPY_BUF (archive, blk, nbuf, p);
      |             ^~~~~~~~
tar-sparse.c:92:50: error: expected expression before 'uintmax_t'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                                                  ^~~~~~~~~
tar-sparse.c:86:36: note: in definition of macro 'INT_STRLEN_BOUND'
   86 |         + _GL_SIGNED_TYPE_OR_EXPR (t))
      |                                    ^
tar-sparse.c:92:31: note: in expansion of macro 'INT_BUFSIZE_BOUND'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                               ^~~~~~~~~~~~~~~~~
tar-sparse.c:103:26: note: in expansion of macro 'UINTMAX_STRSIZE_BOUND'
  103 |         if (dst == buf + UINTMAX_STRSIZE_BOUND - 1)                      \
      |                          ^~~~~~~~~~~~~~~~~~~~~
tar-sparse.c:592:13: note: in expansion of macro 'COPY_BUF'
  592 |             COPY_BUF (archive, blk, nbuf, p);
      |             ^~~~~~~~
tar-sparse.c:92:50: error: expected expression before 'uintmax_t'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                                                  ^~~~~~~~~
tar-sparse.c:73:37: note: in definition of macro 'INT_BITS_STRLEN_BOUND'
   73 | #define INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485)
      |                                     ^
tar-sparse.c:90:31: note: in expansion of macro 'INT_STRLEN_BOUND'
   90 | #define INT_BUFSIZE_BOUND(t) (INT_STRLEN_BOUND (t) + 1)
      |                               ^~~~~~~~~~~~~~~~
tar-sparse.c:92:31: note: in expansion of macro 'INT_BUFSIZE_BOUND'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                               ^~~~~~~~~~~~~~~~~
tar-sparse.c:103:26: note: in expansion of macro 'UINTMAX_STRSIZE_BOUND'
  103 |         if (dst == buf + UINTMAX_STRSIZE_BOUND - 1)                      \
      |                          ^~~~~~~~~~~~~~~~~~~~~
tar-sparse.c:599:13: note: in expansion of macro 'COPY_BUF'
  599 |             COPY_BUF (archive, blk, nbuf, p);
      |             ^~~~~~~~
tar-sparse.c:92:50: error: expected expression before 'uintmax_t'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                                                  ^~~~~~~~~
tar-sparse.c:73:37: note: in definition of macro 'INT_BITS_STRLEN_BOUND'
   73 | #define INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485)
      |                                     ^
tar-sparse.c:90:31: note: in expansion of macro 'INT_STRLEN_BOUND'
   90 | #define INT_BUFSIZE_BOUND(t) (INT_STRLEN_BOUND (t) + 1)
      |                               ^~~~~~~~~~~~~~~~
tar-sparse.c:92:31: note: in expansion of macro 'INT_BUFSIZE_BOUND'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                               ^~~~~~~~~~~~~~~~~
tar-sparse.c:103:26: note: in expansion of macro 'UINTMAX_STRSIZE_BOUND'
  103 |         if (dst == buf + UINTMAX_STRSIZE_BOUND - 1)                      \
      |                          ^~~~~~~~~~~~~~~~~~~~~
tar-sparse.c:599:13: note: in expansion of macro 'COPY_BUF'
  599 |             COPY_BUF (archive, blk, nbuf, p);
      |             ^~~~~~~~
tar-sparse.c:92:50: error: expected expression before 'uintmax_t'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                                                  ^~~~~~~~~
tar-sparse.c:86:36: note: in definition of macro 'INT_STRLEN_BOUND'
   86 |         + _GL_SIGNED_TYPE_OR_EXPR (t))
      |                                    ^
tar-sparse.c:92:31: note: in expansion of macro 'INT_BUFSIZE_BOUND'
   92 | #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
      |                               ^~~~~~~~~~~~~~~~~
tar-sparse.c:103:26: note: in expansion of macro 'UINTMAX_STRSIZE_BOUND'
  103 |         if (dst == buf + UINTMAX_STRSIZE_BOUND - 1)                      \
      |                          ^~~~~~~~~~~~~~~~~~~~~
tar-sparse.c:599:13: note: in expansion of macro 'COPY_BUF'
  599 |             COPY_BUF (archive, blk, nbuf, p);
      |             ^~~~~~~~
tar-sparse.c:557:14: warning: unused variable 'nbuf' [-Wunused-variable]
  557 |         char nbuf[UINTMAX_STRSIZE_BOUND];
      |              ^~~~
make[4]: *** [Makefile:527: tar-sparse.lo] Error 1
make[4]: Leaving directory '/root/rpmbuild/BUILD/mc-4.8.33-build/mc-4.8.33/src/vfs/tar'
make[3]: *** [Makefile:603: all-recursive] Error 1
make[3]: Leaving directory '/root/rpmbuild/BUILD/mc-4.8.33-build/mc-4.8.33/src/vfs'
make[2]: *** [Makefile:716: all-recursive] Error 1
make[2]: Leaving directory '/root/rpmbuild/BUILD/mc-4.8.33-build/mc-4.8.33/src'
make[1]: *** [Makefile:599: all-recursive] Error 1
make[1]: Leaving directory '/root/rpmbuild/BUILD/mc-4.8.33-build/mc-4.8.33'
make: *** [Makefile:529: all] Error 2

Change History

comment:1 Changed 12 days ago by zaytsev

  • Owner set to andrew_b
  • Status changed from new to assigned
  • Description modified (diff)
  • Milestone changed from Future Releases to 4.8.33
Note: See TracTickets for help on using tickets.