Trying to execute a linux bash script which invokes expr(1) may fail. By default linuxulator substitutes native /bin/expr which hides the issue. However, sanitizing PATH or invoking commands with absolute pathnames would expose it. $ /compat/linux/usr/bin/expr /compat/linux/usr/bin/expr: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory cf. https://lists.freebsd.org/pipermail/freebsd-gecko/2014-November/004694.html
Created attachment 149496 [details] fix Hmm, no archive fallback in MASTER_SITES for linux_base-f10. I'll file a separate bug but for now use the following links to obtain distfiles. https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/10/Everything/i386/os/Packages/gmp-4.2.2-8.fc10.i386.rpm https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/10/Everything/source/SRPMS/gmp-4.2.2-8.fc10.src.rpm
I'll take it.
A commit references this bug: Author: xmj Date: Tue Dec 2 18:37:08 UTC 2014 New revision: 373778 URL: https://svnweb.freebsd.org/changeset/ports/373778 Log: linux_base-f10/c6: add missing gmp - expr(1) and factor(1) currently shipped with linux emulation fail, due to missing gmp libraries. Add these to allow the correct behavior - Bump PORTREVISIONs PR: 195084 Differential Revision: https://reviews.freebsd.org/D1252 Submitted by: Jan Beich <jbeich@vfemail.net> Approved by: swills (mentor) Changes: head/emulators/linux_base-c6/Makefile head/emulators/linux_base-c6/distinfo.i686 head/emulators/linux_base-c6/pkg-plist head/emulators/linux_base-f10/Makefile head/emulators/linux_base-f10/distinfo.i386 head/emulators/linux_base-f10/pkg-plist
Committed, thanks!