Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906892 - dev-ruby/http-parser-1.2.3-r1 - x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option -Wall -Wextra -O3
Summary: dev-ruby/http-parser-1.2.3-r1 - x86_64-pc-linux-gnu-gcc: error: unrecognized ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-21 13:53 UTC by Toralf Förster
Modified: 2023-06-12 02:27 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.32 KB, text/plain)
2023-05-21 13:53 UTC, Toralf Förster
Details
dev-ruby:http-parser-1.2.3-r1:20230521-110124.log (dev-ruby:http-parser-1.2.3-r1:20230521-110124.log,2.70 KB, text/plain)
2023-05-21 13:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,170.87 KB, text/plain)
2023-05-21 13:53 UTC, Toralf Förster
Details
environment (environment,90.66 KB, text/plain)
2023-05-21 13:53 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,711 bytes, application/x-bzip)
2023-05-21 13:53 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,11.50 KB, application/x-bzip)
2023-05-21 13:53 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 2023-05-21 13:53:29 UTC
 * Running configure phase for ruby30
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/http-parser-1.2.3-r1/work ...
 * Running compile phase for ruby30
mkdir -p x86_64-linux/http-parser
x86_64-pc-linux-gnu-gcc -O2 -pipe -march\=native -fno-diagnostics-color -Wall\ -Wextra\ -O3 -fPIC -o x86_64-linux/http-parser/http_parser.o -c ./http-parser/http_parser.c
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option -Wall -Wextra -O3
rake aborted!
Command failed with status (1): [x86_64-pc-linux-gnu-gcc -O2 -pipe -march\=...]

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.4
Python 3.11.3
Available Ruby profiles:
  [1]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.69.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.20.4 linux/amd64

  HEAD of ::gentoo
commit fbecea4e4596ea3b18ac68756b55c861efde5e86
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun May 21 09:48:52 2023 +0000

    2023-05-21 09:48:51 UTC

emerge -qpvO dev-ruby/http-parser
[ebuild  N    ] dev-ruby/http-parser-1.2.3-r1  USE="-doc -test" RUBY_TARGETS="ruby30 -ruby31"
Comment 1 Toralf Förster gentoo-dev 2023-05-21 13:53:30 UTC
Created attachment 862089 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-05-21 13:53:31 UTC
Created attachment 862090 [details]
dev-ruby:http-parser-1.2.3-r1:20230521-110124.log
Comment 3 Toralf Förster gentoo-dev 2023-05-21 13:53:32 UTC
Created attachment 862091 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-05-21 13:53:33 UTC
Created attachment 862092 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-05-21 13:53:34 UTC
Created attachment 862093 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-05-21 13:53:35 UTC
Created attachment 862094 [details]
etc.portage.tar.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-21 16:16:42 UTC
This is new ffi-compiler, I think.
Comment 8 matoro archtester 2023-05-21 16:26:00 UTC
Yes...it seems to be specifically not splitting the arguments that the target package is appending...see https://github.com/cotag/http-parser/blob/master/ext/Rakefile#L4

However it is correctly splitting the arguments passed via environment CFLAGS.  We should raise an issue on this...
Comment 9 Larry the Git Cow gentoo-dev 2023-05-23 03:40:24 UTC
The bug has been referenced in the following commit(s):

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

commit a319cb7388d196e6df85a79e96780484f252fdac
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-23 03:35:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-23 03:35:55 +0000

    profiles: mask =dev-ruby/ffi-compiler-1.2.0
    
    Seems to break arg splitting.
    
    Bug: https://bugs.gentoo.org/906892
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 4 ++++
 1 file changed, 4 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2023-06-12 02:27:48 UTC
The bug has been closed via the following commit(s):

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

commit d0806dca957406f6adc01edbf2dd4782f07b6734
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-06-10 18:35:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-12 02:27:19 +0000

    dev-ruby/ffi-compiler: add 1.2.1
    
    Closes: https://bugs.gentoo.org/906892
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-ruby/ffi-compiler/Manifest                  |  1 +
 dev-ruby/ffi-compiler/ffi-compiler-1.2.1.ebuild | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)