Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 725872 - dev-util/android-tools-9.0.0_p3-r1 : x86_64-pc-linux-gnu-g++: error: argument to -Wformat= should be a non-negative integer
Summary: dev-util/android-tools-9.0.0_p3-r1 : x86_64-pc-linux-gnu-g++: error: argument...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: format-security
  Show dependency tree
 
Reported: 2020-05-28 11:27 UTC by Toralf Förster
Modified: 2020-05-28 19:30 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,14.25 KB, text/plain)
2020-05-28 11:27 UTC, Toralf Förster
Details
dev-util:android-tools-9.0.0_p3-r1:20200528-082452.log (dev-util:android-tools-9.0.0_p3-r1:20200528-082452.log,222.45 KB, text/plain)
2020-05-28 11:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,22.19 KB, text/plain)
2020-05-28 11:27 UTC, Toralf Förster
Details
environment (environment,157.46 KB, text/plain)
2020-05-28 11:27 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.36 KB, application/x-bzip)
2020-05-28 11:27 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,195.35 KB, application/x-bzip)
2020-05-28 11:27 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-05-28 11:27:06 UTC
FAILED: core/adb/adb.cpp.o 
x86_64-pc-linux-gnu-g++ -std=gnu++17 -O2 -pipe -march=native  -falign-functions=32:25:16 -Wformat=format-security  -DADB_VERSION=\9.0.0_r3\ -DADB_HOST=1 -Icore/include -Icore/base/include -Icore/adb -Icore/libcrypto_utils/include -Iboringssl/include -c core/adb/adb.cpp -o core/adb/adb.cpp.o
x86_64-pc-linux-gnu-g++: error: argument to -Wformat= should be a non-negative integer
ninja: build stopped: subcommand failed.
 * ERROR: dev-util/android-tools-9.0.0_p3-r1::gentoo failed (compile phase):
 *   ninja -v -j1 -l0 failed

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20200527-165016

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.8 (fallback)
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu 28 May 2020 07:36:54 AM UTC

emerge -qpvO dev-util/android-tools
[ebuild  N    ] dev-util/android-tools-9.0.0_p3-r1  USE="-python" PYTHON_TARGETS="python3_7 -python3_6"
Comment 1 Toralf Förster gentoo-dev 2020-05-28 11:27:09 UTC
Created attachment 642336 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-28 11:27:12 UTC
Created attachment 642338 [details]
dev-util:android-tools-9.0.0_p3-r1:20200528-082452.log
Comment 3 Toralf Förster gentoo-dev 2020-05-28 11:27:14 UTC
Created attachment 642340 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-05-28 11:27:17 UTC
Created attachment 642342 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-05-28 11:27:20 UTC
Created attachment 642344 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-28 11:27:22 UTC
Created attachment 642346 [details]
logs.tbz2
Comment 7 Zac Medico gentoo-dev 2020-05-28 19:10:47 UTC
(In reply to Toralf Förster from comment #0)
> FAILED: core/adb/adb.cpp.o 
> x86_64-pc-linux-gnu-g++ -std=gnu++17 -O2 -pipe -march=native 
> -falign-functions=32:25:16 -Wformat=format-security 
> -DADB_VERSION=\9.0.0_r3\ -DADB_HOST=1 -Icore/include -Icore/base/include
> -Icore/adb -Icore/libcrypto_utils/include -Iboringssl/include -c
> core/adb/adb.cpp -o core/adb/adb.cpp.o
> x86_64-pc-linux-gnu-g++: error: argument to -Wformat= should be a
> non-negative integer

The -Wformat=format-security argument comes from your CFLAGS setting visible in emerge --info output from attachment 642336 [details].
Comment 8 Toralf Förster gentoo-dev 2020-05-28 19:30:49 UTC
(In reply to Zac Medico from comment #7)
> (In reply to Toralf Förster from comment #0)
> > FAILED: core/adb/adb.cpp.o 
> > x86_64-pc-linux-gnu-g++ -std=gnu++17 -O2 -pipe -march=native 
> > -falign-functions=32:25:16 -Wformat=format-security 
> > -DADB_VERSION=\9.0.0_r3\ -DADB_HOST=1 -Icore/include -Icore/base/include
> > -Icore/adb -Icore/libcrypto_utils/include -Iboringssl/include -c
> > core/adb/adb.cpp -o core/adb/adb.cpp.o
> > x86_64-pc-linux-gnu-g++: error: argument to -Wformat= should be a
> > non-negative integer
> 
> The -Wformat=format-security argument comes from your CFLAGS setting visible
> in emerge --info output from attachment 642336 [details].

indeed, I added the blocker id