https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220330
otacilio.n...@bsd.com.br changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |otacilio.n...@bsd.com.br --- Comment #18 from otacilio.n...@bsd.com.br --- The problem is related with this line: /usr/bin/find /usr/ports/www/rubygem-selenium-webdriver/work/stage/usr/local/lib/ruby/gems/2.5 -type f -name '*.so' -exec /usr/bin/strip {} + This line expands to: /usr/bin/strip /usr/ports/www/rubygem-selenium-webdriver/work/stage/usr/local/lib/ruby/gems/2.5/gems/selenium-webdriver-3.14.1/lib/selenium/webdriver/firefox/native/linux/amd64/x_ignore_nofocus.so /usr/ports/www/rubygem-selenium-webdriver/work/stage/usr/local/lib/ruby/gems/2.5/gems/selenium-webdriver-3.14.1/lib/selenium/webdriver/firefox/native/linux/x86/x_ignore_nofocus.so That causes: strip: moving loadable section .note.gnu.build-id, is this intentional? strip: moving loadable section .hash, is this intentional? strip: moving loadable section .gnu.hash, is this intentional? strip: moving loadable section .dynsym, is this intentional? strip: moving loadable section .dynstr, is this intentional? strip: moving loadable section .gnu.version, is this intentional? strip: moving loadable section .gnu.version_r, is this intentional? strip: moving loadable section .rel.dyn, is this intentional? strip: moving loadable section .rel.plt, is this intentional? strip: moving loadable section .init, is this intentional? strip: moving loadable section .plt, is this intentional? strip: moving loadable section .text, is this intentional? strip: moving loadable section .fini, is this intentional? strip: moving loadable section .rodata, is this intentional? strip: moving loadable section .eh_frame, is this intentional? strip: elf_update() failed: Layout constraint violation BUT if the order of amd64 and x86 is swaped to: /usr/bin/strip /usr/ports/www/rubygem-selenium-webdriver/work/stage/usr/local/lib/ruby/gems/2.5/gems/selenium-webdriver-3.14.1/lib/selenium/webdriver/firefox/native/linux/x86/x_ignore_nofocus.so /usr/ports/www/rubygem-selenium-webdriver/work/stage/usr/local/lib/ruby/gems/2.5/gems/selenium-webdriver-3.14.1/lib/selenium/webdriver/firefox/native/linux/amd64/x_ignore_nofocus.so The line works fine. I think that the order of the file name return in find is the cause of problem. Maybe a approach like: for i in `/usr/bin/find /usr/ports/www/rubygem-selenium-webdriver/work/stage/usr/local/lib/ruby/gems/2.5 -type f -name '*.so'`; do strip $i done is a better choice. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-ruby@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ruby To unsubscribe, send any mail to "freebsd-ruby-unsubscr...@freebsd.org"