* [ruby-core:95912] [Ruby master Bug#16362] Unable to build Ruby 2.6.5 on Manjaro Linux 18.1.3
[not found] <redmine.issue-16362.20191122194520@ruby-lang.org>
@ 2019-11-22 19:45 ` jeffrey.crochet
2019-11-22 20:04 ` [ruby-core:95913] " jeffrey.crochet
2019-11-23 0:44 ` [ruby-core:95915] " mame
2 siblings, 0 replies; 3+ messages in thread
From: jeffrey.crochet @ 2019-11-22 19:45 UTC (permalink / raw
To: ruby-core
Issue #16362 has been reported by Marzipanzerfaust (Jeffrey Crochet).
----------------------------------------
Bug #16362: Unable to build Ruby 2.6.5 on Manjaro Linux 18.1.3
https://bugs.ruby-lang.org/issues/16362
* Author: Marzipanzerfaust (Jeffrey Crochet)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: 2.6.5
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
Steps to reproduce:
```
$ curl -OL https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.5.tar.gz
$ tar xvf ruby-2.6.5.tar.gz
$ cd ruby-2.6.5
$ ./configure
$ make
```
`./configure` summary:
```
* Installation prefix: /usr/local
* exec prefix: ${prefix}
* arch: x86_64-linux
* site arch: ${arch}
* RUBY_BASE_NAME: ruby
* ruby lib prefix: ${libdir}/${RUBY_BASE_NAME}
* site libraries path: ${rubylibprefix}/${sitearch}
* vendor path: ${rubylibprefix}/vendor_ruby
* target OS: linux
* compiler: gcc
* with pthread: yes
* enable shared libs: no
* dynamic library ext: so
* CFLAGS: ${optflags} ${debugflags} ${warnflags}
* LDFLAGS: -L. -fstack-protector-strong -rdynamic \
-Wl,-export-dynamic
* DLDFLAGS: -Wl,--compress-debug-sections=zlib
* optflags: -O3
* debugflags: -ggdb3
* warnflags: -Wall -Wextra -Wdeclaration-after-statement \
-Wdeprecated-declarations -Wduplicated-cond \
-Wimplicit-function-declaration -Wimplicit-int \
-Wmisleading-indentation -Wpointer-arith \
-Wrestrict -Wwrite-strings \
-Wimplicit-fallthrough=0 -Wmissing-noreturn \
-Wno-cast-function-type \
-Wno-constant-logical-operand -Wno-long-long \
-Wno-missing-field-initializers \
-Wno-overlength-strings \
-Wno-packed-bitfield-compat \
-Wno-parentheses-equality -Wno-self-assign \
-Wno-tautological-compare -Wno-unused-parameter \
-Wno-unused-value -Wsuggest-attribute=format \
-Wsuggest-attribute=noreturn -Wunused-variable
* strip command: strip -S -x
* install doc: yes
* JIT support: yes
* man page type: doc
```
`make` failed with the following output:
```
BASERUBY = /usr/bin/ruby --disable=gems
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -Wall -Wextra -Werror -Wfatal-errors -Wshadow -Wdouble-promotion -Wformat=2 -Wformat-truncation -Wundef -fno-common -Wconversion -Os
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -fPIE -DCANONICALIZATION_FOR_MATHN
CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I. -I./enc/unicode/12.1.0
DLDFLAGS = -Wl,--compress-debug-sections=zlib -fstack-protector-strong -pie
SOLIBS = -lz -lpthread -lrt -lrt -lgmp -ldl -lcrypt -lm
LANG = en_US.UTF-8
LC_ALL =
LC_CTYPE =
gcc (GCC) 9.2.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
compiling ./main.c
In file included from ./include/ruby.h:33,
from ./main.c:13:
./include/ruby/ruby.h: In function ‘rb_array_ptr_use_end’:
./include/ruby/ruby.h:2186:35: error: unused parameter ‘allow_transient’ [-Werror=unused-parameter]
2186 | rb_array_ptr_use_end(VALUE a, int allow_transient)
| ~~~~^~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
cc1: all warnings being treated as errors
make: *** [uncommon.mk:1069: main.o] Error 1
```
Just to be sure, I also attempted this with GCC versions 8.3.0 and 7.5.0, both of which produced the same error.
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ruby-core:95913] [Ruby master Bug#16362] Unable to build Ruby 2.6.5 on Manjaro Linux 18.1.3
[not found] <redmine.issue-16362.20191122194520@ruby-lang.org>
2019-11-22 19:45 ` [ruby-core:95912] [Ruby master Bug#16362] Unable to build Ruby 2.6.5 on Manjaro Linux 18.1.3 jeffrey.crochet
@ 2019-11-22 20:04 ` jeffrey.crochet
2019-11-23 0:44 ` [ruby-core:95915] " mame
2 siblings, 0 replies; 3+ messages in thread
From: jeffrey.crochet @ 2019-11-22 20:04 UTC (permalink / raw
To: ruby-core
Issue #16362 has been updated by Marzipanzerfaust (Jeffrey Crochet).
Sorry, I discovered that something was resetting my CFLAGS. Please close this.
----------------------------------------
Bug #16362: Unable to build Ruby 2.6.5 on Manjaro Linux 18.1.3
https://bugs.ruby-lang.org/issues/16362#change-82753
* Author: Marzipanzerfaust (Jeffrey Crochet)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: 2.6.5
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
Steps to reproduce:
```
$ curl -OL https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.5.tar.gz
$ tar xvf ruby-2.6.5.tar.gz
$ cd ruby-2.6.5
$ ./configure
$ make
```
`./configure` summary:
```
* Installation prefix: /usr/local
* exec prefix: ${prefix}
* arch: x86_64-linux
* site arch: ${arch}
* RUBY_BASE_NAME: ruby
* ruby lib prefix: ${libdir}/${RUBY_BASE_NAME}
* site libraries path: ${rubylibprefix}/${sitearch}
* vendor path: ${rubylibprefix}/vendor_ruby
* target OS: linux
* compiler: gcc
* with pthread: yes
* enable shared libs: no
* dynamic library ext: so
* CFLAGS: ${optflags} ${debugflags} ${warnflags}
* LDFLAGS: -L. -fstack-protector-strong -rdynamic \
-Wl,-export-dynamic
* DLDFLAGS: -Wl,--compress-debug-sections=zlib
* optflags: -O3
* debugflags: -ggdb3
* warnflags: -Wall -Wextra -Wdeclaration-after-statement \
-Wdeprecated-declarations -Wduplicated-cond \
-Wimplicit-function-declaration -Wimplicit-int \
-Wmisleading-indentation -Wpointer-arith \
-Wrestrict -Wwrite-strings \
-Wimplicit-fallthrough=0 -Wmissing-noreturn \
-Wno-cast-function-type \
-Wno-constant-logical-operand -Wno-long-long \
-Wno-missing-field-initializers \
-Wno-overlength-strings \
-Wno-packed-bitfield-compat \
-Wno-parentheses-equality -Wno-self-assign \
-Wno-tautological-compare -Wno-unused-parameter \
-Wno-unused-value -Wsuggest-attribute=format \
-Wsuggest-attribute=noreturn -Wunused-variable
* strip command: strip -S -x
* install doc: yes
* JIT support: yes
* man page type: doc
```
`make` failed with the following output:
```
BASERUBY = /usr/bin/ruby --disable=gems
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -Wall -Wextra -Werror -Wfatal-errors -Wshadow -Wdouble-promotion -Wformat=2 -Wformat-truncation -Wundef -fno-common -Wconversion -Os
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -fPIE -DCANONICALIZATION_FOR_MATHN
CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I. -I./enc/unicode/12.1.0
DLDFLAGS = -Wl,--compress-debug-sections=zlib -fstack-protector-strong -pie
SOLIBS = -lz -lpthread -lrt -lrt -lgmp -ldl -lcrypt -lm
LANG = en_US.UTF-8
LC_ALL =
LC_CTYPE =
gcc (GCC) 9.2.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
compiling ./main.c
In file included from ./include/ruby.h:33,
from ./main.c:13:
./include/ruby/ruby.h: In function ‘rb_array_ptr_use_end’:
./include/ruby/ruby.h:2186:35: error: unused parameter ‘allow_transient’ [-Werror=unused-parameter]
2186 | rb_array_ptr_use_end(VALUE a, int allow_transient)
| ~~~~^~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
cc1: all warnings being treated as errors
make: *** [uncommon.mk:1069: main.o] Error 1
```
Just to be sure, I also attempted this with GCC versions 8.3.0 and 7.5.0, both of which produced the same error.
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ruby-core:95915] [Ruby master Bug#16362] Unable to build Ruby 2.6.5 on Manjaro Linux 18.1.3
[not found] <redmine.issue-16362.20191122194520@ruby-lang.org>
2019-11-22 19:45 ` [ruby-core:95912] [Ruby master Bug#16362] Unable to build Ruby 2.6.5 on Manjaro Linux 18.1.3 jeffrey.crochet
2019-11-22 20:04 ` [ruby-core:95913] " jeffrey.crochet
@ 2019-11-23 0:44 ` mame
2 siblings, 0 replies; 3+ messages in thread
From: mame @ 2019-11-23 0:44 UTC (permalink / raw
To: ruby-core
Issue #16362 has been updated by mame (Yusuke Endoh).
Status changed from Open to Closed
Closing as per OP's request. Thanks.
----------------------------------------
Bug #16362: Unable to build Ruby 2.6.5 on Manjaro Linux 18.1.3
https://bugs.ruby-lang.org/issues/16362#change-82757
* Author: Marzipanzerfaust (Jeffrey Crochet)
* Status: Closed
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: 2.6.5
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
Steps to reproduce:
```
$ curl -OL https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.5.tar.gz
$ tar xvf ruby-2.6.5.tar.gz
$ cd ruby-2.6.5
$ ./configure
$ make
```
`./configure` summary:
```
* Installation prefix: /usr/local
* exec prefix: ${prefix}
* arch: x86_64-linux
* site arch: ${arch}
* RUBY_BASE_NAME: ruby
* ruby lib prefix: ${libdir}/${RUBY_BASE_NAME}
* site libraries path: ${rubylibprefix}/${sitearch}
* vendor path: ${rubylibprefix}/vendor_ruby
* target OS: linux
* compiler: gcc
* with pthread: yes
* enable shared libs: no
* dynamic library ext: so
* CFLAGS: ${optflags} ${debugflags} ${warnflags}
* LDFLAGS: -L. -fstack-protector-strong -rdynamic \
-Wl,-export-dynamic
* DLDFLAGS: -Wl,--compress-debug-sections=zlib
* optflags: -O3
* debugflags: -ggdb3
* warnflags: -Wall -Wextra -Wdeclaration-after-statement \
-Wdeprecated-declarations -Wduplicated-cond \
-Wimplicit-function-declaration -Wimplicit-int \
-Wmisleading-indentation -Wpointer-arith \
-Wrestrict -Wwrite-strings \
-Wimplicit-fallthrough=0 -Wmissing-noreturn \
-Wno-cast-function-type \
-Wno-constant-logical-operand -Wno-long-long \
-Wno-missing-field-initializers \
-Wno-overlength-strings \
-Wno-packed-bitfield-compat \
-Wno-parentheses-equality -Wno-self-assign \
-Wno-tautological-compare -Wno-unused-parameter \
-Wno-unused-value -Wsuggest-attribute=format \
-Wsuggest-attribute=noreturn -Wunused-variable
* strip command: strip -S -x
* install doc: yes
* JIT support: yes
* man page type: doc
```
`make` failed with the following output:
```
BASERUBY = /usr/bin/ruby --disable=gems
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -Wall -Wextra -Werror -Wfatal-errors -Wshadow -Wdouble-promotion -Wformat=2 -Wformat-truncation -Wundef -fno-common -Wconversion -Os
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -fPIE -DCANONICALIZATION_FOR_MATHN
CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I. -I./enc/unicode/12.1.0
DLDFLAGS = -Wl,--compress-debug-sections=zlib -fstack-protector-strong -pie
SOLIBS = -lz -lpthread -lrt -lrt -lgmp -ldl -lcrypt -lm
LANG = en_US.UTF-8
LC_ALL =
LC_CTYPE =
gcc (GCC) 9.2.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
compiling ./main.c
In file included from ./include/ruby.h:33,
from ./main.c:13:
./include/ruby/ruby.h: In function ‘rb_array_ptr_use_end’:
./include/ruby/ruby.h:2186:35: error: unused parameter ‘allow_transient’ [-Werror=unused-parameter]
2186 | rb_array_ptr_use_end(VALUE a, int allow_transient)
| ~~~~^~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
cc1: all warnings being treated as errors
make: *** [uncommon.mk:1069: main.o] Error 1
```
Just to be sure, I also attempted this with GCC versions 8.3.0 and 7.5.0, both of which produced the same error.
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-11-23 0:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <redmine.issue-16362.20191122194520@ruby-lang.org>
2019-11-22 19:45 ` [ruby-core:95912] [Ruby master Bug#16362] Unable to build Ruby 2.6.5 on Manjaro Linux 18.1.3 jeffrey.crochet
2019-11-22 20:04 ` [ruby-core:95913] " jeffrey.crochet
2019-11-23 0:44 ` [ruby-core:95915] " mame
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).