Summary: | dev-util/gn - No such file or directory: base/numerics/safe_coversions_arm_impl.h | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Handsome0hell <handsome0hell> |
Component: | Current packages | Assignee: | Chromium Project <chromium> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Handsome0hell
2018-12-10 08:37:42 UTC
Please attach the entire build log to this bug report. * Package: dev-util/gn-0.1479 * Repository: gentoo * Maintainer: chromium@gentoo.org * USE: arm elibc_glibc kernel_linux userland_GNU vim-syntax * FEATURES: preserve-libs sandbox userpriv usersandbox * Applying gn-gen-r2.patch ... [ ok ] python2.7 build/gen.py --no-sysroot --no-last-commit-position ninja -v -j4 -l0 -C out gn ninja: Entering directory `out' [1/171] armv7a-unknown-linux-gnueabihf-g++ -MMD -MF base/callback_internal.o.d -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479 -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/out -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -fno-exceptions -fno-rtti -fdiagnostics-color -O2 -pipe -fomit-frame-pointer -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard -fno-stack-protector -std=c++14 -Wno-c++11-narrowing -c /tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/base/callback_internal.cc -o base/callback_internal.o shell-init: error retrieving current directory: getcwd: cannot access parent directories: Bad file descriptor [2/171] armv7a-unknown-linux-gnueabihf-g++ -MMD -MF base/files/file.o.d -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479 -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/out -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -fno-exceptions -fno-rtti -fdiagnostics-color -O2 -pipe -fomit-frame-pointer -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard -fno-stack-protector -std=c++14 -Wno-c++11-narrowing -c /tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/base/files/file.cc -o base/files/file.o shell-init: error retrieving current directory: getcwd: cannot access parent directories: Bad file descriptor [3/171] armv7a-unknown-linux-gnueabihf-g++ -MMD -MF base/environment.o.d -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479 -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/out -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -fno-exceptions -fno-rtti -fdiagnostics-color -O2 -pipe -fomit-frame-pointer -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard -fno-stack-protector -std=c++14 -Wno-c++11-narrowing -c /tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/base/environment.cc -o base/environment.o shell-init: error retrieving current directory: getcwd: cannot access parent directories: Bad file descriptor [4/171] armv7a-unknown-linux-gnueabihf-g++ -MMD -MF base/files/file_path_constants.o.d -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479 -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/out -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -fno-exceptions -fno-rtti -fdiagnostics-color -O2 -pipe -fomit-frame-pointer -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard -fno-stack-protector -std=c++14 -Wno-c++11-narrowing -c /tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/base/files/file_path_constants.cc -o base/files/file_path_constants.o shell-init: error retrieving current directory: getcwd: cannot access parent directories: Bad file descriptor [5/171] armv7a-unknown-linux-gnueabihf-g++ -MMD -MF base/files/file_enumerator.o.d -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479 -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/out -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -fno-exceptions -fno-rtti -fdiagnostics-color -O2 -pipe -fomit-frame-pointer -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard -fno-stack-protector -std=c++14 -Wno-c++11-narrowing -c /tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/base/files/file_enumerator.cc -o base/files/file_enumerator.o shell-init: error retrieving current directory: getcwd: cannot access parent directories: Bad file descriptor [6/171] armv7a-unknown-linux-gnueabihf-g++ -MMD -MF base/command_line.o.d -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479 -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/out -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -fno-exceptions -fno-rtti -fdiagnostics-color -O2 -pipe -fomit-frame-pointer -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard -fno-stack-protector -std=c++14 -Wno-c++11-narrowing -c /tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/base/command_line.cc -o base/command_line.o shell-init: error retrieving current directory: getcwd: cannot access parent directories: Bad file descriptor [7/171] armv7a-unknown-linux-gnueabihf-g++ -MMD -MF base/files/file_path.o.d -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479 -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/out -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -fno-exceptions -fno-rtti -fdiagnostics-color -O2 -pipe -fomit-frame-pointer -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard -fno-stack-protector -std=c++14 -Wno-c++11-narrowing -c /tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/base/files/file_path.cc -o base/files/file_path.o shell-init: error retrieving current directory: getcwd: cannot access parent directories: Bad file descriptor [8/171] armv7a-unknown-linux-gnueabihf-g++ -MMD -MF base/json/json_parser.o.d -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479 -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/out -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -fno-exceptions -fno-rtti -fdiagnostics-color -O2 -pipe -fomit-frame-pointer -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard -fno-stack-protector -std=c++14 -Wno-c++11-narrowing -c /tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/base/json/json_parser.cc -o base/json/json_parser.o FAILED: base/json/json_parser.o armv7a-unknown-linux-gnueabihf-g++ -MMD -MF base/json/json_parser.o.d -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479 -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/out -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -fno-exceptions -fno-rtti -fdiagnostics-color -O2 -pipe -fomit-frame-pointer -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard -fno-stack-protector -std=c++14 -Wno-c++11-narrowing -c /tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/base/json/json_parser.cc -o base/json/json_parser.o shell-init: error retrieving current directory: getcwd: cannot access parent directories: Bad file descriptor In file included from /tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/base/json/json_parser.cc:13:0: /tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/base/numerics/safe_conversions.h:17:10: fatal error: base/numerics/safe_conversions_arm_impl.h: No such file or directory #include "base/numerics/safe_conversions_arm_impl.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. [9/171] armv7a-unknown-linux-gnueabihf-g++ -MMD -MF base/files/scoped_file.o.d -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479 -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/out -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -fno-exceptions -fno-rtti -fdiagnostics-color -O2 -pipe -fomit-frame-pointer -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard -fno-stack-protector -std=c++14 -Wno-c++11-narrowing -c /tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/base/files/scoped_file.cc -o base/files/scoped_file.o shell-init: error retrieving current directory: getcwd: cannot access parent directories: Bad file descriptor [10/171] armv7a-unknown-linux-gnueabihf-g++ -MMD -MF base/files/file_util.o.d -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479 -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/out -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -fno-exceptions -fno-rtti -fdiagnostics-color -O2 -pipe -fomit-frame-pointer -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard -fno-stack-protector -std=c++14 -Wno-c++11-narrowing -c /tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/base/files/file_util.cc -o base/files/file_util.o shell-init: error retrieving current directory: getcwd: cannot access parent directories: Bad file descriptor [11/171] armv7a-unknown-linux-gnueabihf-g++ -MMD -MF base/files/scoped_temp_dir.o.d -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479 -I/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/out -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -fno-exceptions -fno-rtti -fdiagnostics-color -O2 -pipe -fomit-frame-pointer -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard -fno-stack-protector -std=c++14 -Wno-c++11-narrowing -c /tmp/portage/dev-util/gn-0.1479/work/gn-0.1479/base/files/scoped_temp_dir.cc -o base/files/scoped_temp_dir.o shell-init: error retrieving current directory: getcwd: cannot access parent directories: Bad file descriptor ninja: build stopped: subcommand failed. * ERROR: dev-util/gn-0.1479::gentoo failed (compile phase): * ninja -v -j4 -l0 -C out gn failed * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 2052: Called eninja '-C' 'out' 'gn' * environment, line 722: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=dev-util/gn-0.1479::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/gn-0.1479::gentoo'`. * The complete build log is located at '/tmp/portage/dev-util/gn-0.1479/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/dev-util/gn-0.1479/temp/environment'. * Working directory: '/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479' * S: '/tmp/portage/dev-util/gn-0.1479/work/gn-0.1479' > shell-init: error retrieving current directory: getcwd: cannot access parent directories: Bad file descriptor
Any idea why it would be trying to execute build commands from a directory that no longer exists?
(In reply to Mike Gilbert from comment #3) > > shell-init: error retrieving current directory: getcwd: cannot access parent directories: Bad file descriptor > > Any idea why it would be trying to execute build commands from a directory > that no longer exists? Well... actually no. I don't know what's wrong with my chroot system about this. But it looks like that it affects nothing because other software give me the same error but they successfully completed compiling, and I do can't find the missing headers in work/ directory. I will try to fix it later. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c007723d59cc377de003e291c4614d36c4e51a41 commit c007723d59cc377de003e291c4614d36c4e51a41 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2018-12-10 15:31:05 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2018-12-10 15:31:05 +0000 dev-util/gn: restore missing headers to fix ARM build Bug: https://bugs.gentoo.org/672862 Package-Manager: Portage-2.3.52_p8, Repoman-2.3.12_p20 Signed-off-by: Mike Gilbert <floppym@gentoo.org> dev-util/gn/files/gn-numerics-arm.patch | 201 ++++++++++++++++++++++++++++++++ dev-util/gn/gn-0.1479.ebuild | 1 + 2 files changed, 202 insertions(+) Please let me know if this resolves the problem; if so, I will submit this fix upstream. (In reply to Mike Gilbert from comment #6) > Please let me know if this resolves the problem; if so, I will submit this > fix upstream. Thank you for your work! It have solved the problem. |