Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#29165 - [ruby] breaks ruby gem compilations

Attached to Project: Arch Linux
Opened by Paul Philippov (themactep) - Thursday, 29 March 2012, 05:57 GMT
Last edited by Thomas Dziedzic (tomd123) - Tuesday, 03 April 2012, 14:38 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Thomas Dziedzic (tomd123)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

coreutils-8.16 (testing) install most binaries prior resided in /bin into /usr/bin that breaks gem compiling as rbconfig.rb variables do not match the new layout.

Additional info:
* package version(s)

$ ruby -v
ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-linux]

* config and/or log files etc.

$ sudo gem update
Updating installed gems
Updating therubyracer
Building native extensions. This could take a while...
ERROR: Error installing therubyracer:
ERROR: Failed to build gem native extension.

/usr/bin/ruby extconf.rb
creating Makefile

make
compiling v8_external.cpp
In file included from v8_external.cpp:4:0:
v8_handle.h: In instantiation of ‘v8::Persistent<T>& rr_v8_handle(VALUE) [with T = v8::External; VALUE = long unsigned int]’:
v8_external.cpp:51:60: required from here
v8_handle.h:43:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
v8_external.cpp:10:9: warning: ‘{anonymous}::references’ defined but not used [-Wunused-variable]
compiling v8_handle.cpp
compiling v8_object.cpp
In file included from v8_object.cpp:1:0:
v8_handle.h: In instantiation of ‘v8::Persistent<T>& rr_v8_handle(VALUE) [with T = v8::Object; VALUE = long unsigned int]’:
v8_object.cpp:17:39: required from here
v8_handle.h:43:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
compiling v8_context.cpp
In file included from v8_context.cpp:2:0:
v8_handle.h: In instantiation of ‘v8::Persistent<T>& rr_v8_handle(VALUE) [with T = v8::Context; VALUE = long unsigned int]’:
v8_context.cpp:15:39: required from here
v8_handle.h:43:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
v8_handle.h: In instantiation of ‘v8::Persistent<T>& rr_v8_handle(VALUE) [with T = v8::ObjectTemplate; VALUE = long unsigned int]’:
v8_context.cpp:22:143: required from here
v8_handle.h:43:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
v8_handle.h: In instantiation of ‘v8::Persistent<T>& rr_v8_handle(VALUE) [with T = v8::Value; VALUE = long unsigned int]’:
v8_context.cpp:23:110: required from here
v8_handle.h:43:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
compiling v8_weakref.cpp
compiling v8_message.cpp
In file included from v8_message.cpp:2:0:
v8_handle.h: In instantiation of ‘v8::Persistent<T>& rr_v8_handle(VALUE) [with T = v8::Message; VALUE = long unsigned int]’:
v8_message.cpp:10:38: required from here
v8_handle.h:43:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
compiling rr.cpp
rr.cpp: In function ‘VALUE rr_define_finalizer(VALUE, void*, VALUE)’:
rr.cpp:48:1: warning: no return statement in function returning non-void [-Wreturn-type]
In file included from rr.cpp:3:0:
v8_handle.h: In instantiation of ‘v8::Persistent<T>& rr_v8_handle(VALUE) [with T = v8::Value; VALUE = long unsigned int]’:
rr.cpp:159:37: required from here
v8_handle.h:43:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
compiling v8_string.cpp
In file included from v8_string.cpp:3:0:
v8_handle.h: In instantiation of ‘v8::Persistent<T>& rr_v8_handle(VALUE) [with T = v8::String; VALUE = long unsigned int]’:
v8_string.cpp:13:38: required from here
v8_handle.h:43:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
compiling v8_function.cpp
In file included from v8_function.cpp:5:0:
v8_handle.h: In instantiation of ‘v8::Persistent<T>& rr_v8_handle(VALUE) [with T = v8::Function; VALUE = long unsigned int]’:
v8_function.cpp:13:40: required from here
v8_handle.h:43:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
v8_handle.h: In instantiation of ‘v8::Persistent<T>& rr_v8_handle(VALUE) [with T = v8::Array; VALUE = long unsigned int]’:
v8_function.cpp:23:55: required from here
v8_handle.h:43:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
v8_handle.h: In instantiation of ‘v8::Persistent<T>& rr_v8_handle(VALUE) [with T = v8::String; VALUE = long unsigned int]’:
v8_function.cpp:49:51: required from here
v8_handle.h:43:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
compiling v8.cpp
compiling v8_template.cpp
In file included from v8_template.cpp:2:0:
v8_handle.h: In instantiation of ‘v8::Persistent<T>& rr_v8_handle(VALUE) [with T = v8::Template; VALUE = long unsigned int]’:
v8_template.cpp:42:39: required from here
v8_handle.h:43:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
v8_handle.h: In instantiation of ‘v8::Persistent<T>& rr_v8_handle(VALUE) [with T = v8::ObjectTemplate; VALUE = long unsigned int]’:
v8_template.cpp:45:45: required from here
v8_handle.h:43:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
v8_handle.h: In instantiation of ‘v8::Persistent<T>& rr_v8_handle(VALUE) [with T = v8::FunctionTemplate; VALUE = long unsigned int]’:
v8_template.cpp:48:47: required from here
v8_handle.h:43:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
v8_handle.h: In instantiation of ‘v8::Persistent<T>& rr_v8_handle(VALUE) [with T = v8::Data; VALUE = long unsigned int]’:
v8_template.cpp:54:53: required from here
v8_handle.h:43:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
compiling v8_debug.cpp
compiling v8_array.cpp
In file included from v8_array.cpp:1:0:
v8_handle.h: In instantiation of ‘v8::Persistent<T>& rr_v8_handle(VALUE) [with T = v8::Array; VALUE = long unsigned int]’:
v8_array.cpp:13:36: required from here
v8_handle.h:43:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
compiling v8_script.cpp
In file included from v8_script.cpp:2:0:
v8_handle.h: In instantiation of ‘v8::Persistent<T>& rr_v8_handle(VALUE) [with T = v8::Script; VALUE = long unsigned int]’:
v8_script.cpp:25:56: required from here
v8_handle.h:43:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
compiling v8_date.cpp
In file included from v8_date.cpp:4:0:
v8_handle.h: In instantiation of ‘v8::Persistent<T>& rr_v8_handle(VALUE) [with T = v8::Date; VALUE = long unsigned int]’:
v8_date.cpp:21:52: required from here
v8_handle.h:43:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
compiling v8_locker.cpp
v8_locker.cpp: In function ‘VALUE {anonymous}::Lock::Delete(VALUE)’:
v8_locker.cpp:45:5: warning: no return statement in function returning non-void [-Wreturn-type]
v8_locker.cpp: In function ‘VALUE {anonymous}::Unlock::Delete(VALUE)’:
v8_locker.cpp:85:5: warning: no return statement in function returning non-void [-Wreturn-type]
compiling v8_exception.cpp
In file included from v8_exception.cpp:3:0:
v8_handle.h: In instantiation of ‘v8::Persistent<T>& rr_v8_handle(VALUE) [with T = v8::StackTrace; VALUE = long unsigned int]’:
v8_exception.cpp:48:44: required from here
v8_handle.h:43:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
v8_handle.h: In instantiation of ‘v8::Persistent<T>& rr_v8_handle(VALUE) [with T = v8::StackFrame; VALUE = long unsigned int]’:
v8_exception.cpp:68:43: required from here
v8_handle.h:43:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
v8_exception.cpp:10:16: warning: ‘{anonymous}::stack’ defined but not used [-Wunused-variable]
compiling v8_callbacks.cpp
compiling v8_v8.cpp
compiling v8_value.cpp
In file included from v8_value.cpp:1:0:
v8_handle.h: In instantiation of ‘v8::Persistent<T>& rr_v8_handle(VALUE) [with T = v8::Value; VALUE = long unsigned int]’:
v8_value.cpp:10:37: required from here
v8_handle.h:43:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
compiling v8_try_catch.cpp
v8_try_catch.cpp: In function ‘v8::TryCatch* {anonymous}::unwrap(VALUE)’:
v8_try_catch.cpp:15:14: warning: converting ‘false’ to pointer type ‘v8::TryCatch*’ [-Wconversion-null]
linking shared-object v8.so

make install
/bin/install -c -m 0755 v8.so /usr/lib/ruby/gems/1.9.1/gems/therubyracer-0.10.0/lib
make: /bin/install: Command not found
make: *** [/usr/lib/ruby/gems/1.9.1/gems/therubyracer-0.10.0/lib/v8.so] Error 127

Steps to reproduce:

$ ruby -r mkmf -e 'p CONFIG["INSTALL"]'
"/bin/install -c"

$ which install
/usr/bin/install

$ pacman -Qo /usr/bin/install
/usr/bin/install is owned by coreutils 8.16-2
This task depends upon

Closed by  Thomas Dziedzic (tomd123)
Tuesday, 03 April 2012, 14:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  latest coreutils and ruby with fix have been moved to stable repos
Comment by Thomas Dziedzic (tomd123) - Saturday, 31 March 2012, 15:09 GMT
Just released pkgrel 3 into testing which should fix this (simple rebuild against testing).
Please test if this works.

Loading...