Date: Thu, 27 Jun 2019 23:07:47 +0000 From: bugzilla-noreply@freebsd.org To: ruby@FreeBSD.org Subject: [Bug 220330] www/rubygem-selenium-webdriver fails to build when WRKDIRPREFIX is set Message-ID: <bug-220330-21402-9anVezat45@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-220330-21402@https.bugs.freebsd.org/bugzilla/> References: <bug-220330-21402@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220330 otacilio.neto@bsd.com.br changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |otacilio.neto@bsd.com.br --- Comment #18 from otacilio.neto@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/gem= s/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/gem= s/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/gem= s/2.5/gems/selenium-webdriver-3.14.1/lib/selenium/webdriver/firefox/native/= linux/x86/x_ignore_nofocus.so That causes:=20 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/gem= s/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/gem= s/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=20 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/gem= s/2.5 -type f -name '*.so'`;=20 do strip $i done is a better choice. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220330-21402-9anVezat45>