On any of my 7 gentoo machines:
FAILED: ^[[0mvendor/CMakeFiles/libbase.dir/libbase/logging.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -Ivendor -I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/include
-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/core/include
-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/logging/liblog/include
-O2 -pipe -std=gnu++2a -Wno-attributes -D_FILE_OFFSET_BITS=64 -MD -MT vendor/CMakeFiles/libbase.dir/libbase/logging.cpp.o -MF vendor/CMakeFiles/libbase.dir/libbase/logging.cpp.o.d -o vendor/CMakeFiles/libbase.dir/libbase/logging.cpp.o -c /var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/logging.cpp
during RTL pass: expand /var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/logging.cpp:
In member function â~@~Xvoid android::base::LogdLogger::operator()(android::base::LogId, android::base::LogSeverity, const char*, const char*, unsigned int,
const char*)â~@~Y: /var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/logging.cpp:330:6:
internal compiler error: in expand_expr_real_1, at expr.c:10012
330 | void LogdLogger::operator()(LogId id, LogSeverity severity,
const char* tag, const char* file,
| ^~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
[107/659] /usr/bin/x86_64-pc-linux-gnu-g++ -Ivendor -I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/include
-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/core/include
-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/logging/liblog/include
-O2 -pipe -std=gnu++2a -Wno-attributes -D_FILE_OFFSET_BITS=64 -MD -MT vendor/CMakeFiles/libbase.dir/libbase/mapped_file.cpp.o -MF vendor/CMakeFiles/libbase.dir/libbase/mapped_file.cpp.o.d -o vendor/CMakeFiles/libbase.dir/libbase/mapped_file.cpp.o -c /var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/mapped_file.cpp
ninja: build stopped: subcommand failed.
* ERROR: dev-util/android-tools-31.0.0_p1::gentoo failed (compile phase): * ninja -v -j2 -l0 failed
*
* Call stack:
* ebuild.sh, line 127: Called src_compile
* environment, line 3186: Called cmake_src_compile
* environment, line 1231: Called cmake_build
* environment, line 1200: Called eninja
* environment, line 1707: Called die
* The specific snippet of code:
* "$@" || die "${nonfatal_args[@]}" "${*} failed"
I find no mention of this problem here, in the mailing list. There was
one hit in an internet search, but the conclusion was a bug in go, which
I don't have as described.
Anybody seen this?
On 9/6/21 11:14 AM, n952162 wrote:
On any of my 7 gentoo machines:I have not experienced this issue; android-tools has emerged
FAILED: ^[[0mvendor/CMakeFiles/libbase.dir/libbase/logging.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -Ivendor
-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/include
-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/core/include
-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/logging/liblog/include
-O2 -pipe -std=gnu++2a -Wno-attributes -D_FILE_OFFSET_BITS=64 -MD -MT
vendor/CMakeFiles/libbase.dir/libbase/logging.cpp.o -MF
vendor/CMakeFiles/libbase.dir/libbase/logging.cpp.o.d -o
vendor/CMakeFiles/libbase.dir/libbase/logging.cpp.o -c
/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/logging.cpp
during RTL pass: expand
/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/logging.cpp:
In member function â~@~Xvoid
android::base::LogdLogger::operator()(android::base::LogId,
android::base::LogSeverity, const char*, const char*, unsigned int,
const char*)â~@~Y:
/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/logging.cpp:330:6:
internal compiler error: in expand_expr_real_1, at expr.c:10012
330 | void LogdLogger::operator()(LogId id, LogSeverity severity,
const char* tag, const char* file,
| ^~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
[107/659] /usr/bin/x86_64-pc-linux-gnu-g++ -Ivendor
-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/include
-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/core/include
-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/logging/liblog/include
-O2 -pipe -std=gnu++2a -Wno-attributes -D_FILE_OFFSET_BITS=64 -MD -MT
vendor/CMakeFiles/libbase.dir/libbase/mapped_file.cpp.o -MF
vendor/CMakeFiles/libbase.dir/libbase/mapped_file.cpp.o.d -o
vendor/CMakeFiles/libbase.dir/libbase/mapped_file.cpp.o -c
/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/mapped_file.cpp
ninja: build stopped: subcommand failed.
* ERROR: dev-util/android-tools-31.0.0_p1::gentoo failed (compile phase): >> * ninja -v -j2 -l0 failed
*
* Call stack:
* ebuild.sh, line 127: Called src_compile
* environment, line 3186: Called cmake_src_compile
* environment, line 1231: Called cmake_build
* environment, line 1200: Called eninja
* environment, line 1707: Called die
* The specific snippet of code:
* "$@" || die "${nonfatal_args[@]}" "${*} failed"
I find no mention of this problem here, in the mailing list. There was
one hit in an internet search, but the conclusion was a bug in go, which
I don't have as described.
Anybody seen this?
successfully (most recently in August) for me.
Per your build.log, you're still using GCC 9.3.0, which isn't even
listed on https://packages.gentoo.org/packages/sys-devel/gcc anymore
(9.4.0 and 10.3.0 are stable on amd64; I'm on 10.3.0 myself).
Given the error message implies a compiler error, perhaps try upgrading sys-devel/gcc first?
Aggh!
00~/adm/gentoo/emerged>eselect gcc list
[1] x86_64-pc-linux-gnu-9.3.0 *
[2] x86_64-pc-linux-gnu-10.3.0
$ eselect news list | grep gcc
doesn't turn up anything. When should/may one upgrade?
Thank you for the tip! That's surely what's going on.
Given the error message implies a compiler error, perhaps try upgrading
sys-devel/gcc first?
Aggh!
00~/adm/gentoo/emerged>eselect gcc list
[1] x86_64-pc-linux-gnu-9.3.0 *
[2] x86_64-pc-linux-gnu-10.3.0
$ eselect news list | grep gcc
doesn't turn up anything. When should/may one upgrade?
Thank you for the tip! That's surely what's going on.
On 9/6/21 12:23 PM, n952162 wrote:
https://wiki.gentoo.org/wiki/Upgrading_GCC (note: most of the contentGiven the error message implies a compiler error, perhaps try upgradingAggh!
sys-devel/gcc first?
00~/adm/gentoo/emerged>eselect gcc list
[1] x86_64-pc-linux-gnu-9.3.0 *
[2] x86_64-pc-linux-gnu-10.3.0
$ eselect news list | grep gcc
doesn't turn up anything. When should/may one upgrade?
Thank you for the tip! That's surely what's going on.
here appears to be related to upgrading to GCC 5.x).
Like the kernel, new versions of GCC are automatically pulled in, but
you have to eselect the new one manually (I don't know the reason; I
assume it is to avoid leaving the user with a broken compiler).
Personally, I just check the emerge output to see if a new version of
GCC was merged, and if so, I eselect it and rebuild libtool as described
on the wiki.
cal
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 77:26:30 |
Calls: | 6,658 |
Calls today: | 4 |
Files: | 12,203 |
Messages: | 5,332,832 |
Posted today: | 1 |