From owner-svn-src-head@freebsd.org Sun Nov 5 05:30:13 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C0828E62919; Sun, 5 Nov 2017 05:30:13 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pg0-x229.google.com (mail-pg0-x229.google.com [IPv6:2607:f8b0:400e:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 85FF26E4E9; Sun, 5 Nov 2017 05:30:13 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pg0-x229.google.com with SMTP id r25so5725077pgn.4; Sat, 04 Nov 2017 22:30:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=5mBkLE43BoFHUU0Ed54U9dM6qeaGobiH0/exF7YctZ4=; b=fLwy1KP9LUNdM55LOvljyKS9ABTIaVIhiUa9S7traeKDFVoI514YVOt/hFPvQPX4BY pctppmPiKo4mdGsU70SkunXh62nJUYXAVJuqxwGSS21zds7veWEeCFiovo4P80Q0AE8X RgnU7SyX+3YlFlf/gSKlcubbG4jMTENmRMj6fqZHXPf8H1qo5lZVrb64F91DqB0dfPAQ OqELu6S6SR5RjSPCtN1pmki38w7/ymM6zJjGe2PMNx1M1SAHONvt9wJwllU0ZHBmwV5o yRe8nEoxndcSm0JeHMRUrIWT93iY+RsCuJJnblqVtOypbhxhXuU8LKCg0AyKOwX3lLV8 0ljw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=5mBkLE43BoFHUU0Ed54U9dM6qeaGobiH0/exF7YctZ4=; b=U//uVZdL3Pcp0RW/bM5s6CkHrU+J5xshIwkXojKJeU000jcbXYOIMQ9SeZPafadTNP boMCwTlaRW4kYjkl9kjs79lRfh4kvx7myp9XGk4UVWOWXFaQa3Ev35mE8f+HghH5gj+y u0EY1/keZz8nhCjc/4INPIxhLs3pVuc+D71tYqdGEOqaZReSXWWCSfueqlIJVKQeWefK MafNEke4IdmyDEAW7ZRLPxLctg5tF0Ds/9j6PrG+y3sMfssF/+T0zEKA7yLAuc3JA3/U 2qMQxccc76It0PKCgY2cIH9D81xyLnQ6CeEQSyNwtbskgH6L87iiQKPQdnB0a1Prbosa BS7g== X-Gm-Message-State: AMCzsaVlPgQts2otVbEqRQ44TeS50e9ql0V0JHZ8fcojpSOO2KglmLpG 1zzJh4QpBkwxRpO5C/4SQzFXjViw X-Google-Smtp-Source: ABhQp+SnvEShM3SRccBnZVid8GZaj13P2XWeeGNHpTlsYvUcJ3tX2PkGauX6FZAyLIRd/jXI5WhZNA== X-Received: by 10.99.56.82 with SMTP id h18mr11921173pgn.281.1509859812700; Sat, 04 Nov 2017 22:30:12 -0700 (PDT) Received: from pinklady.local (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id q77sm18712762pfd.84.2017.11.04.22.30.11 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 04 Nov 2017 22:30:12 -0700 (PDT) Content-Type: multipart/signed; boundary="Apple-Mail=_5A98044D-6B0E-4E68-A656-9558D5312278"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: svn commit: r325116 - head From: "Ngie Cooper (yaneurabeya)" In-Reply-To: Date: Sat, 4 Nov 2017 22:30:10 -0700 Cc: Warner Losh , src-committers , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Message-Id: <57DE6BAA-EAE4-49EB-BEEE-27286480B283@gmail.com> References: <201710300312.v9U3CcCT021416@repo.freebsd.org> <8d9e9f50-035c-403c-3bc5-6788b7a94dea@FreeBSD.org> <72ee6c6d-0d9a-ebe9-8e15-c278fc91ded2@FreeBSD.org> <3a0a92dd-19fc-2ee3-dcbf-224e4c2e8eec@FreeBSD.org> To: Bryan Drewery X-Mailer: Apple Mail (2.3124) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Nov 2017 05:30:13 -0000 --Apple-Mail=_5A98044D-6B0E-4E68-A656-9558D5312278 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 > On Nov 4, 2017, at 08:31, Bryan Drewery wrote: >=20 > On 11/4/2017 12:08 AM, Ngie Cooper (yaneurabeya) wrote: >> I just ran into this with bash on universe12a.freebsd.org by = doing ^d. I think the change should be reverted. >> Thanks, >> -Ngie >>=20 >> $ exit >> *** Error code 130 >>=20 >> Stop. >> make[1]: stopped in /scratch/tmp/ngie/svn >> *** Error code 1 >>=20 >> Stop. >> make: stopped in /scratch/tmp/ngie/svn >>=20 >=20 > When you first go into buildenv check 'echo $?'. > My problem was a construct like '[ -f xxx ] && . xxx' at the end of = one > of my profile scripts. It needs to be 'if [ -f xxx ]; then . xxx; fi' > to avoid the bad status. It's really unrelated to buildenv. The last line in my ~/.bashrc on my VM is export PATH that doesn=92t = fail with a syntax error, and the last line on my ~/.bashrc on = universe12a is an alias set, which also doesn=92t fail with a syntax = error. Both cases set $? =3D 0. The issue I reported is caused by doing ^c + ^d (hence the error code = 130 in my original reply). I guess this is expected, but it=92s going to = confuse people and force them to have to investigate the issue, = unnecessarily, when it wasn=92t an =93issue=94 before. -Ngie --Apple-Mail=_5A98044D-6B0E-4E68-A656-9558D5312278 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE5bk3FaGcY5rvqmb79YOpJmkwhhUFAln+oeIACgkQ9YOpJmkw hhVAeA/+JaNaMKPDYv5t0zuRlEOxjad96wLU7YGQ45NVgLSqIPpO6Qr25/byjEJc VzajwcCb4MNp0CjJgYhKJ5gZwu2s/xHNciIRJtnb3iYMCh9lro7WtbgR/2o9xtNU VfQXcI+b2EPz+G+m1gGK/cvzRmCfKlusqbGA7Kxwoz+YvvmBO2iCiZxnHMuUrLdi uUGe+FlbvdumAE9nsShqW05ZispERdvCV1/P9xkGvKEB46k1g4y5C6pJUlq4VT1o /FQgtfiqwpnFmfuUQ/2VRH24RNvvdSFDyiJRox6D97NIuYdoVZvs8ttNy2EiKsEl 7YRyIhTJ//pSuDFGjKW4MHyYLdOutrsleFxpHPuQIw4BBHq5THw3ODfuUsN0VBsM HzqGrdyb3zg1eKgSGiGaHBRxT7jOuZJCB6mc9wgrv0tIOtBhEFlubq4h3AjfqK3i gsfNmmZHNlIW88+F6kuyyS1nzl/zHqBe8nl2ZROvYUd20+YoHmO1Sed4w+iUlPLg 1/fSF8ty+Gm5oS+d8shdZLr3Tuvn6FelU+xPRWDjTaOvrhwZ8W24RDWH5bfff75G RjaHVTOlanAdH18aDskjsNzNgocL9HkJx8Droiyp1TBe6gqTvc7TGDRBPIxedHb2 mL5Vzr3cK3WTGdalvqs/aZ1n1uZtqxDtpMZnrhHb4SxObGbI+p0= =wxhj -----END PGP SIGNATURE----- --Apple-Mail=_5A98044D-6B0E-4E68-A656-9558D5312278--