Date: Sun, 26 Jan 2014 19:00:30 GMT From: Dewayne <dewayne@heuristicsystems.com.au> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/186134: sysutils/coreutils build, fails due to "strip" of sh (ascii) Message-ID: <201401261900.s0QJ0USa026827@oldred.freebsd.org> Resent-Message-ID: <201401261910.s0QJA0gI068991@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 186134 >Category: misc >Synopsis: sysutils/coreutils build, fails due to "strip" of sh (ascii) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 26 19:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Dewayne >Release: FreeBSD 9.2S >Organization: >Environment: FreeBSD 9.2-STABLE FreeBSD 9.2-STABLE #0: Sat Jan 25 05:33:06 EST 2014 root@:/usr/obj/usr/src/sys/hqdev-amd64-padlock-smp amd64 >Description: During compilation of coreutils, resulted in these errors: /usr/bin/strip: /usr/staging/usr/local/bin/gdlib-config: File format not recognized /usr/bin/strip: /usr/staging/usr/local/bin/gpgme-config: File format not recognized /usr/bin/strip: /usr/staging/usr/local/bin/gpgsm-gencert.sh: File format not recognized These files are actually ascii, per file /usr/staging/usr/local/bin/gdlib-config /usr/staging/usr/local/bin/gpgme-config /usr/staging/usr/local/bin/gpgsm-gencert.sh /usr/staging/usr/local/bin/gdlib-config: POSIX shell script, ASCII text executable /usr/staging/usr/local/bin/gpgme-config: POSIX shell script, ASCII text executable /usr/staging/usr/local/bin/gpgsm-gencert.sh: POSIX shell script, ASCII text executable *** [post-install] Error code 1 >How-To-Repeat: cd /usr/ports/sysutils/coreutils && make package >Fix: Probably something like this (which also doesn't work) or a better use of find in post-install: @${LS} ${STAGEDIR}${PREFIX}/bin/g* | ${EGREP} -v "config|sh"$ | ${STRIP_CMD} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/coreutils/glibstdbuf.so I gave up trying to find a regex that worked, outside of my ability. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401261900.s0QJ0USa026827>