emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#31002: closed (Test failure on macOS with Xcode 9.


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#31002: closed (Test failure on macOS with Xcode 9.3 command-line tools)
Date: Sun, 01 Apr 2018 20:45:02 +0000

Your message dated Sun, 1 Apr 2018 13:44:48 -0700
with message-id <address@hidden>
and subject line Re: [bug-diffutils] bug#31002: Test failure on macOS with 
Xcode 9.3 command-line tools
has caused the debbugs.gnu.org bug report #31002,
regarding Test failure on macOS with Xcode 9.3 command-line tools
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
31002: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31002
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Test failure on macOS with Xcode 9.3 command-line tools Date: Sat, 31 Mar 2018 09:50:27 -0400
Building diffutils 3.6 on macOS 10.3.3 with the newly-released command-line tools for Xcode 9.3 causes a test failure:

-------8<-------------------------------------------------------------
FAIL: test-vasnprintf
=====================

FAIL test-vasnprintf (exit status: 132)
------>8--------------------------------------------------------------

gnulib-tests/test-suite.log carries no further information than that.

In configure.log, I find the following:

-------8<-------------------------------------------------------------
configure:7678: checking for vasnprintf
configure:7678: gcc -o conftest -g -O2   conftest.c  >&5
Undefined symbols for architecture x86_64:
  "_vasnprintf", referenced from:
      _main in conftest-25dffe.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
------>8--------------------------------------------------------------


I'm really wondering whether a diffutils 3.6 that fails this test is safe to keep using.

The exact same failure happens when building grep, and I have emailed address@hidden to report this.

I'm not sure if this is related or not, but config.log also has:

------>8--------------------------------------------------------------
configure:7678: checking for snprintf
configure:7678: gcc -o conftest -g -O2   conftest.c  >&5
conftest.c:108:6: warning: incompatible redeclaration of library function 'snprintf' [-Wincompatible-library-redeclaration]
char snprintf ();
     ^
conftest.c:108:6: note: 'snprintf' is a builtin with type 'int (char *, unsigned long, const char *, ...)'
1 warning generated.
------>8--------------------------------------------------------------


I'm also not sure if *this* is related or not, but I see the following compiler warning during build:


CC       diff.o
diff.c:1016:21: warning: adding 'int' to a string does not append to the string
      [-Wstring-plus-int]
          printf ("  %s\n" + 2 * (*msg != ' ' && *msg != '-'), msg);
                  ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff.c:1016:21: note: use array indexing to silence this warning
          printf ("  %s\n" + 2 * (*msg != ' ' && *msg != '-'), msg);
                           ^
                  &        [                                 ]


-Charles


--- End Message ---
--- Begin Message --- Subject: Re: [bug-diffutils] bug#31002: Test failure on macOS with Xcode 9.3 command-line tools Date: Sun, 1 Apr 2018 13:44:48 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
Closing this for the same reason as Bug#31003.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]