Re: Re: Solaris support - missing or incompatible functions
authorTomi Ollila <tomi.ollila@iki.fi>
Mon, 20 May 2013 11:10:32 +0000 (14:10 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:54:51 +0000 (09:54 -0800)
ea/5a94d306aa166ee85f2005551334720ed6afd1 [new file with mode: 0644]

diff --git a/ea/5a94d306aa166ee85f2005551334720ed6afd1 b/ea/5a94d306aa166ee85f2005551334720ed6afd1
new file mode 100644 (file)
index 0000000..fc0ee77
--- /dev/null
@@ -0,0 +1,108 @@
+Return-Path: <tomi.ollila@iki.fi>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 1855C431FBF\r
+       for <notmuch@notmuchmail.org>; Mon, 20 May 2013 04:10:45 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id kY-tGlOl6No0 for <notmuch@notmuchmail.org>;\r
+       Mon, 20 May 2013 04:10:36 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+       by olra.theworths.org (Postfix) with ESMTP id B37E4431FBD\r
+       for <notmuch@notmuchmail.org>; Mon, 20 May 2013 04:10:36 -0700 (PDT)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+       by guru.guru-group.fi (Postfix) with ESMTP id B0AB71002C3;\r
+       Mon, 20 May 2013 14:10:32 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: Vladimir Marek <Vladimir.Marek@Oracle.COM>,\r
+       David Bremner <david@tethera.net>\r
+Subject: Re: Re: Solaris support - missing or incompatible functions\r
+In-Reply-To: <20130520094830.GL17166@vi64-x3-2e-prg06.cz.oracle.com>\r
+References: <1367853362-11846-1-git-send-email-Vladimir.Marek@oracle.com>\r
+       <87ehdc9dbh.fsf@nikula.org>\r
+       <20130512202145.GA2047@vi64-x3-2e-prg06.cz.oracle.com>\r
+       <87bo8g9bbi.fsf@nikula.org>\r
+       <20130513050530.GA9899@vi64-x3-2e-prg06.cz.oracle.com>\r
+       <87obc8ctng.fsf@zancas.localnet>\r
+       <20130520094830.GL17166@vi64-x3-2e-prg06.cz.oracle.com>\r
+User-Agent: Notmuch/0.15.2+99~g7e455bc (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+       $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+       !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Mon, 20 May 2013 14:10:32 +0300\r
+Message-ID: <m2bo85q53r.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 20 May 2013 11:10:45 -0000\r
+\r
+On Mon, May 20 2013, Vladimir Marek <Vladimir.Marek@Oracle.COM> wrote:\r
+\r
+>> >> There may be some prerequisites to running tests that you're missing,\r
+>> >> and the test setup fails to tell you about. A pastebin of the 'make\r
+>> >> test' output might be helpful.\r
+>> >\r
+>> > Ok, in that case please let me take a look at the tests first.\r
+>> >\r
+>> \r
+>> For what it's worth, I can confirm no test failures for me either on\r
+>> linux (Debian wheezy).\r
+>\r
+> Thank you for looking into that. I'm still not done with fixing the test\r
+> suite on Solaris, but form ~70 broken tests I'm at 28. Mostly it's\r
+> because Solaris is trying to be posix correct while Linux does not.\r
+>\r
+> There was one surprise though:\r
+>\r
+> A='12\n34'\r
+> echo $A\r
+>\r
+> prints two lines on Solaris bug only one line on Linux ('\n' is not\r
+> interpreted). That breaks most of json tests as they contain '\n').\r
+\r
+That must be some setting in (your?) bash:\r
+\r
+$ sh -c 'echo '\''foo\nbar'\'''\r
+foo\r
+bar\r
+\r
+$ bash -c 'echo '\''foo\nbar'\'''\r
+foo\nbar\r
+\r
+$ dash -c 'echo '\''foo\nbar'\'''\r
+foo\r
+bar\r
+\r
+... after a bit digging ...\r
+\r
+$ bash -c 'shopt -s xpg_echo; echo '\''foo\nbar'\'''\r
+foo\r
+bar\r
+\r
+$ bash -c 'shopt -u xpg_echo; echo '\''foo\nbar'\'''\r
+foo\nbar\r
+\r
+\r
+you could try adding  shopt -u xpg_echo  into test-lib.sh\r
+\r
+Tomi\r