Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655658 - sci-libs/freesteam-2.0 : cc1: error: argument to -O should be a non-negative integer, g , s or fast
Summary: sci-libs/freesteam-2.0 : cc1: error: argument to -O should be a non-negative ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-13 14:53 UTC by Toralf Förster
Modified: 2018-05-16 09:37 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.50 KB, text/plain)
2018-05-13 14:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,156.09 KB, text/plain)
2018-05-13 14:53 UTC, Toralf Förster
Details
environment (environment,77.12 KB, text/plain)
2018-05-13 14:53 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.16 KB, application/x-bzip)
2018-05-13 14:53 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,752 bytes, application/x-bzip)
2018-05-13 14:54 UTC, Toralf Förster
Details
sci-libs:freesteam-2.0:20180513-144119.log (sci-libs:freesteam-2.0:20180513-144119.log,3.03 KB, text/plain)
2018-05-13 14:55 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.27 KB, application/x-bzip)
2018-05-13 14:55 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 2018-05-13 14:53:37 UTC
Substituting vars from config.h.in into config.h
x86_64-pc-linux-gnu-gcc -o region1.os -c "-O2 -pipe -march=native" -Wall -W -Wconversion -Wimplicit -O2 -pipe -march=native -fPIC -I/usr/include region1.c
cc1: error: argument to '-O' should be a non-negative integer, 'g', 's' or 'fast'
scons: *** [region1.os] Error 1
scons: building terminated because of errors.
 * ERROR: sci-libs/freesteam-2.0::gentoo failed (compile phase):

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_20180508-183531

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv sci-libs/freesteam
[ebuild  N    ] sci-libs/freesteam-2.0
Comment 1 Toralf Förster gentoo-dev 2018-05-13 14:53:40 UTC
Created attachment 531228 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-05-13 14:53:43 UTC
Created attachment 531230 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-05-13 14:53:46 UTC
Created attachment 531232 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-05-13 14:53:49 UTC
Created attachment 531234 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-05-13 14:54:01 UTC
Created attachment 531236 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-05-13 14:55:01 UTC
Created attachment 531238 [details]
sci-libs:freesteam-2.0:20180513-144119.log
Comment 7 Toralf Förster gentoo-dev 2018-05-13 14:55:04 UTC
Created attachment 531240 [details]
temp.tbz2
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-05-13 15:01:07 UTC
I'm going to guess this is a potential bug in patch to dev-util/scons-3.0.1-r2.
Comment 9 Larry the Git Cow gentoo-dev 2018-05-16 09:17:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33c9b12a3d9f42c1feb43290b39e0931d37392a0

commit 33c9b12a3d9f42c1feb43290b39e0931d37392a0
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-05-16 09:16:29 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-05-16 09:17:18 +0000

    package.mask: Mask dev-util/scons-3.0.1-r2
    
    Closes: https://bugs.gentoo.org/655658

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-05-16 09:32:55 UTC
Actually, my problems are a different bug.  This one can be fixed correctly.
Comment 11 Larry the Git Cow gentoo-dev 2018-05-16 09:37:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc0c13645ca464fe4fccbe5547996c0d5dfc4b55

commit dc0c13645ca464fe4fccbe5547996c0d5dfc4b55
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-05-16 09:33:01 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-05-16 09:37:03 +0000

    dev-util/scons: Fix handling *FLAGS in Gentoo-hack
    
    Closes: https://bugs.gentoo.org/655658

 .../files/scons-3.0.1-respect-cc-etc-r1.patch      | 88 ++++++++++++++++++++++
 dev-util/scons/scons-3.0.1-r3.ebuild               | 73 ++++++++++++++++++
 2 files changed, 161 insertions(+)