Created attachment 504580 [details, diff] Patch against libv4l-1.12.5.ebuild libv4l suffers from a common problem with libtool that affects cross-compiling. libtool: relink: armv7a-hardfloat-linux-gnueabi-gcc -shared -fPIC -DPIC .libs/libv4l2_la-libv4l2.o .libs/libv4l2_la-v4l2-plugin.o .libs/libv4l2_la-log.o -lpthread -ldl -L/var/tmp/portage/media-libs/libv4l-1.12.5/image//usr/lib -L/usr/lib -lv4lconvert -mcpu=cortex-a8 -mfpu=neon -O3 -Wl,-O1 -Wl,--as-needed -Wl,-soname -Wl,libv4l2.so.0 -o .libs/libv4l2.so.0.0.0 /usr/libexec/gcc/armv7a-hardfloat-linux-gnueabi/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread /usr/lib/libpthread.a: error adding symbols: File format not recognized collect2: error: ld returned 1 exit status libtool: error: error: relink 'libv4l2.la' with the above command before installing it This can be fixed by simply calling elibtoolize. Please see the attached patch. I'm happy to commit this myself, I just need you to OK it. I don't know whether this is needed for all the versions but the latest would be sufficient for me. It won't need a revbump as only DEPEND is affected.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efa9af88c0249b76df2e6e1fce17dd6a06b2842a commit efa9af88c0249b76df2e6e1fce17dd6a06b2842a Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2017-12-08 21:26:15 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2017-12-08 22:49:19 +0000 media-libs/libv4l: Fix cross-compiling by adding elibtoolize call Closes: https://bugs.gentoo.org/637972 Package-Manager: Portage-2.3.17, Repoman-2.3.6 media-libs/libv4l/Manifest | 10 +++++----- media-libs/libv4l/libv4l-1.12.5.ebuild | 7 ++++++- 2 files changed, 11 insertions(+), 6 deletions(-)