Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 15721] New: fakeroot 1.32.1 fails to build on CentOS 7.x machines
@ 2023-08-11 22:11 bugzilla
  2024-06-15 15:12 ` [Buildroot] [Bug 15721] " bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2023-08-11 22:11 UTC (permalink / raw)
  To: buildroot

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

            Bug ID: 15721
           Summary: fakeroot 1.32.1 fails to build on CentOS 7.x machines
           Product: buildroot
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned@buildroot.uclibc.org
          Reporter: abrodkin@synopsys.com
                CC: buildroot@uclibc.org
  Target Milestone: ---

Starting from commit f1350977634f ("package/fakeroot: bump to version 1.32.1"),
see [1], Buildroot fails to compile early that way:
----------------------->8-----------------------
libtool: compile:  /usr/bin/gcc -std=gnu11 -DHAVE_CONFIG_H -I.
-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64
-I.../buildroot/fakeroot/output/host/include -O2
-I.../buildroot/fakeroot/output/host/include -c libfakeroot_time64.c  -fPIC
-DPIC -o .libs/libfakeroot_time64_la-libfakeroot_time64.o
In file included from libfakeroot_time64.c:13:0:
/usr/include/fts.h:41:3: error: #error "<fts.h> cannot be used with
-D_FILE_OFFSET_BITS==64"
 # error "<fts.h> cannot be used with -D_FILE_OFFSET_BITS==64"
   ^
make[3]: *** [libfakeroot_time64_la-libfakeroot_time64.lo] Error 1
make[3]: Leaving directory
`.../buildroot/fakeroot/output/build/host-fakeroot-1.32.1'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`.../buildroot/fakeroot/output/build/host-fakeroot-1.32.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`.../buildroot/fakeroot/output/build/host-fakeroot-1.32.1'
----------------------->8-----------------------

That happens due to a change in the fakeroot, see [2].
It boils down to use of "fts.h" on 64-bit system with old glibc.
I.e. support of "fts.h" was added in glibc 2.23, see [3]. And in its turn
CentOS 7.x uses glibc 2.17, thus we see this (shamelessly copied from [4]):
----------------------->8-----------------------
> cat test.c
#include <fts.h>

int main() {
}

> cc -D_FILE_OFFSET_BITS=64 test.c
In file included from test.c:1:0:
/usr/include/fts.h:41:3: error: #error "<fts.h> cannot be used with
-D_FILE_OFFSET_BITS==64"
 # error "<fts.h> cannot be used with -D_FILE_OFFSET_BITS==64"
#include <fts.h>

int main() {
}
----------------------->8-----------------------

Note, with older fakeroot, i.e. reverted [1] my simple build gets to the end
successfully.

[1]
https://git.buildroot.net/buildroot/commit/?h=f1350977634f96f0404b9801e6f79cb7200cf26d
[2]
https://salsa.debian.org/clint/fakeroot/-/commit/c465f716856cd561dba3522a4f5c714ea8bedfbd
[3]
https://sourceware.org/git/?p=glibc.git;a=commit;h=8b7b7f75d91f7bac323dd6a370aeb3e9c5c4a7d5
[4] https://github.com/mesonbuild/meson/issues/3519#issuecomment-386281558

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] [Bug 15721] fakeroot 1.32.1 fails to build on CentOS 7.x machines
  2023-08-11 22:11 [Buildroot] [Bug 15721] New: fakeroot 1.32.1 fails to build on CentOS 7.x machines bugzilla
@ 2024-06-15 15:12 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2024-06-15 15:12 UTC (permalink / raw)
  To: buildroot

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

Yann E. MORIN <yann.morin.1998@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED
                 CC|                            |yann.morin.1998@free.fr

--- Comment #1 from Yann E. MORIN <yann.morin.1998@free.fr> ---
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!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-15 15:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-11 22:11 [Buildroot] [Bug 15721] New: fakeroot 1.32.1 fails to build on CentOS 7.x machines bugzilla
2024-06-15 15:12 ` [Buildroot] [Bug 15721] " bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox