From owner-freebsd-bugs@FreeBSD.ORG Sun Jan 26 19:10:00 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BD56A14C for ; Sun, 26 Jan 2014 19:10:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 97DCF11CF for ; Sun, 26 Jan 2014 19:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0QJA03U068992 for ; Sun, 26 Jan 2014 19:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0QJA0gI068991; Sun, 26 Jan 2014 19:10:00 GMT (envelope-from gnats) Resent-Date: Sun, 26 Jan 2014 19:10:00 GMT Resent-Message-Id: <201401261910.s0QJA0gI068991@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dewayne Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 79006EDA for ; Sun, 26 Jan 2014 19:00:31 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 613D31129 for ; Sun, 26 Jan 2014 19:00:31 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s0QJ0U2T026871 for ; Sun, 26 Jan 2014 19:00:30 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s0QJ0USa026827; Sun, 26 Jan 2014 19:00:30 GMT (envelope-from nobody) Message-Id: <201401261900.s0QJ0USa026827@oldred.freebsd.org> Date: Sun, 26 Jan 2014 19:00:30 GMT From: Dewayne To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/186134: sysutils/coreutils build, fails due to "strip" of sh (ascii) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jan 2014 19:10:00 -0000 >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: