[MacPorts] #58682: vlc @3.0.7.1 build failure - failed to configure

MacPorts noreply at macports.org
Mon Jul 8 19:10:56 UTC 2019


#58682: vlc @3.0.7.1 build failure - failed to configure
------------------------------+----------------------
  Reporter:  stilwellweather  |      Owner:  RJVB
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  vlc              |
------------------------------+----------------------

Comment (by RJVB):

 What do you mean with "the development git branch"? Do you mean that
 you're running some kind of beta OS or toolchain version?

 The failure:

 {{{
 configure:17889: checking how to run the C++ preprocessor
 configure:17955: result: /usr/bin/clang++
 configure:17975: /usr/bin/clang++ -I/opt/local/include -D__unix__=1 -Wno-
 unknown-pragmas -I/opt/local/lib/live/liveMedia/include
 -I/opt/local/var/macports/build/_opt_mports_macports-
 ports_multimedia_VLC/VLC/work/vlc-3.0.7.1/contrib/include conftest.cpp
 conftest.cpp:41:8: error: unknown type name 'Syntax'
                      Syntax error
                      ^
 conftest.cpp:41:20: error: expected ';' after top level declarator
                      Syntax error
                                  ^
                                  ;
 2 errors generated.
 configure:17975: $? = 1
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "vlc"
 | #define PACKAGE_TARNAME "vlc"
 | #define PACKAGE_VERSION "3.0.7.1"
 | #define PACKAGE_STRING "vlc 3.0.7.1"
 | #define PACKAGE_BUGREPORT ""
 | #define PACKAGE_URL ""
 | #define PACKAGE "vlc"
 | #define VERSION "3.0.7.1"
 | #define STDC_HEADERS 1
 | #define HAVE_SYS_TYPES_H 1
 | #define HAVE_SYS_STAT_H 1
 | #define HAVE_STDLIB_H 1
 | #define HAVE_STRING_H 1
 | #define HAVE_MEMORY_H 1
 | #define HAVE_STRINGS_H 1
 | #define HAVE_INTTYPES_H 1
 | #define HAVE_STDINT_H 1
 | #define HAVE_UNISTD_H 1
 | #define __EXTENSIONS__ 1
 | #define _ALL_SOURCE 1
 | #define _GNU_SOURCE 1
 | #define _POSIX_PTHREAD_SEMANTICS 1
 | #define _TANDEM_SOURCE 1
 | #define _FORTIFY_SOURCE 2
 | #define _FILE_OFFSET_BITS 64
 | #define _THREAD_SAFE /**/
 | #define __LIBVLC__ /**/
 | #define WIN32_LEAN_AND_MEAN /**/
 | #define YYTEXT_POINTER 1
 | #define restrict __restrict
 | #define VLC_WINSTORE_APP 0
 | #define HAVE_DLFCN_H 1
 | #define LT_OBJDIR ".libs/"
 | /* end confdefs.h.  */
 | #ifdef __STDC__
 | # include <limits.h>
 | #else
 | # include <assert.h>
 | #endif
 |                    Syntax error
 }}}

 Yes, there appears to be the words "Syntax error" appended to the
 conftest.cpp file, using tabs for indentation. I have no idea where this
 can come from...

 Could you try with clang 5 or 6 from MacPorts (I have tested those myself,
 and I would avoid clang 8 because of a warning I saw somewhere)?

-- 
Ticket URL: <https://trac.macports.org/ticket/58682#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list