| Summary: | sys-devel/gdb: confdir3': File name too long | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Paul Osmialowski <newchief> |
| Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | newchief, sam |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Build log, as requested | ||
|
Description
Paul Osmialowski
2021-06-10 12:04:41 UTC
Please attach the build log, along with config.log from the build directory. This one is interesting. Can you please try upgrading sandbox? emerge -v1 sandbox, then try again. We had something similar before. Created attachment 715254 [details]
Build log, as requested
Unfortunately, rebuilding 'sandbox' did not help.
Here are the USE flags, if it helps: $ emerge -pv gdb These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-devel/gdb-10.2::gentoo USE="lzma nls python server xml xxhash (-cet) -multitarget -source-highlight -test -vanilla" PYTHON_SINGLE_TARGET="python3_9 (-python3_10) -python3_8" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB I would guess it's a du's bug (or the way portage calls it to measure dir size).
I don't see that behaviour:
>>> Completed installing sys-devel/gdb-10.2 into /tmp/portage-tmpdir/portage/sys-devel/gdb-10.2/image
* Final size of build directory: 412456 KiB (402.7 MiB)
* Final size of installed tree: 44628 KiB ( 43.5 MiB)
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
/usr/lib64/libinproctrace.so
/usr/bin/gdbreplay
/usr/bin/gdbserver
/usr/bin/gdb
* checking 150 files for package collisions
It might be filesystem-dependent. I'm using tmpfs here.
"""
checking whether getcwd handles long file names properly... * /var/tmp/portage/sys-apps/sandbox-2.21/work/sandbox-2.21/libsandbox/libsandbox.c:check_syscall():983: failure (Bad address):
* ISE: rmdir(confdir3)
abs_path: (null)
res_path: /confdir3
errno=14: Bad address
no
"""
Which sandbox version you are using now?
> sys-apps/sandbox: 2.21::gentoo
Can you try currently stable 2.24?
Indeed, this morning updates for PPC do have more recent sandbox (2.24) and it solves the issue: make[1]: Leaving directory '/var/tmp/portage/sys-devel/gdb-10.2/work/gdb-10.2' >>> Completed installing sys-devel/gdb-10.2 into /var/tmp/portage/sys-devel/gdb-10.2/image * Final size of build directory: 304352 KiB (297.2 MiB) * Final size of installed tree: 25448 KiB ( 24.8 MiB) strip: powerpc-unknown-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version /usr/bin/run /usr/lib/libinproctrace.so /usr/bin/gdbserver /usr/bin/gdb /usr/bin/gdbreplay >>> Installing (1 of 1) sys-devel/gdb-10.2::gentoo >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * Regenerating GNU info directory index... * Processed 220 info files. |