From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Newsgroups: gmane.emacs.bugs Subject: bug#30700: 27.0.50; Broken tests on macOS Date: Sun, 04 Mar 2018 20:05:02 +0100 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1520190251 13326 195.159.176.226 (4 Mar 2018 19:04:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 4 Mar 2018 19:04:11 +0000 (UTC) To: 30700@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 04 20:04:06 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1esYvV-0002fp-TS for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Mar 2018 20:04:06 +0100 Original-Received: from localhost ([::1]:45819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1esYxX-0003bg-04 for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Mar 2018 14:06:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1esYxQ-0003bU-90 for bug-gnu-emacs@gnu.org; Sun, 04 Mar 2018 14:06:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1esYxO-0002U9-RB for bug-gnu-emacs@gnu.org; Sun, 04 Mar 2018 14:06:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36781) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1esYxO-0002U1-Lv for bug-gnu-emacs@gnu.org; Sun, 04 Mar 2018 14:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1esYxO-00048l-BB for bug-gnu-emacs@gnu.org; Sun, 04 Mar 2018 14:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Mar 2018 19:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30700 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.152019031715858 (code B ref -1); Sun, 04 Mar 2018 19:06:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Mar 2018 19:05:17 +0000 Original-Received: from localhost ([127.0.0.1]:44678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1esYwe-00047i-Qn for submit@debbugs.gnu.org; Sun, 04 Mar 2018 14:05:17 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49709) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1esYwd-00047U-Py for submit@debbugs.gnu.org; Sun, 04 Mar 2018 14:05:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1esYwX-0002Gx-AB for submit@debbugs.gnu.org; Sun, 04 Mar 2018 14:05:10 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:54236) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1esYwX-0002Gr-69 for submit@debbugs.gnu.org; Sun, 04 Mar 2018 14:05:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1esYwV-0003Rh-M1 for bug-gnu-emacs@gnu.org; Sun, 04 Mar 2018 14:05:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1esYwU-0002GD-4n for bug-gnu-emacs@gnu.org; Sun, 04 Mar 2018 14:05:07 -0500 Original-Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:55842) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1esYwT-0002G2-Rs for bug-gnu-emacs@gnu.org; Sun, 04 Mar 2018 14:05:06 -0500 Original-Received: by mail-wm0-x22b.google.com with SMTP id q83so11907006wme.5 for ; Sun, 04 Mar 2018 11:05:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=VEvWsuitUDj+1UU8OFflwInrm2q/zfoHBaFTqV9JILA=; b=Fh2/2mFofHbOP3LwoSq0YwRDKjxPTSHeUg41hlu/mGO3HZ/8AkVfj5PBcz3DihMmHO eImYIW9Vwbf/42SJNQryXzOUKk3IYxIkzDemlL3U5RhA8tGIEVzzjtFmjR7WLYJG7Dw6 VVBy566QXQG1wkZ9BFBhMi1T9LbwxlEQ1uXuExAxmH7i+xGx+SbC8jHIUmKyQHs7oell cqURqdHVrFKAk90JalZyTXPobmb80eoFeprHiOsf4L+BoP736xqTIyWG4NilROw8Jtwi aWvZGSD42QigLshtnbz5th3eozDF5yfeevRKRvVULsVHrhemnHlVXNsYae2RUlR0xS9c xKWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=VEvWsuitUDj+1UU8OFflwInrm2q/zfoHBaFTqV9JILA=; b=UjYhLwVbgit0UrADG5rpEpG0z4sgBamJwGcI0/TTG/dqj4beobCvy7h9q4Mq0leGEj e8rRcBvae9LporeU9M1LwIkkY7SyL4p8AUXYdgg326w2xuoc10613qMHc+KW288d2Foa giBRAwnGquU6hu+JlLl9xd4AsOiksjvIj/8LJYxXdFCTxR63woQi8l2LKiq0jhXWzFtX 4EKcNlghQajpLojjqxhAQY94VbAuoZOAhjsuLo6v7AwyncNa6iqYsH9+b4CRwH4Mx/L4 SX/jt+IvtR85DsaU/VTmUT7VCZZQHLKwFvfuyJuxS+g2EKwjSj6rmGoZD37Ziqziy8DZ ataw== X-Gm-Message-State: AElRT7HeyPkditej3Vg1rQ1dAL4seYov3wdIHj/LYmO/m0yAy1F2XdZI hdiT1YmJYutvOsvLUiW5BvED+NrP X-Google-Smtp-Source: AG47ELvttR4bEEA6UfAhQRR3FWfkA9N7hCiNJsoUeQN/qEOFBzojeKlCqkAEqmSAm7H2ZdENERNxaQ== X-Received: by 10.28.71.83 with SMTP id u80mr6732072wma.24.1520190304041; Sun, 04 Mar 2018 11:05:04 -0800 (PST) Original-Received: from p ([2001:4c50:25a:2900:44ef:cbd1:2898:4675]) by smtp.gmail.com with ESMTPSA id y28sm10799656wrd.46.2018.03.04.11.05.02 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 04 Mar 2018 11:05:03 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:143901 Archived-At: The following tests fail for me on macOS with a recent master build: network-stream-tests: Test echo-server-with-dns backtrace: make-network-process(:name "server" :server t :noquery t :family ipv make-server("p") (let* ((server (make-server (system-name))) (port (aref (process-con (closure (t) nil (let* ((server (make-server (system-name))) (port ( ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name echo-server-with-dns :documentation n ert-run-or-rerun-test(#s(ert--stats :selector (not (or (tag :expensi ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable))) ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) ( command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/net/network-stream-t command-line() normal-top-level() Test echo-server-with-dns condition: (error "p/0 nodename nor servname provided, or not known") The macOS firewall prevents creating the server here. Probably we should just skip this test on macOS. flymake-tests: 3 unexpected results: FAILED included-c-header-files FAILED warning-predicate-function-gcc FAILED warning-predicate-rx-gcc These tests fail because they seem to invoke GCC, and on macOS GCC is actually Clang, so the output format is different from what's expected. I'd suggest two fixes: 1. Instead of invoking GCC, save GCC's output once in a checked-in file. That makes the test more robust and reproducible because it no longer depends on the behavior of external programs. 2. Make Flymake work with the Clang output, i.e. remove the hard dependency on GCC. In GNU Emacs 27.0.50 (build 57, x86_64-apple-darwin17.4.0, NS appkit-1561.20 Version 10.13.3 (Build 17D102)) of 2018-03-02 built on p Repository revision: e58f9a45d6a31be4ca379e10a866766e0993f49e Windowing system distributor 'Apple', version 10.3.1561 System Description: Mac OS X 10.13.3 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --with-modules --without-pop --with-mailutils --enable-gcc-warnings=yes --enable-checking --enable-check-lisp-object-type 'CFLAGS=-ggdb3 -O0'' Configured features: NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON Important settings: value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 204785 6390) (symbols 48 20096 1) (miscs 40 56 156) (strings 32 28897 1948) (string-bytes 1 771870) (vectors 16 35249) (vector-slots 8 722256 13436) (floats 8 52 64) (intervals 56 211 0) (buffers 992 11))