Skip to contentSkip to conversation

New: libfakeroot fails to compile

Buildroot [email protected] 1 participant 5 messages Dec 14, 2023 – Jun 15, 2024

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=15892

Bug ID: 15892
Summary: libfakeroot fails to compile
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---

In file included from libfakeroot.c:271:
wrapped.h:231:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LSTAT64_TIME64_ARG'
231 | extern int (*NEXT_LSTAT64_TIME64_NOARG)LSTAT64_TIME64_ARG(int ver,

const char *file_name, struct stat64 *buf);
      |                                        ^~~~~~~~~~~~~~~~~~
wrapped.h:232:39: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'STAT64_TIME64_ARG'
  232 | extern int (*NEXT_STAT64_TIME64_NOARG)STAT64_TIME64_ARG(int ver, const
char *file_name, struct stat64 *buf);
      |                                       ^~~~~~~~~~~~~~~~~
wrapped.h:233:40: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'FSTAT64_TIME64_ARG'
  233 | extern int (*NEXT_FSTAT64_TIME64_NOARG)FSTAT64_TIME64_ARG(int ver, int
fd, struct stat64 *buf);
      |                                        ^~~~~~~~~~~~~~~~~~

wrapped.h:234:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'FSTATAT64_TIME64_ARG'
234 | extern int (*NEXT_FSTATAT64_TIME64_NOARG)FSTATAT64_TIME64_ARG(int ver,
int dir_fd, const char *path, struct stat64 *buf, int flags);

      |                                          ^~~~~~~~~~~~~~~~~~~~

In file included from libfakeroot.c:272:
wraptmpf.h:627:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LSTAT64_TIME64_ARG'
627 | int TMP_LSTAT64_TIME64 LSTAT64_TIME64_ARG(int ver, const char

*file_name, struct stat64 *buf){
      |                        ^~~~~~~~~~~~~~~~~~
wraptmpf.h:632:23: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'STAT64_TIME64_ARG'
  632 | int TMP_STAT64_TIME64 STAT64_TIME64_ARG(int ver, const char *file_name,
struct stat64 *buf){
      |                       ^~~~~~~~~~~~~~~~~
wraptmpf.h:637:24: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'FSTAT64_TIME64_ARG'
  637 | int TMP_FSTAT64_TIME64 FSTAT64_TIME64_ARG(int ver, int fd, struct
stat64 *buf){
      |                        ^~~~~~~~~~~~~~~~~~
wraptmpf.h:642:26: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'FSTATAT64_TIME64_ARG'
  642 | int TMP_FSTATAT64_TIME64 FSTATAT64_TIME64_ARG(int ver, int dir_fd,
const char *path, struct stat64 *buf, int flags){
      |                          ^~~~~~~~~~~~~~~~~~~~

In file included from libfakeroot.c:273:
wrapdef.h:231:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LSTAT64_TIME64_ARG'
231 | int (*NEXT_LSTAT64_TIME64_NOARG)LSTAT64_TIME64_ARG(int ver, const char

*file_name, struct stat64 *buf)=TMP_LSTAT64_TIME64;
      |                                 ^~~~~~~~~~~~~~~~~~
wrapdef.h:232:32: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'STAT64_TIME64_ARG'
  232 | int (*NEXT_STAT64_TIME64_NOARG)STAT64_TIME64_ARG(int ver, const char
*file_name, struct stat64 *buf)=TMP_STAT64_TIME64;
      |                                ^~~~~~~~~~~~~~~~~
wrapdef.h:233:33: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'FSTAT64_TIME64_ARG'
  233 | int (*NEXT_FSTAT64_TIME64_NOARG)FSTAT64_TIME64_ARG(int ver, int fd,
struct stat64 *buf)=TMP_FSTAT64_TIME64;
      |                                 ^~~~~~~~~~~~~~~~~~
wrapdef.h:234:35: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'FSTATAT64_TIME64_ARG'
  234 | int (*NEXT_FSTATAT64_TIME64_NOARG)FSTATAT64_TIME64_ARG(int ver, int
dir_fd, const char *path, struct stat64 *buf, int flags)=TMP_FSTATAT64_TIME64;
      |                                   ^~~~~~~~~~~~~~~~~~~~

In file included from communicate.h:19,
from libfakeroot.c:65:
config.h:367:36: error: 'next___astat64_time64' undeclared here (not in a function)

  367 | #define NEXT_LSTAT64_TIME64_NOARG  next___astat64_time64
      |                                    ^~~~~~~~~~~~~~~~~~~~~
wrapstruct.h:232:14: note: in expansion of macro 'NEXT_LSTAT64_TIME64_NOARG'
  232 |   {(void(*))&NEXT_LSTAT64_TIME64_NOARG, WRAP_LSTAT64_TIME64_QUOTE},
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
config.h:363:36: error: '__astat64_time64' undeclared here (not in a function)
  363 | #define WRAP_LSTAT64_TIME64_QUOTE  __astat64_time64
      |                                    ^~~~~~~~~~~~~~~~
wrapstruct.h:232:41: note: in expansion of macro 'WRAP_LSTAT64_TIME64_QUOTE'
  232 |   {(void(*))&NEXT_LSTAT64_TIME64_NOARG, WRAP_LSTAT64_TIME64_QUOTE},
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
config.h:375:38: error: '__astatat64_time64' undeclared here (not in a
function)
  375 | #define WRAP_FSTATAT64_TIME64_QUOTE  __astatat64_time64
      |                                      ^~~~~~~~~~~~~~~~~~
wrapstruct.h:235:43: note: in expansion of macro 'WRAP_FSTATAT64_TIME64_QUOTE'
  235 |   {(void(*))&NEXT_FSTATAT64_TIME64_NOARG, WRAP_FSTATAT64_TIME64_QUOTE},
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~

libtool: link: /usr/bin/gcc -O2 -I/home/pi/buildroot/buildroot-2023.02.8/output/host/include -Wl,-rpath -Wl,/home/pi/buildroot/buildroot-2023.02.8/output/host/lib -o faked faked.o -L/home/pi/buildroot/buildroot-2023.02.8/output/host/lib ./.libs/libcommunicate.a -ldl
libfakeroot.c:2610:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LSTAT64_TIME64_ARG'
2610 | int WRAP_LSTAT64_TIME64 LSTAT64_TIME64_ARG(int ver,

      |                         ^~~~~~~~~~~~~~~~~~
libfakeroot.c:2629:24: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'STAT64_TIME64_ARG'
 2629 | int WRAP_STAT64_TIME64 STAT64_TIME64_ARG(int ver,
      |                        ^~~~~~~~~~~~~~~~~
libfakeroot.c:2647:25: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'FSTAT64_TIME64_ARG'
 2647 | int WRAP_FSTAT64_TIME64 FSTAT64_TIME64_ARG(int ver,
      |                         ^~~~~~~~~~~~~~~~~~
libfakeroot.c:2665:27: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'FSTATAT64_TIME64_ARG'
 2665 | int WRAP_FSTATAT64_TIME64 FSTATAT64_TIME64_ARG(int ver,
      |                           ^~~~~~~~~~~~~~~~~~~~

make[3]: *** [Makefile:673: libfakeroot.lo] Error 1

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

[Buildroot] [Bug 15892] libfakeroot fails to compile

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=15892

--- Comment #2 from Thomas Petazzoni <[email protected]> --- Which distribution/OS are you running?

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

[Buildroot] [Bug 15892] libfakeroot fails to compile

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=15892

Yann E. MORIN <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #4 from Yann E. MORIN <[email protected]> --- Thank you for your report.

The issue tracker for the Buildroot project has been moved to the Gitlab.com issue tracker:
https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old tracker. If you believe your issue is still relevant, please open one in the new issue tracker.

Thank you!

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot