public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: n952162 <n952162@web.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] haven't been able to build android-tools for months
Date: Mon, 6 Sep 2021 21:23:17 +0200	[thread overview]
Message-ID: <12045587-28a3-6fd5-7493-5ffec2da92af@web.de> (raw)
In-Reply-To: <8807672d-d24c-e742-a448-16ea6fed49b1@mail.meme.technology>

On 9/6/21 8:19 PM, cal wrote:
> On 9/6/21 11:14 AM, n952162 wrote:
>> 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?
>>
> I have not experienced this issue; android-tools has emerged
> 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.




  reply	other threads:[~2021-09-06 19:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-06 18:14 [gentoo-user] haven't been able to build android-tools for months n952162
2021-09-06 18:19 ` cal
2021-09-06 19:23   ` n952162 [this message]
2021-09-06 20:59     ` antlists
2021-09-06 21:04     ` cal
2021-09-07 18:02       ` [gentoo-user] haven't been able to build android-tools for months [ RESOLVED ] n952162

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12045587-28a3-6fd5-7493-5ffec2da92af@web.de \
    --to=n952162@web.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox