Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 848861 - dev-util/android-tools-31.0.3 fails to build on gcc-12, but builds on gcc 10 and 11
Summary: dev-util/android-tools-31.0.3 fails to build on gcc-12, but builds on gcc 10 ...
Status: RESOLVED DUPLICATE of bug 844127
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-31 20:12 UTC by Marcelo Ruggeri
Modified: 2022-05-31 21:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
my android-tools build.log (android_tools_build_.log,95.58 KB, text/x-log)
2022-05-31 20:12 UTC, Marcelo Ruggeri
Details
emerge --info (emerge--info.txt,8.51 KB, text/plain)
2022-05-31 20:17 UTC, Marcelo Ruggeri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Ruggeri 2022-05-31 20:12:19 UTC
Created attachment 781763 [details]
my android-tools build.log

I built my entire @world with gcc-12, except android-tools.

I only had to eselect gcc to 11 and it builds, no other change, nothing.

I had found an already filed bug nº 806094, under https://bugs.gentoo.org/806094 where someone else also fails to build android-tools, but with gcc-9 ; their solution was to use a newer gcc version. As I replied gcc-12 couldn't do it either in my case, only gcc-11 could build, I was told by "Sam James" to file a new bug. I hope this is what he meant. Have a nice day \o/
Comment 1 Marcelo Ruggeri 2022-05-31 20:15:33 UTC
package: dev-util/android-tools-31.0.3

compilers mentioned:
 [4] x86_64-pc-linux-gnu-11.3.0
 [5] x86_64-pc-linux-gnu-12.1.0 *
Comment 2 Marcelo Ruggeri 2022-05-31 20:17:10 UTC
Since android-tools 9 that then bumped up to version 30, I've been having this problem. I never had build problems with version 9, but 30 and 31 are failing to build with gcc-12
Comment 3 Marcelo Ruggeri 2022-05-31 20:17:33 UTC
Created attachment 781766 [details]
emerge --info
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-31 21:44:48 UTC
Yeah, your bug isn't an ICE, it's the same as bug 844127. It's because the fixed version of android-tools is in ~arch, not yet stable.

I expect a lot of packages to fail in stable for a while as GCC 12 is still unkeyworded anyway.

See https://forums.gentoo.org/viewtopic-p-8709041.html?sid=6841416741169e52945f0edd79b24844#8709041.

*** This bug has been marked as a duplicate of bug 844127 ***